/linux-6.1.9/drivers/clk/mmp/ |
D | pwr-island.c | 28 struct mmp_pm_domain *pm_domain = to_mmp_pm_domain(genpd); in mmp_pm_domain_power_on() local 32 if (pm_domain->lock) in mmp_pm_domain_power_on() 33 spin_lock_irqsave(pm_domain->lock, flags); in mmp_pm_domain_power_on() 35 val = readl(pm_domain->reg); in mmp_pm_domain_power_on() 38 val |= pm_domain->power_on; in mmp_pm_domain_power_on() 39 writel(val, pm_domain->reg); in mmp_pm_domain_power_on() 43 writel(val, pm_domain->reg); in mmp_pm_domain_power_on() 46 if (pm_domain->reset || pm_domain->clock_enable) { in mmp_pm_domain_power_on() 49 val &= ~pm_domain->reset; in mmp_pm_domain_power_on() 50 writel(val, pm_domain->reg); in mmp_pm_domain_power_on() [all …]
|
/linux-6.1.9/drivers/base/power/ |
D | common.c | 106 if (dev->pm_domain) in dev_pm_domain_attach() 146 if (dev->pm_domain) in dev_pm_domain_attach_by_id() 163 if (dev->pm_domain) in dev_pm_domain_attach_by_name() 185 if (dev->pm_domain && dev->pm_domain->detach) in dev_pm_domain_detach() 186 dev->pm_domain->detach(dev, power_off); in dev_pm_domain_detach() 203 if (dev->pm_domain && dev->pm_domain->start) in dev_pm_domain_start() 204 return dev->pm_domain->start(dev); in dev_pm_domain_start() 222 if (dev->pm_domain == pd) in dev_pm_domain_set() 227 dev->pm_domain = pd; in dev_pm_domain_set()
|
D | main.c | 625 if (dev->pm_domain) { in device_resume_noirq() 627 callback = pm_noirq_op(&dev->pm_domain->ops, state); in device_resume_noirq() 779 if (dev->pm_domain) { in device_resume_early() 781 callback = pm_late_early_op(&dev->pm_domain->ops, state); in device_resume_early() 930 if (dev->pm_domain) { in device_resume() 932 callback = pm_op(&dev->pm_domain->ops, state); in device_resume() 1065 if (dev->pm_domain) { in device_complete() 1067 callback = dev->pm_domain->ops.complete; in device_complete() 1216 if (dev->pm_domain) { in __device_suspend_noirq() 1218 callback = pm_noirq_op(&dev->pm_domain->ops, state); in __device_suspend_noirq() [all …]
|
D | clock_ops.c | 636 if (dev->pm_domain) in pm_clk_notify() 643 dev_pm_domain_set(dev, clknb->pm_domain); in pm_clk_notify() 653 if (dev->pm_domain != clknb->pm_domain) in pm_clk_notify()
|
D | domain.c | 166 if (IS_ERR_OR_NULL(dev) || IS_ERR_OR_NULL(dev->pm_domain)) in dev_to_genpd_safe() 170 if (dev->pm_domain->ops.runtime_suspend == genpd_runtime_suspend) in dev_to_genpd_safe() 171 return pd_to_genpd(dev->pm_domain); in dev_to_genpd_safe() 182 if (IS_ERR_OR_NULL(dev->pm_domain)) in dev_to_genpd() 185 return pd_to_genpd(dev->pm_domain); in dev_to_genpd() 2749 dev->pm_domain->detach = genpd_dev_pm_detach; in __genpd_dev_pm_attach() 2750 dev->pm_domain->sync = genpd_dev_pm_sync; in __genpd_dev_pm_attach()
|
/linux-6.1.9/drivers/clk/davinci/ |
D | psc.c | 79 struct generic_pm_domain pm_domain; member 177 static int davinci_psc_genpd_attach_dev(struct generic_pm_domain *pm_domain, in davinci_psc_genpd_attach_dev() argument 180 struct davinci_lpsc_clk *lpsc = to_davinci_lpsc_clk(pm_domain); in davinci_psc_genpd_attach_dev() 212 static void davinci_psc_genpd_detach_dev(struct generic_pm_domain *pm_domain, in davinci_psc_genpd_detach_dev() argument 215 struct davinci_lpsc_clk *lpsc = to_davinci_lpsc_clk(pm_domain); in davinci_psc_genpd_detach_dev() 279 lpsc->pm_domain.name = devm_kasprintf(dev, GFP_KERNEL, "%s: %s", in davinci_lpsc_clk_register() 281 lpsc->pm_domain.attach_dev = davinci_psc_genpd_attach_dev; in davinci_lpsc_clk_register() 282 lpsc->pm_domain.detach_dev = davinci_psc_genpd_detach_dev; in davinci_lpsc_clk_register() 283 lpsc->pm_domain.flags = GENPD_FLAG_PM_CLK; in davinci_lpsc_clk_register() 286 pm_genpd_init(&lpsc->pm_domain, NULL, is_on); in davinci_lpsc_clk_register() [all …]
|
/linux-6.1.9/drivers/base/ |
D | dd.c | 536 if (dev->pm_domain && dev->pm_domain->dismiss) in device_unbind_cleanup() 537 dev->pm_domain->dismiss(dev); in device_unbind_cleanup() 633 if (dev->pm_domain && dev->pm_domain->activate) { in really_probe() 634 ret = dev->pm_domain->activate(dev); in really_probe() 684 if (dev->pm_domain && dev->pm_domain->sync) in really_probe() 685 dev->pm_domain->sync(dev); in really_probe()
|
/linux-6.1.9/arch/arm/mach-keystone/ |
D | Makefile | 7 obj-$(CONFIG_ARCH_KEYSTONE) += pm_domain.o
|
D | pm_domain.c | 28 .pm_domain = &keystone_pm_domain,
|
/linux-6.1.9/drivers/clk/qcom/ |
D | gdsc.c | 511 else if (!IS_ERR_OR_NULL(dev->pm_domain)) in gdsc_register() 512 pm_genpd_add_subdomain(pd_to_genpd(dev->pm_domain), &scs[i]->pd); in gdsc_register() 531 else if (!IS_ERR_OR_NULL(dev->pm_domain)) in gdsc_unregister() 532 pm_genpd_remove_subdomain(pd_to_genpd(dev->pm_domain), &scs[i]->pd); in gdsc_unregister()
|
/linux-6.1.9/drivers/sh/ |
D | pm_runtime.c | 31 .pm_domain = &default_pm_domain,
|
/linux-6.1.9/arch/arm/mach-davinci/ |
D | pm_domain.c | 23 .pm_domain = &davinci_pm_domain,
|
D | Makefile | 30 obj-$(CONFIG_HAVE_CLK) += pm_domain.o
|
/linux-6.1.9/arch/arm/mach-omap1/ |
D | pm_bus.c | 29 .pm_domain = &default_pm_domain,
|
/linux-6.1.9/drivers/gpu/drm/etnaviv/ |
D | etnaviv_perfmon.c | 476 static const struct etnaviv_pm_domain *pm_domain(const struct etnaviv_gpu *gpu, in pm_domain() function 508 dom = pm_domain(gpu, domain->iter); in etnaviv_pm_query_dom() 533 dom = pm_domain(gpu, signal->domain); in etnaviv_pm_query_sig()
|
/linux-6.1.9/drivers/gpu/drm/i915/selftests/ |
D | mock_gem_device.c | 108 static struct dev_pm_domain pm_domain = { variable 160 dev_pm_domain_set(&pdev->dev, &pm_domain); in mock_gem_device()
|
/linux-6.1.9/drivers/soc/xilinx/ |
D | zynqmp_pm_domains.c | 38 #define to_zynqmp_pm_domain(pm_domain) \ argument 39 container_of(pm_domain, struct zynqmp_pm_domain, gpd)
|
/linux-6.1.9/include/linux/ |
D | pm_clock.h | 16 struct dev_pm_domain *pm_domain; member
|
/linux-6.1.9/drivers/ata/ |
D | ahci_tegra.c | 248 if (!tegra->pdev->dev.pm_domain) { in tegra_ahci_power_on() 271 if (!tegra->pdev->dev.pm_domain) in tegra_ahci_power_on() 291 if (!tegra->pdev->dev.pm_domain) in tegra_ahci_power_off()
|
/linux-6.1.9/drivers/media/platform/qcom/camss/ |
D | camss.h | 69 enum pm_domain { enum
|
/linux-6.1.9/drivers/clk/tegra/ |
D | clk-device.c | 118 if (!dev->pm_domain) in tegra_clock_probe()
|
/linux-6.1.9/drivers/media/platform/nvidia/tegra-vde/ |
D | vde.c | 162 if (!dev->pm_domain) { in tegra_vde_runtime_suspend() 194 if (!dev->pm_domain) { in tegra_vde_runtime_resume()
|
/linux-6.1.9/drivers/remoteproc/ |
D | qcom_q6v5_adsp.c | 125 if (dev->pm_domain) { in qcom_rproc_pds_attach() 161 if (dev->pm_domain && pd_count) { in qcom_rproc_pds_detach()
|
D | qcom_q6v5_pas.c | 397 if (dev->pm_domain) { in adsp_pds_attach() 430 if (dev->pm_domain && pd_count) { in adsp_pds_detach()
|
/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/engine/device/ |
D | tegra.c | 53 if (!tdev->pdev->dev.pm_domain) { in nvkm_device_tegra_power_up()
|