Merge tag 'platform-drivers-x86-v5.14-2' of git://git.kernel.org/pub/scm/linux/kernel...
[linux-2.6-microblaze.git] / include / linux / platform_data / wan_ixp4xx_hss.h
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