Home
last modified time | relevance | path

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

/openbmc/linux/drivers/clk/imx/
H A 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()
287 dev_pm->pd_dev_link[i] = device_link_add(dev, in clk_imx_acm_attach_pm_domains()
292 if (!dev_pm->pd_dev_link[i]) { in clk_imx_acm_attach_pm_domains()
302 device_link_del(dev_pm->pd_dev_link[i]); in clk_imx_acm_attach_pm_domains()
322 device_link_del(dev_pm->pd_dev_link[i]); in clk_imx_acm_detach_pm_domains()
/openbmc/linux/drivers/remoteproc/
H A 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()
H A Dimx_rproc.c119 struct device_link **pd_dev_link; member
915 priv->pd_dev_link = devm_kmalloc_array(dev, priv->num_pd, sizeof(*priv->pd_dev_link), in imx_rproc_attach_pd()
918 if (!priv->pd_dev_link) in imx_rproc_attach_pd()
928 priv->pd_dev_link[i] = device_link_add(dev, priv->pd_dev[i], DL_FLAG_STATELESS | in imx_rproc_attach_pd()
930 if (!priv->pd_dev_link[i]) { in imx_rproc_attach_pd()
941 device_link_del(priv->pd_dev_link[i]); in imx_rproc_attach_pd()
961 device_link_del(priv->pd_dev_link[i]); in imx_rproc_detach_pd()
/openbmc/linux/drivers/dma/
H A Dfsl-edma-main.c396 if (fsl_chan->pd_dev_link) in fsl_edma3_detach_pd()
397 device_link_del(fsl_chan->pd_dev_link); in fsl_edma3_detach_pd()
432 fsl_chan->pd_dev_link = device_link_add(dev, pd_chan, DL_FLAG_STATELESS | in fsl_edma3_attach_pd()
435 if (!fsl_chan->pd_dev_link) { in fsl_edma3_attach_pd()
H A Dfsl-edma-common.h154 struct device_link *pd_dev_link; member