Home
last modified time | relevance | path

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

12

/Zephyr-latest/soc/intel/intel_adsp/cavs/
Dmultiprocessing.c22 #define IDC_CORE_MASK(num_cpus) (BIT(num_cpus) - 1) argument
32 unsigned int num_cpus = arch_num_cpus(); in soc_mp_startup() local
34 for (int i = 0; i < num_cpus; i++) { in soc_mp_startup()
109 unsigned int num_cpus = arch_num_cpus(); in soc_start_core() local
111 for (int c = 0; c < num_cpus; c++) { in soc_start_core()
112 IDC[c].busy_int |= IDC_CORE_MASK(num_cpus); in soc_start_core()
129 unsigned int num_cpus = arch_num_cpus(); in send_ipi() local
131 for (int c = 0; c < num_cpus; c++) { in send_ipi()
164 unsigned int num_cpus = arch_num_cpus(); in idc_isr() local
166 for (int i = 0; i < num_cpus; i++) { in idc_isr()
[all …]
/Zephyr-latest/drivers/interrupt_controller/
Dintc_dw_ace.c89 unsigned int num_cpus = arch_num_cpus(); in dw_ace_irq_enable() local
91 for (int i = 0; i < num_cpus; i++) { in dw_ace_irq_enable()
105 unsigned int num_cpus = arch_num_cpus(); in dw_ace_irq_disable() local
107 for (int i = 0; i < num_cpus; i++) { in dw_ace_irq_disable()
Dintc_gic.c201 unsigned int num_cpus = arch_num_cpus(); in gic_dist_init() local
203 for (i = 0; i < num_cpus; i++) { in gic_dist_init()
Dintc_esp32.c206 unsigned int num_cpus = arch_num_cpus(); in esp_intr_initialize() local
208 for (size_t i = 0; i < (ESP_INTC_INTS_NUM * num_cpus); ++i) { in esp_intr_initialize()
/Zephyr-latest/soc/intel/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()
114 unsigned int num_cpus = arch_num_cpus(); in adsp_clock_init() local
116 for (i = 0; i < num_cpus; i++) { in adsp_clock_init()
/Zephyr-latest/arch/x86/core/
Dprep_c.c78 unsigned int num_cpus = arch_num_cpus(); in z_prep_c() local
80 for (int i = 0; i < num_cpus; i++) { in z_prep_c()
/Zephyr-latest/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-latest/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-latest/kernel/
Dipi.c33 uint32_t num_cpus = (uint32_t)arch_num_cpus(); in ipi_mask_create() local
38 for (uint32_t i = 0; i < num_cpus; i++) { in ipi_mask_create()
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.c298 unsigned int num_cpus = arch_num_cpus(); in k_sys_runtime_stats_enable() local
300 for (uint8_t i = 0; i < num_cpus; i++) { in k_sys_runtime_stats_enable()
332 unsigned int num_cpus = arch_num_cpus(); in k_sys_runtime_stats_disable() local
334 for (uint8_t i = 0; i < num_cpus; i++) { in k_sys_runtime_stats_disable()
/Zephyr-latest/soc/intel/intel_adsp/ace/
Dmultiprocessing.c97 unsigned int num_cpus = arch_num_cpus(); in soc_mp_init() local
99 for (int i = 0; i < num_cpus; i++) { in soc_mp_init()
227 unsigned int num_cpus = arch_num_cpus(); in send_ipi() local
229 for (int core = 0; core < num_cpus; core++) { in send_ipi()
/Zephyr-latest/arch/riscv/core/
Dipi_clint.c27 unsigned int num_cpus = arch_num_cpus(); in arch_sched_directed_ipi() local
29 for (unsigned int i = 0; i < num_cpus; i++) { in arch_sched_directed_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-latest/subsys/shell/modules/kernel_service/thread/
Dstacks.c71 unsigned int num_cpus = arch_num_cpus(); in cmd_kernel_thread_stacks() local
73 for (int i = 0; i < num_cpus; i++) { in cmd_kernel_thread_stacks()
/Zephyr-latest/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-latest/arch/arc/core/
Dsmp.c143 unsigned int num_cpus = arch_num_cpus(); in arch_sched_directed_ipi() local
149 for (i = 0U; i < num_cpus; i++) { in arch_sched_directed_ipi()
/Zephyr-latest/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-latest/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.c196 unsigned int num_cpus = arch_num_cpus(); in send_ipi() local
198 for (int i = 0; i < num_cpus; i++) { in send_ipi()
/Zephyr-latest/arch/arm/core/cortex_a_r/
Dsmp.c232 unsigned int num_cpus = arch_num_cpus(); in send_ipi() local
234 for (int i = 0; i < num_cpus; i++) { in send_ipi()
/Zephyr-latest/subsys/debug/
Dthread_analyzer.c191 unsigned int num_cpus = arch_num_cpus(); in isr_stacks() local
193 for (int i = 0; i < num_cpus; i++) { in isr_stacks()
/Zephyr-latest/tests/kernel/threads/thread_stack/src/
Dmain.c425 unsigned int num_cpus = arch_num_cpus(); in ZTEST() local
427 for (int i = 0; i < num_cpus; i++) { in ZTEST()
/Zephyr-latest/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()

12