Home
last modified time | relevance | path

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

/device/linaro/bootloader/arm-trusted-firmware/lib/psci/
Dpsci_stat.c75 unsigned int lvl, parent_idx, cpu_idx = plat_my_core_pos(); in psci_stats_update_pwr_down() local
80 parent_idx = psci_cpu_pd_nodes[cpu_idx].parent_node; in psci_stats_update_pwr_down()
92 last_cpu_in_non_cpu_pd[parent_idx] = cpu_idx; in psci_stats_update_pwr_down()
94 parent_idx = psci_non_cpu_pd_nodes[parent_idx].parent_node; in psci_stats_update_pwr_down()
107 unsigned int lvl, parent_idx, cpu_idx = plat_my_core_pos(); in psci_stats_update_pwr_up() local
131 parent_idx = psci_cpu_pd_nodes[cpu_idx].parent_node; in psci_stats_update_pwr_up()
139 assert(last_cpu_in_non_cpu_pd[parent_idx] != -1); in psci_stats_update_pwr_up()
143 last_cpu_in_non_cpu_pd[parent_idx]); in psci_stats_update_pwr_up()
146 last_cpu_in_non_cpu_pd[parent_idx] = -1; in psci_stats_update_pwr_up()
152 psci_non_cpu_stat[parent_idx][stat_idx].residency += residency; in psci_stats_update_pwr_up()
[all …]
Dpsci_common.c253 unsigned int parent_idx) in get_non_cpu_pd_node_local_state() argument
257 (uintptr_t) &psci_non_cpu_pd_nodes[parent_idx], in get_non_cpu_pd_node_local_state()
258 sizeof(psci_non_cpu_pd_nodes[parent_idx])); in get_non_cpu_pd_node_local_state()
260 return psci_non_cpu_pd_nodes[parent_idx].local_state; in get_non_cpu_pd_node_local_state()
267 static void set_non_cpu_pd_node_local_state(unsigned int parent_idx, in set_non_cpu_pd_node_local_state() argument
270 psci_non_cpu_pd_nodes[parent_idx].local_state = state; in set_non_cpu_pd_node_local_state()
273 (uintptr_t) &psci_non_cpu_pd_nodes[parent_idx], in set_non_cpu_pd_node_local_state()
274 sizeof(psci_non_cpu_pd_nodes[parent_idx])); in set_non_cpu_pd_node_local_state()
287 unsigned int parent_idx, lvl; in psci_get_target_local_pwr_states() local
291 parent_idx = psci_cpu_pd_nodes[plat_my_core_pos()].parent_node; in psci_get_target_local_pwr_states()
[all …]
Dpsci_setup.c36 unsigned int parent_idx, in psci_init_pwr_domain_node() argument
42 psci_non_cpu_pd_nodes[node_idx].parent_node = parent_idx; in psci_init_pwr_domain_node()
48 psci_cpu_pd_nodes[node_idx].parent_node = parent_idx; in psci_init_pwr_domain_node()