/Zephyr-latest/soc/telink/tlsr/tlsr951x/ |
D | soc.c | 60 #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/ |
D | state.c | 11 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/ |
D | kernel_arch_func.h | 35 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/ |
D | smp.c | 48 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()
|
D | ipi_clint.c | 30 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/ |
D | main.c | 80 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/ |
D | arch_inlines.h | 24 return &_kernel.cpus[core]; in arch_curr_cpu() 26 return &_kernel.cpus[0]; in arch_curr_cpu()
|
/Zephyr-latest/arch/arm/core/cortex_m/ |
D | exc_exit.c | 59 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/ |
D | Kconfig.ws2812 | 56 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/ |
D | irq_handler.c | 79 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/ |
D | irq_handler.c | 87 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/ |
D | atmel_sam_dt.h | 19 DT_PROP(DT_PATH(cpus, cpu_0), clock_frequency)
|
/Zephyr-latest/soc/snps/arc_iot/ |
D | soc.c | 16 #define CPU_FREQ DT_PROP(DT_PATH(cpus, cpu_0), clock_frequency)
|
/Zephyr-latest/kernel/ |
D | init.c | 598 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/ |
D | irq_manage.c | 83 _kernel.cpus[0].nested++; in _enter_irq() 107 _kernel.cpus[0].nested--; in _enter_irq()
|
/Zephyr-latest/include/zephyr/arch/x86/ia32/ |
D | arch.h | 283 ++_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/ |
D | m2gl025_miv.repl | 3 using "platforms/cpus/miv.repl"
|
/Zephyr-latest/boards/sifive/hifive_unleashed/ |
D | hifive_unleashed_u54.dts | 12 cpus {
|
/Zephyr-latest/boards/sifive/hifive_unmatched/ |
D | hifive_unmatched_u74.dts | 12 cpus {
|
/Zephyr-latest/boards/beagle/beaglev_fire/ |
D | beaglev_fire_polarfire_u54.dts | 8 cpus {
|
/Zephyr-latest/boards/native/nrf_bsim/ |
D | irq_handler.c | 105 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/ |
D | Kconfig.defconfig.gd32f470 | 7 default $(dt_node_int_prop_int,/cpus/cpu@0,clock-frequency)
|
/Zephyr-latest/soc/gd/gd32/gd32l23x/ |
D | Kconfig.defconfig.gd32l233 | 7 default $(dt_node_int_prop_int,/cpus/cpu@0,clock-frequency)
|
/Zephyr-latest/soc/gd/gd32/gd32f3x0/ |
D | Kconfig.defconfig.gd32f350 | 7 default $(dt_node_int_prop_int,/cpus/cpu@0,clock-frequency)
|
/Zephyr-latest/soc/gd/gd32/gd32f403/ |
D | Kconfig.defconfig.gd32f403 | 7 default $(dt_node_int_prop_int,/cpus/cpu@0,clock-frequency)
|