Home
last modified time | relevance | path

Searched defs:r8a66597 (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/drivers/usb/gadget/udc/
H A Dr8a66597-udc.h40 #define r8a66597_is_sudmac(r8a66597) (r8a66597->pdata->sudmac) argument
57 struct r8a66597 *r8a66597; member
84 struct r8a66597 { struct
90 struct r8a66597_platdata *pdata; argument
95 struct r8a66597_ep ep[R8A66597_MAX_NUM_PIPE]; argument
96 struct r8a66597_ep *pipenum2ep[R8A66597_MAX_NUM_PIPE]; argument
97 struct r8a66597_ep *epaddr2ep[16]; argument
98 struct r8a66597_dma dma; argument
118 container_of(_gadget, struct r8a66597, gadget) argument
119 #define r8a66597_to_gadget(r8a66597) (&r8a66597->gadget) argument
[all …]
H A Dr8a66597-udc.c45 static inline u16 get_usb_speed(struct r8a66597 *r8a66597) in get_usb_speed()
50 static void enable_pipe_irq(struct r8a66597 *r8a66597, u16 pipenum, in enable_pipe_irq()
62 static void disable_pipe_irq(struct r8a66597 *r8a66597, u16 pipenum, in disable_pipe_irq()
74 static void r8a66597_usb_connect(struct r8a66597 *r8a66597) in r8a66597_usb_connect()
82 static void r8a66597_usb_disconnect(struct r8a66597 *r8a66597) in r8a66597_usb_disconnect()
101 static inline u16 control_reg_get_pid(struct r8a66597 *r8a66597, u16 pipenum) in control_reg_get_pid()
119 static inline void control_reg_set_pid(struct r8a66597 *r8a66597, u16 pipenum, in control_reg_set_pid()
135 static inline void pipe_start(struct r8a66597 *r8a66597, u16 pipenum) in pipe_start()
140 static inline void pipe_stop(struct r8a66597 *r8a66597, u16 pipenum) in pipe_stop()
145 static inline void pipe_stall(struct r8a66597 *r8a66597, u16 pipenum) in pipe_stall()
[all …]
/openbmc/linux/drivers/usb/host/
H A Dr8a66597-hcd.c45 static void enable_pipe_irq(struct r8a66597 *r8a66597, u16 pipenum, in enable_pipe_irq()
57 static void disable_pipe_irq(struct r8a66597 *r8a66597, u16 pipenum, in disable_pipe_irq()
68 static void set_devadd_reg(struct r8a66597 *r8a66597, u8 r8a66597_address, in set_devadd_reg()
78 static int r8a66597_clock_enable(struct r8a66597 *r8a66597) in r8a66597_clock_enable()
122 static void r8a66597_clock_disable(struct r8a66597 *r8a66597) in r8a66597_clock_disable()
136 static void r8a66597_enable_port(struct r8a66597 *r8a66597, int port) in r8a66597_enable_port()
149 static void r8a66597_disable_port(struct r8a66597 *r8a66597, int port) in r8a66597_disable_port()
168 static int enable_controller(struct r8a66597 *r8a66597) in enable_controller()
200 static void disable_controller(struct r8a66597 *r8a66597) in disable_controller()
222 static int get_parent_r8a66597_address(struct r8a66597 *r8a66597, in get_parent_r8a66597_address()
[all …]
H A Dr8a66597.h102 struct r8a66597 *r8a66597; member
105 struct r8a66597 { struct
109 struct r8a66597_platdata *pdata; argument
110 struct r8a66597_device device0; argument
111 struct r8a66597_root_hub root_hub[R8A66597_MAX_ROOT_HUB]; argument
115 struct r8a66597_timers timers[R8A66597_MAX_NUM_PIPE]; argument
131 static inline struct r8a66597 *hcd_to_r8a66597(struct usb_hcd *hcd) in hcd_to_r8a66597() argument
136 static inline struct usb_hcd *r8a66597_to_hcd(struct r8a66597 *r8a66597) in r8a66597_to_hcd()
141 static inline struct r8a66597_td *r8a66597_get_td(struct r8a66597 *r8a66597, in r8a66597_get_td()
151 static inline struct urb *r8a66597_get_urb(struct r8a66597 *r8a66597, in r8a66597_get_urb()
[all …]
/openbmc/u-boot/drivers/usb/host/
H A Dr8a66597-hcd.c47 static void set_devadd(struct r8a66597 *r8a66597, u8 r8a66597_address, in set_devadd()
59 static int r8a66597_clock_enable(struct r8a66597 *r8a66597) in r8a66597_clock_enable()
116 static void r8a66597_clock_disable(struct r8a66597 *r8a66597) in r8a66597_clock_disable()
137 static void r8a66597_enable_port(struct r8a66597 *r8a66597, int port) in r8a66597_enable_port()
150 static void r8a66597_disable_port(struct r8a66597 *r8a66597, int port) in r8a66597_disable_port()
169 static int enable_controller(struct r8a66597 *r8a66597) in enable_controller()
198 static void disable_controller(struct r8a66597 *r8a66597) in disable_controller()
235 static void r8a66597_reg_wait(struct r8a66597 *r8a66597, unsigned long reg, in r8a66597_reg_wait()
250 static void pipe_buffer_setting(struct r8a66597 *r8a66597, in pipe_buffer_setting()
289 static int send_setup_packet(struct r8a66597 *r8a66597, struct usb_device *dev, in send_setup_packet()
[all …]
H A Dr8a66597.h419 struct r8a66597 { struct
428 static inline u16 r8a66597_read(struct r8a66597 *r8a66597, unsigned long offset) in r8a66597_read()
433 static inline void r8a66597_read_fifo(struct r8a66597 *r8a66597, in r8a66597_read_fifo()
460 static inline void r8a66597_write(struct r8a66597 *r8a66597, u16 val, in r8a66597_write()
466 static inline void r8a66597_write_fifo(struct r8a66597 *r8a66597, in r8a66597_write_fifo()
505 static inline void r8a66597_mdfy(struct r8a66597 *r8a66597, in r8a66597_mdfy()
515 #define r8a66597_bclr(r8a66597, val, offset) \ argument
517 #define r8a66597_bset(r8a66597, val, offset) \ argument
550 static inline u16 get_rh_usb_speed(struct r8a66597 *r8a66597, int port) in get_rh_usb_speed()
557 static inline void r8a66597_port_power(struct r8a66597 *r8a66597, int port, in r8a66597_port_power()