Home
last modified time | relevance | path

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

/device/linaro/bootloader/arm-trusted-firmware/bl32/tsp/
Dtsp_main.c51 uint32_t linear_id; in set_smc_args() local
58 linear_id = plat_my_core_pos(); in set_smc_args()
59 pcpu_smc_args = &tsp_smc_args[linear_id]; in set_smc_args()
84 uint32_t linear_id = plat_my_core_pos(); in tsp_main() local
93 tsp_stats[linear_id].smc_count++; in tsp_main()
94 tsp_stats[linear_id].eret_count++; in tsp_main()
95 tsp_stats[linear_id].cpu_on_count++; in tsp_main()
101 tsp_stats[linear_id].smc_count, in tsp_main()
102 tsp_stats[linear_id].eret_count, in tsp_main()
103 tsp_stats[linear_id].cpu_on_count); in tsp_main()
[all …]
Dtsp_interrupt.c28 uint32_t linear_id = plat_my_core_pos(); in tsp_update_sync_sel1_intr_stats() local
30 tsp_stats[linear_id].sync_sel1_intr_count++; in tsp_update_sync_sel1_intr_stats()
32 tsp_stats[linear_id].sync_sel1_intr_ret_count++; in tsp_update_sync_sel1_intr_stats()
41 tsp_stats[linear_id].sync_sel1_intr_count, in tsp_update_sync_sel1_intr_stats()
42 tsp_stats[linear_id].sync_sel1_intr_ret_count); in tsp_update_sync_sel1_intr_stats()
54 uint32_t linear_id = plat_my_core_pos(); in tsp_handle_preemption() local
56 tsp_stats[linear_id].preempt_intr_count++; in tsp_handle_preemption()
60 read_mpidr(), tsp_stats[linear_id].preempt_intr_count); in tsp_handle_preemption()
75 uint32_t linear_id = plat_my_core_pos(), id; in tsp_common_int_handler() local
103 tsp_stats[linear_id].sel1_intr_count++; in tsp_common_int_handler()
[all …]
Dtsp_timer.c71 uint32_t linear_id = plat_my_core_pos(); in tsp_generic_timer_save() local
73 pcpu_timer_context[linear_id].cval = read_cntps_cval_el1(); in tsp_generic_timer_save()
74 pcpu_timer_context[linear_id].ctl = read_cntps_ctl_el1(); in tsp_generic_timer_save()
75 flush_dcache_range((uint64_t) &pcpu_timer_context[linear_id], in tsp_generic_timer_save()
76 sizeof(pcpu_timer_context[linear_id])); in tsp_generic_timer_save()
84 uint32_t linear_id = plat_my_core_pos(); in tsp_generic_timer_restore() local
86 write_cntps_cval_el1(pcpu_timer_context[linear_id].cval); in tsp_generic_timer_restore()
87 write_cntps_ctl_el1(pcpu_timer_context[linear_id].ctl); in tsp_generic_timer_restore()
/device/linaro/bootloader/arm-trusted-firmware/services/spd/opteed/
Dopteed_pm.c30 uint32_t linear_id = plat_my_core_pos(); in opteed_cpu_off_handler() local
31 optee_context_t *optee_ctx = &opteed_sp_context[linear_id]; in opteed_cpu_off_handler()
63 uint32_t linear_id = plat_my_core_pos(); in opteed_cpu_suspend_handler() local
64 optee_context_t *optee_ctx = &opteed_sp_context[linear_id]; in opteed_cpu_suspend_handler()
93 uint32_t linear_id = plat_my_core_pos(); in opteed_cpu_on_finish_handler() local
94 optee_context_t *optee_ctx = &opteed_sp_context[linear_id]; in opteed_cpu_on_finish_handler()
129 uint32_t linear_id = plat_my_core_pos(); in opteed_cpu_suspend_finish_handler() local
130 optee_context_t *optee_ctx = &opteed_sp_context[linear_id]; in opteed_cpu_suspend_finish_handler()
168 uint32_t linear_id = plat_my_core_pos(); in opteed_system_off() local
169 optee_context_t *optee_ctx = &opteed_sp_context[linear_id]; in opteed_system_off()
[all …]
Dopteed_main.c57 uint32_t linear_id; in opteed_sel1_interrupt_handler() local
70 linear_id = plat_my_core_pos(); in opteed_sel1_interrupt_handler()
71 optee_ctx = &opteed_sp_context[linear_id]; in opteed_sel1_interrupt_handler()
96 uint32_t linear_id; in opteed_setup() local
101 linear_id = plat_my_core_pos(); in opteed_setup()
135 &opteed_sp_context[linear_id]); in opteed_setup()
157 uint32_t linear_id = plat_my_core_pos(); in opteed_init() local
158 optee_context_t *optee_ctx = &opteed_sp_context[linear_id]; in opteed_init()
200 uint32_t linear_id = plat_my_core_pos(); in opteed_smc_handler() local
201 optee_context_t *optee_ctx = &opteed_sp_context[linear_id]; in opteed_smc_handler()
/device/linaro/bootloader/arm-trusted-firmware/services/spd/tspd/
Dtspd_pm.c31 uint32_t linear_id = plat_my_core_pos(); in tspd_cpu_off_handler() local
32 tsp_context_t *tsp_ctx = &tspd_sp_context[linear_id]; in tspd_cpu_off_handler()
70 uint32_t linear_id = plat_my_core_pos(); in tspd_cpu_suspend_handler() local
71 tsp_context_t *tsp_ctx = &tspd_sp_context[linear_id]; in tspd_cpu_suspend_handler()
106 uint32_t linear_id = plat_my_core_pos(); in tspd_cpu_on_finish_handler() local
107 tsp_context_t *tsp_ctx = &tspd_sp_context[linear_id]; in tspd_cpu_on_finish_handler()
151 uint32_t linear_id = plat_my_core_pos(); in tspd_cpu_suspend_finish_handler() local
152 tsp_context_t *tsp_ctx = &tspd_sp_context[linear_id]; in tspd_cpu_suspend_finish_handler()
190 uint32_t linear_id = plat_my_core_pos(); in tspd_system_off() local
191 tsp_context_t *tsp_ctx = &tspd_sp_context[linear_id]; in tspd_system_off()
[all …]
Dtspd_main.c98 uint32_t linear_id; in tspd_sel1_interrupt_handler() local
111 linear_id = plat_my_core_pos(); in tspd_sel1_interrupt_handler()
112 tsp_ctx = &tspd_sp_context[linear_id]; in tspd_sel1_interrupt_handler()
184 uint32_t linear_id; in tspd_setup() local
186 linear_id = plat_my_core_pos(); in tspd_setup()
217 &tspd_sp_context[linear_id]); in tspd_setup()
242 uint32_t linear_id = plat_my_core_pos(); in tspd_init() local
243 tsp_context_t *tsp_ctx = &tspd_sp_context[linear_id]; in tspd_init()
285 uint32_t linear_id = plat_my_core_pos(), ns; in tspd_smc_handler() local
286 tsp_context_t *tsp_ctx = &tspd_sp_context[linear_id]; in tspd_smc_handler()
/device/linaro/bootloader/arm-trusted-firmware/plat/mediatek/mt8173/drivers/spm/
Dspm_hotplug.c236 unsigned long linear_id; in spm_hotplug_on() local
238 linear_id = ((mpidr & MPIDR_CLUSTER_MASK) >> 6) | in spm_hotplug_on()
250 PCM_HOTPLUG_VALID_MASK | (1 << linear_id), in spm_hotplug_on()
251 1 << (linear_id + PCM_HOTPLUG_VALID_SHIFT)); in spm_hotplug_on()
257 unsigned long linear_id; in spm_hotplug_off() local
259 linear_id = ((mpidr & MPIDR_CLUSTER_MASK) >> 6) | in spm_hotplug_off()
270 (1 << linear_id) | in spm_hotplug_off()
271 (1 << (linear_id + PCM_HOTPLUG_VALID_SHIFT))); in spm_hotplug_off()
Dspm_mcdi.c490 unsigned long linear_id; in spm_mcdi_finish_for_on_state() local
492 linear_id = ((mpidr & MPIDR_CLUSTER_MASK) >> 6) | in spm_mcdi_finish_for_on_state()
498 mmio_write_32(SPM_PCM_SW_INT_CLEAR, (0x1 << linear_id)); in spm_mcdi_finish_for_on_state()
/device/linaro/bootloader/arm-trusted-firmware/plat/mediatek/mt8173/drivers/mtcmos/
Dmtcmos.c104 static void mtcmos_ctrl_little_off(unsigned int linear_id) in mtcmos_ctrl_little_off() argument
110 switch (linear_id) { in mtcmos_ctrl_little_off()