Lines Matching full:domain
2 * drivers/base/power/domain.c - Common code related to device power domains.
110 * Wait for the domain to transition into either the active, in genpd_acquire_lock()
140 * __pm_genpd_poweron - Restore power to a given PM domain and its masters.
141 * @genpd: PM domain to power up.
153 /* If the domain's master is being waited for, we have to wait too. */ in __pm_genpd_poweron()
233 * pm_genpd_poweron - Restore power to a given PM domain and its masters.
234 * @genpd: PM domain to power up.
252 * @pdd: Domain data of the device to save the state of.
253 * @genpd: PM domain the device belongs to.
282 * @pdd: Domain data of the device to restore the state of.
283 * @genpd: PM domain the device belongs to.
307 * genpd_abort_poweroff - Check if a PM domain power off should be aborted.
308 * @genpd: PM domain to check.
310 * Return true if a PM domain's status changed to GPD_STATE_ACTIVE during
335 * pm_genpd_poweroff - Remove power from a given PM domain.
336 * @genpd: PM domain to power down.
352 * Do not try to power off the domain in the following situations: in pm_genpd_poweroff()
353 * (1) The domain is already in the "power off" state. in pm_genpd_poweroff()
354 * (2) The domain is waiting for its master to power up. in pm_genpd_poweroff()
355 * (3) One of the domain's devices is being resumed right now. in pm_genpd_poweroff()
385 if (!genpd->gov->power_down_ok(&genpd->domain)) in pm_genpd_poweroff()
448 /* Update PM QoS information for devices in the domain. */ in pm_genpd_poweroff()
470 * genpd_power_off_work_fn - Power off PM domain whose subdomain count is 0.
485 * pm_genpd_runtime_suspend - Suspend a device belonging to I/O PM domain.
489 * pm_domain field points to the domain member of an object of type
490 * struct generic_pm_domain representing a PM domain consisting of I/O devices.
534 * pm_genpd_runtime_resume - Resume a device belonging to I/O PM domain.
538 * pm_domain field points to the domain member of an object of type
539 * struct generic_pm_domain representing a PM domain consisting of I/O devices.
555 /* If power.irq_safe, the PM domain is never powered off. */ in pm_genpd_runtime_resume()
669 * pm_genpd_sync_poweroff - Synchronously power off a PM domain and its masters.
670 * @genpd: PM domain to power off, if possible.
672 * Check if the given PM domain can be powered off (during system suspend or
704 * @genpd: PM domain the device belongs to.
729 * pm_genpd_prepare - Start power transition of a device in a PM domain.
733 * under the assumption that its pm_domain field points to the domain member of
734 * an object of type struct generic_pm_domain representing a PM domain
778 * The PM domain must be in the GPD_STATE_ACTIVE state at this point, in pm_genpd_prepare()
802 * pm_genpd_suspend - Suspend a device belonging to an I/O PM domain.
806 * domain member of an object of type struct generic_pm_domain representing
807 * a PM domain consisting of I/O devices.
823 * pm_genpd_suspend_noirq - Late suspend of a device from an I/O PM domain.
827 * pm_domain field points to the domain member of an object of type
828 * struct generic_pm_domain representing a PM domain consisting of I/O devices.
856 * the same PM domain, so it is not necessary to use locking here. in pm_genpd_suspend_noirq()
865 * pm_genpd_resume_noirq - Early resume of a device from an I/O power domain.
869 * pm_domain field points to the domain member of an object of type
870 * struct generic_pm_domain representing a power domain consisting of I/O
889 * the same PM domain, so it is not necessary to use locking here. in pm_genpd_resume_noirq()
899 * pm_genpd_resume - Resume a device belonging to an I/O power domain.
903 * domain member of an object of type struct generic_pm_domain representing
904 * a power domain consisting of I/O devices.
920 * pm_genpd_freeze - Freeze a device belonging to an I/O power domain.
924 * domain member of an object of type struct generic_pm_domain representing
925 * a power domain consisting of I/O devices.
941 * pm_genpd_freeze_noirq - Late freeze of a device from an I/O power domain.
945 * pm_domain field points to the domain member of an object of type
946 * struct generic_pm_domain representing a power domain consisting of I/O
973 * pm_genpd_thaw_noirq - Early thaw of a device from an I/O power domain.
977 * pm_domain field points to the domain member of an object of type
978 * struct generic_pm_domain representing a power domain consisting of I/O
1000 * pm_genpd_thaw - Thaw a device belonging to an I/O power domain.
1004 * domain member of an object of type struct generic_pm_domain representing
1005 * a power domain consisting of I/O devices.
1021 * pm_genpd_restore_noirq - Early restore of a device from an I/O power domain.
1025 * pm_domain field points to the domain member of an object of type
1026 * struct generic_pm_domain representing a power domain consisting of I/O
1042 * the same PM domain, so it is not necessary to use locking here. in pm_genpd_restore_noirq()
1047 * The boot kernel might put the domain into the power on state, in pm_genpd_restore_noirq()
1063 * pm_genpd_complete - Complete power transition of a device in a power domain.
1068 * domain member of an object of type struct generic_pm_domain representing
1069 * a power domain consisting of I/O devices.
1115 * __pm_genpd_add_device - Add a device to an I/O PM domain.
1116 * @genpd: PM domain to add the device to.
1158 dev->pm_domain = &genpd->domain; in __pm_genpd_add_device()
1174 * pm_genpd_remove_device - Remove a device from an I/O PM domain.
1175 * @genpd: PM domain to remove the device from.
1219 * pm_genpd_add_subdomain - Add a subdomain to an I/O PM domain.
1220 * @genpd: Master PM domain to add the subdomain to.
1276 * pm_genpd_remove_subdomain - Remove a subdomain from an I/O PM domain.
1277 * @genpd: Master PM domain to remove the subdomain from.
1323 * pm_genpd_add_callbacks - Add PM domain callbacks to a given device.
1359 * __pm_genpd_remove_callbacks - Remove PM domain callbacks from a given device.
1536 * pm_genpd_init - Initialize a generic I/O PM domain object.
1537 * @genpd: PM domain object to initialize.
1538 * @gov: PM domain governor to associate with the domain (may be NULL).
1539 * @is_off: Initial value of the domain's power_is_off field.
1562 genpd->domain.ops.runtime_suspend = pm_genpd_runtime_suspend; in pm_genpd_init()
1563 genpd->domain.ops.runtime_resume = pm_genpd_runtime_resume; in pm_genpd_init()
1564 genpd->domain.ops.runtime_idle = pm_generic_runtime_idle; in pm_genpd_init()
1565 genpd->domain.ops.prepare = pm_genpd_prepare; in pm_genpd_init()
1566 genpd->domain.ops.suspend = pm_genpd_suspend; in pm_genpd_init()
1567 genpd->domain.ops.suspend_noirq = pm_genpd_suspend_noirq; in pm_genpd_init()
1568 genpd->domain.ops.resume_noirq = pm_genpd_resume_noirq; in pm_genpd_init()
1569 genpd->domain.ops.resume = pm_genpd_resume; in pm_genpd_init()
1570 genpd->domain.ops.freeze = pm_genpd_freeze; in pm_genpd_init()
1571 genpd->domain.ops.freeze_noirq = pm_genpd_freeze_noirq; in pm_genpd_init()
1572 genpd->domain.ops.thaw_noirq = pm_genpd_thaw_noirq; in pm_genpd_init()
1573 genpd->domain.ops.thaw = pm_genpd_thaw; in pm_genpd_init()
1574 genpd->domain.ops.poweroff = pm_genpd_suspend; in pm_genpd_init()
1575 genpd->domain.ops.poweroff_noirq = pm_genpd_suspend_noirq; in pm_genpd_init()
1576 genpd->domain.ops.restore_noirq = pm_genpd_restore_noirq; in pm_genpd_init()
1577 genpd->domain.ops.restore = pm_genpd_resume; in pm_genpd_init()
1578 genpd->domain.ops.complete = pm_genpd_complete; in pm_genpd_init()