Lines Matching refs:gadget
84 static int ci_pullup(struct usb_gadget *gadget, int is_on);
142 .gadget = {
340 if ((max > 64) && (controller.gadget.speed == USB_SPEED_FULL)) in ci_ep_enable()
728 usb_ep_queue(controller.gadget.ep0, in handle_setup()
743 usb_ep_queue(controller.gadget.ep0, req, 0); in handle_setup()
751 usb_ep_queue(controller.gadget.ep0, req, 0); in handle_setup()
756 status = controller.driver->setup(&controller.gadget, &r); in handle_setup()
827 controller.gadget.speed = speed; in udc_irq()
884 controller.driver->disconnect(&controller.gadget); in udc_disconnect()
887 static int ci_pullup(struct usb_gadget *gadget, int is_on) in ci_pullup() argument
968 INIT_LIST_HEAD(&controller.gadget.ep_list); in ci_udc_probe()
975 controller.gadget.ep0 = &controller.ep[0].ep; in ci_udc_probe()
976 INIT_LIST_HEAD(&controller.gadget.ep0->ep_list); in ci_udc_probe()
985 &controller.gadget.ep_list); in ci_udc_probe()
995 &controller.gadget.ep_list); in ci_udc_probe()
1033 ret = driver->bind(&controller.gadget); in usb_gadget_register_driver()
1047 driver->unbind(&controller.gadget); in usb_gadget_unregister_driver()