Lines Matching refs:_gadget
1155 static int langwell_get_frame(struct usb_gadget *_gadget)
1160 if (!_gadget)
1163 dev = container_of(_gadget, struct langwell_udc, gadget);
1174 static int langwell_wakeup(struct usb_gadget *_gadget)
1180 if (!_gadget)
1183 dev = container_of(_gadget, struct langwell_udc, gadget);
1224 static int langwell_vbus_session(struct usb_gadget *_gadget, int is_active)
1230 if (!_gadget)
1233 dev = container_of(_gadget, struct langwell_udc, gadget);
1258 static int langwell_vbus_draw(struct usb_gadget *_gadget, unsigned mA)
1262 if (!_gadget)
1265 dev = container_of(_gadget, struct langwell_udc, gadget);
1280 static int langwell_pullup(struct usb_gadget *_gadget, int is_on)
1286 if (!_gadget)
1289 dev = container_of(_gadget, struct langwell_udc, gadget);