Home
last modified time | relevance | path

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

12

/linux-6.6.21/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.6.21/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()
775 if (dev->pm_domain) { in __device_resume_early()
777 callback = pm_late_early_op(&dev->pm_domain->ops, state); in __device_resume_early()
918 if (dev->pm_domain) { in __device_resume()
920 callback = pm_op(&dev->pm_domain->ops, state); in __device_resume()
1053 if (dev->pm_domain) { in device_complete()
1055 callback = dev->pm_domain->ops.complete; in device_complete()
1204 if (dev->pm_domain) { in __device_suspend_noirq()
1206 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()
2758 dev->pm_domain->detach = genpd_dev_pm_detach; in __genpd_dev_pm_attach()
2759 dev->pm_domain->sync = genpd_dev_pm_sync; in __genpd_dev_pm_attach()
/linux-6.6.21/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.6.21/drivers/base/
Ddd.c555 if (dev->pm_domain && dev->pm_domain->dismiss) in device_unbind_cleanup()
556 dev->pm_domain->dismiss(dev); in device_unbind_cleanup()
652 if (dev->pm_domain && dev->pm_domain->activate) { in really_probe()
653 ret = dev->pm_domain->activate(dev); in really_probe()
705 if (dev->pm_domain && dev->pm_domain->sync) in really_probe()
706 dev->pm_domain->sync(dev); in really_probe()
/linux-6.6.21/drivers/clk/qcom/
Dgdsc.c513 else if (!IS_ERR_OR_NULL(dev->pm_domain)) in gdsc_register()
514 pm_genpd_add_subdomain(pd_to_genpd(dev->pm_domain), &scs[i]->pd); in gdsc_register()
533 else if (!IS_ERR_OR_NULL(dev->pm_domain)) in gdsc_unregister()
534 pm_genpd_remove_subdomain(pd_to_genpd(dev->pm_domain), &scs[i]->pd); in gdsc_unregister()
/linux-6.6.21/drivers/sh/
Dpm_runtime.c31 .pm_domain = &default_pm_domain,
/linux-6.6.21/arch/arm/mach-davinci/
Dpm_domain.c23 .pm_domain = &davinci_pm_domain,
DMakefile20 obj-$(CONFIG_HAVE_CLK) += pm_domain.o
/linux-6.6.21/arch/arm/mach-omap1/
Dpm_bus.c29 .pm_domain = &default_pm_domain,
/linux-6.6.21/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.6.21/drivers/gpu/drm/i915/selftests/
Dmock_gem_device.c108 static struct dev_pm_domain pm_domain = { variable
184 dev_pm_domain_set(&pdev->dev, &pm_domain); in mock_gem_device()
/linux-6.6.21/drivers/pmdomain/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.6.21/arch/arm/mach-keystone/
Dkeystone.c43 .pm_domain = &keystone_pm_domain,
/linux-6.6.21/include/linux/
Dpm_clock.h16 struct dev_pm_domain *pm_domain; member
/linux-6.6.21/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.6.21/drivers/media/platform/qcom/camss/
Dcamss.h69 enum pm_domain { enum
/linux-6.6.21/drivers/staging/media/atomisp/pci/
Datomisp_internal.h192 struct dev_pm_domain pm_domain; member
Datomisp_v4l2.c1479 isp->pm_domain.ops.runtime_suspend = atomisp_power_off; in atomisp_pci_probe()
1480 isp->pm_domain.ops.runtime_resume = atomisp_power_on; in atomisp_pci_probe()
1481 isp->pm_domain.ops.suspend = atomisp_suspend; in atomisp_pci_probe()
1482 isp->pm_domain.ops.resume = atomisp_resume; in atomisp_pci_probe()
1484 dev_pm_domain_set(&pdev->dev, &isp->pm_domain); in atomisp_pci_probe()
/linux-6.6.21/drivers/clk/tegra/
Dclk-device.c118 if (!dev->pm_domain) in tegra_clock_probe()
/linux-6.6.21/drivers/media/platform/nvidia/tegra-vde/
Dvde.c163 if (!dev->pm_domain) { in tegra_vde_runtime_suspend()
195 if (!dev->pm_domain) { in tegra_vde_runtime_resume()
/linux-6.6.21/drivers/gpu/drm/nouveau/nvkm/engine/device/
Dtegra.c53 if (!tdev->pdev->dev.pm_domain) { in nvkm_device_tegra_power_up()
/linux-6.6.21/drivers/remoteproc/
Dqcom_q6v5_adsp.c135 if (dev->pm_domain) { in qcom_rproc_pds_attach()
171 if (dev->pm_domain && pd_count) { in qcom_rproc_pds_detach()

12