Lines Matching refs:pd_pdev
460 struct platform_device *pd_pdev; in imx_gpc_probe() local
480 pd_pdev = platform_device_alloc("imx-pgc-power-domain", in imx_gpc_probe()
482 if (!pd_pdev) { in imx_gpc_probe()
487 ret = platform_device_add_data(pd_pdev, in imx_gpc_probe()
491 platform_device_put(pd_pdev); in imx_gpc_probe()
495 domain = pd_pdev->dev.platform_data; in imx_gpc_probe()
499 pd_pdev->dev.parent = &pdev->dev; in imx_gpc_probe()
500 pd_pdev->dev.of_node = np; in imx_gpc_probe()
501 pd_pdev->dev.fwnode = of_fwnode_handle(np); in imx_gpc_probe()
503 ret = platform_device_add(pd_pdev); in imx_gpc_probe()
505 platform_device_put(pd_pdev); in imx_gpc_probe()