Home
last modified time | relevance | path

Searched refs:r8a66597 (Results 1 – 3 of 3) sorted by relevance

/external/u-boot/drivers/usb/host/
Dr8a66597-hcd.c22 static struct r8a66597 gr8a66597;
47 static void set_devadd(struct r8a66597 *r8a66597, u8 r8a66597_address, in set_devadd() argument
54 usbspd = r8a66597->speed; in set_devadd()
56 r8a66597_write(r8a66597, val, devadd_reg); in set_devadd()
59 static int r8a66597_clock_enable(struct r8a66597 *r8a66597) in r8a66597_clock_enable() argument
66 r8a66597_write(r8a66597, SCKE, SYSCFG0); in r8a66597_clock_enable()
67 tmp = r8a66597_read(r8a66597, SYSCFG0); in r8a66597_clock_enable()
73 r8a66597_write(r8a66597, 0x04, 0x02); in r8a66597_clock_enable()
76 r8a66597_write(r8a66597, USBE, SYSCFG0); in r8a66597_clock_enable()
77 tmp = r8a66597_read(r8a66597, SYSCFG0); in r8a66597_clock_enable()
[all …]
Dr8a66597.h419 struct r8a66597 { struct
428 static inline u16 r8a66597_read(struct r8a66597 *r8a66597, unsigned long offset) in r8a66597_read() argument
430 return inw(r8a66597->reg + offset); in r8a66597_read()
433 static inline void r8a66597_read_fifo(struct r8a66597 *r8a66597, in r8a66597_read_fifo() argument
439 unsigned long fifoaddr = r8a66597->reg + offset; in r8a66597_read_fifo()
445 p[i] = inl(r8a66597->reg + offset); in r8a66597_read_fifo()
456 p[i] = inw(r8a66597->reg + offset); in r8a66597_read_fifo()
460 static inline void r8a66597_write(struct r8a66597 *r8a66597, u16 val, in r8a66597_write() argument
463 outw(val, r8a66597->reg + offset); in r8a66597_write()
466 static inline void r8a66597_write_fifo(struct r8a66597 *r8a66597, in r8a66597_write_fifo() argument
[all …]
DMakefile15 obj-$(CONFIG_USB_R8A66597_HCD) += r8a66597-hcd.o