Lines Matching refs:the_udc_pdev
2766 static struct platform_device *the_udc_pdev[MAX_NUM_UDC]; variable
2797 the_udc_pdev[i] = platform_device_alloc(gadget_name, i); in dummy_hcd_init()
2798 if (!the_udc_pdev[i]) { in dummy_hcd_init()
2801 platform_device_put(the_udc_pdev[i--]); in dummy_hcd_init()
2815 retval = platform_device_add_data(the_udc_pdev[i], &dum[i], in dummy_hcd_init()
2850 retval = platform_device_add(the_udc_pdev[i]); in dummy_hcd_init()
2854 platform_device_del(the_udc_pdev[i--]); in dummy_hcd_init()
2860 if (!platform_get_drvdata(the_udc_pdev[i])) { in dummy_hcd_init()
2873 platform_device_del(the_udc_pdev[i]); in dummy_hcd_init()
2885 platform_device_put(the_udc_pdev[i]); in dummy_hcd_init()
2900 dum = *((void **)dev_get_platdata(&the_udc_pdev[i]->dev)); in dummy_hcd_cleanup()
2902 platform_device_unregister(the_udc_pdev[i]); in dummy_hcd_cleanup()