Lines Matching refs:_gadget
1309 static int net2280_get_frame (struct usb_gadget *_gadget)
1315 if (!_gadget)
1317 dev = container_of (_gadget, struct net2280, gadget);
1324 static int net2280_wakeup (struct usb_gadget *_gadget)
1330 if (!_gadget)
1332 dev = container_of (_gadget, struct net2280, gadget);
1344 static int net2280_set_selfpowered (struct usb_gadget *_gadget, int value)
1350 if (!_gadget)
1352 dev = container_of (_gadget, struct net2280, gadget);
1366 static int net2280_pullup(struct usb_gadget *_gadget, int is_on)
1372 if (!_gadget)
1374 dev = container_of (_gadget, struct net2280, gadget);