Home
last modified time | relevance | path

Searched refs:num_cpus (Results 1 – 25 of 27) sorted by relevance

12

/Zephyr-Core-3.6.0/soc/xtensa/intel_adsp/cavs/
Dmultiprocessing.c21 #define IDC_CORE_MASK(num_cpus) (BIT(num_cpus) - 1) argument
31 unsigned int num_cpus = arch_num_cpus(); in soc_mp_startup() local
33 for (int i = 0; i < num_cpus; i++) { in soc_mp_startup()
107 unsigned int num_cpus = arch_num_cpus(); in soc_start_core() local
109 for (int c = 0; c < num_cpus; c++) { in soc_start_core()
110 IDC[c].busy_int |= IDC_CORE_MASK(num_cpus); in soc_start_core()
127 unsigned int num_cpus = arch_num_cpus(); in arch_sched_ipi() local
129 for (int c = 0; c < num_cpus; c++) { in arch_sched_ipi()
151 unsigned int num_cpus = arch_num_cpus(); in idc_isr() local
153 for (int i = 0; i < num_cpus; i++) { in idc_isr()
[all …]
/Zephyr-Core-3.6.0/drivers/interrupt_controller/
Dintc_dw_ace.c88 unsigned int num_cpus = arch_num_cpus(); in dw_ace_irq_enable() local
90 for (int i = 0; i < num_cpus; i++) { in dw_ace_irq_enable()
104 unsigned int num_cpus = arch_num_cpus(); in dw_ace_irq_disable() local
106 for (int i = 0; i < num_cpus; i++) { in dw_ace_irq_disable()
Dintc_gic.c176 unsigned int num_cpus = arch_num_cpus(); in gic_dist_init() local
178 for (i = 0; i < num_cpus; i++) { in gic_dist_init()
Dintc_esp32.c205 unsigned int num_cpus = arch_num_cpus(); in esp_intr_initialize() local
207 for (size_t i = 0; i < (ESP_INTC_INTS_NUM * num_cpus); ++i) { in esp_intr_initialize()
/Zephyr-Core-3.6.0/soc/xtensa/intel_adsp/common/
Dclk.c70 unsigned int num_cpus = arch_num_cpus(); in adsp_clock_set_cpu_freq() local
72 for (i = 0; i < num_cpus; i++) { in adsp_clock_set_cpu_freq()
109 unsigned int num_cpus = arch_num_cpus(); in adsp_clock_init() local
111 for (i = 0; i < num_cpus; i++) { in adsp_clock_init()
/Zephyr-Core-3.6.0/arch/x86/core/
Dprep_c.c69 unsigned int num_cpus = arch_num_cpus(); in z_prep_c() local
71 for (int i = 0; i < num_cpus; i++) { in z_prep_c()
/Zephyr-Core-3.6.0/soc/xtensa/intel_adsp/ace/
Dmultiprocessing.c79 unsigned int num_cpus = arch_num_cpus(); in soc_mp_init() local
81 for (int i = 0; i < num_cpus; i++) { in soc_mp_init()
202 unsigned int num_cpus = arch_num_cpus(); in arch_sched_ipi() local
204 for (int core = 0; core < num_cpus; core++) { in arch_sched_ipi()
/Zephyr-Core-3.6.0/tests/drivers/clock_control/adsp_clock/src/
Dmain.c13 unsigned int num_cpus = arch_num_cpus(); in check_clocks() local
15 for (i = 0; i < num_cpus; i++) { in check_clocks()
/Zephyr-Core-3.6.0/tests/boards/intel_adsp/smoke/src/
Dsmpboot.c43 unsigned int num_cpus = arch_num_cpus(); in ZTEST() local
49 for (int i = 1; i < num_cpus; i++) { in ZTEST()
Dcpus.c145 unsigned int num_cpus = arch_num_cpus(); in ZTEST() local
147 for (int i = 0; i < num_cpus; i++) { in ZTEST()
204 unsigned int num_cpus = arch_num_cpus(); in halt_and_restart_thread() local
206 for (int i = 1; i < num_cpus; i++) { in halt_and_restart_thread()
/Zephyr-Core-3.6.0/subsys/pm/
Dpm_stats.c37 unsigned int num_cpus = arch_num_cpus(); in pm_stats_init() local
39 for (uint8_t i = 0U; i < num_cpus; i++) { in pm_stats_init()
/Zephyr-Core-3.6.0/arch/arc/core/
Dsmp.c141 unsigned int num_cpus = arch_num_cpus(); in arch_sched_ipi() local
143 for (i = 0U; i < num_cpus; i++) { in arch_sched_ipi()
/Zephyr-Core-3.6.0/tests/lib/p4workq/src/
Dmain.c184 unsigned int num_cpus = arch_num_cpus(); in ZTEST() local
187 for (int i = 0; i < num_cpus; i++) { in ZTEST()
199 for (int i = 0; i < num_cpus; i++) { in ZTEST()
/Zephyr-Core-3.6.0/arch/riscv/core/
Dsmp.c93 unsigned int num_cpus = arch_num_cpus(); in arch_sched_ipi() local
95 for (unsigned int i = 0; i < num_cpus; i++) { in arch_sched_ipi()
Dfpu.c142 unsigned int num_cpus = arch_num_cpus(); in flush_owned_fpu() local
144 for (i = 0; i < num_cpus; i++) { in flush_owned_fpu()
/Zephyr-Core-3.6.0/kernel/
Dsmp.c230 unsigned int num_cpus = arch_num_cpus(); in z_smp_init() local
232 for (int i = 1; i < num_cpus; i++) { in z_smp_init()
Dusage.c299 unsigned int num_cpus = arch_num_cpus(); in k_sys_runtime_stats_enable() local
301 for (uint8_t i = 0; i < num_cpus; i++) { in k_sys_runtime_stats_enable()
333 unsigned int num_cpus = arch_num_cpus(); in k_sys_runtime_stats_disable() local
335 for (uint8_t i = 0; i < num_cpus; i++) { in k_sys_runtime_stats_disable()
/Zephyr-Core-3.6.0/subsys/debug/
Dthread_analyzer.c134 unsigned int num_cpus = arch_num_cpus(); in isr_stacks() local
136 for (int i = 0; i < num_cpus; i++) { in isr_stacks()
/Zephyr-Core-3.6.0/arch/arm64/core/
Dfpu.c102 unsigned int num_cpus = arch_num_cpus(); in flush_owned_fpu() local
104 for (i = 0; i < num_cpus; i++) { in flush_owned_fpu()
Dsmp.c190 unsigned int num_cpus = arch_num_cpus(); in broadcast_ipi() local
192 for (int i = 0; i < num_cpus; i++) { in broadcast_ipi()
/Zephyr-Core-3.6.0/arch/arm/core/cortex_a_r/
Dsmp.c220 unsigned int num_cpus = arch_num_cpus(); in broadcast_ipi() local
222 for (int i = 0; i < num_cpus; i++) { in broadcast_ipi()
/Zephyr-Core-3.6.0/tests/kernel/threads/thread_stack/src/
Dmain.c395 unsigned int num_cpus = arch_num_cpus(); in ZTEST() local
397 for (int i = 0; i < num_cpus; i++) { in ZTEST()
/Zephyr-Core-3.6.0/subsys/shell/modules/
Dkernel_service.c256 unsigned int num_cpus = arch_num_cpus(); in cmd_kernel_stacks() local
258 for (int i = 0; i < num_cpus; i++) { in cmd_kernel_stacks()
/Zephyr-Core-3.6.0/subsys/testsuite/ztest/src/
Dztress.c123 unsigned int num_cpus = arch_num_cpus(); in control_load() local
125 for (int i = 0; i < num_cpus; i++) { in control_load()
Dztest.c157 unsigned int num_cpus = arch_num_cpus(); in z_impl_z_test_1cpu_start() local
167 for (int i = 0; i < num_cpus - 1; i++) { in z_impl_z_test_1cpu_start()
183 unsigned int num_cpus = arch_num_cpus(); in z_impl_z_test_1cpu_stop() local
187 for (int i = 0; i < num_cpus - 1; i++) { in z_impl_z_test_1cpu_stop()

12