Lines Matching defs:_gadget
1075 net2272_get_frame(struct usb_gadget *_gadget)
1081 if (!_gadget)
1083 dev = container_of(_gadget, struct net2272, gadget);
1094 net2272_wakeup(struct usb_gadget *_gadget)
1100 if (!_gadget)
1102 dev = container_of(_gadget, struct net2272, gadget);
1115 net2272_set_selfpowered(struct usb_gadget *_gadget, int value)
1117 if (!_gadget)
1120 _gadget->is_selfpowered = (value != 0);
1126 net2272_pullup(struct usb_gadget *_gadget, int is_on)
1132 if (!_gadget)
1134 dev = container_of(_gadget, struct net2272, gadget);
1149 static int net2272_start(struct usb_gadget *_gadget,
1151 static int net2272_stop(struct usb_gadget *_gadget);
1434 static int net2272_start(struct usb_gadget *_gadget,
1444 dev = container_of(_gadget, struct net2272, gadget);
1487 static int net2272_stop(struct usb_gadget *_gadget)
1492 dev = container_of(_gadget, struct net2272, gadget);