Home
last modified time | relevance | path

Searched full:pm_domain (Results 1 – 25 of 102) sorted by relevance

12345

/linux/drivers/clk/mmp/
H A Dpwr-island.c8 #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 Dcommon.c13 #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 Dclock_ops.c18 #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 Dpsc.c25 #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 Dpm_runtime.c15 #include <linux/pm_domain.h>
31 .pm_domain = &default_pm_domain,
/linux/drivers/remoteproc/
H A Dqcom_q6v5_adsp.c20 #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 Dqcom_wcnss.c20 #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 Dzynqmp-pm-domains.c17 #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 Ddd.c28 #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 Dirq-riscv-aplic-main.c15 #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 DMakefile18 obj-$(CONFIG_HAVE_CLK) += pm_domain.o
H A Dpm_domain.c23 .pm_domain = &davinci_pm_domain,
/linux/arch/arm/mach-omap1/
H A Dpm_bus.c29 .pm_domain = &default_pm_domain,
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_isp.h32 #include <linux/pm_domain.h>
/linux/drivers/pmdomain/
H A Dcore.c16 #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 Dlpass-macro-common.c9 #include <linux/pm_domain.h>
/linux/drivers/pmdomain/st/
H A Dste-ux500-pm-domain.c16 #include <linux/pm_domain.h>
/linux/arch/arm/mach-keystone/
H A Dkeystone.c43 .pm_domain = &keystone_pm_domain,
/linux/sound/soc/sof/imx/
H A Dimx-common.c11 #include <linux/pm_domain.h>
393 if (!sdev->dev->pm_domain) { in imx_probe()
/linux/drivers/staging/media/ipu7/
H A Dipu7-bus.c13 #include <linux/pm_domain.h>
/linux/drivers/media/pci/intel/ipu6/
H A Dipu6-bus.c13 #include <linux/pm_domain.h>
/linux/drivers/pmdomain/arm/
H A Dscpi_pm_domain.c13 #include <linux/pm_domain.h>
/linux/drivers/clk/qcom/
H A Dapcs-sdx55.c15 #include <linux/pm_domain.h>
/linux/drivers/media/platform/nvidia/tegra-vde/
H A Dvde.c163 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 Dimx93-pd.c12 #include <linux/pm_domain.h>

12345