Home
last modified time | relevance | path

Searched refs:cpus (Results 1 – 25 of 533) sorted by relevance

12345678910>>...22

/Zephyr-latest/soc/telink/tlsr/tlsr951x/
Dsoc.c60 #if ((DT_PROP(DT_PATH(cpus, cpu_0), clock_frequency) != CLK_16MHZ) && \
61 (DT_PROP(DT_PATH(cpus, cpu_0), clock_frequency) != CLK_24MHZ) && \
62 (DT_PROP(DT_PATH(cpus, cpu_0), clock_frequency) != CLK_32MHZ) && \
63 (DT_PROP(DT_PATH(cpus, cpu_0), clock_frequency) != CLK_48MHZ) && \
64 (DT_PROP(DT_PATH(cpus, cpu_0), clock_frequency) != CLK_64MHZ) && \
65 (DT_PROP(DT_PATH(cpus, cpu_0), clock_frequency) != CLK_96MHZ))
76 unsigned int cclk = DT_PROP(DT_PATH(cpus, cpu_0), clock_frequency); in soc_early_init_hook()
/Zephyr-latest/subsys/pm/
Dstate.c11 BUILD_ASSERT(DT_NODE_EXISTS(DT_PATH(cpus)),
40 DT_FOREACH_CHILD(DT_PATH(cpus), CHECK_POWER_STATES_CONSISTENCY)
47 DT_FOREACH_CHILD(DT_PATH(cpus), DEFINE_CPU_STATES);
51 DT_FOREACH_CHILD_STATUS_OKAY_SEP(DT_PATH(cpus), CPU_STATE_REF, (,))
56 DT_FOREACH_CHILD_STATUS_OKAY_SEP(DT_PATH(cpus), DT_NUM_CPU_POWER_STATES, (,))
/Zephyr-latest/arch/riscv/include/
Dkernel_arch_func.h35 csr_write(mscratch, &_kernel.cpus[0]); in arch_kernel_init()
38 _kernel.cpus[0].arch.hartid = csr_read(mhartid); in arch_kernel_init()
39 _kernel.cpus[0].arch.online = true; in arch_kernel_init()
43 DT_FOREACH_CHILD_STATUS_OKAY_SEP(DT_PATH(cpus), DT_REG_ADDR, (,)) in arch_kernel_init()
48 if (cpu_node_list[hart_x] == _kernel.cpus[0].arch.hartid) { in arch_kernel_init()
51 _kernel.cpus[cpu_num].arch.hartid = cpu_node_list[hart_x]; in arch_kernel_init()
93 return _kernel.cpus[0].nested != 0U; in arch_is_in_isr()
/Zephyr-latest/arch/riscv/core/
Dsmp.c48 riscv_cpu_wake_flag = _kernel.cpus[cpu_num].arch.hartid; in arch_cpu_start()
58 if (_kernel.cpus[i].arch.hartid == hartid) { in arch_secondary_cpu_init()
62 csr_write(mscratch, &_kernel.cpus[cpu_num]); in arch_secondary_cpu_init()
64 _kernel.cpus[cpu_num].arch.online = true; in arch_secondary_cpu_init()
Dipi_clint.c30 if ((i != id) && _kernel.cpus[i].arch.online && ((cpu_bitmap & BIT(i)) != 0)) { in arch_sched_directed_ipi()
32 MSIP(_kernel.cpus[i].arch.hartid) = 1; in arch_sched_directed_ipi()
43 MSIP(_kernel.cpus[cpu].arch.hartid) = 1; in arch_flush_fpu_ipi()
/Zephyr-latest/tests/kernel/ipi_cascade/src/
Dmain.c80 str, _kernel.cpus[0].current, in show_executing_threads()
81 _kernel.cpus[0].current->name, in show_executing_threads()
82 _kernel.cpus[0].current->base.prio); in show_executing_threads()
84 str, _kernel.cpus[1].current, in show_executing_threads()
85 _kernel.cpus[1].current->name, in show_executing_threads()
86 _kernel.cpus[1].current->base.prio); in show_executing_threads()
/Zephyr-latest/include/zephyr/arch/arc/
Darch_inlines.h24 return &_kernel.cpus[core]; in arch_curr_cpu()
26 return &_kernel.cpus[0]; in arch_curr_cpu()
/Zephyr-latest/arch/arm/core/cortex_m/
Dexc_exit.c59 if (_kernel.cpus->current->base.prio >= 0) { in z_arm_exc_exit()
61 if (_kernel.ready_q.cache != _kernel.cpus->current) { in z_arm_exc_exit()
/Zephyr-latest/drivers/led_strip/
DKconfig.ws281256 default $(div,$(mul,700,$(dt_node_int_prop_int,/cpus/cpu@0,clock-frequency)),1000000000) \
57 if $(dt_node_has_prop,/cpus/cpu@0,clock-frequency)
66 default $(div,$(mul,600,$(dt_node_int_prop_int,/cpus/cpu@0,clock-frequency)),1000000000) \
67 if $(dt_node_has_prop,/cpus/cpu@0,clock-frequency)
76 default $(div,$(mul,350,$(dt_node_int_prop_int,/cpus/cpu@0,clock-frequency)),1000000000) \
77 if $(dt_node_has_prop,/cpus/cpu@0,clock-frequency)
86 default $(div,$(mul,800,$(dt_node_int_prop_int,/cpus/cpu@0,clock-frequency)),1000000000) \
87 if $(dt_node_has_prop,/cpus/cpu@0,clock-frequency)
/Zephyr-latest/boards/native/native_posix/
Dirq_handler.c79 if (_kernel.cpus[0].nested == 0) { in posix_irq_handler()
83 _kernel.cpus[0].nested++; in posix_irq_handler()
99 _kernel.cpus[0].nested--; in posix_irq_handler()
/Zephyr-latest/boards/native/native_sim/
Dirq_handler.c87 if (_kernel.cpus[0].nested == 0) { in posix_irq_handler()
91 _kernel.cpus[0].nested++; in posix_irq_handler()
107 _kernel.cpus[0].nested--; in posix_irq_handler()
/Zephyr-latest/soc/atmel/sam/common/
Datmel_sam_dt.h19 DT_PROP(DT_PATH(cpus, cpu_0), clock_frequency)
/Zephyr-latest/soc/snps/arc_iot/
Dsoc.c16 #define CPU_FREQ DT_PROP(DT_PATH(cpus, cpu_0), clock_frequency)
/Zephyr-latest/kernel/
Dinit.c598 stack_size, idle, &_kernel.cpus[i], in init_idle_thread()
611 _kernel.cpus[id].idle_thread = &z_idle_threads[id]; in z_init_cpu()
612 _kernel.cpus[id].id = id; in z_init_cpu()
613 _kernel.cpus[id].irq_stack = in z_init_cpu()
617 _kernel.cpus[id].usage = &_kernel.usage[id]; in z_init_cpu()
618 _kernel.cpus[id].usage->track_usage = in z_init_cpu()
631 k_obj_core_init_and_link(K_OBJ_CORE(&_kernel.cpus[id]), &obj_type_cpu); in z_init_cpu()
633 k_obj_core_stats_register(K_OBJ_CORE(&_kernel.cpus[id]), in z_init_cpu()
634 _kernel.cpus[id].usage, in z_init_cpu()
/Zephyr-latest/arch/nios2/core/
Dirq_manage.c83 _kernel.cpus[0].nested++; in _enter_irq()
107 _kernel.cpus[0].nested--; in _enter_irq()
/Zephyr-latest/include/zephyr/arch/x86/ia32/
Darch.h283 ++_kernel.cpus[0].nested; in arch_isr_direct_header()
299 --_kernel.cpus[0].nested; in arch_isr_direct_footer()
307 if (swap != 0 && _kernel.cpus[0].nested == 0 && in arch_isr_direct_footer()
/Zephyr-latest/boards/microchip/m2gl025_miv/support/
Dm2gl025_miv.repl3 using "platforms/cpus/miv.repl"
/Zephyr-latest/boards/sifive/hifive_unleashed/
Dhifive_unleashed_u54.dts12 cpus {
/Zephyr-latest/boards/sifive/hifive_unmatched/
Dhifive_unmatched_u74.dts12 cpus {
/Zephyr-latest/boards/beagle/beaglev_fire/
Dbeaglev_fire_polarfire_u54.dts8 cpus {
/Zephyr-latest/boards/native/nrf_bsim/
Dirq_handler.c105 if (_kernel.cpus[0].nested == 0) { in posix_irq_handler()
109 _kernel.cpus[0].nested++; in posix_irq_handler()
127 _kernel.cpus[0].nested--; in posix_irq_handler()
/Zephyr-latest/soc/gd/gd32/gd32f4xx/
DKconfig.defconfig.gd32f4707 default $(dt_node_int_prop_int,/cpus/cpu@0,clock-frequency)
/Zephyr-latest/soc/gd/gd32/gd32l23x/
DKconfig.defconfig.gd32l2337 default $(dt_node_int_prop_int,/cpus/cpu@0,clock-frequency)
/Zephyr-latest/soc/gd/gd32/gd32f3x0/
DKconfig.defconfig.gd32f3507 default $(dt_node_int_prop_int,/cpus/cpu@0,clock-frequency)
/Zephyr-latest/soc/gd/gd32/gd32f403/
DKconfig.defconfig.gd32f4037 default $(dt_node_int_prop_int,/cpus/cpu@0,clock-frequency)

12345678910>>...22