| /linux/drivers/clk/mmp/ |
| H A D | pwr-island.c | 8 #include <linux/pm_domain.h> 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() [all …]
|
| /linux/drivers/base/power/ |
| H A D | common.c | 13 #include <linux/pm_domain.h> 107 if (dev->pm_domain) in dev_pm_domain_attach() 114 if (dev->pm_domain) in dev_pm_domain_attach() 150 if (dev->pm_domain) in dev_pm_domain_attach_by_id() 167 if (dev->pm_domain) in dev_pm_domain_attach_by_name() 207 if (dev->pm_domain) in dev_pm_domain_attach_list() 362 if (dev->pm_domain && dev->pm_domain->detach) in dev_pm_domain_detach() 363 dev->pm_domain->detach(dev, power_off); in dev_pm_domain_detach() 409 if (dev->pm_domain && dev->pm_domain->start) in dev_pm_domain_start() 410 return dev->pm_domain->start(dev); in dev_pm_domain_start() [all …]
|
| H A D | clock_ops.c | 18 #include <linux/pm_domain.h> 541 * Specifically, the pm_domain member of that object is copied to the device's 542 * pm_domain field and its con_ids member is used to populate the device's list 545 * If the device's pm_domain field is already populated with a value different 563 if (dev->pm_domain) in pm_clk_notify() 570 dev_pm_domain_set(dev, clknb->pm_domain); in pm_clk_notify() 580 if (dev->pm_domain != clknb->pm_domain) in pm_clk_notify()
|
| H A D | main.c | 846 if (dev->pm_domain) { in device_resume_noirq() 848 callback = pm_noirq_op(&dev->pm_domain->ops, state); in device_resume_noirq() 990 if (dev->pm_domain) { in device_resume_early() 992 callback = pm_late_early_op(&dev->pm_domain->ops, state); in device_resume_early() 1156 if (dev->pm_domain) { in device_resume() 1158 callback = pm_op(&dev->pm_domain->ops, state); in device_resume() 1290 if (dev->pm_domain) { in device_complete() 1292 callback = dev->pm_domain->ops.complete; in device_complete() 1523 if (dev->pm_domain) { in device_suspend_noirq() 1525 callback = pm_noirq_op(&dev->pm_domain->ops, state); in device_suspend_noirq() [all …]
|
| /linux/drivers/clk/davinci/ |
| H A D | psc.c | 25 #include <linux/pm_domain.h> 68 * @pm_domain: power domain for the LPSC 69 * @genpd_clk: clock reference owned by @pm_domain 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 if (!lpsc->pm_domain.name) { in davinci_lpsc_clk_register() [all …]
|
| /linux/drivers/sh/ |
| H A D | pm_runtime.c | 15 #include <linux/pm_domain.h> 31 .pm_domain = &default_pm_domain,
|
| /linux/drivers/clk/qcom/ |
| H A D | gdsc.c | 14 #include <linux/pm_domain.h> 545 struct generic_pm_domain *genpd = pd_to_genpd(dev->pm_domain); in gdsc_add_subdomain_list() 557 struct generic_pm_domain *genpd = pd_to_genpd(dev->pm_domain); in gdsc_add_subdomain_list() 572 struct generic_pm_domain *genpd = pd_to_genpd(dev->pm_domain); in gdsc_remove_subdomain_list() 590 else if (!IS_ERR_OR_NULL(dev->pm_domain)) in gdsc_pm_subdomain_remove() 591 pm_genpd_remove_subdomain(pd_to_genpd(dev->pm_domain), &scs[i]->pd); in gdsc_pm_subdomain_remove() 661 else if (!IS_ERR_OR_NULL(dev->pm_domain)) in gdsc_register() 662 ret = pm_genpd_add_subdomain(pd_to_genpd(dev->pm_domain), &scs[i]->pd); in gdsc_register()
|
| H A D | gdsc.h | 10 #include <linux/pm_domain.h>
|
| H A D | apcs-sdx55.c | 15 #include <linux/pm_domain.h>
|
| /linux/drivers/pmdomain/xilinx/ |
| H A D | zynqmp-pm-domains.c | 17 #include <linux/pm_domain.h> 38 #define to_zynqmp_pm_domain(pm_domain) \ argument 39 container_of(pm_domain, struct zynqmp_pm_domain, gpd)
|
| /linux/drivers/clk/tegra/ |
| H A D | clk-device.c | 7 #include <linux/pm_domain.h> 117 if (!dev->pm_domain) in tegra_clock_probe()
|
| /linux/arch/arm/mach-davinci/ |
| H A D | Makefile | 18 obj-$(CONFIG_HAVE_CLK) += pm_domain.o
|
| H A D | pm_domain.c | 23 .pm_domain = &davinci_pm_domain,
|
| /linux/drivers/irqchip/ |
| H A D | irq-riscv-aplic-main.c | 15 #include <linux/pm_domain.h> 153 if (dev->pm_domain && dev->of_node) in aplic_pm_remove() 168 if (dev->pm_domain && dev->of_node) { in aplic_pm_add()
|
| /linux/arch/arm/mach-omap1/ |
| H A D | pm_bus.c | 29 .pm_domain = &default_pm_domain,
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_isp.h | 32 #include <linux/pm_domain.h>
|
| /linux/sound/soc/codecs/ |
| H A D | lpass-macro-common.c | 10 #include <linux/pm_domain.h>
|
| /linux/drivers/pmdomain/ |
| H A D | core.c | 16 #include <linux/pm_domain.h> 219 if (IS_ERR_OR_NULL(dev) || IS_ERR_OR_NULL(dev->pm_domain)) in dev_to_genpd_safe() 223 if (dev->pm_domain->ops.runtime_suspend == genpd_runtime_suspend) in dev_to_genpd_safe() 224 return pd_to_genpd(dev->pm_domain); in dev_to_genpd_safe() 230 * This should only be used where we are certain that the pm_domain 235 if (IS_ERR_OR_NULL(dev->pm_domain)) in dev_to_genpd() 238 return pd_to_genpd(dev->pm_domain); in dev_to_genpd() 1206 * pm_domain field points to the domain member of an object of type 1282 * pm_domain field points to the domain member of an object of type 1499 * under the assumption that its pm_domain field points to the domain member of [all …]
|
| /linux/drivers/pmdomain/st/ |
| H A D | ste-ux500-pm-domain.c | 16 #include <linux/pm_domain.h>
|
| /linux/arch/arm/mach-keystone/ |
| H A D | keystone.c | 43 .pm_domain = &keystone_pm_domain,
|
| /linux/drivers/pmdomain/mediatek/ |
| H A D | airoha-cpu-pmdomain.c | 8 #include <linux/pm_domain.h>
|
| /linux/drivers/staging/media/ipu7/ |
| H A D | ipu7-bus.c | 13 #include <linux/pm_domain.h>
|
| /linux/drivers/media/pci/intel/ipu6/ |
| H A D | ipu6-bus.c | 13 #include <linux/pm_domain.h>
|
| /linux/sound/soc/sof/imx/ |
| H A D | imx-common.c | 11 #include <linux/pm_domain.h> 393 if (!sdev->dev->pm_domain) { in imx_probe()
|
| /linux/drivers/pmdomain/arm/ |
| H A D | scpi_pm_domain.c | 13 #include <linux/pm_domain.h>
|