Searched refs:linear_id (Results 1 – 10 of 10) sorted by relevance
51 uint32_t linear_id; in set_smc_args() local58 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() local93 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 …]
28 uint32_t linear_id = plat_my_core_pos(); in tsp_update_sync_sel1_intr_stats() local30 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() local56 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() local103 tsp_stats[linear_id].sel1_intr_count++; in tsp_common_int_handler()[all …]
71 uint32_t linear_id = plat_my_core_pos(); in tsp_generic_timer_save() local73 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() local86 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()
31 uint32_t linear_id = plat_my_core_pos(); in tspd_cpu_off_handler() local32 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() local71 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() local107 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() local152 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() local191 tsp_context_t *tsp_ctx = &tspd_sp_context[linear_id]; in tspd_system_off()[all …]
98 uint32_t linear_id; in tspd_sel1_interrupt_handler() local111 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() local186 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() local243 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() local286 tsp_context_t *tsp_ctx = &tspd_sp_context[linear_id]; in tspd_smc_handler()
30 uint32_t linear_id = plat_my_core_pos(); in opteed_cpu_off_handler() local31 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() local64 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() local94 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() local130 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() local169 optee_context_t *optee_ctx = &opteed_sp_context[linear_id]; in opteed_system_off()[all …]
57 uint32_t linear_id; in opteed_sel1_interrupt_handler() local70 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() local101 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() local158 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() local201 optee_context_t *optee_ctx = &opteed_sp_context[linear_id]; in opteed_smc_handler()
236 unsigned long linear_id; in spm_hotplug_on() local238 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() local259 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()
490 unsigned long linear_id; in spm_mcdi_finish_for_on_state() local492 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()
104 static void mtcmos_ctrl_little_off(unsigned int linear_id) in mtcmos_ctrl_little_off() argument110 switch (linear_id) { in mtcmos_ctrl_little_off()