Home
last modified time | relevance | path

Searched refs:_devices_constraints (Results 1 – 1 of 1) sorted by relevance

/Zephyr-latest/subsys/pm/policy/
Dpolicy_device_lock.c86 static struct pm_state_device_constraint _devices_constraints[] = { variable
93 for (size_t i = 0; i < ARRAY_SIZE(_devices_constraints); i++) { in pm_policy_device_power_lock_get()
94 if (_devices_constraints[i].dev == dev) { in pm_policy_device_power_lock_get()
95 for (size_t j = 0; j < _devices_constraints[i].pm_constraints_size; j++) { in pm_policy_device_power_lock_get()
97 _devices_constraints[i].constraints[j].state, in pm_policy_device_power_lock_get()
98 _devices_constraints[i].constraints[j].substate_id); in pm_policy_device_power_lock_get()
109 for (size_t i = 0; i < ARRAY_SIZE(_devices_constraints); i++) { in pm_policy_device_power_lock_put()
110 if (_devices_constraints[i].dev == dev) { in pm_policy_device_power_lock_put()
111 for (size_t j = 0; j < _devices_constraints[i].pm_constraints_size; j++) { in pm_policy_device_power_lock_put()
113 _devices_constraints[i].constraints[j].state, in pm_policy_device_power_lock_put()
[all …]