Lines Matching refs:usba_udc
142 struct usba_udc *udc; in regs_dbg_open()
204 static void usba_ep_init_debugfs(struct usba_udc *udc, in usba_ep_init_debugfs()
225 static void usba_init_debugfs(struct usba_udc *udc) in usba_init_debugfs()
245 static void usba_cleanup_debugfs(struct usba_udc *udc) in usba_cleanup_debugfs()
251 static inline void usba_ep_init_debugfs(struct usba_udc *udc, in usba_ep_init_debugfs()
262 static inline void usba_init_debugfs(struct usba_udc *udc) in usba_init_debugfs()
267 static inline void usba_cleanup_debugfs(struct usba_udc *udc) in usba_cleanup_debugfs()
324 static int usba_config_fifo_table(struct usba_udc *udc) in usba_config_fifo_table()
358 static inline u32 usba_int_enb_get(struct usba_udc *udc) in usba_int_enb_get()
363 static inline void usba_int_enb_set(struct usba_udc *udc, u32 mask) in usba_int_enb_set()
372 static inline void usba_int_enb_clear(struct usba_udc *udc, u32 mask) in usba_int_enb_clear()
381 static int vbus_is_present(struct usba_udc *udc) in vbus_is_present()
390 static void toggle_bias(struct usba_udc *udc, int is_on) in toggle_bias()
396 static void generate_bias_pulse(struct usba_udc *udc) in generate_bias_pulse()
477 static void send_status(struct usba_udc *udc, struct usba_ep *ep) in send_status()
486 struct usba_udc *udc = ep->udc; in receive_data()
543 struct usba_udc *udc = ep->udc; in request_complete()
577 struct usba_udc *udc = ep->udc; in usba_ep_enable()
669 struct usba_udc *udc = ep->udc; in usba_ep_disable()
726 static int queue_dma(struct usba_udc *udc, struct usba_ep *ep, in queue_dma()
780 struct usba_udc *udc = ep->udc; in usba_ep_queue()
862 struct usba_udc *udc = ep->udc; in usba_ep_dequeue()
923 struct usba_udc *udc = ep->udc; in usba_ep_set_halt()
975 struct usba_udc *udc = ep->udc; in usba_ep_fifo_flush()
994 struct usba_udc *udc = to_usba_udc(gadget); in usba_udc_get_frame()
1001 struct usba_udc *udc = to_usba_udc(gadget); in usba_udc_wakeup()
1020 struct usba_udc *udc = to_usba_udc(gadget); in usba_udc_set_selfpowered()
1135 static void reset_all_endpoints(struct usba_udc *udc) in reset_all_endpoints()
1149 static struct usba_ep *get_ep_by_addr(struct usba_udc *udc, u16 wIndex) in get_ep_by_addr()
1173 static inline void set_protocol_stall(struct usba_udc *udc, struct usba_ep *ep) in set_protocol_stall()
1179 static inline int is_stalled(struct usba_udc *udc, struct usba_ep *ep) in is_stalled()
1186 static inline void set_address(struct usba_udc *udc, unsigned int addr) in set_address()
1196 static int do_test_mode(struct usba_udc *udc) in do_test_mode()
1304 static int handle_ep0_setup(struct usba_udc *udc, struct usba_ep *ep, in handle_ep0_setup()
1430 static void usba_control_irq(struct usba_udc *udc, struct usba_ep *ep) in usba_control_irq()
1618 static void usba_ep_irq(struct usba_udc *udc, struct usba_ep *ep) in usba_ep_irq()
1671 static void usba_dma_irq(struct usba_udc *udc, struct usba_ep *ep) in usba_dma_irq()
1711 static int start_clock(struct usba_udc *udc);
1712 static void stop_clock(struct usba_udc *udc);
1716 struct usba_udc *udc = devid; in usba_udc_irq()
1858 static int start_clock(struct usba_udc *udc) in start_clock()
1880 static void stop_clock(struct usba_udc *udc) in stop_clock()
1893 static int usba_start(struct usba_udc *udc) in usba_start()
1921 static void usba_stop(struct usba_udc *udc) in usba_stop()
1942 struct usba_udc *udc = devid; in usba_vbus_irq_thread()
1970 struct usba_udc *udc = container_of(gadget, struct usba_udc, gadget); in atmel_usba_pullup()
1990 struct usba_udc *udc = container_of(gadget, struct usba_udc, gadget); in atmel_usba_start()
2029 struct usba_udc *udc = container_of(gadget, struct usba_udc, gadget); in atmel_usba_stop()
2042 static void at91sam9rl_toggle_bias(struct usba_udc *udc, int is_on) in at91sam9rl_toggle_bias()
2048 static void at91sam9g45_pulse_bias(struct usba_udc *udc) in at91sam9g45_pulse_bias()
2136 struct usba_udc *udc) in atmel_udc_of_init()
2278 struct usba_udc *udc; in usba_udc_probe()
2372 struct usba_udc *udc; in usba_udc_remove()
2388 struct usba_udc *udc = dev_get_drvdata(dev); in usba_udc_suspend()
2421 struct usba_udc *udc = dev_get_drvdata(dev); in usba_udc_resume()