Searched refs:the_udc_pdev (Results 1 – 1 of 1) sorted by relevance
2765 static struct platform_device *the_udc_pdev[MAX_NUM_UDC]; variable2796 the_udc_pdev[i] = platform_device_alloc(gadget_name, i); in init()2797 if (!the_udc_pdev[i]) { in init()2800 platform_device_put(the_udc_pdev[i--]); in init()2814 retval = platform_device_add_data(the_udc_pdev[i], &dum[i], in init()2849 retval = platform_device_add(the_udc_pdev[i]); in init()2853 platform_device_del(the_udc_pdev[i--]); in init()2859 if (!platform_get_drvdata(the_udc_pdev[i])) { in init()2872 platform_device_del(the_udc_pdev[i]); in init()2884 platform_device_put(the_udc_pdev[i]); in init()[all …]