Lines Matching refs:gadget
37 * one (!) network link through the USB gadget stack, normally "usb0".
66 struct usb_gadget *gadget;
107 static inline int qlen(struct usb_gadget *gadget)
109 if (gadget_is_dualspeed(gadget) && gadget->speed == USB_SPEED_HIGH)
179 strlcpy(p->fw_version, dev->gadget->name, sizeof p->fw_version);
180 strlcpy(p->bus_info, dev_name(&dev->gadget->dev), sizeof p->bus_info);
545 * and reconfigured the gadget (shutting down this queue) after the
592 if (gadget_is_dualspeed(dev->gadget))
593 req->no_interrupt = (dev->gadget->speed == USB_SPEED_HIGH)
740 .name = "gadget",
745 * @g: gadget to associated with these links
751 * gadget driver using this framework. The link layer addresses are
803 dev->gadget = g;
883 result = alloc_requests(dev, link, qlen(dev->gadget));
887 DBG(dev, "qlen %d\n", qlen(dev->gadget));