Lines Matching refs:pd_dev
64 struct device **pd_dev; member
216 priv->pd_dev = devm_kmalloc_array(&pdev->dev, priv->num_domains, in imx8_probe()
217 sizeof(*priv->pd_dev), GFP_KERNEL); in imx8_probe()
218 if (!priv->pd_dev) in imx8_probe()
227 priv->pd_dev[i] = dev_pm_domain_attach_by_id(&pdev->dev, i); in imx8_probe()
228 if (IS_ERR(priv->pd_dev[i])) { in imx8_probe()
229 ret = PTR_ERR(priv->pd_dev[i]); in imx8_probe()
232 priv->link[i] = device_link_add(&pdev->dev, priv->pd_dev[i], in imx8_probe()
238 dev_pm_domain_detach(priv->pd_dev[i], false); in imx8_probe()
335 dev_pm_domain_detach(priv->pd_dev[i], false); in imx8_probe()
351 dev_pm_domain_detach(priv->pd_dev[i], false); in imx8_remove()