#ifndef __LINUX_ULPI_DRIVER_H
#define __LINUX_ULPI_DRIVER_H
#include <linux/mod_devicetable.h>
#include <linux/device.h>
struct ulpi_ops;
struct ulpi { … };
#define to_ulpi_dev(d) …
static inline void ulpi_set_drvdata(struct ulpi *ulpi, void *data)
{ … }
static inline void *ulpi_get_drvdata(struct ulpi *ulpi)
{ … }
struct ulpi_driver { … };
#define to_ulpi_driver(d) …
#define ulpi_register_driver(drv) …
int __ulpi_register_driver(struct ulpi_driver *drv, struct module *module);
void ulpi_unregister_driver(struct ulpi_driver *drv);
#define module_ulpi_driver(__ulpi_driver) …
int ulpi_read(struct ulpi *ulpi, u8 addr);
int ulpi_write(struct ulpi *ulpi, u8 addr, u8 val);
#endif