Lines Matching refs:gadget
235 if (gadget_is_otg(c->cdev->gadget)) { in rndis_do_config()
267 if (gadget_is_otg(c->cdev->gadget)) { in eth_do_config()
274 else if (can_support_ecm(c->cdev->gadget)) in eth_do_config()
292 struct usb_gadget *gadget = cdev->gadget; in eth_bind() local
296 status = gether_setup(cdev->gadget, hostaddr); in eth_bind()
306 } else if (can_support_ecm(cdev->gadget)) { in eth_bind()
326 gcnum = usb_gadget_controller_number(gadget); in eth_bind()
334 dev_warn(&gadget->dev, in eth_bind()
336 gadget->name, in eth_bind()
350 gadget->name); in eth_bind()
375 dev_info(&gadget->dev, "%s, version: " DRIVER_VERSION "\n", in eth_bind()