Home
last modified time | relevance | path

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

/trusted-firmware-a-3.6.0-3.5.0/lib/psci/
Dpsci_stat.c79 unsigned int lvl, parent_idx; in psci_stats_update_pwr_down() local
85 parent_idx = psci_cpu_pd_nodes[cpu_idx].parent_node; in psci_stats_update_pwr_down()
97 last_cpu_in_non_cpu_pd[parent_idx] = (int)cpu_idx; in psci_stats_update_pwr_down()
99 parent_idx = psci_non_cpu_pd_nodes[parent_idx].parent_node; in psci_stats_update_pwr_down()
112 unsigned int lvl, parent_idx; in psci_stats_update_pwr_up() local
137 parent_idx = psci_cpu_pd_nodes[cpu_idx].parent_node; in psci_stats_update_pwr_up()
139 if (last_cpu_in_non_cpu_pd[parent_idx] == -1) in psci_stats_update_pwr_up()
149 assert(last_cpu_in_non_cpu_pd[parent_idx] != -1); in psci_stats_update_pwr_up()
153 (unsigned int)last_cpu_in_non_cpu_pd[parent_idx]); in psci_stats_update_pwr_up()
156 last_cpu_in_non_cpu_pd[parent_idx] = -1; in psci_stats_update_pwr_up()
[all …]
Dpsci_common.c173 unsigned int my_idx, lvl, parent_idx; in psci_is_last_cpu_to_idle_at_pwrlvl() local
184 parent_idx = psci_cpu_pd_nodes[my_idx].parent_node; in psci_is_last_cpu_to_idle_at_pwrlvl()
187 cpu_start_idx = psci_non_cpu_pd_nodes[parent_idx].cpu_start_idx; in psci_is_last_cpu_to_idle_at_pwrlvl()
188 ncpus = psci_non_cpu_pd_nodes[parent_idx].ncpus; in psci_is_last_cpu_to_idle_at_pwrlvl()
397 unsigned int parent_idx) in get_non_cpu_pd_node_local_state() argument
401 (uintptr_t) &psci_non_cpu_pd_nodes[parent_idx], in get_non_cpu_pd_node_local_state()
402 sizeof(psci_non_cpu_pd_nodes[parent_idx])); in get_non_cpu_pd_node_local_state()
404 return psci_non_cpu_pd_nodes[parent_idx].local_state; in get_non_cpu_pd_node_local_state()
411 static void set_non_cpu_pd_node_local_state(unsigned int parent_idx, in set_non_cpu_pd_node_local_state() argument
414 psci_non_cpu_pd_nodes[parent_idx].local_state = state; in set_non_cpu_pd_node_local_state()
[all …]
Dpsci_setup.c44 unsigned int parent_idx, in psci_init_pwr_domain_node() argument
52 psci_non_cpu_pd_nodes[node_idx].parent_node = parent_idx; in psci_init_pwr_domain_node()
60 psci_cpu_pd_nodes[node_idx].parent_node = parent_idx; in psci_init_pwr_domain_node()