Home
last modified time | relevance | path

Searched refs:ulpi (Results 1 – 4 of 4) sorted by relevance

/include/linux/ulpi/
Ddriver.h17 struct ulpi { struct
23 #define to_ulpi_dev(d) container_of(d, struct ulpi, dev) argument
25 static inline void ulpi_set_drvdata(struct ulpi *ulpi, void *data) in ulpi_set_drvdata() argument
27 dev_set_drvdata(&ulpi->dev, data); in ulpi_set_drvdata()
30 static inline void *ulpi_get_drvdata(struct ulpi *ulpi) in ulpi_get_drvdata() argument
32 return dev_get_drvdata(&ulpi->dev); in ulpi_get_drvdata()
44 int (*probe)(struct ulpi *ulpi);
45 void (*remove)(struct ulpi *ulpi);
62 int ulpi_read(struct ulpi *ulpi, u8 addr);
63 int ulpi_write(struct ulpi *ulpi, u8 addr, u8 val);
Dinterface.h7 struct ulpi;
20 struct ulpi *ulpi_register_interface(struct device *, const struct ulpi_ops *);
21 void ulpi_unregister_interface(struct ulpi *);
/include/linux/phy/
Dulpi_phy.h9 *ulpi_phy_create(struct ulpi *ulpi, const struct phy_ops *ops) in ulpi_phy_create() argument
14 phy = phy_create(&ulpi->dev, NULL, ops); in ulpi_phy_create()
18 ret = phy_create_lookup(phy, "usb2-phy", dev_name(ulpi->dev.parent)); in ulpi_phy_create()
28 static inline void ulpi_phy_destroy(struct ulpi *ulpi, struct phy *phy) in ulpi_phy_destroy() argument
30 phy_remove_lookup(phy, "usb2-phy", dev_name(ulpi->dev.parent)); in ulpi_phy_destroy()
/include/linux/usb/
Dtegra_usb_phy.h76 struct usb_phy *ulpi; member