Lines Matching refs:the_udc_pdev
2782 static struct platform_device *the_udc_pdev[MAX_NUM_UDC]; variable
2813 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()
2831 retval = platform_device_add_data(the_udc_pdev[i], &dum[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()
2918 platform_device_unregister(the_udc_pdev[i]); in dummy_hcd_cleanup()