Lines Matching refs:dwc2_udc
75 struct dwc2_udc *the_controller;
103 static void dwc2_ep0_read(struct dwc2_udc *dev);
104 static void dwc2_ep0_kick(struct dwc2_udc *dev, struct dwc2_ep *ep);
105 static void dwc2_handle_ep0(struct dwc2_udc *dev);
106 static int dwc2_ep0_write(struct dwc2_udc *dev);
109 static void stop_activity(struct dwc2_udc *dev,
111 static int udc_enable(struct dwc2_udc *dev);
112 static void udc_set_address(struct dwc2_udc *dev, unsigned char address);
113 static void reconfig_usbd(struct dwc2_udc *dev);
114 static void set_max_pktsize(struct dwc2_udc *dev, enum usb_device_speed speed);
159 __weak void otg_phy_init(struct dwc2_udc *dev) {} in otg_phy_init()
160 __weak void otg_phy_off(struct dwc2_udc *dev) {} in otg_phy_off()
169 static void udc_disable(struct dwc2_udc *dev) in udc_disable()
186 static void udc_reinit(struct dwc2_udc *dev) in udc_reinit()
219 static int udc_enable(struct dwc2_udc *dev) in udc_enable()
241 struct dwc2_udc *dev = the_controller; in usb_gadget_register_driver()
290 struct dwc2_udc *dev = the_controller; in usb_gadget_unregister_driver()
315 struct dwc2_udc *dev = the_controller; in dwc2_gadget_start()
341 struct dwc2_udc *dev = the_controller; in dwc2_gadget_stop()
426 static void stop_activity(struct dwc2_udc *dev, in stop_activity()
454 static void reconfig_usbd(struct dwc2_udc *dev) in reconfig_usbd()
586 static void set_max_pktsize(struct dwc2_udc *dev, enum usb_device_speed speed) in set_max_pktsize()
620 struct dwc2_udc *dev; in dwc2_ep_enable()
816 static struct dwc2_udc memory = {
892 struct dwc2_udc *dev = &memory; in dwc2_udc_probe()