Lines Matching refs:lpc32xx_udc

101 	struct lpc32xx_udc	*udc;
125 struct lpc32xx_udc {
182 static inline struct lpc32xx_udc *to_udc(struct usb_gadget *g)
184 return container_of(g, struct lpc32xx_udc, gadget);
462 static const char driver_name[] = "lpc32xx_udc";
499 struct lpc32xx_udc *udc = s->private;
528 static void create_debug_file(struct lpc32xx_udc *udc)
533 static void remove_debug_file(struct lpc32xx_udc *udc)
539 static inline void create_debug_file(struct lpc32xx_udc *udc) {}
540 static inline void remove_debug_file(struct lpc32xx_udc *udc) {}
544 static void isp1301_udc_configure(struct lpc32xx_udc *udc)
623 static void isp1301_pullup_set(struct lpc32xx_udc *udc)
638 struct lpc32xx_udc *udc =
639 container_of(work, struct lpc32xx_udc, pullup_job);
644 static void isp1301_pullup_enable(struct lpc32xx_udc *udc, int en_pullup,
660 static void isp1301_set_powerstate(struct lpc32xx_udc *udc, int enable)
680 struct lpc32xx_udc *udc =
681 container_of(work, struct lpc32xx_udc, power_job);
693 static void udc_protocol_cmd_w(struct lpc32xx_udc *udc, u32 cmd)
721 static inline void udc_protocol_cmd_data_w(struct lpc32xx_udc *udc, u32 cmd,
730 static u32 udc_protocol_cmd_r(struct lpc32xx_udc *udc, u32 cmd)
757 static inline void uda_enable_devint(struct lpc32xx_udc *udc, u32 devmask)
764 static inline void uda_disable_devint(struct lpc32xx_udc *udc, u32 mask)
771 static inline void uda_clear_devint(struct lpc32xx_udc *udc, u32 mask)
782 static void uda_enable_hwepint(struct lpc32xx_udc *udc, u32 hwep)
789 static void uda_disable_hwepint(struct lpc32xx_udc *udc, u32 hwep)
796 static inline void uda_clear_hwepint(struct lpc32xx_udc *udc, u32 hwep)
802 static inline void udc_ep_dma_enable(struct lpc32xx_udc *udc, u32 hwep)
808 static inline void udc_ep_dma_disable(struct lpc32xx_udc *udc, u32 hwep)
821 static void udc_realize_hwep(struct lpc32xx_udc *udc, u32 hwep,
843 static void udc_unrealize_hwep(struct lpc32xx_udc *udc, u32 hwep)
855 static u32 udc_selep_clrint(struct lpc32xx_udc *udc, u32 hwep)
862 static void udc_disable_hwep(struct lpc32xx_udc *udc, u32 hwep)
869 static void udc_stall_hwep(struct lpc32xx_udc *udc, u32 hwep)
876 static void udc_clrstall_hwep(struct lpc32xx_udc *udc, u32 hwep)
883 static void udc_select_hwep(struct lpc32xx_udc *udc, u32 hwep)
894 static void udc_clr_buffer_hwep(struct lpc32xx_udc *udc, u32 hwep)
901 static void udc_val_buffer_hwep(struct lpc32xx_udc *udc, u32 hwep)
907 static inline u32 udc_clearep_getsts(struct lpc32xx_udc *udc, u32 hwep)
920 static struct lpc32xx_usbd_dd_gad *udc_dd_alloc(struct lpc32xx_udc *udc)
933 static void udc_dd_free(struct lpc32xx_udc *udc, struct lpc32xx_usbd_dd_gad *dd)
946 static void udc_clk_set(struct lpc32xx_udc *udc, int enable)
964 static void udc_set_address(struct lpc32xx_udc *udc, u32 addr)
975 static int udc_ep_in_req_dma(struct lpc32xx_udc *udc, struct lpc32xx_ep *ep)
1001 static int udc_ep_out_req_dma(struct lpc32xx_udc *udc, struct lpc32xx_ep *ep)
1019 static void udc_disable(struct lpc32xx_udc *udc)
1052 static void udc_enable(struct lpc32xx_udc *udc)
1106 static void uda_power_event(struct lpc32xx_udc *udc, u32 conn)
1114 static void uda_resm_susp_event(struct lpc32xx_udc *udc, u32 conn)
1127 static void uda_remwkp_cgh(struct lpc32xx_udc *udc)
1135 static void udc_pop_fifo(struct lpc32xx_udc *udc, u8 *data, u32 bytes)
1202 static u32 udc_read_hwep(struct lpc32xx_udc *udc, u32 hwep, u32 *data,
1236 static void udc_stuff_fifo(struct lpc32xx_udc *udc, u8 *data, u32 bytes)
1306 static void udc_write_hwep(struct lpc32xx_udc *udc, u32 hwep, u32 *data,
1332 static void uda_usb_reset(struct lpc32xx_udc *udc)
1346 static void udc_ep0_send_zlp(struct lpc32xx_udc *udc)
1352 static u16 udc_get_current_frame(struct lpc32xx_udc *udc)
1364 static inline void udc_set_device_configured(struct lpc32xx_udc *udc)
1370 static inline void udc_set_device_unconfigured(struct lpc32xx_udc *udc)
1376 static void udc_reinit(struct lpc32xx_udc *udc)
1399 struct lpc32xx_udc *udc = ep->udc;
1440 static int udc_ep0_in_req(struct lpc32xx_udc *udc)
1478 static int udc_ep0_out_req(struct lpc32xx_udc *udc)
1521 static void stop_activity(struct lpc32xx_udc *udc)
1551 static void pullup(struct lpc32xx_udc *udc, int is_on)
1567 struct lpc32xx_udc *udc = ep->udc;
1605 struct lpc32xx_udc *udc;
1738 struct lpc32xx_udc *udc;
1865 struct lpc32xx_udc *udc;
1919 static void udc_send_in_zlp(struct lpc32xx_udc *udc, struct lpc32xx_ep *ep)
1933 static void udc_handle_eps(struct lpc32xx_udc *udc, struct lpc32xx_ep *ep)
1981 static void udc_handle_dma_ep(struct lpc32xx_udc *udc, struct lpc32xx_ep *ep)
2105 static void udc_handle_dev(struct lpc32xx_udc *udc)
2137 static int udc_get_status(struct lpc32xx_udc *udc, u16 reqtype, u16 wIndex)
2184 static void udc_handle_ep0_setup(struct lpc32xx_udc *udc)
2323 static void udc_handle_ep0_in(struct lpc32xx_udc *udc)
2357 static void udc_handle_ep0_out(struct lpc32xx_udc *udc)
2411 struct lpc32xx_udc *udc = to_udc(gadget);
2444 struct lpc32xx_udc *udc = to_udc(gadget);
2480 struct lpc32xx_udc *udc = to_udc(gadget);
2506 static const struct lpc32xx_udc controller_template = {
2729 struct lpc32xx_udc *udc = _udc;
2768 struct lpc32xx_udc *udc = _udc;
2807 struct lpc32xx_udc *udc = _udc;
2834 static void vbus_work(struct lpc32xx_udc *udc)
2876 struct lpc32xx_udc *udc = _udc;
2886 struct lpc32xx_udc *udc = to_udc(gadget);
2919 struct lpc32xx_udc *udc = to_udc(gadget);
2954 struct lpc32xx_udc *udc = platform_get_drvdata(dev);
2992 struct lpc32xx_udc *udc;
3179 struct lpc32xx_udc *udc = platform_get_drvdata(pdev);
3205 struct lpc32xx_udc *udc = platform_get_drvdata(pdev);
3228 struct lpc32xx_udc *udc = platform_get_drvdata(pdev);
3275 MODULE_ALIAS("platform:lpc32xx_udc");