Lines Matching refs:usb_gadget
85 struct usb_gadget *gadget;
269 struct usb_gadget gadget;
310 static inline struct dummy_hcd *gadget_to_dummy_hcd(struct usb_gadget *gadget) in gadget_to_dummy_hcd()
842 static int dummy_g_get_frame(struct usb_gadget *_gadget) in dummy_g_get_frame()
850 static int dummy_wakeup(struct usb_gadget *_gadget) in dummy_wakeup()
873 static int dummy_set_selfpowered(struct usb_gadget *_gadget, int value) in dummy_set_selfpowered()
894 static int dummy_pullup(struct usb_gadget *_gadget, int value) in dummy_pullup()
927 static void dummy_udc_set_speed(struct usb_gadget *_gadget, in dummy_udc_set_speed()
937 static void dummy_udc_async_callbacks(struct usb_gadget *_gadget, bool enable) in dummy_udc_async_callbacks()
946 static int dummy_udc_start(struct usb_gadget *g,
948 static int dummy_udc_stop(struct usb_gadget *g);
991 static int dummy_udc_start(struct usb_gadget *g, in dummy_udc_start()
1023 static int dummy_udc_stop(struct usb_gadget *g) in dummy_udc_stop()
1081 memzero_explicit(&dum->gadget, sizeof(struct usb_gadget)); in dummy_udc_probe()