Lines Matching refs:gadget
408 struct usb_gadget *gadget = fp->function.config->cdev->gadget;
428 out = ep_choose(gadget,
431 in = ep_choose(gadget,
490 struct usb_gadget *gadget = cdev->gadget;
511 ep = usb_ep_autoconfig(gadget, &pn_fs_sink_desc);
517 ep = usb_ep_autoconfig(gadget, &pn_fs_source_desc);
551 INFO(cdev, "using %s, OUT %s, IN %s\n", cdev->gadget->name,
609 int __init gphonet_setup(struct usb_gadget *gadget)
623 SET_NETDEV_DEV(dev, &gadget->dev);