s390/pageattr: do a single TLB flush for change_page_attr
[linux-2.6/btrfs-unstable.git] / include / linux / ulpi / interface.h
blob4de8ab491038382d3f098e00fe6287fa84ec1875
1 #ifndef __LINUX_ULPI_INTERFACE_H
2 #define __LINUX_ULPI_INTERFACE_H
4 #include <linux/types.h>
6 struct ulpi;
8 /**
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
14 struct ulpi_ops {
15 struct device *dev;
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 */