1 #ifndef __LINUX_ULPI_INTERFACE_H
2 #define __LINUX_ULPI_INTERFACE_H
4 #include <linux/types.h>
9 * struct ulpi_ops - ULPI register access
10 * @dev: the interface provider
11 * @read: read operation for ULPI register access
12 * @write: write operation for ULPI register access
16 int (*read)(struct ulpi_ops *ops, u8 addr);
17 int (*write)(struct ulpi_ops *ops, u8 addr, u8 val);
20 struct ulpi *ulpi_register_interface(struct device *, struct ulpi_ops *);
21 void ulpi_unregister_interface(struct ulpi *);
23 #endif /* __LINUX_ULPI_INTERFACE_H */