Searched refs:udc_dev (Results 1 – 2 of 2) sorted by relevance
492 struct vudc_device *udc_dev; in alloc_vudc_device() local494 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 …]
173 void put_vudc_device(struct vudc_device *udc_dev);