Lines Matching refs:lvl

308 	unsigned int parent_idx, lvl;  in psci_get_target_local_pwr_states()  local
315 for (lvl = PSCI_CPU_PWR_LVL + 1U; lvl <= end_pwrlvl; lvl++) { in psci_get_target_local_pwr_states()
316 pd_state[lvl] = get_non_cpu_pd_node_local_state(parent_idx); in psci_get_target_local_pwr_states()
321 for (; lvl <= PLAT_MAX_PWR_LVL; lvl++) in psci_get_target_local_pwr_states()
322 target_state->pwr_domain_state[lvl] = PSCI_LOCAL_STATE_RUN; in psci_get_target_local_pwr_states()
334 unsigned int parent_idx, lvl; in psci_set_target_local_pwr_states() local
348 for (lvl = 1U; lvl <= end_pwrlvl; lvl++) { in psci_set_target_local_pwr_states()
349 set_non_cpu_pd_node_local_state(parent_idx, pd_state[lvl]); in psci_set_target_local_pwr_states()
380 unsigned int parent_idx, cpu_idx = plat_my_core_pos(), lvl; in psci_set_pwr_domains_to_run() local
384 for (lvl = PSCI_CPU_PWR_LVL + 1U; lvl <= end_pwrlvl; lvl++) { in psci_set_pwr_domains_to_run()
387 psci_set_req_local_pwr_state(lvl, in psci_set_pwr_domains_to_run()
423 unsigned int lvl, parent_idx, cpu_idx = plat_my_core_pos(); in psci_do_state_coordination() local
433 for (lvl = PSCI_CPU_PWR_LVL + 1U; lvl <= end_pwrlvl; lvl++) { in psci_do_state_coordination()
436 psci_set_req_local_pwr_state(lvl, cpu_idx, in psci_do_state_coordination()
437 state_info->pwr_domain_state[lvl]); in psci_do_state_coordination()
441 req_states = psci_get_req_local_pwr_states(lvl, start_idx); in psci_do_state_coordination()
448 target_state = plat_get_target_pwr_state(lvl, in psci_do_state_coordination()
452 state_info->pwr_domain_state[lvl] = target_state; in psci_do_state_coordination()
455 if (is_local_state_run(state_info->pwr_domain_state[lvl]) != 0) in psci_do_state_coordination()
467 for (lvl = lvl + 1U; lvl <= end_pwrlvl; lvl++) { in psci_do_state_coordination()
468 psci_set_req_local_pwr_state(lvl, cpu_idx, in psci_do_state_coordination()
469 state_info->pwr_domain_state[lvl]); in psci_do_state_coordination()
470 state_info->pwr_domain_state[lvl] = PSCI_LOCAL_STATE_RUN; in psci_do_state_coordination()