Lines Matching full:ulpi
12 * struct ulpi - describes ULPI PHY device
13 * @id: vendor and product ids for ULPI device
17 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()
36 * struct ulpi_driver - describes a ULPI PHY driver
38 * @probe: binds this driver to ULPI device
39 * @remove: unbinds this driver from ULPI device
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);