/trusted-firmware-a/bl32/tsp/ |
A D | tsp_main.c | 57 uint32_t linear_id; in set_smc_args() local 64 linear_id = plat_my_core_pos(); in set_smc_args() 119 tsp_stats[linear_id].smc_count++; in tsp_main() 148 tsp_stats[linear_id].smc_count++; in tsp_cpu_on_main() 157 tsp_stats[linear_id].smc_count, in tsp_cpu_on_main() 158 tsp_stats[linear_id].eret_count, in tsp_cpu_on_main() 189 tsp_stats[linear_id].smc_count++; in tsp_cpu_off_main() 198 tsp_stats[linear_id].smc_count, in tsp_cpu_off_main() 199 tsp_stats[linear_id].eret_count, in tsp_cpu_off_main() 240 tsp_stats[linear_id].smc_count, in tsp_cpu_suspend_main() [all …]
|
A D | tsp_interrupt.c | 32 uint32_t linear_id = plat_my_core_pos(); in tsp_update_sync_sel1_intr_stats() local 34 tsp_stats[linear_id].sync_sel1_intr_count++; in tsp_update_sync_sel1_intr_stats() 36 tsp_stats[linear_id].sync_sel1_intr_ret_count++; in tsp_update_sync_sel1_intr_stats() 45 tsp_stats[linear_id].sync_sel1_intr_count, in tsp_update_sync_sel1_intr_stats() 46 tsp_stats[linear_id].sync_sel1_intr_ret_count); in tsp_update_sync_sel1_intr_stats() 58 uint32_t linear_id = plat_my_core_pos(); in tsp_handle_preemption() local 60 tsp_stats[linear_id].preempt_intr_count++; in tsp_handle_preemption() 64 read_mpidr(), tsp_stats[linear_id].preempt_intr_count); in tsp_handle_preemption() 79 uint32_t linear_id = plat_my_core_pos(), id; in tsp_common_int_handler() local 107 tsp_stats[linear_id].sel1_intr_count++; in tsp_common_int_handler() [all …]
|
A D | tsp_timer.c | 74 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()
|
/trusted-firmware-a/services/spd/opteed/ |
A D | opteed_pm.c | 32 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 D | opteed_main.c | 58 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()
|
/trusted-firmware-a/services/spd/tspd/ |
A D | tspd_pm.c | 33 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 D | tspd_main.c | 113 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()
|
/trusted-firmware-a/plat/mediatek/mt8173/drivers/spm/ |
A D | spm_hotplug.c | 238 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 D | spm_mcdi.c | 493 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()
|
/trusted-firmware-a/services/std_svc/spmd/ |
A D | spmd_pm.c | 82 unsigned int linear_id = plat_my_core_pos(); in spmd_cpu_on_finish_handler() local 117 linear_id); in spmd_cpu_on_finish_handler() 124 VERBOSE("CPU %u on!\n", linear_id); in spmd_cpu_on_finish_handler() 133 unsigned int linear_id = plat_my_core_pos(); in spmd_cpu_off_handler() local 144 ERROR("%s failed (%" PRIu64 ") on CPU%u\n", __func__, rc, linear_id); in spmd_cpu_off_handler() 158 VERBOSE("CPU %u off!\n", linear_id); in spmd_cpu_off_handler()
|
A D | spmd_main.c | 185 unsigned int linear_id = plat_my_core_pos(); in spmd_secure_interrupt_handler() local 215 ERROR("%s failed (%" PRId64 ") on CPU%u\n", __func__, rc, linear_id); in spmd_secure_interrupt_handler() 502 unsigned int linear_id = plat_my_core_pos(); in spmd_smc_handler() local 513 linear_id, smc_fid, x1, x2, x3, x4, in spmd_smc_handler()
|
/trusted-firmware-a/services/std_svc/rmmd/trp/ |
A D | trp_main.c | 35 uint32_t linear_id; in set_smc_args() local 42 linear_id = plat_my_core_pos(); in set_smc_args() 43 pcpu_smc_args = &trp_smc_args[linear_id]; in set_smc_args()
|
/trusted-firmware-a/services/std_svc/rmmd/ |
A D | rmmd_main.c | 152 unsigned int linear_id = plat_my_core_pos(); in rmmd_setup() local 153 rmmd_rmm_context_t *rmm_ctx = &rmm_context[linear_id]; in rmmd_setup() 270 uint32_t linear_id = plat_my_core_pos(); in rmmd_cpu_on_finish_handler() local 271 rmmd_rmm_context_t *ctx = &rmm_context[linear_id]; in rmmd_cpu_on_finish_handler() 284 linear_id); in rmmd_cpu_on_finish_handler()
|
/trusted-firmware-a/plat/renesas/common/ |
A D | plat_pm.c | 49 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()
|
/trusted-firmware-a/include/services/ |
A D | spm_mm_partition.h | 27 uint32_t linear_id; member
|
/trusted-firmware-a/services/std_svc/spm_mm/ |
A D | spm_mm_setup.c | 255 sp_mp_info[index].linear_id = plat_core_pos_by_mpidr(mpidr); in spm_sp_setup() 256 if (plat_my_core_pos() == sp_mp_info[index].linear_id) in spm_sp_setup()
|
/trusted-firmware-a/plat/mediatek/mt8173/drivers/mtcmos/ |
A D | mtcmos.c | 105 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()
|
/trusted-firmware-a/plat/qemu/common/ |
A D | qemu_spm.c | 74 tmp->linear_id = 0; in qemu_initialize_mp_info()
|