/linux-4.1.27/drivers/base/ |
D | dd.c | 301 if (dev->pm_domain && dev->pm_domain->activate) { in really_probe() 302 ret = dev->pm_domain->activate(dev); in really_probe() 317 if (dev->pm_domain && dev->pm_domain->sync) in really_probe() 318 dev->pm_domain->sync(dev); in really_probe() 331 if (dev->pm_domain && dev->pm_domain->dismiss) in really_probe() 332 dev->pm_domain->dismiss(dev); in really_probe() 543 if (dev->pm_domain && dev->pm_domain->dismiss) in __device_release_driver() 544 dev->pm_domain->dismiss(dev); in __device_release_driver()
|
/linux-4.1.27/drivers/base/power/ |
D | common.c | 127 if (dev->pm_domain && dev->pm_domain->detach) in dev_pm_domain_detach() 128 dev->pm_domain->detach(dev, power_off); in dev_pm_domain_detach()
|
D | clock_ops.c | 340 if (dev->pm_domain) in pm_clk_notify() 347 dev->pm_domain = clknb->pm_domain; in pm_clk_notify() 357 if (dev->pm_domain != clknb->pm_domain) in pm_clk_notify() 360 dev->pm_domain = NULL; in pm_clk_notify()
|
D | main.c | 490 if (dev->pm_domain) { in device_resume_noirq() 492 callback = pm_noirq_op(&dev->pm_domain->ops, state); in device_resume_noirq() 619 if (dev->pm_domain) { in device_resume_early() 621 callback = pm_late_early_op(&dev->pm_domain->ops, state); in device_resume_early() 762 if (dev->pm_domain) { in device_resume() 764 callback = pm_op(&dev->pm_domain->ops, state); in device_resume() 902 if (dev->pm_domain) { in device_complete() 904 callback = dev->pm_domain->ops.complete; in device_complete() 1036 if (dev->pm_domain) { in __device_suspend_noirq() 1038 callback = pm_noirq_op(&dev->pm_domain->ops, state); in __device_suspend_noirq() [all …]
|
D | domain.c | 81 if (IS_ERR_OR_NULL(dev) || IS_ERR_OR_NULL(dev->pm_domain)) in pm_genpd_lookup_dev() 86 if (&gpd->domain == dev->pm_domain) { in pm_genpd_lookup_dev() 102 if (IS_ERR_OR_NULL(dev->pm_domain)) in dev_to_genpd() 105 return pd_to_genpd(dev->pm_domain); in dev_to_genpd() 1443 dev->pm_domain = &genpd->domain; in genpd_alloc_dev_data() 1462 dev->pm_domain = NULL; in genpd_free_dev_data() 2181 if (dev->pm_domain) in genpd_dev_pm_attach() 2225 dev->pm_domain->detach = genpd_dev_pm_detach; in genpd_dev_pm_attach() 2226 dev->pm_domain->sync = genpd_dev_pm_sync; in genpd_dev_pm_attach()
|
D | runtime.c | 23 if (dev->pm_domain) in __rpm_get_callback() 24 ops = &dev->pm_domain->ops; in __rpm_get_callback()
|
/linux-4.1.27/arch/arm/mach-keystone/ |
D | Makefile | 9 obj-$(CONFIG_ARCH_KEYSTONE) += pm_domain.o
|
D | pm_domain.c | 61 .pm_domain = &keystone_pm_domain,
|
/linux-4.1.27/drivers/gpu/vga/ |
D | vga_switcheroo.c | 655 dev->pm_domain = domain; in vga_switcheroo_init_domain_pm_ops() 658 dev->pm_domain = NULL; in vga_switcheroo_init_domain_pm_ops() 665 dev->pm_domain = NULL; in vga_switcheroo_fini_domain_pm_ops() 705 dev->pm_domain = domain; in vga_switcheroo_init_domain_pm_optimus_hdmi_audio() 708 dev->pm_domain = NULL; in vga_switcheroo_init_domain_pm_optimus_hdmi_audio()
|
/linux-4.1.27/arch/arm/mach-davinci/ |
D | pm_domain.c | 55 .pm_domain = &davinci_pm_domain,
|
D | Makefile | 40 obj-$(CONFIG_HAVE_CLK) += pm_domain.o
|
/linux-4.1.27/arch/arm/mach-omap1/ |
D | pm_bus.c | 65 .pm_domain = OMAP1_PM_DOMAIN,
|
/linux-4.1.27/drivers/sh/ |
D | pm_runtime.c | 74 .pm_domain = DEFAULT_PM_DOMAIN_PTR,
|
/linux-4.1.27/drivers/acpi/ |
D | device_pm.c | 1063 if (adev && dev->pm_domain == &acpi_general_pm_domain) { in acpi_dev_pm_detach() 1064 dev->pm_domain = NULL; in acpi_dev_pm_detach() 1104 if (dev->pm_domain) in acpi_dev_pm_attach() 1108 dev->pm_domain = &acpi_general_pm_domain; in acpi_dev_pm_attach() 1114 dev->pm_domain->detach = acpi_dev_pm_detach; in acpi_dev_pm_attach()
|
D | acpi_lpss.c | 684 pdev->dev.pm_domain = &acpi_lpss_pm_domain; in acpi_lpss_platform_notify() 692 pdev->dev.pm_domain = NULL; in acpi_lpss_platform_notify()
|
/linux-4.1.27/arch/arm/mach-omap2/ |
D | omap-pm-noop.c | 130 if (dev->pm_domain == &omap_device_pm_domain) { in omap_pm_get_dev_context_loss_count()
|
D | omap_device.c | 177 pdev->dev.pm_domain = &omap_device_pm_domain; in omap_device_build_from_dt() 189 pdev->dev.pm_domain = &omap_device_fail_pm_domain; in omap_device_build_from_dt() 711 pdev->dev.pm_domain = &omap_device_pm_domain; in omap_device_register()
|
/linux-4.1.27/include/linux/ |
D | pm_clock.h | 17 struct dev_pm_domain *pm_domain; member
|
D | device.h | 744 struct dev_pm_domain *pm_domain; member
|
/linux-4.1.27/drivers/misc/mei/ |
D | pci-txe.c | 391 pdev->dev.pm_domain = &dev->pg_domain; in mei_txe_set_pm_domain() 403 dev->dev->pm_domain = NULL; in mei_txe_unset_pm_domain()
|
D | pci-me.c | 441 pdev->dev.pm_domain = &dev->pg_domain; in mei_me_set_pm_domain() 453 dev->dev->pm_domain = NULL; in mei_me_unset_pm_domain()
|
/linux-4.1.27/Documentation/power/ |
D | devices.txt | 281 defined in dev->pm_domain->ops, dev->bus->pm, dev->type->pm, dev->class->pm or 288 1. If dev->pm_domain is present, the PM core will choose the callback 289 included in dev->pm_domain->ops for execution 605 Support for power domains is provided through the pm_domain field of struct 610 subsystem-level callbacks. Specifically, if a device's pm_domain pointer is
|
D | runtime_pm.txt | 51 1. PM domain of the device, if the device's PM domain object, dev->pm_domain,
|
/linux-4.1.27/drivers/media/platform/coda/ |
D | coda-common.c | 2271 if (dev->pm_domain && cdev->codebuf.vaddr) { in coda_runtime_resume()
|
/linux-4.1.27/ |
D | MAINTAINERS | 4364 F: include/linux/pm_domain.h
|