Lines Matching refs:gadget
248 static int handle_dnload(struct usb_gadget *gadget, u16 len) in handle_dnload() argument
250 struct usb_composite_dev *cdev = get_gadget_data(gadget); in handle_dnload()
266 struct usb_gadget *gadget, in state_app_idle() argument
293 struct usb_gadget *gadget, in state_app_detach() argument
316 struct usb_gadget *gadget, in state_dfu_idle() argument
332 value = handle_dnload(gadget, len); in state_dfu_idle()
376 struct usb_gadget *gadget, in state_dfu_dnload_sync() argument
399 struct usb_gadget *gadget, in state_dfu_dnbusy() argument
419 struct usb_gadget *gadget, in state_dfu_dnload_idle() argument
430 value = handle_dnload(gadget, len); in state_dfu_dnload_idle()
453 struct usb_gadget *gadget, in state_dfu_manifest_sync() argument
480 struct usb_gadget *gadget, in state_dfu_manifest() argument
506 struct usb_gadget *gadget, in state_dfu_upload_idle() argument
543 struct usb_gadget *gadget, in state_dfu_error() argument
587 struct usb_gadget *gadget = f->config->cdev->gadget; in dfu_handle() local
606 value = dfu_state[f_dfu->dfu_state] (f_dfu, ctrl, gadget, req); in dfu_handle()
611 value = usb_ep_queue(gadget->ep0, req, 0); in dfu_handle()
833 c->cdev, c->cdev->gadget, c->cdev->gadget->ep0); in dfu_add()