15 #include <linux/kernel.h>
21 #define ULPI_VIEW_WAKEUP (1 << 31)
22 #define ULPI_VIEW_RUN (1 << 30)
23 #define ULPI_VIEW_WRITE (1 << 29)
24 #define ULPI_VIEW_READ (0 << 29)
25 #define ULPI_VIEW_ADDR(x) (((x) & 0xff) << 16)
26 #define ULPI_VIEW_DATA_READ(x) (((x) >> 8) & 0xff)
27 #define ULPI_VIEW_DATA_WRITE(x) ((x) & 0xff)
31 unsigned long usec = 2000;
34 if (!(
readl(view) & mask))
78 .read = ulpi_viewport_read,
79 .write = ulpi_viewport_write,