Home
last modified time | relevance | path

Searched full:idle (Results 1 – 25 of 485) sorted by relevance

12345678910>>...20

/Zephyr-latest/arch/arm/core/cortex_m/
Disr_wrapper.c41 * All interrupts are disabled when handling idle wakeup. For tickless in _isr_wrapper()
42 * idle, this ensures that the calculation and programming of the in _isr_wrapper()
44 * non-tickless idle, this ensures that the clearing of the kernel idle in _isr_wrapper()
50 * Disable interrupts to prevent nesting while exiting idle state. This in _isr_wrapper()
57 /* is this a wakeup from idle ? */ in _isr_wrapper()
58 /* requested idle duration, in ticks */ in _isr_wrapper()
59 if (_kernel.idle != 0) { in _isr_wrapper()
60 /* clear kernel idle state */ in _isr_wrapper()
61 _kernel.idle = 0; in _isr_wrapper()
/Zephyr-latest/dts/bindings/input/
Dgpio-qdec.yaml24 idle-timeout-ms = <200>;
49 idle-poll-time-us are specified, can be explicitly set to 0 for no delay.
71 idle-poll-time-us:
75 driver will use the GPIO interrupt to exit idle state, and any GPIO
77 the driver will poll every idle-poll-time-us microseconds while idle, and
80 idle-timeout-ms:
85 timer and going back to idle state.
/Zephyr-latest/kernel/
Didle.c21 void idle(void *unused1, void *unused2, void *unused3) in idle() function
31 * enter an idle state, because they can't be notified in idle()
53 _kernel.idle = z_get_next_timeout_expiry(); in idle()
59 * which case, kernel does normal idle processing. in idle()
64 * This is because the kernel does not do its own idle in idle()
66 * The kernel's idle processing re-enables interrupts in idle()
70 if (k_is_pre_kernel() || !pm_system_suspend(_kernel.idle)) { in idle()
79 /* A legacy mess: the idle thread is by definition in idle()
85 * explicitly yield in the idle thread otherwise in idle()
/Zephyr-latest/samples/subsys/pm/latency/boards/
Dnative_sim.overlay8 runtime_idle: runtime-idle {
10 power-state-name = "runtime-idle";
14 suspend_to_idle: suspend-to-idle {
16 power-state-name = "suspend-to-idle";
/Zephyr-latest/dts/bindings/power/
Dzephyr,power-state.yaml15 - "runtime-idle"
16 - "suspend-to-idle"
28 given idle state to be worthwhile energywise. It includes the time to enter
33 Worst case latency in microseconds required to exit the idle state.
/Zephyr-latest/doc/kernel/services/threads/
Dsystem_threads.rst30 **Idle thread**
32 If possible, the idle thread activates the board's power management support
33 to save power; otherwise, the idle thread simply performs a "do nothing"
34 loop. The idle thread remains in existence as long as the system is running
37 The idle thread always uses the lowest configured thread priority.
38 If this makes it a cooperative thread, the idle thread repeatedly
42 The idle thread is an essential thread, which means a fatal system error
/Zephyr-latest/tests/kernel/profiling/profiling_api/src/
Dmain.c43 * This test prints the main, idle, interrupt and system workqueue
57 * @brief Test stack usage through idle thread
59 * This test prints the main, idle, interrupt and system workqueue
60 * stack usage through idle thread.
69 TC_PRINT("from idle thread:\n"); in ZTEST()
76 * This test prints the main, idle, interrupt and system workqueue
/Zephyr-latest/drivers/timer/
DKconfig.cortex_m_systick6 DT_CHOSEN_IDLE_TIMER := zephyr,cortex-m-idle-timer
47 bool "Use an additional timer while entering IDLE"
58 Use the IDLE timer for timeout (wakeup) when the system is entering
59 IDLE state.
61 The chosen IDLE timer node has to support setting alarm from the
Dcortex_m_systick.c81 * entering idle state.
83 * It is used for chips that has to use a separate idle timer in such
89 /* Cycle counter before entering the idle state. */
92 /* Idle timer value before entering the idle state. */
95 /* Idle timer used for timer while entering the idle state */
186 * LOAD value, just before entering the idle mode (SysTick is clocked) or right in sys_clock_isr()
187 * after exiting the idle mode, before executing the procedure in the in sys_clock_isr()
224 void sys_clock_set_timeout(int32_t ticks, bool idle) in sys_clock_set_timeout() argument
226 /* Fast CPUs and a 24 bit counter mean that even idle systems in sys_clock_set_timeout()
228 * allows us to miss tick announcements in idle, then shut off in sys_clock_set_timeout()
[all …]
/Zephyr-latest/dts/bindings/flash_controller/
Drenesas,smartbond-flash-controller.yaml11 read-cs-idle-delay:
16 in idle state (QSPI_CS high) for at least this number
19 erase-cs-idle-delay:
/Zephyr-latest/samples/boards/st/power_mgmt/blinky/boards/
Dnucleo_f429zi.conf1 # Increase IDLE stack for the IDLE timer
/Zephyr-latest/subsys/usb/device/class/hid/
DKconfig47 int "Number of HID idle reports in the instance"
52 support USB HID idle rate and Set/Get Idle Requests.
58 idle rate must be supported.
/Zephyr-latest/soc/intel/intel_adsp/common/include/
Dsoc.h33 * current CPU or CPU 0. The CPU must be idle; no application threads
35 * CPU must be guaranteed to reach idle in finite time without
37 * the idle thread, and synchronization is an application
39 * reach idle.
/Zephyr-latest/arch/arm/core/cortex_a_r/
Disr_wrapper.S155 * All interrupts are disabled when handling idle wakeup. For tickless
156 * idle, this ensures that the calculation and programming of the
158 * non-tickless idle, this ensures that the clearing of the kernel idle
163 /* is this a wakeup from idle ? */
165 /* requested idle duration, in ticks */
171 /* clear kernel idle state */
268 * All interrupts are disabled when handling idle wakeup. For tickless
269 * idle, this ensures that the calculation and programming of the
271 * non-tickless idle, this ensures that the clearing of the kernel idle
276 /* is this a wakeup from idle ? */
[all …]
/Zephyr-latest/subsys/pm/policy/
DKconfig6 prompt "Idle State Power Management Policy"
9 Select the idle state power management policy.
42 CPU idle states). Because the API has a subscription mechanism, it can
/Zephyr-latest/soc/ambiq/apollo4x/
DKconfig.defconfig9 # Need to enlarge the IDLE stack size because the power
10 # management operations are executed in the idle task
/Zephyr-latest/soc/ambiq/apollo3x/
DKconfig.defconfig9 # Need to enlarge the IDLE stack size because the power
10 # management operations are executed in the idle task
/Zephyr-latest/dts/arm/microchip/
Dmec172xnsz.dtsi29 cpu-power-states = <&idle &suspend_to_ram>;
33 idle: idle { label
35 power-state-name = "suspend-to-idle";
Dmec1727nsz.dtsi28 cpu-power-states = <&idle &suspend_to_ram>;
32 idle: idle { label
34 power-state-name = "suspend-to-idle";
/Zephyr-latest/include/zephyr/pm/
Dstate.h37 * @brief Runtime idle state
39 * Runtime idle is a system sleep state in which all of the cores
40 * enter deepest possible idle state and wait for interrupts, no
48 * @brief Suspend to idle state
51 * all of the cores in deepest possible idle state and *may* puts
64 * saved relative to suspend to idle, but the resume latency will
66 * state with suspend to idle state on uniprocessor system.
126 * power-state-name = "suspend-to-idle";
133 * power-state-name = "suspend-to-idle";
155 * time for a given idle state to be worthwhile energywise.
[all …]
/Zephyr-latest/subsys/logging/
Dlog_cache.c27 sys_slist_init(&cache->idle); in log_cache_init()
39 /* Add all entries to idle list */ in log_cache_init()
41 sys_slist_append(&cache->idle, &entry->node); in log_cache_init()
81 sys_snode_t *from_idle = sys_slist_get(&cache->idle); in log_cache_get()
110 sys_slist_prepend(&cache->idle, &entry->node); in log_cache_release()
/Zephyr-latest/soc/infineon/cat1b/cyw20829/
Dpower.c32 LOG_DBG("Entering PM state suspend to idle"); in pm_state_set()
41 * if the Zephyr idle function executes the wfi instruction in pm_state_set()
69 /* System Domain Idle Power Mode Configuration */ in ifx_pm_init()
/Zephyr-latest/soc/nordic/nrf54h/
Dpower.c86 /* Substate for idle with cache powered on - not implemented yet. */ in s2idle_enter()
88 case 1: /* Substate for idle with cache retained - not implemented yet. */ in s2idle_enter()
90 case 2: /* Substate for idle with cache disabled. */ in s2idle_enter()
110 /* Substate for idle with cache powered on - not implemented yet. */ in s2idle_exit()
112 case 1: /* Substate for idle with cache retained - not implemented yet. */ in s2idle_exit()
114 case 2: /* Substate for idle with cache disabled. */ in s2idle_exit()
/Zephyr-latest/include/zephyr/kernel/
Dthread.h111 /* True for the per-CPU idle threads */
210 * For CPU stats, execution_cycles is the sum of non-idle + idle cycles.
213 uint64_t execution_cycles; /* total # of cycles (cpu: non-idle + idle) */
214 uint64_t total_cycles; /* total # of non-idle cycles */
222 * non-idle threads as bounded by the idle thread(s).
225 uint64_t current_cycles; /* current # of non-idle cycles */
226 uint64_t peak_cycles; /* peak # of non-idle cycles */
227 uint64_t average_cycles; /* average # of non-idle cycles */
/Zephyr-latest/dts/bindings/i2c/
Dnxp,lpi2c.yaml14 bus-idle-timeout:
16 description: Bus idle timeout in nanoseconds

12345678910>>...20