Home
last modified time | relevance | path

Searched refs:pm_domain (Results 1 – 25 of 44) sorted by relevance

12

/linux-6.1.9/drivers/clk/mmp/
Dpwr-island.c28 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/
Dcommon.c106 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()
Dmain.c625 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 …]
Dclock_ops.c636 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()
Ddomain.c166 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/
Dpsc.c79 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/
Ddd.c536 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/
DMakefile7 obj-$(CONFIG_ARCH_KEYSTONE) += pm_domain.o
Dpm_domain.c28 .pm_domain = &keystone_pm_domain,
/linux-6.1.9/drivers/clk/qcom/
Dgdsc.c511 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/
Dpm_runtime.c31 .pm_domain = &default_pm_domain,
/linux-6.1.9/arch/arm/mach-davinci/
Dpm_domain.c23 .pm_domain = &davinci_pm_domain,
DMakefile30 obj-$(CONFIG_HAVE_CLK) += pm_domain.o
/linux-6.1.9/arch/arm/mach-omap1/
Dpm_bus.c29 .pm_domain = &default_pm_domain,
/linux-6.1.9/drivers/gpu/drm/etnaviv/
Detnaviv_perfmon.c476 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/
Dmock_gem_device.c108 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/
Dzynqmp_pm_domains.c38 #define to_zynqmp_pm_domain(pm_domain) \ argument
39 container_of(pm_domain, struct zynqmp_pm_domain, gpd)
/linux-6.1.9/include/linux/
Dpm_clock.h16 struct dev_pm_domain *pm_domain; member
/linux-6.1.9/drivers/ata/
Dahci_tegra.c248 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/
Dcamss.h69 enum pm_domain { enum
/linux-6.1.9/drivers/clk/tegra/
Dclk-device.c118 if (!dev->pm_domain) in tegra_clock_probe()
/linux-6.1.9/drivers/media/platform/nvidia/tegra-vde/
Dvde.c162 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/
Dqcom_q6v5_adsp.c125 if (dev->pm_domain) { in qcom_rproc_pds_attach()
161 if (dev->pm_domain && pd_count) { in qcom_rproc_pds_detach()
Dqcom_q6v5_pas.c397 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/
Dtegra.c53 if (!tdev->pdev->dev.pm_domain) { in nvkm_device_tegra_power_up()

12