| /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()
|
| /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/remoteproc/ |
| H A D | qcom_q6v5_adsp.c | 20 #include <linux/pm_domain.h> 133 if (dev->pm_domain) in qcom_rproc_pds_attach() 155 if (dev->pm_domain || pds) in qcom_rproc_pds_detach() 165 if (!dev->pm_domain && !pds) in qcom_rproc_pds_enable() 168 if (dev->pm_domain) in qcom_rproc_pds_enable() 183 if (dev->pm_domain) in qcom_rproc_pds_enable() 196 if (!dev->pm_domain && !pds) in qcom_rproc_pds_disable() 199 if (dev->pm_domain) in qcom_rproc_pds_disable()
|
| H A D | qcom_wcnss.c | 20 #include <linux/pm_domain.h> 404 if (dev->pm_domain) { in wcnss_init_pds() 434 if (wcnss->num_pds == 1 && dev->pm_domain) { in wcnss_release_pds()
|
| /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/base/ |
| H A D | dd.c | 28 #include <linux/pm_domain.h> 607 if (dev->pm_domain && dev->pm_domain->dismiss) in device_unbind_cleanup() 608 dev->pm_domain->dismiss(dev); in device_unbind_cleanup() 703 if (dev->pm_domain && dev->pm_domain->activate) { in really_probe() 704 ret = dev->pm_domain->activate(dev); in really_probe() 756 if (dev->pm_domain && dev->pm_domain->sync) in really_probe() 757 dev->pm_domain->sync(dev); in really_probe()
|
| /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-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/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/drivers/pmdomain/ |
| H A D | core.c | 16 #include <linux/pm_domain.h> 224 if (IS_ERR_OR_NULL(dev) || IS_ERR_OR_NULL(dev->pm_domain)) in dev_to_genpd_safe() 228 if (dev->pm_domain->ops.runtime_suspend == genpd_runtime_suspend) in dev_to_genpd_safe() 229 return pd_to_genpd(dev->pm_domain); in dev_to_genpd_safe() 235 * This should only be used where we are certain that the pm_domain 240 if (IS_ERR_OR_NULL(dev->pm_domain)) in dev_to_genpd() 243 return pd_to_genpd(dev->pm_domain); in dev_to_genpd() 1211 * pm_domain field points to the domain member of an object of type 1287 * pm_domain field points to the domain member of an object of type 1504 * under the assumption that its pm_domain field points to the domain member of [all …]
|
| /linux/sound/soc/codecs/ |
| H A D | lpass-macro-common.c | 9 #include <linux/pm_domain.h>
|
| /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/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/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/drivers/pmdomain/arm/ |
| H A D | scpi_pm_domain.c | 13 #include <linux/pm_domain.h>
|
| /linux/drivers/clk/qcom/ |
| H A D | apcs-sdx55.c | 15 #include <linux/pm_domain.h>
|
| /linux/drivers/media/platform/nvidia/tegra-vde/ |
| H A D | vde.c | 163 if (!dev->pm_domain) { in tegra_vde_runtime_suspend() 195 if (!dev->pm_domain) { in tegra_vde_runtime_resume()
|
| /linux/drivers/pmdomain/imx/ |
| H A D | imx93-pd.c | 12 #include <linux/pm_domain.h>
|