/Zephyr-latest/tests/boards/intel_adsp/smoke/src/ |
D | smpboot.c | 43 unsigned int num_cpus = arch_num_cpus(); in ZTEST() 45 if (arch_num_cpus() < 2) { in ZTEST() 76 if (arch_num_cpus() < 2) { in ZTEST()
|
D | cpus.c | 47 __ASSERT_NO_MSG(cpu < arch_num_cpus()); in run_on_cpu() 145 unsigned int num_cpus = arch_num_cpus(); in ZTEST() 162 uint32_t all_cpus = BIT(arch_num_cpus()) - 1; in halt_and_restart() 204 unsigned int num_cpus = arch_num_cpus(); in halt_and_restart_thread()
|
/Zephyr-latest/kernel/ |
D | ipi.c | 19 if (arch_num_cpus() > 1) { in flag_ipi() 33 uint32_t num_cpus = (uint32_t)arch_num_cpus(); in ipi_mask_create() 79 if (arch_num_cpus() > 1) { in signal_pending_ipi()
|
/Zephyr-latest/soc/intel/intel_adsp/cavs/ |
D | multiprocessing.c | 32 unsigned int num_cpus = arch_num_cpus(); in soc_mp_startup() 109 unsigned int num_cpus = arch_num_cpus(); in soc_start_core() 129 unsigned int num_cpus = arch_num_cpus(); in send_ipi() 164 unsigned int num_cpus = arch_num_cpus(); in idc_isr() 179 unsigned int num_cpus = arch_num_cpus(); in soc_mp_init()
|
/Zephyr-latest/drivers/watchdog/ |
D | wdt_intel_adsp.c | 75 for (i = 0; i < arch_num_cpus(); i++) { in intel_adsp_wdt_setup() 123 if (channel_id >= arch_num_cpus()) { in intel_adsp_wdt_feed() 157 for (i = 0; i < arch_num_cpus(); i++) { in intel_adsp_wdt_init() 186 if (channel_id >= arch_num_cpus()) { in intel_adsp_watchdog_pause() 206 if (channel_id >= arch_num_cpus()) { in intel_adsp_watchdog_resume()
|
/Zephyr-latest/include/zephyr/arch/mips/ |
D | arch_inlines.h | 12 static ALWAYS_INLINE unsigned int arch_num_cpus(void) in arch_num_cpus() function
|
/Zephyr-latest/include/zephyr/arch/nios2/ |
D | arch_inlines.h | 12 static ALWAYS_INLINE unsigned int arch_num_cpus(void) in arch_num_cpus() function
|
/Zephyr-latest/include/zephyr/arch/posix/ |
D | arch_inlines.h | 12 static ALWAYS_INLINE unsigned int arch_num_cpus(void) in arch_num_cpus() function
|
/Zephyr-latest/include/zephyr/arch/sparc/ |
D | arch_inlines.h | 12 static ALWAYS_INLINE unsigned int arch_num_cpus(void) in arch_num_cpus() function
|
/Zephyr-latest/tests/kernel/smp/src/ |
D | main.c | 218 unsigned int num_threads = arch_num_cpus(); in spin_for_threads_exit() 270 unsigned int num_threads = arch_num_cpus(); in cleanup_resources() 318 unsigned int num_threads = arch_num_cpus(); in ZTEST() 370 unsigned int num_threads = arch_num_cpus(); in ZTEST() 411 unsigned int num_threads = arch_num_cpus(); in ZTEST() 444 unsigned int num_threads = arch_num_cpus(); in ZTEST() 477 unsigned int num_threads = arch_num_cpus(); in ZTEST() 559 unsigned int num_threads = arch_num_cpus(); in ZTEST() 740 TC_PRINT("cpu num=%d", arch_num_cpus()); in ZTEST() 1127 unsigned int num_threads = arch_num_cpus(); in signal_raise() [all …]
|
/Zephyr-latest/include/zephyr/arch/x86/ |
D | arch_inlines.h | 42 static ALWAYS_INLINE unsigned int arch_num_cpus(void) in arch_num_cpus() function
|
/Zephyr-latest/include/zephyr/arch/arc/ |
D | arch_inlines.h | 39 static ALWAYS_INLINE unsigned int arch_num_cpus(void) in arch_num_cpus() function
|
/Zephyr-latest/include/zephyr/arch/arm/ |
D | arch_inlines.h | 39 static ALWAYS_INLINE unsigned int arch_num_cpus(void) in arch_num_cpus() function
|
/Zephyr-latest/include/zephyr/arch/arm64/ |
D | arch_inlines.h | 37 static ALWAYS_INLINE unsigned int arch_num_cpus(void) in arch_num_cpus() function
|
/Zephyr-latest/arch/arc/core/ |
D | smp.c | 143 unsigned int num_cpus = arch_num_cpus(); in arch_sched_directed_ipi() 194 z_arc_connect_gfrc_core_set((1 << arch_num_cpus()) - 1); in arch_smp_init()
|
/Zephyr-latest/include/zephyr/arch/riscv/ |
D | arch_inlines.h | 40 static ALWAYS_INLINE unsigned int arch_num_cpus(void) in arch_num_cpus() function
|
/Zephyr-latest/soc/intel/intel_adsp/ace/ |
D | multiprocessing.c | 97 unsigned int num_cpus = arch_num_cpus(); in soc_mp_init() 227 unsigned int num_cpus = arch_num_cpus(); in send_ipi() 263 CHECKIF(id <= 0 || id >= arch_num_cpus()) { in soc_adsp_halt_cpu()
|
/Zephyr-latest/drivers/interrupt_controller/ |
D | intc_dw_ace.c | 89 unsigned int num_cpus = arch_num_cpus(); in dw_ace_irq_enable() 105 unsigned int num_cpus = arch_num_cpus(); in dw_ace_irq_disable()
|
D | intc_plic.c | 259 for (uint32_t cpu_num = 0; cpu_num < arch_num_cpus(); cpu_num++) { in plic_irq_enable_set_state() 319 for (uint32_t cpu_num = 0; cpu_num < arch_num_cpus(); cpu_num++) { in local_irq_is_enabled() 440 if ((cpumask & ~BIT_MASK(arch_num_cpus())) != 0) { in riscv_plic_irq_set_affinity() 489 offset = arch_num_cpus() * config->nr_irqs + local_irq; in get_irq_hit_count_total() 591 for (uint32_t cpu_num = 0; cpu_num < arch_num_cpus(); cpu_num++) { in plic_init() 653 for (int cpu_id = 0; cpu_id < arch_num_cpus(); cpu_id++) { in cmd_stats_get() 671 for (int cpu_id = 0; cpu_id < arch_num_cpus(); cpu_id++) { in cmd_stats_get() 749 if ((mask & ~BIT_MASK(arch_num_cpus())) != 0) { in cmd_affinity_set() 750 shell_error(sh, "cpumask: 0x%X num_cpus: %d", mask, arch_num_cpus()); in cmd_affinity_set()
|
D | intc_arcv2_irq_unit.c | 72 z_arc_connect_idu_set_dest(i, BIT_MASK(arch_num_cpus())); in arc_shared_intc_update_post_smp()
|
/Zephyr-latest/soc/intel/intel_adsp/common/ |
D | clk.c | 70 unsigned int num_cpus = arch_num_cpus(); in adsp_clock_set_cpu_freq() 114 unsigned int num_cpus = arch_num_cpus(); in adsp_clock_init()
|
/Zephyr-latest/include/zephyr/arch/xtensa/ |
D | arch_inlines.h | 86 static ALWAYS_INLINE unsigned int arch_num_cpus(void) in arch_num_cpus() function
|
/Zephyr-latest/arch/x86/core/ |
D | prep_c.c | 78 unsigned int num_cpus = arch_num_cpus(); in z_prep_c()
|
/Zephyr-latest/tests/drivers/clock_control/adsp_clock/src/ |
D | main.c | 13 unsigned int num_cpus = arch_num_cpus(); in check_clocks()
|
/Zephyr-latest/arch/riscv/core/ |
D | ipi_clint.c | 27 unsigned int num_cpus = arch_num_cpus(); in arch_sched_directed_ipi()
|