Searched refs:r8a66597 (Results 1 – 3 of 3) sorted by relevance
/external/u-boot/drivers/usb/host/ |
D | r8a66597-hcd.c | 69 static void set_devadd(struct r8a66597 *r8a66597, u8 r8a66597_address, in set_devadd() argument 76 usbspd = r8a66597->speed; in set_devadd() 78 r8a66597_write(r8a66597, val, devadd_reg); in set_devadd() 81 static int r8a66597_clock_enable(struct r8a66597 *r8a66597) in r8a66597_clock_enable() argument 87 r8a66597_write(r8a66597, USBE, SYSCFG0); in r8a66597_clock_enable() 88 tmp = r8a66597_read(r8a66597, SYSCFG0); in r8a66597_clock_enable() 94 r8a66597_bclr(r8a66597, USBE, SYSCFG0); in r8a66597_clock_enable() 101 r8a66597_bset(r8a66597, XTAL, SYSCFG0); in r8a66597_clock_enable() 104 r8a66597_bset(r8a66597, UPLLE, SYSCFG0); in r8a66597_clock_enable() 106 r8a66597_bset(r8a66597, SUSPM, SUSPMODE0); in r8a66597_clock_enable() [all …]
|
D | r8a66597.h | 392 struct r8a66597 { struct 402 static inline u16 r8a66597_read(struct r8a66597 *r8a66597, unsigned long offset) in r8a66597_read() argument 404 return readw(r8a66597->reg + offset); in r8a66597_read() 407 static inline void r8a66597_read_fifo(struct r8a66597 *r8a66597, in r8a66597_read_fifo() argument 412 unsigned long fifoaddr = r8a66597->reg + offset; in r8a66597_read_fifo() 418 p[i] = readl(r8a66597->reg + offset); in r8a66597_read_fifo() 427 static inline void r8a66597_write(struct r8a66597 *r8a66597, u16 val, in r8a66597_write() argument 430 writew(val, r8a66597->reg + offset); in r8a66597_write() 433 static inline void r8a66597_write_fifo(struct r8a66597 *r8a66597, in r8a66597_write_fifo() argument 438 unsigned long fifoaddr = r8a66597->reg + offset; in r8a66597_write_fifo() [all …]
|
D | Makefile | 15 obj-$(CONFIG_USB_R8A66597_HCD) += r8a66597-hcd.o
|