/linux/drivers/clk/mmp/ |
H A 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/drivers/base/power/ |
H A D | common.c | 107 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 D | main.c | 653 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 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()
|
H A D | runtime.c | 27 if (dev->pm_domain) in __rpm_get_callback() 28 ops = &dev->pm_domain->ops; in __rpm_get_callback()
|
/linux/drivers/clk/davinci/ |
H A D | psc.c | 78 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 D | dd.c | 555 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 D | gdsc.c | 559 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 D | pm_runtime.c | 31 .pm_domain = &default_pm_domain,
|
/linux/arch/arm/mach-davinci/ |
H A D | pm_domain.c | 23 .pm_domain = &davinci_pm_domain,
|
H A D | Makefile | 19 obj-$(CONFIG_HAVE_CLK) += pm_domain.o
|
/linux/arch/arm/mach-omap1/ |
H A D | pm_bus.c | 29 .pm_domain = &default_pm_domain,
|
H A D | board-ams-delta.c | 802 .pm_domain = &ams_delta_modem_pm_domain,
|
/linux/drivers/gpu/drm/i915/selftests/ |
H A D | mock_gem_device.c | 108 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 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/arch/arm/mach-keystone/ |
H A D | keystone.c | 43 .pm_domain = &keystone_pm_domain,
|
/linux/include/linux/ |
H A D | pm_clock.h | 16 struct dev_pm_domain *pm_domain; member
|
/linux/drivers/staging/media/atomisp/pci/ |
H A D | atomisp_v4l2.c | 1138 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 D | clk-device.c | 118 if (!dev->pm_domain) in tegra_clock_probe()
|
/linux/drivers/gpu/drm/nouveau/nvkm/engine/device/ |
H A D | tegra.c | 53 if (!tdev->pdev->dev.pm_domain) { in nvkm_device_tegra_power_up()
|
/linux/drivers/acpi/ |
H A D | device_pm.c | 1403 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 D | gr3d.c | 410 if (dev->pm_domain) in gr3d_init_power()
|
H A D | vic.c | 488 if (!dev->pm_domain) { in vic_probe()
|
H A D | dpaux.c | 471 if (!pdev->dev.pm_domain) { in tegra_dpaux_probe()
|
/linux/drivers/iommu/arm/arm-smmu/ |
H A D | arm-smmu-qcom.c | 606 if (dev->pm_domain) { in qcom_smmu_tbu_probe()
|