Searched refs:udc_dev (Results 1 – 4 of 4) sorted by relevance
/Linux-v4.19/drivers/usb/usbip/ |
D | vudc_main.c | 34 struct vudc_device *udc_dev = NULL, *udc_dev2 = NULL; in init() local 49 udc_dev = alloc_vudc_device(i); in init() 50 if (!udc_dev) { in init() 55 retval = platform_device_add(udc_dev->pdev); in init() 57 put_vudc_device(udc_dev); in init() 61 list_add_tail(&udc_dev->dev_entry, &vudc_devices); in init() 62 if (!platform_get_drvdata(udc_dev->pdev)) { in init() 74 list_for_each_entry_safe(udc_dev, udc_dev2, &vudc_devices, dev_entry) { in init() 75 list_del(&udc_dev->dev_entry); in init() 76 platform_device_del(udc_dev->pdev); in init() [all …]
|
D | vudc_dev.c | 491 struct vudc_device *udc_dev = NULL; in alloc_vudc_device() local 493 udc_dev = kzalloc(sizeof(*udc_dev), GFP_KERNEL); in alloc_vudc_device() 494 if (!udc_dev) in alloc_vudc_device() 497 INIT_LIST_HEAD(&udc_dev->dev_entry); in alloc_vudc_device() 499 udc_dev->pdev = platform_device_alloc(GADGET_NAME, devid); in alloc_vudc_device() 500 if (!udc_dev->pdev) { in alloc_vudc_device() 501 kfree(udc_dev); in alloc_vudc_device() 502 udc_dev = NULL; in alloc_vudc_device() 506 return udc_dev; in alloc_vudc_device() 509 void put_vudc_device(struct vudc_device *udc_dev) in put_vudc_device() argument [all …]
|
D | vudc.h | 173 void put_vudc_device(struct vudc_device *udc_dev);
|
/Linux-v4.19/drivers/usb/gadget/udc/ |
D | dummy_hcd.c | 299 static inline struct device *udc_dev(struct dummy *dum) in udc_dev() function 608 dev_err(udc_dev(dum), "Can't enable stream support on " in dummy_enable() 616 dev_dbg(udc_dev(dum), "enabled %s (ep%d%s-%s) maxpacket %d stream %s\n", in dummy_enable() 663 dev_dbg(udc_dev(dum), "disabled %s\n", _ep->name); in dummy_disable() 723 dev_dbg(udc_dev(dum), "ep %p queue req %p to %s, len %d buf %p\n", in dummy_queue() 787 dev_dbg(udc_dev(dum), in dummy_dequeue() 1614 dev_dbg(udc_dev(dum), "set_address = %d\n", in handle_control_request() 1873 dev_dbg(udc_dev(dum), "stale req = %p\n", in dummy_timer() 1915 dev_dbg(udc_dev(dum), in dummy_timer()
|