Lines Matching refs:_gadget
843 static int dummy_g_get_frame(struct usb_gadget *_gadget) in dummy_g_get_frame() argument
851 static int dummy_wakeup(struct usb_gadget *_gadget) in dummy_wakeup() argument
855 dum_hcd = gadget_to_dummy_hcd(_gadget); in dummy_wakeup()
874 static int dummy_set_selfpowered(struct usb_gadget *_gadget, int value) in dummy_set_selfpowered() argument
878 _gadget->is_selfpowered = (value != 0); in dummy_set_selfpowered()
879 dum = gadget_to_dummy_hcd(_gadget)->dum; in dummy_set_selfpowered()
895 static int dummy_pullup(struct usb_gadget *_gadget, int value) in dummy_pullup() argument
901 dum = gadget_dev_to_dummy(&_gadget->dev); in dummy_pullup()
902 dum_hcd = gadget_to_dummy_hcd(_gadget); in dummy_pullup()
928 static void dummy_udc_set_speed(struct usb_gadget *_gadget, in dummy_udc_set_speed() argument
933 dum = gadget_dev_to_dummy(&_gadget->dev); in dummy_udc_set_speed()
938 static void dummy_udc_async_callbacks(struct usb_gadget *_gadget, bool enable) in dummy_udc_async_callbacks() argument
940 struct dummy *dum = gadget_dev_to_dummy(&_gadget->dev); in dummy_udc_async_callbacks()