Lines Matching defs:r8a66597
45 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()
150 static inline u16 control_reg_get(struct r8a66597 *r8a66597, u16 pipenum) in control_reg_get()
168 static inline void control_reg_sqclr(struct r8a66597 *r8a66597, u16 pipenum) in control_reg_sqclr()
185 static void control_reg_sqset(struct r8a66597 *r8a66597, u16 pipenum) in control_reg_sqset()
202 static u16 control_reg_sqmon(struct r8a66597 *r8a66597, u16 pipenum) in control_reg_sqmon()
219 static u16 save_usb_toggle(struct r8a66597 *r8a66597, u16 pipenum) in save_usb_toggle()
224 static void restore_usb_toggle(struct r8a66597 *r8a66597, u16 pipenum, in restore_usb_toggle()
233 static inline int get_buffer_size(struct r8a66597 *r8a66597, u16 pipenum) in get_buffer_size()
261 static inline unsigned short mbw_value(struct r8a66597 *r8a66597) in mbw_value()
269 static void r8a66597_change_curpipe(struct r8a66597 *r8a66597, u16 pipenum, in r8a66597_change_curpipe()
296 static void pipe_change(struct r8a66597 *r8a66597, u16 pipenum) in pipe_change()
316 static int pipe_buffer_setting(struct r8a66597 *r8a66597, in pipe_buffer_setting()
371 static void pipe_buffer_release(struct r8a66597 *r8a66597, in pipe_buffer_release()
393 struct r8a66597 *r8a66597 = ep->r8a66597; in pipe_initialize() local
409 static void r8a66597_ep_setting(struct r8a66597 *r8a66597, in r8a66597_ep_setting()
437 struct r8a66597 *r8a66597 = ep->r8a66597; in r8a66597_ep_release() local
453 struct r8a66597 *r8a66597 = ep->r8a66597; in alloc_pipe_config() local
536 struct r8a66597 *r8a66597 = ep->r8a66597; in free_pipe_config() local
548 static void pipe_irq_enable(struct r8a66597 *r8a66597, u16 pipenum) in pipe_irq_enable()
554 static void pipe_irq_disable(struct r8a66597 *r8a66597, u16 pipenum) in pipe_irq_disable()
561 static void control_end(struct r8a66597 *r8a66597, unsigned ccpl) in control_end()
571 struct r8a66597 *r8a66597 = ep->r8a66597; in start_ep0_write() local
586 static void disable_fifosel(struct r8a66597 *r8a66597, u16 pipenum, in disable_fifosel()
596 static void change_bfre_mode(struct r8a66597 *r8a66597, u16 pipenum, in change_bfre_mode()
629 static int sudmac_alloc_channel(struct r8a66597 *r8a66597, in sudmac_alloc_channel()
666 static void sudmac_free_channel(struct r8a66597 *r8a66597, in sudmac_free_channel()
685 static void sudmac_start(struct r8a66597 *r8a66597, struct r8a66597_ep *ep, in sudmac_start()
701 struct r8a66597 *r8a66597 = ep->r8a66597; in start_packet_write() local
736 struct r8a66597 *r8a66597 = ep->r8a66597; in start_packet_read() local
800 static void init_controller(struct r8a66597 *r8a66597) in init_controller()
849 static void disable_controller(struct r8a66597 *r8a66597) in disable_controller()
881 static void r8a66597_start_xclock(struct r8a66597 *r8a66597) in r8a66597_start_xclock()
943 struct r8a66597 *r8a66597 = ep->r8a66597; in irq_ep0_write() local
997 struct r8a66597 *r8a66597 = ep->r8a66597; in irq_packet_write() local
1046 struct r8a66597 *r8a66597 = ep->r8a66597; in irq_packet_read() local
1095 static void irq_pipe_ready(struct r8a66597 *r8a66597, u16 status, u16 enb) in irq_pipe_ready()
1125 static void irq_pipe_empty(struct r8a66597 *r8a66597, u16 status, u16 enb) in irq_pipe_empty()
1159 static void get_status(struct r8a66597 *r8a66597, struct usb_ctrlrequest *ctrl) in get_status()
1197 static void clear_feature(struct r8a66597 *r8a66597, in clear_feature()
1239 static void set_feature(struct r8a66597 *r8a66597, struct usb_ctrlrequest *ctrl) in set_feature()
1285 static int setup_packet(struct r8a66597 *r8a66597, struct usb_ctrlrequest *ctrl) in setup_packet()
1318 static void r8a66597_update_usb_speed(struct r8a66597 *r8a66597) in r8a66597_update_usb_speed()
1335 static void irq_device_state(struct r8a66597 *r8a66597) in irq_device_state()
1358 static void irq_control_stage(struct r8a66597 *r8a66597) in irq_control_stage()
1400 static void sudmac_finish(struct r8a66597 *r8a66597, struct r8a66597_ep *ep) in sudmac_finish()
1444 static void r8a66597_sudmac_irq(struct r8a66597 *r8a66597) in r8a66597_sudmac_irq()
1461 struct r8a66597 *r8a66597 = _r8a66597; in r8a66597_irq() local
1519 struct r8a66597 *r8a66597 = from_timer(r8a66597, t, timer); in r8a66597_timer() local
1725 struct r8a66597 *r8a66597 = gadget_to_r8a66597(gadget); in r8a66597_start() local
1753 struct r8a66597 *r8a66597 = gadget_to_r8a66597(gadget); in r8a66597_stop() local
1768 struct r8a66597 *r8a66597 = gadget_to_r8a66597(_gadget); in r8a66597_get_frame() local
1774 struct r8a66597 *r8a66597 = gadget_to_r8a66597(gadget); in r8a66597_pullup() local
1789 struct r8a66597 *r8a66597 = gadget_to_r8a66597(gadget); in r8a66597_set_selfpowered() local
1810 struct r8a66597 *r8a66597 = platform_get_drvdata(pdev); in r8a66597_remove() local
1825 static int r8a66597_sudmac_ioremap(struct r8a66597 *r8a66597, in r8a66597_sudmac_ioremap()
1840 struct r8a66597 *r8a66597 = NULL; in r8a66597_probe() local