Searched refs:the_udc_pdev (Results 1 – 1 of 1) sorted by relevance
2782 static struct platform_device *the_udc_pdev[MAX_NUM_UDC]; variable2813 the_udc_pdev[i] = platform_device_alloc(gadget_name, i); in dummy_hcd_init()2814 if (!the_udc_pdev[i]) { in dummy_hcd_init()2817 platform_device_put(the_udc_pdev[i--]); in dummy_hcd_init()2866 retval = platform_device_add(the_udc_pdev[i]); in dummy_hcd_init()2870 platform_device_del(the_udc_pdev[i--]); in dummy_hcd_init()2876 if (!platform_get_drvdata(the_udc_pdev[i])) { in dummy_hcd_init()2889 platform_device_del(the_udc_pdev[i]); in dummy_hcd_init()2901 platform_device_put(the_udc_pdev[i]); in dummy_hcd_init()2916 dum = *((void **)dev_get_platdata(&the_udc_pdev[i]->dev)); in dummy_hcd_cleanup()[all …]