1 /* SPDX-License-Identifier: GPL-2.0 */ 2 #ifndef __PLATFORM_DATA_WAN_IXP4XX_HSS_H 3 #define __PLATFORM_DATA_WAN_IXP4XX_HSS_H 4 5 #include <linux/types.h> 6 7 /* Information about built-in HSS (synchronous serial) interfaces */ 8 struct hss_plat_info { 9 int (*set_clock)(int port, unsigned int clock_type); 10 int (*open)(int port, void *pdev, 11 void (*set_carrier_cb)(void *pdev, int carrier)); 12 void (*close)(int port, void *pdev); 13 u8 txreadyq; 14 u32 timer_freq; 15 }; 16 17 #endif 18