Lines Matching refs:idx
895 unsigned int idx; in psci_print_power_domain_map() local
907 for (idx = 0; idx < (PSCI_NUM_PWR_DOMAINS - psci_plat_core_count); in psci_print_power_domain_map()
908 idx++) { in psci_print_power_domain_map()
910 psci_non_cpu_pd_nodes[idx].local_state); in psci_print_power_domain_map()
913 psci_non_cpu_pd_nodes[idx].level, in psci_print_power_domain_map()
914 psci_non_cpu_pd_nodes[idx].parent_node, in psci_print_power_domain_map()
916 psci_non_cpu_pd_nodes[idx].local_state); in psci_print_power_domain_map()
919 for (idx = 0; idx < psci_plat_core_count; idx++) { in psci_print_power_domain_map()
920 state = psci_get_cpu_local_state_by_idx(idx); in psci_print_power_domain_map()
924 (unsigned long long)psci_cpu_pd_nodes[idx].mpidr, in psci_print_power_domain_map()
925 psci_cpu_pd_nodes[idx].parent_node, in psci_print_power_domain_map()
927 psci_get_cpu_local_state_by_idx(idx)); in psci_print_power_domain_map()
941 unsigned int idx, n_valid = 0U; in psci_secondaries_brought_up() local
943 for (idx = 0U; idx < ARRAY_SIZE(psci_cpu_pd_nodes); idx++) { in psci_secondaries_brought_up()
944 if (psci_cpu_pd_nodes[idx].mpidr != PSCI_INVALID_MPIDR) in psci_secondaries_brought_up()
993 unsigned int idx, this_cpu_idx; in psci_stop_other_cores() local
998 for (idx = 0U; idx < psci_plat_core_count; idx++) { in psci_stop_other_cores()
1000 if (idx == this_cpu_idx) { in psci_stop_other_cores()
1005 if (psci_get_aff_info_state_by_idx(idx) == AFF_STATE_ON) { in psci_stop_other_cores()
1006 (*stop_func)(psci_cpu_pd_nodes[idx].mpidr); in psci_stop_other_cores()