Lines Matching refs:usb_gadget
1279 struct usb_gadget *gadget = dwc->gadget; in dwc3_prepare_one_trb()
2351 static int dwc3_gadget_get_frame(struct usb_gadget *g) in dwc3_gadget_get_frame()
2411 static int dwc3_gadget_wakeup(struct usb_gadget *g) in dwc3_gadget_wakeup()
2437 static int dwc3_gadget_func_wakeup(struct usb_gadget *g, int intf_id) in dwc3_gadget_func_wakeup()
2473 static int dwc3_gadget_set_remote_wakeup(struct usb_gadget *g, int set) in dwc3_gadget_set_remote_wakeup()
2485 static int dwc3_gadget_set_selfpowered(struct usb_gadget *g, in dwc3_gadget_set_selfpowered()
2778 static int dwc3_gadget_pullup(struct usb_gadget *g, int is_on) in dwc3_gadget_pullup()
2997 static int dwc3_gadget_start(struct usb_gadget *g, in dwc3_gadget_start()
3031 static int dwc3_gadget_stop(struct usb_gadget *g) in dwc3_gadget_stop()
3049 static void dwc3_gadget_config_params(struct usb_gadget *g, in dwc3_gadget_config_params()
3088 static void dwc3_gadget_set_speed(struct usb_gadget *g, in dwc3_gadget_set_speed()
3099 static void dwc3_gadget_set_ssp_rate(struct usb_gadget *g, in dwc3_gadget_set_ssp_rate()
3111 static int dwc3_gadget_vbus_draw(struct usb_gadget *g, unsigned int mA) in dwc3_gadget_vbus_draw()
3139 static int dwc3_gadget_check_config(struct usb_gadget *g) in dwc3_gadget_check_config()
3174 static void dwc3_gadget_async_callbacks(struct usb_gadget *g, bool enable) in dwc3_gadget_async_callbacks()
4662 struct usb_gadget *gadget = container_of(dev, struct usb_gadget, dev); in dwc_gadget_release()
4710 dwc->gadget = kzalloc(sizeof(struct usb_gadget), GFP_KERNEL); in dwc3_gadget_init()