Home
last modified time | relevance | path

Searched refs:pd_dev (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/cpuidle/
A Dcpuidle-psci.c62 struct device *pd_dev = data->dev; in __psci_enter_domain_idle_state() local
73 dev_pm_genpd_suspend(pd_dev); in __psci_enter_domain_idle_state()
75 pm_runtime_put_sync_suspend(pd_dev); in __psci_enter_domain_idle_state()
86 dev_pm_genpd_resume(pd_dev); in __psci_enter_domain_idle_state()
88 pm_runtime_get_sync(pd_dev); in __psci_enter_domain_idle_state()
113 struct device *pd_dev = __this_cpu_read(psci_cpuidle_data.dev); in psci_idle_cpuhp_up() local
115 if (pd_dev) in psci_idle_cpuhp_up()
116 pm_runtime_get_sync(pd_dev); in psci_idle_cpuhp_up()
123 struct device *pd_dev = __this_cpu_read(psci_cpuidle_data.dev); in psci_idle_cpuhp_down() local
125 if (pd_dev) { in psci_idle_cpuhp_down()
[all …]
/linux/sound/soc/sof/imx/
A Dimx8.c57 struct device **pd_dev; member
238 priv->pd_dev = devm_kmalloc_array(&pdev->dev, priv->num_domains, in imx8_probe()
239 sizeof(*priv->pd_dev), GFP_KERNEL); in imx8_probe()
240 if (!priv->pd_dev) in imx8_probe()
249 priv->pd_dev[i] = dev_pm_domain_attach_by_id(&pdev->dev, i); in imx8_probe()
250 if (IS_ERR(priv->pd_dev[i])) { in imx8_probe()
251 ret = PTR_ERR(priv->pd_dev[i]); in imx8_probe()
254 priv->link[i] = device_link_add(&pdev->dev, priv->pd_dev[i], in imx8_probe()
260 dev_pm_domain_detach(priv->pd_dev[i], false); in imx8_probe()
345 dev_pm_domain_detach(priv->pd_dev[i], false); in imx8_probe()
[all …]
/linux/drivers/spi/
A Dspi-topcliff-pch.c1472 dev_err(&pd_dev->dev, in pch_spi_pd_suspend()
1494 dev_dbg(&pd_dev->dev, in pch_spi_pd_suspend()
1508 dev_err(&pd_dev->dev, in pch_spi_pd_resume()
1518 dev_err(&pd_dev->dev, in pch_spi_pd_resume()
1548 struct platform_device *pd_dev = NULL; in pch_spi_probe() local
1582 if (!pd_dev) { in pch_spi_probe()
1587 pd_dev_save->pd_save[i] = pd_dev; in pch_spi_probe()
1588 pd_dev->dev.parent = &pdev->dev; in pch_spi_probe()
1595 platform_device_put(pd_dev); in pch_spi_probe()
1599 retval = platform_device_add(pd_dev); in pch_spi_probe()
[all …]
/linux/drivers/remoteproc/
A Dimx_dsp_rproc.c117 struct device **pd_dev; member
837 priv->pd_dev = devm_kmalloc_array(dev, priv->num_domains, in imx_dsp_attach_pm_domains()
838 sizeof(*priv->pd_dev), in imx_dsp_attach_pm_domains()
840 if (!priv->pd_dev) in imx_dsp_attach_pm_domains()
850 priv->pd_dev[i] = dev_pm_domain_attach_by_id(dev, i); in imx_dsp_attach_pm_domains()
851 if (IS_ERR(priv->pd_dev[i])) { in imx_dsp_attach_pm_domains()
852 ret = PTR_ERR(priv->pd_dev[i]); in imx_dsp_attach_pm_domains()
861 priv->pd_dev[i], in imx_dsp_attach_pm_domains()
865 dev_pm_domain_detach(priv->pd_dev[i], false); in imx_dsp_attach_pm_domains()
876 dev_pm_domain_detach(priv->pd_dev[i], false); in imx_dsp_attach_pm_domains()
[all …]
/linux/drivers/media/platform/imx-jpeg/
A Dmxc-jpeg.c1933 if (jpeg->pd_dev[i] && !IS_ERR(jpeg->pd_dev[i])) in mxc_jpeg_detach_pm_domains()
1934 dev_pm_domain_detach(jpeg->pd_dev[i], true); in mxc_jpeg_detach_pm_domains()
1935 jpeg->pd_dev[i] = NULL; in mxc_jpeg_detach_pm_domains()
1954 jpeg->pd_dev = devm_kmalloc_array(dev, jpeg->num_domains, in mxc_jpeg_attach_pm_domains()
1955 sizeof(*jpeg->pd_dev), GFP_KERNEL); in mxc_jpeg_attach_pm_domains()
1956 if (!jpeg->pd_dev) in mxc_jpeg_attach_pm_domains()
1965 jpeg->pd_dev[i] = dev_pm_domain_attach_by_id(dev, i); in mxc_jpeg_attach_pm_domains()
1966 if (IS_ERR(jpeg->pd_dev[i])) { in mxc_jpeg_attach_pm_domains()
1967 ret = PTR_ERR(jpeg->pd_dev[i]); in mxc_jpeg_attach_pm_domains()
1971 jpeg->pd_link[i] = device_link_add(dev, jpeg->pd_dev[i], in mxc_jpeg_attach_pm_domains()
A Dmxc-jpeg.h122 struct device **pd_dev; member
/linux/drivers/opp/
A Dcore.c866 static int _set_required_opp(struct device *dev, struct device *pd_dev, in _set_required_opp() argument
872 if (!pd_dev) in _set_required_opp()
875 ret = dev_pm_genpd_set_performance_state(pd_dev, pstate); in _set_required_opp()
878 dev_name(pd_dev), pstate, ret); in _set_required_opp()

Completed in 46 milliseconds