Lines Matching refs:the_udc_pdev
2618 static struct platform_device *the_udc_pdev[MAX_NUM_UDC]; variable
2649 the_udc_pdev[i] = platform_device_alloc(gadget_name, i); in init()
2650 if (!the_udc_pdev[i]) { in init()
2653 platform_device_put(the_udc_pdev[i--]); in init()
2667 retval = platform_device_add_data(the_udc_pdev[i], &dum[i], in init()
2702 retval = platform_device_add(the_udc_pdev[i]); in init()
2706 platform_device_del(the_udc_pdev[i]); in init()
2712 if (!platform_get_drvdata(the_udc_pdev[i])) { in init()
2725 platform_device_del(the_udc_pdev[i]); in init()
2737 platform_device_put(the_udc_pdev[i]); in init()
2752 dum = *((void **)dev_get_platdata(&the_udc_pdev[i]->dev)); in cleanup()
2754 platform_device_unregister(the_udc_pdev[i]); in cleanup()