Home
last modified time | relevance | path

Searched refs:udc_dev (Results 1 – 4 of 4) sorted by relevance

/drivers/usb/usbip/
Dvudc_main.c46 struct vudc_device *udc_dev = NULL, *udc_dev2 = NULL; in init() local
61 udc_dev = alloc_vudc_device(i); in init()
62 if (!udc_dev) { in init()
67 retval = platform_device_add(udc_dev->pdev); in init()
69 put_vudc_device(udc_dev); in init()
73 list_add_tail(&udc_dev->dev_entry, &vudc_devices); in init()
74 if (!platform_get_drvdata(udc_dev->pdev)) { in init()
86 list_for_each_entry_safe(udc_dev, udc_dev2, &vudc_devices, dev_entry) { in init()
87 list_del(&udc_dev->dev_entry); in init()
88 platform_device_del(udc_dev->pdev); in init()
[all …]
Dvudc_dev.c506 struct vudc_device *udc_dev = NULL; in alloc_vudc_device() local
508 udc_dev = kzalloc(sizeof(*udc_dev), GFP_KERNEL); in alloc_vudc_device()
509 if (!udc_dev) in alloc_vudc_device()
512 INIT_LIST_HEAD(&udc_dev->dev_entry); in alloc_vudc_device()
514 udc_dev->pdev = platform_device_alloc(GADGET_NAME, devid); in alloc_vudc_device()
515 if (!udc_dev->pdev) { in alloc_vudc_device()
516 kfree(udc_dev); in alloc_vudc_device()
517 udc_dev = NULL; in alloc_vudc_device()
521 return udc_dev; in alloc_vudc_device()
524 void put_vudc_device(struct vudc_device *udc_dev) in put_vudc_device() argument
[all …]
Dvudc.h185 void put_vudc_device(struct vudc_device *udc_dev);
/drivers/usb/gadget/udc/
Ddummy_hcd.c290 static inline struct device *udc_dev(struct dummy *dum) in udc_dev() function
597 dev_err(udc_dev(dum), "Can't enable stream support on " in dummy_enable()
605 dev_dbg(udc_dev(dum), "enabled %s (ep%d%s-%s) maxpacket %d stream %s\n", in dummy_enable()
652 dev_dbg(udc_dev(dum), "disabled %s\n", _ep->name); in dummy_disable()
712 dev_dbg(udc_dev(dum), "ep %p queue req %p to %s, len %d buf %p\n", in dummy_queue()
776 dev_dbg(udc_dev(dum), in dummy_dequeue()
912 dev_dbg(udc_dev(dum), "This device can perform faster" in dummy_pullup()
1609 dev_dbg(udc_dev(dum), "set_address = %d\n", in handle_control_request()
1872 dev_dbg(udc_dev(dum), "stale req = %p\n", in dummy_timer()
1914 dev_dbg(udc_dev(dum), in dummy_timer()