Home
last modified time | relevance | path

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

12345

/linux/drivers/clk/mmp/
A Dpwr-island.c32 if (pm_domain->lock) 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()
55 val |= pm_domain->reset; in mmp_pm_domain_power_on()
61 if (pm_domain->lock) in mmp_pm_domain_power_on()
76 if (pm_domain->lock) in mmp_pm_domain_power_off()
85 if (pm_domain->lock) in mmp_pm_domain_power_off()
98 pm_domain = kzalloc(sizeof(*pm_domain), GFP_KERNEL); in mmp_pm_domain_register()
99 if (!pm_domain) in mmp_pm_domain_register()
102 pm_domain->reg = reg; in mmp_pm_domain_register()
[all …]
/linux/drivers/base/power/
A Dcommon.c106 if (dev->pm_domain) in dev_pm_domain_attach()
146 if (dev->pm_domain) in dev_pm_domain_attach_by_id()
163 if (dev->pm_domain) in dev_pm_domain_attach_by_name()
185 if (dev->pm_domain && dev->pm_domain->detach) in dev_pm_domain_detach()
186 dev->pm_domain->detach(dev, power_off); in dev_pm_domain_detach()
203 if (dev->pm_domain && dev->pm_domain->start) in dev_pm_domain_start()
204 return dev->pm_domain->start(dev); in dev_pm_domain_start()
222 if (dev->pm_domain == pd) in dev_pm_domain_set()
227 dev->pm_domain = pd; in dev_pm_domain_set()
A Dmain.c625 if (dev->pm_domain) { in device_resume_noirq()
779 if (dev->pm_domain) { in device_resume_early()
930 if (dev->pm_domain) { in device_resume()
1065 if (dev->pm_domain) { in device_complete()
1067 callback = dev->pm_domain->ops.complete; in device_complete()
1216 if (dev->pm_domain) { in __device_suspend_noirq()
1410 if (dev->pm_domain) { in __device_suspend_late()
1668 if (dev->pm_domain) { in __device_suspend()
1839 if (dev->pm_domain) in device_prepare()
1840 callback = dev->pm_domain->ops.prepare; in device_prepare()
[all …]
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()
A Ddomain.c163 if (IS_ERR_OR_NULL(dev) || IS_ERR_OR_NULL(dev->pm_domain)) in dev_to_genpd_safe()
167 if (dev->pm_domain->ops.runtime_suspend == genpd_runtime_suspend) in dev_to_genpd_safe()
168 return pd_to_genpd(dev->pm_domain); in dev_to_genpd_safe()
179 if (IS_ERR_OR_NULL(dev->pm_domain)) in dev_to_genpd()
182 return pd_to_genpd(dev->pm_domain); in dev_to_genpd()
2682 dev->pm_domain->detach = genpd_dev_pm_detach; in __genpd_dev_pm_attach()
2683 dev->pm_domain->sync = genpd_dev_pm_sync; in __genpd_dev_pm_attach()
A Druntime.c26 if (dev->pm_domain) in __rpm_get_callback()
27 ops = &dev->pm_domain->ops; in __rpm_get_callback()
/linux/drivers/clk/davinci/
A Dpsc.c79 struct generic_pm_domain pm_domain; member
177 static int davinci_psc_genpd_attach_dev(struct generic_pm_domain *pm_domain, in davinci_psc_genpd_attach_dev() argument
180 struct davinci_lpsc_clk *lpsc = to_davinci_lpsc_clk(pm_domain); in davinci_psc_genpd_attach_dev()
212 static void davinci_psc_genpd_detach_dev(struct generic_pm_domain *pm_domain, in davinci_psc_genpd_detach_dev() argument
215 struct davinci_lpsc_clk *lpsc = to_davinci_lpsc_clk(pm_domain); in davinci_psc_genpd_detach_dev()
279 lpsc->pm_domain.name = devm_kasprintf(dev, GFP_KERNEL, "%s: %s", in davinci_lpsc_clk_register()
281 lpsc->pm_domain.attach_dev = davinci_psc_genpd_attach_dev; in davinci_lpsc_clk_register()
282 lpsc->pm_domain.detach_dev = davinci_psc_genpd_detach_dev; in davinci_lpsc_clk_register()
283 lpsc->pm_domain.flags = GENPD_FLAG_PM_CLK; in davinci_lpsc_clk_register()
286 pm_genpd_init(&lpsc->pm_domain, NULL, is_on); in davinci_lpsc_clk_register()
[all …]
/linux/drivers/base/
A Ddd.c590 if (dev->pm_domain && dev->pm_domain->activate) { in really_probe()
591 ret = dev->pm_domain->activate(dev); in really_probe()
635 if (dev->pm_domain && dev->pm_domain->dismiss) in really_probe()
636 dev->pm_domain->dismiss(dev); in really_probe()
644 if (dev->pm_domain && dev->pm_domain->sync) in really_probe()
645 dev->pm_domain->sync(dev); in really_probe()
672 if (dev->pm_domain && dev->pm_domain->dismiss) in really_probe()
673 dev->pm_domain->dismiss(dev); in really_probe()
1213 if (dev->pm_domain && dev->pm_domain->dismiss) in __device_release_driver()
1214 dev->pm_domain->dismiss(dev); in __device_release_driver()
/linux/drivers/clk/qcom/
A Dgdsc.c501 else if (!IS_ERR_OR_NULL(dev->pm_domain)) in gdsc_register()
502 pm_genpd_add_subdomain(pd_to_genpd(dev->pm_domain), &scs[i]->pd); in gdsc_register()
521 else if (!IS_ERR_OR_NULL(dev->pm_domain)) in gdsc_unregister()
522 pm_genpd_remove_subdomain(pd_to_genpd(dev->pm_domain), &scs[i]->pd); in gdsc_unregister()
/linux/drivers/gpu/drm/etnaviv/
A Detnaviv_perfmon.c476 static const struct etnaviv_pm_domain *pm_domain(const struct etnaviv_gpu *gpu, in pm_domain() function
508 dom = pm_domain(gpu, domain->iter); in etnaviv_pm_query_dom()
533 dom = pm_domain(gpu, signal->domain); in etnaviv_pm_query_sig()
/linux/drivers/gpu/drm/i915/selftests/
A Dmock_gem_device.c108 static struct dev_pm_domain pm_domain = { variable
154 dev_pm_domain_set(&pdev->dev, &pm_domain); in mock_gem_device()
/linux/arch/arm/mach-keystone/
A DMakefile7 obj-$(CONFIG_ARCH_KEYSTONE) += pm_domain.o
A Dpm_domain.c28 .pm_domain = &keystone_pm_domain,
/linux/drivers/sh/
A Dpm_runtime.c31 .pm_domain = &default_pm_domain,
/linux/arch/arm/mach-davinci/
A Dpm_domain.c26 .pm_domain = &davinci_pm_domain,
A DMakefile38 obj-$(CONFIG_HAVE_CLK) += pm_domain.o
/linux/arch/arm/mach-omap1/
A Dpm_bus.c32 .pm_domain = &default_pm_domain,
/linux/drivers/ata/
A Dahci_tegra.c248 if (!tegra->pdev->dev.pm_domain) { in tegra_ahci_power_on()
271 if (!tegra->pdev->dev.pm_domain) in tegra_ahci_power_on()
291 if (!tegra->pdev->dev.pm_domain) in tegra_ahci_power_off()
/linux/include/linux/
A Dpm_clock.h16 struct dev_pm_domain *pm_domain; member
/linux/drivers/media/platform/qcom/camss/
A Dcamss.h59 enum pm_domain { enum
/linux/drivers/remoteproc/
A Dqcom_q6v5_pas.c324 if (dev->pm_domain) { in adsp_pds_attach()
357 if (dev->pm_domain && pd_count) { in adsp_pds_detach()
/linux/drivers/gpu/drm/nouveau/nvkm/engine/device/
A Dtegra.c55 if (!tdev->pdev->dev.pm_domain) { in nvkm_device_tegra_power_up()
/linux/drivers/acpi/
A Ddevice_pm.c1302 if (adev && dev->pm_domain == &acpi_general_pm_domain) { in acpi_dev_pm_detach()
1367 dev->pm_domain->detach = acpi_dev_pm_detach; in acpi_dev_pm_attach()
/linux/drivers/gpu/drm/tegra/
A Dvic.c444 if (!dev->pm_domain) { in vic_probe()
/linux/drivers/pci/controller/
A Dpci-tegra.c1165 if (!dev->pm_domain) in tegra_pcie_power_off()
1183 if (!dev->pm_domain) in tegra_pcie_power_on()
1191 if (!dev->pm_domain) { in tegra_pcie_power_on()
1234 if (!dev->pm_domain) in tegra_pcie_power_on()

Completed in 46 milliseconds

12345