/Zephyr-Core-3.5.0/dts/bindings/power/ |
D | zephyr,power-state.yaml | 15 - "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-Core-3.5.0/kernel/ |
D | idle.c | 36 void idle(void *unused1, void *unused2, void *unused3) in idle() function 46 * enter an idle state, because they can't be notified in idle() 68 _kernel.idle = z_get_next_timeout_expiry(); in idle() 74 * which case, kernel does normal idle processing. in idle() 79 * This is because the kernel does not do its own idle in idle() 81 * The kernel's idle processing re-enables interrupts in idle() 85 if (k_is_pre_kernel() || !pm_system_suspend(_kernel.idle)) { in idle() 94 /* A legacy mess: the idle thread is by definition in idle() 100 * explicitly yield in the idle thread otherwise in idle()
|
/Zephyr-Core-3.5.0/samples/subsys/pm/latency/boards/ |
D | native_posix.overlay | 8 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-Core-3.5.0/arch/arm/core/cortex_m/ |
D | isr_wrapper.S | 56 * All interrupts are disabled when handling idle wakeup. For tickless 57 * idle, this ensures that the calculation and programming of the 59 * non-tickless idle, this ensures that the clearing of the kernel idle 65 * Disable interrupts to prevent nesting while exiting idle state. This 72 /* is this a wakeup from idle ? */ 74 /* requested idle duration, in ticks */ 81 /* clear kernel idle state */ 89 /* clear kernel idle state */
|
/Zephyr-Core-3.5.0/doc/kernel/services/threads/ |
D | system_threads.rst | 30 **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-Core-3.5.0/tests/kernel/profiling/profiling_api/src/ |
D | main.c | 61 * This test prints the main, idle, interrupt and system workqueue 75 * @brief Test stack usage through idle thread 77 * This test prints the main, idle, interrupt and system workqueue 78 * stack usage through idle thread. 87 TC_PRINT("from idle thread:\n"); in ZTEST() 94 * This test prints the main, idle, interrupt and system workqueue
|
/Zephyr-Core-3.5.0/dts/bindings/flash_controller/ |
D | renesas,smartbond-flash-controller.yaml | 11 read-cs-idle-delay: 16 in idle state (QSPI_CS high) for at least this number 19 erase-cs-idle-delay:
|
/Zephyr-Core-3.5.0/subsys/usb/device/class/hid/ |
D | Kconfig | 47 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-Core-3.5.0/soc/xtensa/intel_adsp/common/include/ |
D | soc.h | 37 * current CPU or CPU 0. The CPU must be idle; no application threads 39 * CPU must be guaranteed to reach idle in finite time without 41 * the idle thread, and synchronization is an application 43 * reach idle.
|
/Zephyr-Core-3.5.0/subsys/logging/ |
D | log_cache.c | 25 sys_slist_init(&cache->idle); in log_cache_init() 32 /* Add all entries to idle list */ in log_cache_init() 34 sys_slist_append(&cache->idle, &entry->node); in log_cache_init() 74 sys_snode_t *from_idle = sys_slist_get(&cache->idle); in log_cache_get() 103 sys_slist_prepend(&cache->idle, &entry->node); in log_cache_release()
|
/Zephyr-Core-3.5.0/include/zephyr/pm/ |
D | state.h | 37 * @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"; 145 * time for a given idle state to be worthwhile energywise. [all …]
|
/Zephyr-Core-3.5.0/tests/subsys/pm/power_mgmt/src/ |
D | main.c | 228 /* make sure this is idle thread */ in pm_policy_next_state() 230 zassert_true(ticks == _kernel.idle); in pm_policy_next_state() 247 /* implement in application, called by idle thread */ 272 /* implement in application, called by idle thread */ 291 * @brief test power idle 294 * - The global idle routine executes when no other work is available 295 * - The idle routine provide a timeout parameter to the suspend routine 307 TC_PRINT("give way to idle thread\n"); in ZTEST() 309 zassert_true(idle_entered, "Never entered idle thread"); in ZTEST() 323 * - The application can control system power state transitions in idle thread [all …]
|
/Zephyr-Core-3.5.0/include/zephyr/kernel/ |
D | thread.h | 111 /* True for the per-CPU idle threads */ 200 uint64_t total_cycles; /* total # of non-idle cycles */ 203 * as the total # of non-idle cycles. In the context of CPU statistics, 204 * it refers to the sum of non-idle + idle cycles. 213 * non-idle threads as bounded by the idle thread(s). 216 uint64_t current_cycles; /* current # of non-idle cycles */ 217 uint64_t peak_cycles; /* peak # of non-idle cycles */ 218 uint64_t average_cycles; /* average # of non-idle cycles */
|
/Zephyr-Core-3.5.0/dts/bindings/input/ |
D | gpio-qdec.yaml | 24 idle-timeout-ms = <200>; 58 idle-timeout-ms: 63 timer and going back to idle state.
|
/Zephyr-Core-3.5.0/subsys/pm/ |
D | Kconfig | 18 policies whenever the kernel becomes idle. The kernel informs the 41 bool "System Low Power Mode Needs All Devices Idle" 48 prompt "Idle State Power Management Policy" 51 Select the idle state power management policy.
|
/Zephyr-Core-3.5.0/dts/bindings/i2c/ |
D | nxp,imx-lpi2c.yaml | 17 bus-idle-timeout: 19 description: Bus idle timeout in nanoseconds
|
/Zephyr-Core-3.5.0/soc/riscv/espressif_esp32/esp32c3/ |
D | idle.c | 12 * @brief Power save idle routine 14 * This function will be called by the kernel idle loop or possibly within
|
/Zephyr-Core-3.5.0/arch/arm/core/cortex_a_r/ |
D | isr_wrapper.S | 153 * All interrupts are disabled when handling idle wakeup. For tickless 154 * idle, this ensures that the calculation and programming of the 156 * non-tickless idle, this ensures that the clearing of the kernel idle 161 /* is this a wakeup from idle ? */ 163 /* requested idle duration, in ticks */ 169 /* clear kernel idle state */
|
/Zephyr-Core-3.5.0/drivers/timer/ |
D | native_posix_timer.c | 73 * @param idle Hint to the driver that the system is about to enter 74 * the idle state immediately after setting the timeout 76 void sys_clock_set_timeout(int32_t ticks, bool idle) in sys_clock_set_timeout() argument 78 ARG_UNUSED(idle); in sys_clock_set_timeout()
|
/Zephyr-Core-3.5.0/samples/boards/ti/cc13x2_cc26x2/system_off/ |
D | README.rst | 14 * Sleep for 2 milliseconds (Idle mode) 44 5. Device will demonstrate active, idle and standby modes. 61 Sleep 2000 us (IDLE)
|
/Zephyr-Core-3.5.0/doc/services/pm/ |
D | system.rst | 6 The kernel enters the idle state when it has nothing to schedule. If enabled via 8 Subsystem can put an idle system in one of the supported power states, based 9 on the selected power management policy and the duration of the idle time 65 idle time duration.
|
/Zephyr-Core-3.5.0/tests/kernel/tickless/tickless_concept/src/ |
D | main.c | 64 * @brief Verify system clock with and without tickless idle 67 * when tickless idle is enabled and disabled. 78 /**TESTPOINT: verify system clock recovery after exiting tickless idle*/ in ZTEST() 86 /**TESTPOINT: verify system clock recovery after exiting tickful idle*/ in ZTEST()
|
/Zephyr-Core-3.5.0/doc/kernel/services/scheduling/ |
D | index.rst | 263 Although normally reserved for the idle thread, in certain special 264 applications, a thread might want to make the CPU idle. 273 Making the CPU idle causes the kernel to pause all operations until an event, 274 normally an interrupt, wakes up the CPU. In a regular system, the idle thread 281 Making the CPU idle 284 Making the CPU idle is simple: call the k_cpu_idle() API. The CPU will stop 318 Making the CPU idle in an atomic fashion 322 the CPU idle. In such a case, k_cpu_atomic_idle() should be used instead. 326 and making the CPU idle again. In some systems, this can cause the CPU to idle 351 * again); else, make the CPU idle. [all …]
|
/Zephyr-Core-3.5.0/include/zephyr/sip_svc/ |
D | sip_svc.h | 31 * - IDLE : Initial state. 32 * - OPEN : The client will switch from IDLE to OPEN once it 34 * will switch from OPEN to IDLE state once it successfully 38 * will only move the client back to IDLE state once all 64 * On success, the client will be at IDLE state in the service and 92 * @retval -ECANCELED if client is not in IDLE state.
|
/Zephyr-Core-3.5.0/arch/arm/ |
D | Kconfig | 52 the CPU is made idle (by k_cpu_idle() or k_cpu_atomic_idle()). 60 the CPU is made idle (by k_cpu_idle() or k_cpu_atomic_idle()). 70 instructions of the cpu idle implementation.
|