Home
last modified time | relevance | path

Searched refs:core_id (Results 1 – 12 of 12) sorted by relevance

/Zephyr-Core-3.5.0/soc/xtensa/intel_adsp/ace/
Dpower.c122 static ALWAYS_INLINE void _save_core_context(uint32_t core_id) in _save_core_context() argument
124 core_desc[core_id].vecbase = XTENSA_RSR("VECBASE"); in _save_core_context()
125 core_desc[core_id].excsave2 = XTENSA_RSR("EXCSAVE2"); in _save_core_context()
126 core_desc[core_id].excsave3 = XTENSA_RSR("EXCSAVE3"); in _save_core_context()
127 core_desc[core_id].thread_ptr = XTENSA_RUR("THREADPTR"); in _save_core_context()
128 __asm__ volatile("mov %0, a0" : "=r"(core_desc[core_id].a0)); in _save_core_context()
129 __asm__ volatile("mov %0, a1" : "=r"(core_desc[core_id].a1)); in _save_core_context()
130 sys_cache_data_flush_range(&core_desc[core_id], sizeof(struct core_state)); in _save_core_context()
135 uint32_t core_id = arch_proc_id(); in _restore_core_context() local
137 XTENSA_WSR("VECBASE", core_desc[core_id].vecbase); in _restore_core_context()
[all …]
/Zephyr-Core-3.5.0/soc/xtensa/espressif_esp32/esp32_net/
Dsoc.c97 const uint32_t core_id = cpu_hal_get_core_id(); in esp_restart_noos() local
98 const uint32_t other_core_id = (core_id == 0) ? 1 : 0; in esp_restart_noos()
143 if (core_id == 0) { in esp_restart_noos()
/Zephyr-Core-3.5.0/soc/xtensa/espressif_esp32/esp32/
Desp32-mp.c237 const int core_id = esp_core_id(); in esp_crosscore_isr() local
239 if (core_id == 0) { in esp_crosscore_isr()
295 const int core_id = esp_core_id(); in arch_sched_ipi() local
297 if (core_id == 0) { in arch_sched_ipi()
Dsoc.c207 const uint32_t core_id = cpu_hal_get_core_id(); in esp_restart_noos() local
208 const uint32_t other_core_id = (core_id == 0) ? 1 : 0; in esp_restart_noos()
253 if (core_id == 0) { in esp_restart_noos()
/Zephyr-Core-3.5.0/soc/xtensa/espressif_esp32/esp32s2/
Dsoc.c181 const uint32_t core_id = cpu_ll_get_core_id(); in esp_restart_noos() local
218 if (core_id == 0) { in esp_restart_noos()
/Zephyr-Core-3.5.0/drivers/ipm/
Dipm_esp32.c53 uint32_t core_id = dev_data->this_core_id; in esp32_ipm_isr() local
56 if (core_id == 0) { in esp32_ipm_isr()
79 if (core_id != 0) { in esp32_ipm_isr()
85 dev_data->control->dest_cpu_msg_id[core_id], in esp32_ipm_isr()
/Zephyr-Core-3.5.0/soc/xtensa/espressif_esp32/esp32s3/
Dsoc_appcpu.c40 uint32_t core_id = cpu_hal_get_core_id(); in core_intr_matrix_clear() local
43 intr_matrix_set(core_id, i, ETS_INVALID_INUM); in core_intr_matrix_clear()
Dsoc.c264 const uint32_t core_id = cpu_hal_get_core_id(); in esp_restart_noos() local
266 const uint32_t other_core_id = (core_id == 0) ? 1 : 0; in esp_restart_noos()
304 if (core_id == 0) { in esp_restart_noos()
/Zephyr-Core-3.5.0/include/zephyr/arch/arc/v2/
Darc_connect.h191 extern void z_arc_connect_ici_generate(uint32_t core_id);
192 extern void z_arc_connect_ici_ack(uint32_t core_id);
193 extern uint32_t z_arc_connect_ici_read_status(uint32_t core_id);
/Zephyr-Core-3.5.0/drivers/gpio/
Dgpio_esp32.c423 uint32_t const core_id = CPU_ID(); in gpio_esp32_get_pending_int() local
426 gpio_ll_get_intr_status(cfg->gpio_base, core_id, &irq_status); in gpio_esp32_get_pending_int()
428 gpio_ll_get_intr_status_high(cfg->gpio_base, core_id, &irq_status); in gpio_esp32_get_pending_int()
439 uint32_t const core_id = CPU_ID(); in gpio_esp32_fire_callbacks() local
442 gpio_ll_get_intr_status(cfg->gpio_base, core_id, &irq_status); in gpio_esp32_fire_callbacks()
445 gpio_ll_get_intr_status_high(cfg->gpio_base, core_id, &irq_status); in gpio_esp32_fire_callbacks()
/Zephyr-Core-3.5.0/kernel/include/
Dksched.h416 void z_sched_cpu_usage(uint8_t core_id, struct k_thread_runtime_stats *stats);
/Zephyr-Core-3.5.0/boards/arm/s32z270dc2_r52/doc/
Dindex.rst241 core=<core_id> lockstep=<yes/no>
250 - ``<core_id>`` is the zero-based core index relative to the RTU on which to