Home
last modified time | relevance | path

Searched refs:udc_name (Results 1 – 9 of 9) sorted by relevance

/linux-5.19.10/drivers/usb/gadget/
Dconfigfs.c232 char *udc_name; in gadget_dev_desc_UDC_show() local
236 udc_name = gi->composite.gadget_driver.udc_name; in gadget_dev_desc_UDC_show()
237 ret = sprintf(page, "%s\n", udc_name ?: ""); in gadget_dev_desc_UDC_show()
247 if (!gi->composite.gadget_driver.udc_name) in unregister_gadget()
253 kfree(gi->composite.gadget_driver.udc_name); in unregister_gadget()
254 gi->composite.gadget_driver.udc_name = NULL; in unregister_gadget()
282 if (gi->composite.gadget_driver.udc_name) { in gadget_dev_desc_UDC_store()
286 gi->composite.gadget_driver.udc_name = name; in gadget_dev_desc_UDC_store()
289 gi->composite.gadget_driver.udc_name = NULL; in gadget_dev_desc_UDC_store()
317 if (gi->composite.gadget_driver.udc_name) in gadget_dev_desc_max_speed_store()
[all …]
/linux-5.19.10/drivers/usb/gadget/legacy/
Draw_gadget.c162 const char *udc_name; member
208 kfree(dev->udc_name); in dev_free()
209 kfree(dev->driver.udc_name); in dev_free()
288 if (strcmp(gadget->name, dev->udc_name) != 0) in gadget_bind()
496 dev->udc_name = udc_driver_name; in raw_ioctl_init()
508 dev->driver.udc_name = udc_device_name; in raw_ioctl_init()
/linux-5.19.10/drivers/usb/gadget/udc/
Dfusb300_udc.c27 static const char udc_name[] = "fusb300_udc"; variable
1421 fusb300->gadget.name = udc_name; in fusb300_probe()
1425 udc_name, fusb300); in fusb300_probe()
1432 IRQF_SHARED, udc_name, fusb300); in fusb300_probe()
1510 .name = udc_name,
Dfotg210-udc.c24 static const char udc_name[] = "fotg210_udc"; variable
1137 fotg210->gadget.name = udc_name; in fotg210_udc_probe()
1180 udc_name, fotg210); in fotg210_udc_probe()
1214 .name = udc_name,
Dm66592-udc.c29 static const char udc_name[] = "m66592_udc"; variable
1590 m66592->gadget.name = udc_name; in m66592_probe()
1596 udc_name, m66592); in m66592_probe()
1694 .name = udc_name,
Dcore.c1462 if (driver->udc_name && in gadget_match_driver()
1463 strcmp(driver->udc_name, dev_name(&udc->dev)) != 0) in gadget_match_driver()
Dr8a66597-udc.c27 static const char udc_name[] = "r8a66597_udc"; variable
1874 r8a66597->gadget.name = udc_name; in r8a66597_probe()
1898 udc_name, r8a66597); in r8a66597_probe()
1971 .name = udc_name,
Drenesas_usb3.c390 static const char udc_name[] = "renesas_usb3"; variable
2777 usb3->gadget.name = udc_name; in renesas_usb3_probe()
2911 .name = udc_name,
/linux-5.19.10/include/linux/usb/
Dgadget.h733 char *udc_name; member