Searched refs:pd_dev_link (Results 1 – 3 of 3) sorted by relevance
/Linux-v6.6/drivers/clk/imx/ |
D | clk-imx8-acm.c | 29 struct device_link **pd_dev_link; member 273 dev_pm->pd_dev_link = devm_kmalloc_array(dev, in clk_imx_acm_attach_pm_domains() 275 sizeof(*dev_pm->pd_dev_link), in clk_imx_acm_attach_pm_domains() 277 if (!dev_pm->pd_dev_link) in clk_imx_acm_attach_pm_domains() 285 dev_pm->pd_dev_link[i] = device_link_add(dev, in clk_imx_acm_attach_pm_domains() 290 if (IS_ERR(dev_pm->pd_dev_link[i])) { in clk_imx_acm_attach_pm_domains() 292 ret = PTR_ERR(dev_pm->pd_dev_link[i]); in clk_imx_acm_attach_pm_domains() 300 device_link_del(dev_pm->pd_dev_link[i]); in clk_imx_acm_attach_pm_domains() 320 device_link_del(dev_pm->pd_dev_link[i]); in clk_imx_acm_detach_pm_domains()
|
/Linux-v6.6/drivers/remoteproc/ |
D | imx_dsp_rproc.c | 125 struct device_link **pd_dev_link; member 973 priv->pd_dev_link = devm_kmalloc_array(dev, priv->num_domains, in imx_dsp_attach_pm_domains() 974 sizeof(*priv->pd_dev_link), in imx_dsp_attach_pm_domains() 976 if (!priv->pd_dev_link) in imx_dsp_attach_pm_domains() 990 priv->pd_dev_link[i] = device_link_add(dev, in imx_dsp_attach_pm_domains() 994 if (!priv->pd_dev_link[i]) { in imx_dsp_attach_pm_domains() 1005 device_link_del(priv->pd_dev_link[i]); in imx_dsp_attach_pm_domains() 1020 device_link_del(priv->pd_dev_link[i]); in imx_dsp_detach_pm_domains()
|
D | imx_rproc.c | 119 struct device_link **pd_dev_link; member 898 priv->pd_dev_link = devm_kmalloc_array(dev, priv->num_pd, sizeof(*priv->pd_dev_link), in imx_rproc_attach_pd() 901 if (!priv->pd_dev_link) in imx_rproc_attach_pd() 911 priv->pd_dev_link[i] = device_link_add(dev, priv->pd_dev[i], DL_FLAG_STATELESS | in imx_rproc_attach_pd() 913 if (!priv->pd_dev_link[i]) { in imx_rproc_attach_pd() 924 device_link_del(priv->pd_dev_link[i]); in imx_rproc_attach_pd() 944 device_link_del(priv->pd_dev_link[i]); in imx_rproc_detach_pd()
|