Lines Matching refs:lpc32xx_udc
102 struct lpc32xx_udc *udc;
121 struct lpc32xx_udc { struct
181 static inline struct lpc32xx_udc *to_udc(struct usb_gadget *g) in to_udc() argument
183 return container_of(g, struct lpc32xx_udc, gadget); in to_udc()
498 struct lpc32xx_udc *udc = s->private; in proc_udc_show()
538 static void create_debug_file(struct lpc32xx_udc *udc) in create_debug_file()
543 static void remove_debug_file(struct lpc32xx_udc *udc) in remove_debug_file()
549 static inline void create_debug_file(struct lpc32xx_udc *udc) {} in create_debug_file()
550 static inline void remove_debug_file(struct lpc32xx_udc *udc) {} in remove_debug_file()
554 static void isp1301_udc_configure(struct lpc32xx_udc *udc) in isp1301_udc_configure()
625 static void isp1301_pullup_set(struct lpc32xx_udc *udc) in isp1301_pullup_set()
640 struct lpc32xx_udc *udc = in pullup_work()
641 container_of(work, struct lpc32xx_udc, pullup_job); in pullup_work()
646 static void isp1301_pullup_enable(struct lpc32xx_udc *udc, int en_pullup, in isp1301_pullup_enable()
662 static void isp1301_set_powerstate(struct lpc32xx_udc *udc, int enable) in isp1301_set_powerstate()
678 struct lpc32xx_udc *udc = in power_work()
679 container_of(work, struct lpc32xx_udc, power_job); in power_work()
691 static void udc_protocol_cmd_w(struct lpc32xx_udc *udc, u32 cmd) in udc_protocol_cmd_w()
719 static inline void udc_protocol_cmd_data_w(struct lpc32xx_udc *udc, u32 cmd, in udc_protocol_cmd_data_w()
728 static u32 udc_protocol_cmd_r(struct lpc32xx_udc *udc, u32 cmd) in udc_protocol_cmd_r()
757 static inline void uda_enable_devint(struct lpc32xx_udc *udc, u32 devmask) in uda_enable_devint()
764 static inline void uda_disable_devint(struct lpc32xx_udc *udc, u32 mask) in uda_disable_devint()
771 static inline void uda_clear_devint(struct lpc32xx_udc *udc, u32 mask) in uda_clear_devint()
782 static void uda_enable_hwepint(struct lpc32xx_udc *udc, u32 hwep) in uda_enable_hwepint()
789 static void uda_disable_hwepint(struct lpc32xx_udc *udc, u32 hwep) in uda_disable_hwepint()
796 static inline void uda_clear_hwepint(struct lpc32xx_udc *udc, u32 hwep) in uda_clear_hwepint()
802 static inline void udc_ep_dma_enable(struct lpc32xx_udc *udc, u32 hwep) in udc_ep_dma_enable()
808 static inline void udc_ep_dma_disable(struct lpc32xx_udc *udc, u32 hwep) in udc_ep_dma_disable()
821 static void udc_realize_hwep(struct lpc32xx_udc *udc, u32 hwep, in udc_realize_hwep()
843 static void udc_unrealize_hwep(struct lpc32xx_udc *udc, u32 hwep) in udc_unrealize_hwep()
855 static u32 udc_selep_clrint(struct lpc32xx_udc *udc, u32 hwep) in udc_selep_clrint()
862 static void udc_disable_hwep(struct lpc32xx_udc *udc, u32 hwep) in udc_disable_hwep()
869 static void udc_stall_hwep(struct lpc32xx_udc *udc, u32 hwep) in udc_stall_hwep()
876 static void udc_clrstall_hwep(struct lpc32xx_udc *udc, u32 hwep) in udc_clrstall_hwep()
883 static void udc_select_hwep(struct lpc32xx_udc *udc, u32 hwep) in udc_select_hwep()
894 static void udc_clr_buffer_hwep(struct lpc32xx_udc *udc, u32 hwep) in udc_clr_buffer_hwep()
901 static void udc_val_buffer_hwep(struct lpc32xx_udc *udc, u32 hwep) in udc_val_buffer_hwep()
907 static inline u32 udc_clearep_getsts(struct lpc32xx_udc *udc, u32 hwep) in udc_clearep_getsts()
920 static struct lpc32xx_usbd_dd_gad *udc_dd_alloc(struct lpc32xx_udc *udc) in udc_dd_alloc()
934 static void udc_dd_free(struct lpc32xx_udc *udc, struct lpc32xx_usbd_dd_gad *dd) in udc_dd_free()
947 static void udc_clk_set(struct lpc32xx_udc *udc, int enable) in udc_clk_set()
965 static void udc_set_address(struct lpc32xx_udc *udc, u32 addr) in udc_set_address()
976 static int udc_ep_in_req_dma(struct lpc32xx_udc *udc, struct lpc32xx_ep *ep) in udc_ep_in_req_dma()
1002 static int udc_ep_out_req_dma(struct lpc32xx_udc *udc, struct lpc32xx_ep *ep) in udc_ep_out_req_dma()
1020 static void udc_disable(struct lpc32xx_udc *udc) in udc_disable()
1053 static void udc_enable(struct lpc32xx_udc *udc) in udc_enable()
1107 static void uda_power_event(struct lpc32xx_udc *udc, u32 conn) in uda_power_event()
1115 static void uda_resm_susp_event(struct lpc32xx_udc *udc, u32 conn) in uda_resm_susp_event()
1128 static void uda_remwkp_cgh(struct lpc32xx_udc *udc) in uda_remwkp_cgh()
1136 static void udc_pop_fifo(struct lpc32xx_udc *udc, u8 *data, u32 bytes) in udc_pop_fifo()
1203 static u32 udc_read_hwep(struct lpc32xx_udc *udc, u32 hwep, u32 *data, in udc_read_hwep()
1237 static void udc_stuff_fifo(struct lpc32xx_udc *udc, u8 *data, u32 bytes) in udc_stuff_fifo()
1307 static void udc_write_hwep(struct lpc32xx_udc *udc, u32 hwep, u32 *data, in udc_write_hwep()
1333 static void uda_usb_reset(struct lpc32xx_udc *udc) in uda_usb_reset()
1347 static void udc_ep0_send_zlp(struct lpc32xx_udc *udc) in udc_ep0_send_zlp()
1353 static u16 udc_get_current_frame(struct lpc32xx_udc *udc) in udc_get_current_frame()
1365 static inline void udc_set_device_configured(struct lpc32xx_udc *udc) in udc_set_device_configured()
1371 static inline void udc_set_device_unconfigured(struct lpc32xx_udc *udc) in udc_set_device_unconfigured()
1377 static void udc_reinit(struct lpc32xx_udc *udc) in udc_reinit()
1400 struct lpc32xx_udc *udc = ep->udc; in done()
1441 static int udc_ep0_in_req(struct lpc32xx_udc *udc) in udc_ep0_in_req()
1479 static int udc_ep0_out_req(struct lpc32xx_udc *udc) in udc_ep0_out_req()
1522 static void stop_activity(struct lpc32xx_udc *udc) in stop_activity()
1552 static void pullup(struct lpc32xx_udc *udc, int is_on) in pullup()
1568 struct lpc32xx_udc *udc = ep->udc; in lpc32xx_ep_disable()
1606 struct lpc32xx_udc *udc = ep->udc; in lpc32xx_ep_enable()
1739 struct lpc32xx_udc *udc; in lpc32xx_ep_queue()
1864 struct lpc32xx_udc *udc = ep->udc; in lpc32xx_ep_set_halt()
1917 void udc_send_in_zlp(struct lpc32xx_udc *udc, struct lpc32xx_ep *ep) in udc_send_in_zlp()
1931 void udc_handle_eps(struct lpc32xx_udc *udc, struct lpc32xx_ep *ep) in udc_handle_eps()
1979 static void udc_handle_dma_ep(struct lpc32xx_udc *udc, struct lpc32xx_ep *ep) in udc_handle_dma_ep()
2103 static void udc_handle_dev(struct lpc32xx_udc *udc) in udc_handle_dev()
2135 static int udc_get_status(struct lpc32xx_udc *udc, u16 reqtype, u16 wIndex) in udc_get_status()
2182 static void udc_handle_ep0_setup(struct lpc32xx_udc *udc) in udc_handle_ep0_setup()
2322 static void udc_handle_ep0_in(struct lpc32xx_udc *udc) in udc_handle_ep0_in()
2356 static void udc_handle_ep0_out(struct lpc32xx_udc *udc) in udc_handle_ep0_out()
2410 struct lpc32xx_udc *udc = to_udc(gadget); in lpc32xx_get_frame()
2443 struct lpc32xx_udc *udc = to_udc(gadget); in lpc32xx_vbus_session()
2479 struct lpc32xx_udc *udc = to_udc(gadget); in lpc32xx_pullup()
2505 static const struct lpc32xx_udc controller_template = {
2728 struct lpc32xx_udc *udc = _udc; in lpc32xx_usb_lp_irq()
2767 struct lpc32xx_udc *udc = _udc; in lpc32xx_usb_hp_irq()
2806 struct lpc32xx_udc *udc = _udc; in lpc32xx_usb_devdma_irq()
2836 struct lpc32xx_udc *udc = container_of(work, struct lpc32xx_udc, in vbus_work()
2880 struct lpc32xx_udc *udc = _udc; in lpc32xx_usb_vbus_irq()
2892 struct lpc32xx_udc *udc = to_udc(gadget); in lpc32xx_start()
2925 struct lpc32xx_udc *udc = to_udc(gadget); in lpc32xx_stop()
2958 struct lpc32xx_udc *udc = platform_get_drvdata(dev); in lpc32xx_udc_shutdown()
2996 struct lpc32xx_udc *udc; in lpc32xx_udc_probe()
3224 struct lpc32xx_udc *udc = platform_get_drvdata(pdev); in lpc32xx_udc_remove()
3259 struct lpc32xx_udc *udc = platform_get_drvdata(pdev); in lpc32xx_udc_suspend()
3282 struct lpc32xx_udc *udc = platform_get_drvdata(pdev); in lpc32xx_udc_resume()