Home
last modified time | relevance | path

Searched refs:cpu_idx (Results 1 – 16 of 16) sorted by relevance

/arm-trusted-firmware-2.8.0/plat/mediatek/mt8183/drivers/mcdi/
A Dmtk_mcdi.c38 void sspm_standbywfi_irq_enable(uint32_t cpu_idx) in sspm_standbywfi_irq_enable() argument
96 if (cpu_idx >= 0) in target_mask()
97 t |= BIT(cpu_idx + CPU_ON_OFS); in target_mask()
102 if (cpu_idx >= 0) in target_mask()
103 t |= BIT(cpu_idx + CPU_OFF_OFS); in target_mask()
111 uint32_t tgt = target_mask(cluster, cpu_idx, on); in mcdi_pause_clr()
120 uint32_t tgt = target_mask(cluster, cpu_idx, on); in mcdi_pause_set()
122 uint32_t tgtn = target_mask(-1, cpu_idx, !on); in mcdi_pause_set()
157 uint32_t tgt = target_mask(cluster, cpu_idx, on); in mcdi_hotplug_wait_ack()
168 uint32_t tgt_cpu = target_mask(-1, cpu_idx, on); in mcdi_hotplug_clr()
[all …]
A Dmtk_mcdi.h13 void sspm_standbywfi_irq_enable(uint32_t cpu_idx);
25 void mcdi_pause_set(int cluster, int cpu_idx, bool on);
26 void mcdi_pause_clr(int cluster, int cpu_idx, bool on);
27 void mcdi_hotplug_set(int cluster, int cpu_idx, bool on);
28 void mcdi_hotplug_clr(int cluster, int cpu_idx, bool on);
29 void mcdi_hotplug_wait_ack(int cluster, int cpu_idx, bool on);
/arm-trusted-firmware-2.8.0/bl31/
A Dbl31_context_mgmt.c45 void *cm_get_context_by_index(unsigned int cpu_idx, in cm_get_context_by_index() argument
50 return get_cpu_data_by_index(cpu_idx, in cm_get_context_by_index()
58 void cm_set_context_by_index(unsigned int cpu_idx, void *context, in cm_set_context_by_index() argument
63 set_cpu_data_by_index(cpu_idx, in cm_set_context_by_index()
/arm-trusted-firmware-2.8.0/lib/psci/
A Dpsci_common.c165 for (cpu_idx = 0; cpu_idx < psci_plat_core_count; cpu_idx++) { in psci_is_last_on_cpu()
166 if (cpu_idx == my_idx) { in psci_is_last_on_cpu()
209 unsigned int cpu_idx, in psci_set_req_local_pwr_state() argument
214 (cpu_idx < psci_plat_core_count)) { in psci_set_req_local_pwr_state()
245 unsigned int cpu_idx) in psci_get_req_local_pwr_states() argument
250 (cpu_idx < psci_plat_core_count)) { in psci_get_req_local_pwr_states()
389 cpu_idx, in psci_set_pwr_domains_to_run()
437 psci_set_req_local_pwr_state(lvl, cpu_idx, in psci_do_state_coordination()
469 psci_set_req_local_pwr_state(lvl, cpu_idx, in psci_do_state_coordination()
773 unsigned int cpu_idx = plat_my_core_pos(); in psci_warmboot_entrypoint() local
[all …]
A Dpsci_stat.c80 unsigned int cpu_idx = plat_my_core_pos(); 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()
113 unsigned int cpu_idx = plat_my_core_pos(); in psci_stats_update_pwr_up() local
127 state_info, cpu_idx); in psci_stats_update_pwr_up()
130 psci_cpu_stat[cpu_idx][stat_idx].residency += residency; in psci_stats_update_pwr_up()
131 psci_cpu_stat[cpu_idx][stat_idx].count++; in psci_stats_update_pwr_up()
137 parent_idx = psci_cpu_pd_nodes[cpu_idx].parent_node; in psci_stats_update_pwr_up()
A Dpsci_on.c169 void psci_cpu_on_finish(unsigned int cpu_idx, const psci_power_state_t *state_info) in psci_cpu_on_finish() argument
207 psci_spin_lock_cpu(cpu_idx); in psci_cpu_on_finish()
208 psci_spin_unlock_cpu(cpu_idx); in psci_cpu_on_finish()
225 psci_cpu_pd_nodes[cpu_idx].mpidr = read_mpidr() & MPIDR_AFFINITY_MASK; in psci_cpu_on_finish()
A Dpsci_setup.c97 unsigned int cpu_idx; in psci_update_pwrlvl_limits() local
102 for (cpu_idx = 0; cpu_idx < psci_plat_core_count; cpu_idx++) { in psci_update_pwrlvl_limits()
103 psci_get_parent_pwr_domain_nodes(cpu_idx, in psci_update_pwrlvl_limits()
110 = cpu_idx; in psci_update_pwrlvl_limits()
A Dpsci_suspend.c28 static void psci_suspend_to_standby_finisher(unsigned int cpu_idx, in psci_suspend_to_standby_finisher() argument
35 psci_get_parent_pwr_domain_nodes(cpu_idx, end_pwrlvl, parent_nodes); in psci_suspend_to_standby_finisher()
279 void psci_cpu_suspend_finish(unsigned int cpu_idx, const psci_power_state_t *state_info) in psci_cpu_suspend_finish() argument
A Dpsci_private.h282 void psci_get_parent_pwr_domain_nodes(unsigned int cpu_idx,
311 void psci_cpu_on_finish(unsigned int cpu_idx, const psci_power_state_t *state_info);
322 void psci_cpu_suspend_finish(unsigned int cpu_idx, const psci_power_state_t *state_info);
/arm-trusted-firmware-2.8.0/include/lib/el3_runtime/
A Dcontext_mgmt.h25 void *cm_get_context_by_index(unsigned int cpu_idx,
27 void cm_set_context_by_index(unsigned int cpu_idx,
33 void cm_init_context_by_index(unsigned int cpu_idx,
/arm-trusted-firmware-2.8.0/bl32/sp_min/
A Dsp_min_main.c91 void *cm_get_context_by_index(unsigned int cpu_idx, in cm_get_context_by_index() argument
95 return sp_min_cpu_ctx_ptr[cpu_idx]; in cm_get_context_by_index()
102 void cm_set_context_by_index(unsigned int cpu_idx, void *context, in cm_set_context_by_index() argument
106 sp_min_cpu_ctx_ptr[cpu_idx] = context; in cm_set_context_by_index()
/arm-trusted-firmware-2.8.0/drivers/arm/css/scp/
A Dcss_pm_scmi.c250 unsigned int channel_id, cpu_idx, domain_id; in css_scp_get_power_state() local
260 cpu_idx = (unsigned int)plat_core_pos_by_mpidr(mpidr); in css_scp_get_power_state()
261 assert(cpu_idx < PLATFORM_CORE_COUNT); in css_scp_get_power_state()
263 css_scp_core_pos_to_scmi_channel(cpu_idx, &domain_id, &channel_id); in css_scp_get_power_state()
/arm-trusted-firmware-2.8.0/lib/el3_runtime/aarch32/
A Dcontext_mgmt.c157 void cm_init_context_by_index(unsigned int cpu_idx, in cm_init_context_by_index() argument
161 ctx = cm_get_context_by_index(cpu_idx, GET_SECURITY_STATE(ep->h.attr)); in cm_init_context_by_index()
/arm-trusted-firmware-2.8.0/lib/el3_runtime/aarch64/
A Dcontext_mgmt.c549 void cm_init_context_by_index(unsigned int cpu_idx, in cm_init_context_by_index() argument
553 ctx = cm_get_context_by_index(cpu_idx, GET_SECURITY_STATE(ep->h.attr)); in cm_init_context_by_index()
/arm-trusted-firmware-2.8.0/docs/getting_started/
A Dpsci-lib-integration-guide.rst354 Argument : unsigned int cpu_idx, void *context, unsigned int security_state
362 by ``cpu_idx`` (first argument). The ``security_state`` will always be non-secure
364 with BL31. The ``cpu_idx`` will correspond to the index returned by the
389 Argument : unsigned int cpu_idx, unsigned int security_state
394 ``cpu_idx`` (first argument). The caller must ensure that
398 retained for compatibility with BL31. The ``cpu_idx`` will correspond to the
/arm-trusted-firmware-2.8.0/docs/
A Dchange-log.md4386 - Unify type of "cpu_idx" and Platform specific defines across PSCI module.
4687 - Unify type of "cpu_idx" across PSCI module.

Completed in 34 milliseconds