Home
last modified time | relevance | path

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

/trusted-firmware-a-3.4.0/bl32/tsp/
Dtsp_main.c57 uint32_t linear_id; in set_smc_args() local
64 linear_id = plat_my_core_pos(); in set_smc_args()
65 pcpu_smc_args = &tsp_smc_args[linear_id]; in set_smc_args()
110 uint32_t linear_id = plat_my_core_pos(); in tsp_main() local
119 tsp_stats[linear_id].smc_count++; in tsp_main()
120 tsp_stats[linear_id].eret_count++; in tsp_main()
121 tsp_stats[linear_id].cpu_on_count++; in tsp_main()
127 tsp_stats[linear_id].smc_count, in tsp_main()
128 tsp_stats[linear_id].eret_count, in tsp_main()
129 tsp_stats[linear_id].cpu_on_count); in tsp_main()
[all …]
Dtsp_interrupt.c32 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 …]
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()
/trusted-firmware-a-3.4.0/services/std_svc/spm/el3_spmc/
Dspmc_pm.c45 unsigned int linear_id = plat_my_core_pos(); in spmc_cpu_on_finish_handler() local
63 WARN("%s: No secondary ep on core%u\n", __func__, linear_id); in spmc_cpu_on_finish_handler()
87 INFO("SP (0x%x) init start on core%u.\n", sp->sp_id, linear_id); in spmc_cpu_on_finish_handler()
91 ERROR("%s failed (%lu) on CPU%u\n", __func__, rc, linear_id); in spmc_cpu_on_finish_handler()
97 VERBOSE("CPU %u on!\n", linear_id); in spmc_cpu_on_finish_handler()
108 unsigned int linear_id = plat_my_core_pos(); in spmc_send_pm_msg() local
138 ERROR("%s failed (%lu) on CPU%u.\n", __func__, rc, linear_id); in spmc_send_pm_msg()
190 unsigned int linear_id = plat_my_core_pos(); in spmc_cpu_suspend_finish_handler() local
206 ERROR("%s failed (%d) on CPU%u\n", __func__, rc, linear_id); in spmc_cpu_suspend_finish_handler()
211 VERBOSE("CPU %u resumed!\n", linear_id); in spmc_cpu_suspend_finish_handler()
[all …]
Dspmc_main.c1956 uint32_t linear_id = plat_my_core_pos(); in spmc_sp_interrupt_handler() local
1967 linear_id); in spmc_sp_interrupt_handler()
1977 linear_id, RT_STATE_WAITING, ec->rt_state); in spmc_sp_interrupt_handler()
1985 VERBOSE("SP (0x%x) interrupt start on core%u.\n", sp->sp_id, linear_id); in spmc_sp_interrupt_handler()
/trusted-firmware-a-3.4.0/plat/mediatek/mt8173/drivers/spm/
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()
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()
/trusted-firmware-a-3.4.0/services/spd/opteed/
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 …]
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()
/trusted-firmware-a-3.4.0/services/spd/tspd/
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 …]
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()
/trusted-firmware-a-3.4.0/services/std_svc/spmd/
Dspmd_pm.c67 unsigned int linear_id = plat_my_core_pos(); in spmd_cpu_on_finish_handler() local
102 linear_id); in spmd_cpu_on_finish_handler()
109 VERBOSE("CPU %u on!\n", linear_id); in spmd_cpu_on_finish_handler()
118 unsigned int linear_id = plat_my_core_pos(); in spmd_cpu_off_handler() local
130 ERROR("%s failed (%" PRIu64 ") on CPU%u\n", __func__, rc, linear_id); in spmd_cpu_off_handler()
144 VERBOSE("CPU %u off!\n", linear_id); in spmd_cpu_off_handler()
Dspmd_main.c204 unsigned int linear_id = plat_my_core_pos(); in spmd_secure_interrupt_handler() local
234 ERROR("%s failed (%" PRId64 ") on CPU%u\n", __func__, rc, linear_id); in spmd_secure_interrupt_handler()
591 unsigned int linear_id = plat_my_core_pos(); in spmd_smc_handler() local
602 linear_id, smc_fid, x1, x2, x3, x4, in spmd_smc_handler()
/trusted-firmware-a-3.4.0/services/std_svc/rmmd/trp/
Dtrp_helpers.c30 uint32_t linear_id; in set_smc_args() local
37 linear_id = plat_my_core_pos(); in set_smc_args()
38 pcpu_smc_args = &trp_smc_args[linear_id]; in set_smc_args()
/trusted-firmware-a-3.4.0/services/std_svc/rmmd/
Drmmd_main.c172 unsigned int linear_id = plat_my_core_pos(); in rmmd_setup() local
173 rmmd_rmm_context_t *rmm_ctx = &rmm_context[linear_id]; in rmmd_setup()
225 rmm_ep_info->args.arg0 = linear_id; in rmmd_setup()
332 uint32_t linear_id = plat_my_core_pos(); in rmmd_cpu_on_finish_handler() local
333 rmmd_rmm_context_t *ctx = &rmm_context[linear_id]; in rmmd_cpu_on_finish_handler()
338 linear_id); in rmmd_cpu_on_finish_handler()
347 rmm_ep_info->args.arg0 = linear_id; in rmmd_cpu_on_finish_handler()
364 ERROR("RMM init failed on CPU%d: %ld\n", linear_id, rc); in rmmd_cpu_on_finish_handler()
/trusted-firmware-a-3.4.0/include/services/
Dspm_mm_partition.h27 uint32_t linear_id; member
/trusted-firmware-a-3.4.0/plat/renesas/common/
Dplat_pm.c48 uint64_t linear_id = plat_core_pos_by_mpidr(mpidr); in rcar_program_mailbox() local
51 rcar_mboxes[linear_id].value = address; in rcar_program_mailbox()
52 range = (unsigned long)&rcar_mboxes[linear_id]; in rcar_program_mailbox()
/trusted-firmware-a-3.4.0/services/std_svc/spm/spm_mm/
Dspm_mm_setup.c256 sp_mp_info[index].linear_id = plat_core_pos_by_mpidr(mpidr); in spm_sp_setup()
257 if (plat_my_core_pos() == sp_mp_info[index].linear_id) in spm_sp_setup()
/trusted-firmware-a-3.4.0/plat/mediatek/mt8173/drivers/mtcmos/
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()
/trusted-firmware-a-3.4.0/plat/qemu/common/
Dqemu_spm.c74 tmp->linear_id = 0; in qemu_initialize_mp_info()