| /linux/drivers/usb/gadget/udc/ |
| H A D | net2280.c | 1461 static int net2280_get_frame(struct usb_gadget *_gadget) in net2280_get_frame() argument 1467 if (!_gadget) in net2280_get_frame() 1469 dev = container_of(_gadget, struct net2280, gadget); in net2280_get_frame() 1476 static int net2280_wakeup(struct usb_gadget *_gadget) in net2280_wakeup() argument 1482 if (!_gadget) in net2280_wakeup() 1484 dev = container_of(_gadget, struct net2280, gadget); in net2280_wakeup() 1496 static int net2280_set_selfpowered(struct usb_gadget *_gadget, int value) in net2280_set_selfpowered() argument 1502 if (!_gadget) in net2280_set_selfpowered() 1504 dev = container_of(_gadget, struct net2280, gadget); in net2280_set_selfpowered() 1510 _gadget->is_selfpowered = 1; in net2280_set_selfpowered() [all …]
|
| H A D | r8a66597-udc.h | 117 #define gadget_to_r8a66597(_gadget) \ argument 118 container_of(_gadget, struct r8a66597, gadget)
|
| H A D | pxa27x_udc.c | 1433 static int pxa_udc_get_frame(struct usb_gadget *_gadget) in pxa_udc_get_frame() argument 1435 struct pxa_udc *udc = to_gadget_udc(_gadget); in pxa_udc_get_frame() 1446 static int pxa_udc_wakeup(struct usb_gadget *_gadget) in pxa_udc_wakeup() argument 1448 struct pxa_udc *udc = to_gadget_udc(_gadget); in pxa_udc_wakeup() 1511 static int pxa_udc_pullup(struct usb_gadget *_gadget, int is_active) in pxa_udc_pullup() argument 1513 struct pxa_udc *udc = to_gadget_udc(_gadget); in pxa_udc_pullup() 1543 static int pxa_udc_vbus_session(struct usb_gadget *_gadget, int is_active) in pxa_udc_vbus_session() argument 1545 struct pxa_udc *udc = to_gadget_udc(_gadget); in pxa_udc_vbus_session() 1574 static int pxa_udc_vbus_draw(struct usb_gadget *_gadget, unsigned mA) in pxa_udc_vbus_draw() argument 1578 udc = to_gadget_udc(_gadget); in pxa_udc_vbus_draw()
|
| H A D | dummy_hcd.c | 874 static int dummy_g_get_frame(struct usb_gadget *_gadget) in dummy_g_get_frame() 882 static int dummy_wakeup(struct usb_gadget *_gadget) in dummy_wakeup() 886 dum_hcd = gadget_to_dummy_hcd(_gadget); in dummy_wakeup() 905 static int dummy_set_selfpowered(struct usb_gadget *_gadget, int value) in dummy_set_selfpowered() 909 _gadget->is_selfpowered = (value != 0); in dummy_set_selfpowered() 910 dum = gadget_to_dummy_hcd(_gadget)->dum; in dummy_set_selfpowered() 926 static int dummy_pullup(struct usb_gadget *_gadget, int value) in dummy_pullup() 932 dum = gadget_dev_to_dummy(&_gadget->dev); in dummy_pullup() 933 dum_hcd = gadget_to_dummy_hcd(_gadget); in dummy_pullup() 944 static void dummy_udc_set_speed(struct usb_gadget *_gadget, in dummy_udc_set_speed() 870 dummy_g_get_frame(struct usb_gadget * _gadget) dummy_g_get_frame() argument 878 dummy_wakeup(struct usb_gadget * _gadget) dummy_wakeup() argument 901 dummy_set_selfpowered(struct usb_gadget * _gadget,int value) dummy_set_selfpowered() argument 922 dummy_pullup(struct usb_gadget * _gadget,int value) dummy_pullup() argument 940 dummy_udc_set_speed(struct usb_gadget * _gadget,enum usb_device_speed speed) dummy_udc_set_speed() argument 950 dummy_udc_async_callbacks(struct usb_gadget * _gadget,bool enable) dummy_udc_async_callbacks() argument [all...] |
| H A D | gr_udc.c | 1845 static int gr_get_frame(struct usb_gadget *_gadget) in gr_get_frame() argument 1849 if (!_gadget) in gr_get_frame() 1851 dev = container_of(_gadget, struct gr_udc, gadget); in gr_get_frame() 1855 static int gr_wakeup(struct usb_gadget *_gadget) in gr_wakeup() argument 1859 if (!_gadget) in gr_wakeup() 1861 dev = container_of(_gadget, struct gr_udc, gadget); in gr_wakeup() 1877 static int gr_pullup(struct usb_gadget *_gadget, int is_on) in gr_pullup() argument 1882 if (!_gadget) in gr_pullup() 1884 dev = container_of(_gadget, struct gr_udc, gadget); in gr_pullup()
|
| H A D | m66592-udc.h | 494 #define gadget_to_m66592(_gadget) container_of(_gadget, struct m66592, gadget) argument
|
| H A D | m66592-udc.c | 1487 static int m66592_get_frame(struct usb_gadget *_gadget) in m66592_get_frame() argument 1489 struct m66592 *m66592 = gadget_to_m66592(_gadget); in m66592_get_frame()
|
| /linux/drivers/usb/usbip/ |
| H A D | vudc_dev.c | 126 static int vgadget_get_frame(struct usb_gadget *_gadget) in vgadget_get_frame() argument 129 struct vudc *udc = usb_gadget_to_vudc(_gadget); in vgadget_get_frame() 137 static int vgadget_set_selfpowered(struct usb_gadget *_gadget, int value) in vgadget_set_selfpowered() argument 139 struct vudc *udc = usb_gadget_to_vudc(_gadget); in vgadget_set_selfpowered() 148 static int vgadget_pullup(struct usb_gadget *_gadget, int value) in vgadget_pullup() argument 150 struct vudc *udc = usb_gadget_to_vudc(_gadget); in vgadget_pullup()
|
| H A D | vudc.h | 133 struct usb_gadget *_gadget) in usb_gadget_to_vudc() argument 135 return container_of(_gadget, struct vudc, gadget); in usb_gadget_to_vudc()
|