Home
last modified time | relevance | path

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

12

/linux/drivers/clk/mmp/
H A 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/drivers/base/power/
H A Dcommon.c107 if (dev->pm_domain) in dev_pm_domain_attach()
147 if (dev->pm_domain) in dev_pm_domain_attach_by_id()
164 if (dev->pm_domain) in dev_pm_domain_attach_by_name()
204 if (dev->pm_domain) in dev_pm_domain_attach_list()
359 if (dev->pm_domain && dev->pm_domain->detach) in dev_pm_domain_detach()
360 dev->pm_domain->detach(dev, power_off); in dev_pm_domain_detach()
406 if (dev->pm_domain && dev->pm_domain->start) in dev_pm_domain_start()
407 return dev->pm_domain->start(dev); in dev_pm_domain_start()
425 if (dev->pm_domain == pd) in dev_pm_domain_set()
430 dev->pm_domain = pd; in dev_pm_domain_set()
[all …]
H A Dmain.c653 if (dev->pm_domain) { in device_resume_noirq()
655 callback = pm_noirq_op(&dev->pm_domain->ops, state); in device_resume_noirq()
787 if (dev->pm_domain) { in device_resume_early()
789 callback = pm_late_early_op(&dev->pm_domain->ops, state); in device_resume_early()
937 if (dev->pm_domain) { in device_resume()
939 callback = pm_op(&dev->pm_domain->ops, state); in device_resume()
1069 if (dev->pm_domain) { in device_complete()
1071 callback = dev->pm_domain->ops.complete; in device_complete()
1220 if (dev->pm_domain) { in device_suspend_noirq()
1222 callback = pm_noirq_op(&dev->pm_domain->ops, state); in device_suspend_noirq()
[all …]
H A 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()
H A Druntime.c27 if (dev->pm_domain) in __rpm_get_callback()
28 ops = &dev->pm_domain->ops; in __rpm_get_callback()
/linux/drivers/clk/davinci/
H A Dpsc.c78 struct generic_pm_domain pm_domain; member
176 static int davinci_psc_genpd_attach_dev(struct generic_pm_domain *pm_domain, in davinci_psc_genpd_attach_dev() argument
179 struct davinci_lpsc_clk *lpsc = to_davinci_lpsc_clk(pm_domain); in davinci_psc_genpd_attach_dev()
211 static void davinci_psc_genpd_detach_dev(struct generic_pm_domain *pm_domain, in davinci_psc_genpd_detach_dev() argument
214 struct davinci_lpsc_clk *lpsc = to_davinci_lpsc_clk(pm_domain); in davinci_psc_genpd_detach_dev()
278 lpsc->pm_domain.name = devm_kasprintf(dev, GFP_KERNEL, "%s: %s", in davinci_lpsc_clk_register()
280 lpsc->pm_domain.attach_dev = davinci_psc_genpd_attach_dev; in davinci_lpsc_clk_register()
281 lpsc->pm_domain.detach_dev = davinci_psc_genpd_detach_dev; in davinci_lpsc_clk_register()
282 lpsc->pm_domain.flags = GENPD_FLAG_PM_CLK; in davinci_lpsc_clk_register()
285 pm_genpd_init(&lpsc->pm_domain, NULL, is_on); in davinci_lpsc_clk_register()
[all …]
/linux/drivers/base/
H A 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/drivers/clk/qcom/
H A Dgdsc.c559 else if (!IS_ERR_OR_NULL(dev->pm_domain)) in gdsc_register()
560 pm_genpd_add_subdomain(pd_to_genpd(dev->pm_domain), &scs[i]->pd); in gdsc_register()
579 else if (!IS_ERR_OR_NULL(dev->pm_domain)) in gdsc_unregister()
580 pm_genpd_remove_subdomain(pd_to_genpd(dev->pm_domain), &scs[i]->pd); in gdsc_unregister()
/linux/drivers/sh/
H A Dpm_runtime.c31 .pm_domain = &default_pm_domain,
/linux/arch/arm/mach-davinci/
H A Dpm_domain.c23 .pm_domain = &davinci_pm_domain,
H A DMakefile19 obj-$(CONFIG_HAVE_CLK) += pm_domain.o
/linux/arch/arm/mach-omap1/
H A Dpm_bus.c29 .pm_domain = &default_pm_domain,
H A Dboard-ams-delta.c802 .pm_domain = &ams_delta_modem_pm_domain,
/linux/drivers/gpu/drm/i915/selftests/
H A Dmock_gem_device.c108 static struct dev_pm_domain pm_domain = { variable
185 dev_pm_domain_set(&pdev->dev, &pm_domain); in mock_gem_device()
/linux/drivers/pmdomain/xilinx/
H A Dzynqmp-pm-domains.c38 #define to_zynqmp_pm_domain(pm_domain) \ argument
39 container_of(pm_domain, struct zynqmp_pm_domain, gpd)
/linux/arch/arm/mach-keystone/
H A Dkeystone.c43 .pm_domain = &keystone_pm_domain,
/linux/include/linux/
H A Dpm_clock.h16 struct dev_pm_domain *pm_domain; member
/linux/drivers/staging/media/atomisp/pci/
H A Datomisp_v4l2.c1138 isp->pm_domain.ops.runtime_suspend = atomisp_power_off; in atomisp_pm_init()
1139 isp->pm_domain.ops.runtime_resume = atomisp_power_on; in atomisp_pm_init()
1140 isp->pm_domain.ops.suspend = atomisp_suspend; in atomisp_pm_init()
1141 isp->pm_domain.ops.resume = atomisp_resume; in atomisp_pm_init()
1144 dev_pm_domain_set(isp->dev, &isp->pm_domain); in atomisp_pm_init()
/linux/drivers/clk/tegra/
H A Dclk-device.c118 if (!dev->pm_domain) in tegra_clock_probe()
/linux/drivers/gpu/drm/nouveau/nvkm/engine/device/
H A Dtegra.c53 if (!tdev->pdev->dev.pm_domain) { in nvkm_device_tegra_power_up()
/linux/drivers/acpi/
H A Ddevice_pm.c1403 if (adev && dev->pm_domain == &acpi_general_pm_domain) { in acpi_dev_pm_detach()
1468 dev->pm_domain->detach = acpi_dev_pm_detach; in acpi_dev_pm_attach()
/linux/drivers/gpu/drm/tegra/
H A Dgr3d.c410 if (dev->pm_domain) in gr3d_init_power()
H A Dvic.c488 if (!dev->pm_domain) { in vic_probe()
H A Ddpaux.c471 if (!pdev->dev.pm_domain) { in tegra_dpaux_probe()
/linux/drivers/iommu/arm/arm-smmu/
H A Darm-smmu-qcom.c606 if (dev->pm_domain) { in qcom_smmu_tbu_probe()

12