Lines Matching refs:gadget
114 if (!dev->driver || dev->gadget.speed == USB_SPEED_UNKNOWN) in goku_ep_enable()
809 if (unlikely(!dev->driver || dev->gadget.speed == USB_SPEED_UNKNOWN)) in goku_queue()
1327 INIT_LIST_HEAD (&dev->gadget.ep_list); in udc_reinit()
1328 dev->gadget.ep0 = &dev->ep [0].ep; in udc_reinit()
1329 dev->gadget.speed = USB_SPEED_UNKNOWN; in udc_reinit()
1343 list_add_tail (&ep->ep.ep_list, &dev->gadget.ep_list); in udc_reinit()
1403 dev->gadget.speed = USB_SPEED_FULL; in ep0_start()
1453 retval = driver->bind(&dev->gadget); in usb_gadget_register_driver()
1478 if (dev->gadget.speed == USB_SPEED_UNKNOWN) in stop_activity()
1487 driver->disconnect(&dev->gadget); in stop_activity()
1510 driver->unbind(&dev->gadget); in usb_gadget_unregister_driver()
1608 tmp = dev->driver->setup(&dev->gadget, &ctrl); in ep0_setup()
1664 if (dev->gadget.speed == USB_SPEED_FULL) in goku_irq()
1686 if (dev->gadget.speed != USB_SPEED_UNKNOWN in goku_irq()
1690 dev->driver->suspend(&dev->gadget); in goku_irq()
1701 if (dev->gadget.speed != USB_SPEED_UNKNOWN in goku_irq()
1705 dev->driver->resume(&dev->gadget); in goku_irq()
1869 dev->gadget.ops = &goku_ops; in goku_probe()
1872 dev->gadget.dev.bus_id = "gadget"; in goku_probe()
1873 dev->gadget.name = driver_name; in goku_probe()