Home
last modified time | relevance | path

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

/external/arm-trusted-firmware/bl32/tsp/
Dtsp_main.c55 uint32_t linear_id; in set_smc_args() local
62 linear_id = plat_my_core_pos(); in set_smc_args()
63 pcpu_smc_args = &tsp_smc_args[linear_id]; in set_smc_args()
108 uint32_t linear_id = plat_my_core_pos(); in tsp_main() local
117 tsp_stats[linear_id].smc_count++; in tsp_main()
118 tsp_stats[linear_id].eret_count++; in tsp_main()
119 tsp_stats[linear_id].cpu_on_count++; in tsp_main()
125 tsp_stats[linear_id].smc_count, in tsp_main()
126 tsp_stats[linear_id].eret_count, in tsp_main()
127 tsp_stats[linear_id].cpu_on_count); in tsp_main()
[all …]
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
106 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()
/external/arm-trusted-firmware/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.c101 uint32_t linear_id; in tspd_sel1_interrupt_handler() local
114 linear_id = plat_my_core_pos(); in tspd_sel1_interrupt_handler()
115 tsp_ctx = &tspd_sp_context[linear_id]; in tspd_sel1_interrupt_handler()
187 uint32_t linear_id; in tspd_setup() local
189 linear_id = plat_my_core_pos(); in tspd_setup()
220 &tspd_sp_context[linear_id]); in tspd_setup()
245 uint32_t linear_id = plat_my_core_pos(); in tspd_init() local
246 tsp_context_t *tsp_ctx = &tspd_sp_context[linear_id]; in tspd_init()
288 uint32_t linear_id = plat_my_core_pos(), ns; in tspd_smc_handler() local
289 tsp_context_t *tsp_ctx = &tspd_sp_context[linear_id]; in tspd_smc_handler()
/external/arm-trusted-firmware/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()
/external/arm-trusted-firmware/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()
/external/arm-trusted-firmware/services/std_svc/spmd/
Dspmd_pm.c78 unsigned int linear_id = plat_my_core_pos(); in spmd_cpu_on_finish_handler() local
104 linear_id); in spmd_cpu_on_finish_handler()
112 VERBOSE("CPU %u on!\n", linear_id); in spmd_cpu_on_finish_handler()
121 unsigned int linear_id = plat_my_core_pos(); in spmd_cpu_off_handler() local
136 ERROR("%s failed (%llu) 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.c158 unsigned int linear_id = plat_my_core_pos(); in spmd_init() local
166 if (core_id != linear_id) { in spmd_init()
/external/deqp-deps/amber/tests/cases/
Dopencl_bind_buffer.amber39 unsigned int linear_id = in_wg_id + prev_ids;
40 out[linear_id] = in[linear_id];
/external/tensorflow/tensorflow/lite/delegates/gpu/metal/
Dbuffer_convert.mm45 int linear_id = static_cast<int>(gid.x);
46 int X = linear_id / size.w;
47 int B = linear_id % size.w;
72 int linear_id = static_cast<int>(gid.x);
73 int X = linear_id / size.w;
74 int B = linear_id % size.w;
/external/arm-trusted-firmware/plat/renesas/common/
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()
/external/arm-trusted-firmware/services/std_svc/spm_mm/
Dspm_mm_setup.c252 sp_mp_info[index].linear_id = plat_core_pos_by_mpidr(mpidr); in spm_sp_setup()
253 if (plat_my_core_pos() == sp_mp_info[index].linear_id) in spm_sp_setup()
/external/arm-trusted-firmware/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()
/external/arm-trusted-firmware/include/services/
Dspm_mm_partition.h27 uint32_t linear_id; member