Searched refs:substate_lock_t (Results 1 – 1 of 1) sorted by relevance
37 } substate_lock_t[] = { variable46 for (size_t i = 0; i < ARRAY_SIZE(substate_lock_t); i++) { in pm_policy_state_lock_get()47 if (substate_lock_t[i].state == state && in pm_policy_state_lock_get()48 (substate_lock_t[i].substate_id == substate_id || in pm_policy_state_lock_get()50 atomic_inc(&substate_lock_t[i].lock); in pm_policy_state_lock_get()59 for (size_t i = 0; i < ARRAY_SIZE(substate_lock_t); i++) { in pm_policy_state_lock_put()60 if (substate_lock_t[i].state == state && in pm_policy_state_lock_put()61 (substate_lock_t[i].substate_id == substate_id || in pm_policy_state_lock_put()63 atomic_t cnt = atomic_dec(&substate_lock_t[i].lock); in pm_policy_state_lock_put()76 for (size_t i = 0; i < ARRAY_SIZE(substate_lock_t); i++) { in pm_policy_state_lock_is_active()[all …]