Home
last modified time | relevance | path

Searched refs:linear_id (Results 1 – 18 of 18) sorted by relevance

/tf-a-ffa_el3_spmc/bl32/tsp/
A Dtsp_interrupt.c31 uint32_t linear_id = plat_my_core_pos(); in tsp_update_sync_sel1_intr_stats() local
33 tsp_stats[linear_id].sync_sel1_intr_count++; in tsp_update_sync_sel1_intr_stats()
35 tsp_stats[linear_id].sync_sel1_intr_ret_count++; in tsp_update_sync_sel1_intr_stats()
44 tsp_stats[linear_id].sync_sel1_intr_count, in tsp_update_sync_sel1_intr_stats()
45 tsp_stats[linear_id].sync_sel1_intr_ret_count); in tsp_update_sync_sel1_intr_stats()
57 uint32_t linear_id = plat_my_core_pos(); in tsp_handle_preemption() local
59 tsp_stats[linear_id].preempt_intr_count++; in tsp_handle_preemption()
63 read_mpidr(), tsp_stats[linear_id].preempt_intr_count); in tsp_handle_preemption()
78 uint32_t linear_id = plat_my_core_pos(), id; in tsp_common_int_handler() local
116 tsp_stats[linear_id].sel1_intr_count++; in tsp_common_int_handler()
[all …]
A Dtsp_timer.c74 uint32_t linear_id = plat_my_core_pos(); in tsp_generic_timer_save() local
76 pcpu_timer_context[linear_id].cval = read_cntps_cval_el1(); in tsp_generic_timer_save()
77 pcpu_timer_context[linear_id].ctl = read_cntps_ctl_el1(); in tsp_generic_timer_save()
78 flush_dcache_range((uint64_t) &pcpu_timer_context[linear_id], in tsp_generic_timer_save()
79 sizeof(pcpu_timer_context[linear_id])); in tsp_generic_timer_save()
87 uint32_t linear_id = plat_my_core_pos(); in tsp_generic_timer_restore() local
89 write_cntps_cval_el1(pcpu_timer_context[linear_id].cval); in tsp_generic_timer_restore()
90 write_cntps_ctl_el1(pcpu_timer_context[linear_id].ctl); in tsp_generic_timer_restore()
A Dtsp_main.c113 uint32_t linear_id; in set_smc_args() local
120 linear_id = plat_my_core_pos(); in set_smc_args()
222 tsp_stats[linear_id].smc_count++; in tsp_main()
255 tsp_stats[linear_id].smc_count++; in tsp_cpu_on_main()
264 tsp_stats[linear_id].smc_count, in tsp_cpu_on_main()
265 tsp_stats[linear_id].eret_count, in tsp_cpu_on_main()
301 tsp_stats[linear_id].smc_count++; in tsp_cpu_off_main()
310 tsp_stats[linear_id].smc_count, in tsp_cpu_off_main()
376 tsp_stats[linear_id].smc_count, in tsp_cpu_suspend_main()
416 tsp_stats[linear_id].smc_count, in tsp_cpu_resume_main()
[all …]
/tf-a-ffa_el3_spmc/plat/mediatek/mt8173/drivers/spm/
A Dspm_hotplug.c238 unsigned long linear_id; in spm_hotplug_on() local
240 linear_id = ((mpidr & MPIDR_CLUSTER_MASK) >> 6) | in spm_hotplug_on()
252 PCM_HOTPLUG_VALID_MASK | (1 << linear_id), in spm_hotplug_on()
253 1 << (linear_id + PCM_HOTPLUG_VALID_SHIFT)); in spm_hotplug_on()
259 unsigned long linear_id; in spm_hotplug_off() local
261 linear_id = ((mpidr & MPIDR_CLUSTER_MASK) >> 6) | in spm_hotplug_off()
272 (1 << linear_id) | in spm_hotplug_off()
273 (1 << (linear_id + PCM_HOTPLUG_VALID_SHIFT))); in spm_hotplug_off()
A Dspm_mcdi.c493 unsigned long linear_id; in spm_mcdi_finish_for_on_state() local
495 linear_id = ((mpidr & MPIDR_CLUSTER_MASK) >> 6) | in spm_mcdi_finish_for_on_state()
501 mmio_write_32(SPM_PCM_SW_INT_CLEAR, (0x1 << linear_id)); in spm_mcdi_finish_for_on_state()
/tf-a-ffa_el3_spmc/services/spd/opteed/
A Dopteed_pm.c32 uint32_t linear_id = plat_my_core_pos(); in opteed_cpu_off_handler() local
33 optee_context_t *optee_ctx = &opteed_sp_context[linear_id]; in opteed_cpu_off_handler()
65 uint32_t linear_id = plat_my_core_pos(); in opteed_cpu_suspend_handler() local
66 optee_context_t *optee_ctx = &opteed_sp_context[linear_id]; in opteed_cpu_suspend_handler()
98 uint32_t linear_id = plat_my_core_pos(); in opteed_cpu_on_finish_handler() local
99 optee_context_t *optee_ctx = &opteed_sp_context[linear_id]; in opteed_cpu_on_finish_handler()
134 uint32_t linear_id = plat_my_core_pos(); in opteed_cpu_suspend_finish_handler() local
135 optee_context_t *optee_ctx = &opteed_sp_context[linear_id]; in opteed_cpu_suspend_finish_handler()
173 uint32_t linear_id = plat_my_core_pos(); in opteed_system_off() local
174 optee_context_t *optee_ctx = &opteed_sp_context[linear_id]; in opteed_system_off()
[all …]
A Dopteed_main.c58 uint32_t linear_id; in opteed_sel1_interrupt_handler() local
71 linear_id = plat_my_core_pos(); in opteed_sel1_interrupt_handler()
72 optee_ctx = &opteed_sp_context[linear_id]; in opteed_sel1_interrupt_handler()
97 uint32_t linear_id; in opteed_setup() local
102 linear_id = plat_my_core_pos(); in opteed_setup()
136 &opteed_sp_context[linear_id]); in opteed_setup()
158 uint32_t linear_id = plat_my_core_pos(); in opteed_init() local
159 optee_context_t *optee_ctx = &opteed_sp_context[linear_id]; in opteed_init()
201 uint32_t linear_id = plat_my_core_pos(); in opteed_smc_handler() local
202 optee_context_t *optee_ctx = &opteed_sp_context[linear_id]; in opteed_smc_handler()
/tf-a-ffa_el3_spmc/services/spd/tspd/
A Dtspd_pm.c33 uint32_t linear_id = plat_my_core_pos(); in tspd_cpu_off_handler() local
34 tsp_context_t *tsp_ctx = &tspd_sp_context[linear_id]; in tspd_cpu_off_handler()
72 uint32_t linear_id = plat_my_core_pos(); in tspd_cpu_suspend_handler() local
73 tsp_context_t *tsp_ctx = &tspd_sp_context[linear_id]; in tspd_cpu_suspend_handler()
108 uint32_t linear_id = plat_my_core_pos(); in tspd_cpu_on_finish_handler() local
109 tsp_context_t *tsp_ctx = &tspd_sp_context[linear_id]; in tspd_cpu_on_finish_handler()
153 uint32_t linear_id = plat_my_core_pos(); in tspd_cpu_suspend_finish_handler() local
154 tsp_context_t *tsp_ctx = &tspd_sp_context[linear_id]; in tspd_cpu_suspend_finish_handler()
192 uint32_t linear_id = plat_my_core_pos(); in tspd_system_off() local
193 tsp_context_t *tsp_ctx = &tspd_sp_context[linear_id]; in tspd_system_off()
[all …]
A Dtspd_main.c113 uint32_t linear_id; in tspd_sel1_interrupt_handler() local
117 linear_id = plat_my_core_pos(); in tspd_sel1_interrupt_handler()
118 tsp_ctx = &tspd_sp_context[linear_id]; in tspd_sel1_interrupt_handler()
250 uint32_t linear_id; in tspd_setup() local
252 linear_id = plat_my_core_pos(); in tspd_setup()
283 &tspd_sp_context[linear_id]); in tspd_setup()
308 uint32_t linear_id = plat_my_core_pos(); in tspd_init() local
309 tsp_context_t *tsp_ctx = &tspd_sp_context[linear_id]; in tspd_init()
351 uint32_t linear_id = plat_my_core_pos(), ns; in tspd_smc_handler() local
352 tsp_context_t *tsp_ctx = &tspd_sp_context[linear_id]; in tspd_smc_handler()
/tf-a-ffa_el3_spmc/services/std_svc/spm/spmc/
A Dspmc_pm.c44 unsigned int linear_id = plat_my_core_pos(); in spmc_cpu_on_finish_handler() local
66 WARN("%s: No secondary ep on core%u \n", __func__, linear_id); in spmc_cpu_on_finish_handler()
91 INFO("SP (0x%x) init start on core%u.\n", sp->sp_id, linear_id); in spmc_cpu_on_finish_handler()
95 ERROR("%s failed (%llu) on CPU%u\n", __func__, rc, linear_id); in spmc_cpu_on_finish_handler()
101 VERBOSE("CPU %u on!\n", linear_id); in spmc_cpu_on_finish_handler()
111 unsigned int linear_id = plat_my_core_pos(); in spmc_cpu_off_handler() local
145 ERROR("%s failed (%llu) on CPU%u\n", __func__, rc, linear_id); in spmc_cpu_off_handler()
172 VERBOSE("CPU %u off!\n", linear_id); in spmc_cpu_off_handler()
A Dspmc_main.c1409 uint32_t linear_id = plat_my_core_pos(); in spmc_sp_interrupt_handler() local
1416 ERROR("Yikes! Interrupt received for a S-EL0 SP on core%u \n", linear_id); in spmc_sp_interrupt_handler()
1425 ERROR("Yikes! S-EL1 SP context on core%u is in %u state\n", linear_id, in spmc_sp_interrupt_handler()
1434 VERBOSE("SP (0x%x) interrupt start on core%u \n", sp->sp_id, linear_id); in spmc_sp_interrupt_handler()
/tf-a-ffa_el3_spmc/services/std_svc/spmd/
A Dspmd_pm.c80 unsigned int linear_id = plat_my_core_pos(); in spmd_cpu_on_finish_handler() local
108 linear_id); in spmd_cpu_on_finish_handler()
115 VERBOSE("CPU %u on!\n", linear_id); in spmd_cpu_on_finish_handler()
124 unsigned int linear_id = plat_my_core_pos(); in spmd_cpu_off_handler() local
135 ERROR("%s failed (%llu) on CPU%u\n", __func__, rc, linear_id); in spmd_cpu_off_handler()
149 VERBOSE("CPU %u off!\n", linear_id); in spmd_cpu_off_handler()
A Dspmd_main.c173 unsigned int linear_id = plat_my_core_pos(); in spmd_init() local
181 if (core_id != linear_id) { in spmd_init()
488 unsigned int linear_id = plat_my_core_pos(); in spmd_smc_handler() local
499 linear_id, smc_fid, x1, x2, x3, x4, in spmd_smc_handler()
/tf-a-ffa_el3_spmc/services/std_svc/spm/common/include/
A Dspm_partition.h27 uint32_t linear_id; member
/tf-a-ffa_el3_spmc/plat/renesas/common/
A Dplat_pm.c49 uint64_t linear_id = plat_core_pos_by_mpidr(mpidr); in rcar_program_mailbox() local
52 rcar_mboxes[linear_id].value = address; in rcar_program_mailbox()
53 range = (unsigned long)&rcar_mboxes[linear_id]; in rcar_program_mailbox()
/tf-a-ffa_el3_spmc/plat/mediatek/mt8173/drivers/mtcmos/
A Dmtcmos.c105 static void mtcmos_ctrl_little_off(unsigned int linear_id) in mtcmos_ctrl_little_off() argument
111 switch (linear_id) { in mtcmos_ctrl_little_off()
/tf-a-ffa_el3_spmc/services/std_svc/spm/spm_mm/
A Dspm_mm_main.c210 sp_mp_info[index].linear_id = plat_core_pos_by_mpidr(mpidr); in spm_mm_setup()
211 if (plat_my_core_pos() == sp_mp_info[index].linear_id) in spm_mm_setup()
/tf-a-ffa_el3_spmc/plat/qemu/common/
A Dqemu_spm.c74 tmp->linear_id = 0; in qemu_initialize_mp_info()

Completed in 24 milliseconds