Searched refs:udc_dev (Results 1 – 4 of 4) sorted by relevance
/drivers/usb/usbip/ |
D | vudc_main.c | 35 struct vudc_device *udc_dev = NULL, *udc_dev2 = NULL; in vudc_init() local 50 udc_dev = alloc_vudc_device(i); in vudc_init() 51 if (!udc_dev) { in vudc_init() 56 retval = platform_device_add(udc_dev->pdev); in vudc_init() 58 put_vudc_device(udc_dev); in vudc_init() 62 list_add_tail(&udc_dev->dev_entry, &vudc_devices); in vudc_init() 63 if (!platform_get_drvdata(udc_dev->pdev)) { in vudc_init() 75 list_for_each_entry_safe(udc_dev, udc_dev2, &vudc_devices, dev_entry) { in vudc_init() 76 list_del(&udc_dev->dev_entry); in vudc_init() 81 platform_device_del(udc_dev->pdev); in vudc_init() [all …]
|
D | vudc_dev.c | 492 struct vudc_device *udc_dev; in alloc_vudc_device() local 494 udc_dev = kzalloc(sizeof(*udc_dev), GFP_KERNEL); in alloc_vudc_device() 495 if (!udc_dev) in alloc_vudc_device() 498 INIT_LIST_HEAD(&udc_dev->dev_entry); in alloc_vudc_device() 500 udc_dev->pdev = platform_device_alloc(GADGET_NAME, devid); in alloc_vudc_device() 501 if (!udc_dev->pdev) { in alloc_vudc_device() 502 kfree(udc_dev); in alloc_vudc_device() 503 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);
|
/drivers/usb/gadget/udc/ |
D | dummy_hcd.c | 300 static inline struct device *udc_dev(struct dummy *dum) in udc_dev() function 612 dev_err(udc_dev(dum), "Can't enable stream support on " in dummy_enable() 620 dev_dbg(udc_dev(dum), "enabled %s (ep%d%s-%s) maxpacket %d stream %s\n", in dummy_enable() 653 dev_dbg(udc_dev(dum), "disabled %s\n", _ep->name); in dummy_disable() 713 dev_dbg(udc_dev(dum), "ep %p queue req %p to %s, len %d buf %p\n", in dummy_queue() 778 dev_dbg(udc_dev(dum), in dummy_dequeue() 1630 dev_dbg(udc_dev(dum), "set_address = %d\n", in handle_control_request() 1892 dev_dbg(udc_dev(dum), "stale req = %p\n", in dummy_timer() 1934 dev_dbg(udc_dev(dum), in dummy_timer()
|