#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/io.h>
#include <linux/delay.h>
#include <linux/usb/otg.h>
#include <linux/usb/ulpi.h>
#include <mach/ulpi.h>
Go to the source code of this file.
#define ULPIVW_ADDR_MASK 0xff /* data address field */ |
#define ULPIVW_ADDR_SHIFT 16 |
#define ULPIVW_PORT_MASK 0x07 /* Port field */ |
#define ULPIVW_PORT_SHIFT 24 |
#define ULPIVW_RDATA_MASK 0xff /* read data field */ |
#define ULPIVW_RDATA_SHIFT 8 |
#define ULPIVW_SS (1 << 27) /* SyncState */ |
#define ULPIVW_WDATA_MASK 0xff /* write data field */ |
#define ULPIVW_WDATA_SHIFT 0 |
#define ULPIVW_WRITE (1 << 29) /* 0 = read 1 = write */ |
#define ULPIVW_WU (1 << 31) /* Wakeup */ |
Initial value:= {
.read = ulpi_read,
.write = ulpi_write,
}
Definition at line 109 of file ulpi.c.