Home
last modified time | relevance | path

Searched refs:pd_dev_link (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.6/drivers/clk/imx/
Dclk-imx8-acm.c29 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/
Dimx_dsp_rproc.c125 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()
Dimx_rproc.c119 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()