/Zephyr-latest/tests/subsys/pm/policy_api/ |
D | app.overlay | 3 * SPDX-License-Identifier: Apache-2.0 9 compatible = "zephyr,native-posix-cpu"; 11 cpu-power-states = <&state2>; 15 power-states { 17 compatible = "zephyr,power-state"; 18 power-state-name = "runtime-idle"; 19 min-residency-us = <100000>; 20 exit-latency-us = <10000>; 21 substate-id = <1>; 25 compatible = "zephyr,power-state"; [all …]
|
/Zephyr-latest/soc/st/stm32/stm32h5x/ |
D | power.c | 4 * SPDX-License-Identifier: Apache-2.0 35 LOG_DBG("Unsupported power state substate-id %u", in pm_state_set() 45 LOG_DBG("Unsupported power substate %u", state); in pm_state_exit_post_ops() 54 LOG_DBG("Unsupported power substate-id %u", in pm_state_exit_post_ops()
|
/Zephyr-latest/soc/st/stm32/stm32l5x/ |
D | power.c | 4 * SPDX-License-Identifier: Apache-2.0 23 /* select MSI as wake-up system clock if configured, HSI otherwise */ 38 /* ensure the proper wake-up system clock */ in pm_state_set() 58 LOG_DBG("Unsupported power state substate-id %u", in pm_state_set() 72 LOG_DBG("Unsupported power substate-id %u", state); in pm_state_exit_post_ops() 84 LOG_DBG("Unsupported power substate-id %u", in pm_state_exit_post_ops()
|
/Zephyr-latest/soc/st/stm32/stm32g0x/ |
D | power.c | 3 * Copyright (c) 2021 G-Technologies Sdn. Bhd. 5 * SPDX-License-Identifier: Apache-2.0 46 LOG_DBG("Unsupported power state substate-id %u", in pm_state_set() 56 LOG_DBG("Unsupported power substate %u", state); in pm_state_exit_post_ops() 67 LOG_DBG("Unsupported power substate-id %u", in pm_state_exit_post_ops()
|
/Zephyr-latest/soc/st/stm32/stm32g4x/ |
D | power.c | 3 * Copyright (c) 2021 G-Technologies Sdn. Bhd. 6 * SPDX-License-Identifier: Apache-2.0 46 LOG_DBG("Unsupported power state substate-id %u", substate_id); in pm_state_set() 55 LOG_DBG("Unsupported power substate %u", state); in pm_state_exit_post_ops() 66 LOG_DBG("Unsupported power substate-id %u", substate_id); in pm_state_exit_post_ops()
|
/Zephyr-latest/dts/x86/intel/ |
D | intel_ish5.dtsi | 4 * SPDX-License-Identifier: Apache-2.0 8 #include <dt-bindings/interrupt-controller/intel-ioapic.h> 9 #include <dt-bindings/i2c/i2c.h> 13 power-states { 15 compatible = "zephyr,power-state"; 16 power-state-name = "runtime-idle"; 17 min-residency-us = <500>; 18 substate-id = <1>; 22 compatible = "zephyr,power-state"; 23 power-state-name = "suspend-to-ram"; [all …]
|
/Zephyr-latest/soc/st/stm32/stm32wlx/ |
D | power.c | 4 * SPDX-License-Identifier: Apache-2.0 23 /* select MSI as wake-up system clock if configured, HSI otherwise */ 48 LOG_DBG("Unsupported power substate-id %u", substate_id); in pm_state_set() 73 LOG_DBG("Unsupported power substate-id %u", state); in pm_state_exit_post_ops()
|
/Zephyr-latest/soc/st/stm32/stm32l4x/ |
D | power.c | 4 * SPDX-License-Identifier: Apache-2.0 23 /* select MSI as wake-up system clock if configured, HSI otherwise */ 32 /* ensure the proper wake-up system clock */ in set_mode_stop() 52 LOG_DBG("Unsupported power state substate-id %u", substate_id); in set_mode_stop() 90 LOG_DBG("Unsupported power substate-id %u", in pm_state_exit_post_ops()
|
/Zephyr-latest/dts/bindings/power/ |
D | zephyr,power-state.yaml | 2 # SPDX-License-Identifier: Apache-2.0 6 compatible: "zephyr,power-state" 9 power-state-name: 14 - "active" 15 - "runtime-idle" 16 - "suspend-to-idle" 17 - "standby" 18 - "suspend-to-ram" 19 - "suspend-to-disk" 20 - "soft-off" [all …]
|
/Zephyr-latest/soc/st/stm32/stm32u5x/ |
D | power.c | 4 * SPDX-License-Identifier: Apache-2.0 23 /* select MSI as wake-up system clock if configured, HSI otherwise */ 35 /* Clear all wake-up flags */ in pwr_stop3_isr() 58 /* ensure the proper wake-up system clock */ in set_mode_stop() 91 LOG_DBG("Unsupported power state substate-id %u", substate_id); in set_mode_stop() 147 LOG_DBG("Unsupported power substate-id %u", in pm_state_exit_post_ops()
|
/Zephyr-latest/soc/st/stm32/stm32wbx/ |
D | power.c | 4 * SPDX-License-Identifier: Apache-2.0 66 /* ensure HSI is the wake-up system clock */ in pm_state_set() 85 LOG_DBG("Unsupported power substate-id %u", substate_id); in pm_state_set() 134 LOG_DBG("Unsupported power substate-id %u", in pm_state_exit_post_ops()
|
/Zephyr-latest/soc/st/stm32/stm32l0x/ |
D | power.c | 4 * SPDX-License-Identifier: Apache-2.0 23 /* Select MSI as wake-up system clock if configured, HSI otherwise */ 65 LOG_DBG("Unsupported power substate-id %u", state); in pm_state_exit_post_ops()
|
/Zephyr-latest/soc/st/stm32/stm32wbax/ |
D | power.c | 4 * SPDX-License-Identifier: Apache-2.0 75 LOG_DBG("Unsupported power state substate-id %u", substate_id); in set_mode_stop() 172 LOG_DBG("Unsupported power substate-id %u", in pm_state_exit_post_ops()
|
/Zephyr-latest/include/zephyr/pm/ |
D | policy.h | 4 * SPDX-License-Identifier: Apache-2.0 110 * @param substate_id Power substate ID. Use PM_ALL_SUBSTATES to affect all the 121 * @param substate_id Power substate ID. Use PM_ALL_SUBSTATES to affect all the 132 * @param substate_id Power substate ID. Use PM_ALL_SUBSTATES to affect all the 143 * Events in the power-management policy context are defined as any source that 212 * "next"/"oldest" registered event is in the past, it will return 0. Otherwise it returns -1. 216 * @retval -1 Otherwise 270 return -1; in pm_policy_next_event_ticks()
|
D | pm.h | 2 * Copyright (c) 2012-2014 Wind River Systems, Inc. 4 * SPDX-License-Identifier: Apache-2.0 46 * callback is invoked when transitioning from a non-active state to 161 * @param substate_id Power substate id. 174 * @param substate_id Power substate id. 193 return -ENOSYS; in pm_notifier_unregister()
|
D | state.h | 4 * SPDX-License-Identifier: Apache-2.0 52 * peripherals into low-power states. No operating state is lost (ie. 62 * In addition to putting peripherals into low-power states all 63 * non-boot CPUs are powered off. It should allow more energy to be 76 * self-refresh mode to retain its contents. The state of devices and 77 * CPUs is saved and held in memory, and it may require some boot- 88 * memory are written to disk or other non-volatile storage, and on 89 * resume it's read back into memory with the help of boot-strapping 102 * restarted as if from initial power-up and kernel boot. 123 * power-states { [all …]
|
/Zephyr-latest/soc/st/stm32/stm32f4x/ |
D | power.c | 4 * SPDX-License-Identifier: Apache-2.0 37 * low-power mode takes typically 8us, max 13us more time than with the main in pm_state_set() 39 * It means we have to add significant margin to the exit-latency anyway, in pm_state_set() 40 * so it is worth always using the low-power regulator. in pm_state_set() 67 LOG_DBG("Unsupported power substate-id %u", state); in pm_state_exit_post_ops()
|
/Zephyr-latest/dts/arm/nuvoton/npcx/ |
D | npcx7.dtsi | 4 * SPDX-License-Identifier: Apache-2.0 8 #include "npcx7/npcx7-alts-map.dtsi" 10 #include "npcx7/npcx7-miwus-wui-map.dtsi" 12 #include "npcx7/npcx7-miwus-int-map.dtsi" 14 #include "npcx7/npcx7-espi-vws-map.dtsi" 15 /* NPCX7 series low-voltage io controls mapping table */ 16 #include "npcx7/npcx7-lvol-ctrl-map.dtsi" 24 cpu-power-states = <&suspend_to_idle0 &suspend_to_idle1>; 27 power-states { 28 suspend_to_idle0: suspend-to-idle0 { [all …]
|
D | npcx9.dtsi | 4 * SPDX-License-Identifier: Apache-2.0 8 #include "npcx9/npcx9-alts-map.dtsi" 10 #include "npcx9/npcx9-miwus-wui-map.dtsi" 12 #include "npcx9/npcx9-miwus-int-map.dtsi" 14 #include "npcx9/npcx9-espi-vws-map.dtsi" 15 /* NPCX9 series low-voltage io controls mapping table */ 16 #include "npcx9/npcx9-lvol-ctrl-map.dtsi" 24 cpu-power-states = <&suspend_to_idle0 &suspend_to_idle1>; 27 power-states { 28 suspend_to_idle0: suspend-to-idle0 { [all …]
|
/Zephyr-latest/dts/arm/nxp/ |
D | nxp_ke1xz.dtsi | 4 * SPDX-License-Identifier: Apache-2.0 8 #include "armv6-m.dtsi" 9 #include <zephyr/dt-bindings/adc/adc.h> 10 #include <zephyr/dt-bindings/clock/kinetis_pcc.h> 11 #include <zephyr/dt-bindings/clock/kinetis_scg.h> 12 #include <zephyr/dt-bindings/gpio/gpio.h> 13 #include <zephyr/dt-bindings/i2c/i2c.h> 17 zephyr,flash-controller = &ftfe; 21 #address-cells = <1>; 22 #size-cells = <0>; [all …]
|
D | nxp_ke1xf.dtsi | 2 * Copyright (c) 2019-2021 Vestas Wind Systems A/S 4 * SPDX-License-Identifier: Apache-2.0 7 #include <arm/armv7-m.dtsi> 8 #include <zephyr/dt-bindings/adc/adc.h> 9 #include <zephyr/dt-bindings/clock/kinetis_pcc.h> 10 #include <zephyr/dt-bindings/clock/kinetis_scg.h> 11 #include <zephyr/dt-bindings/gpio/gpio.h> 12 #include <zephyr/dt-bindings/i2c/i2c.h> 20 zephyr,flash-controller = &ftfe; 24 #address-cells = <1>; [all …]
|
/Zephyr-latest/soc/nuvoton/npcx/common/ |
D | power.c | 4 * SPDX-License-Identifier: Apache-2.0 17 * +--------------------------------------------------------------------------+ 19 * |--------------------------------------------------------------------------| 24 * | Stand-By | Off | Off | Off | Off | Off | Off | On | 25 * +--------------------------------------------------------------------------+ 27 * LFCLK - Low-Frequency Clock. Its frequency is fixed to 32kHz. 28 * HFCLK - High-Frequency (PLL) Clock. Its frequency is configured to OFMCLK. 32 * - A delay of 'Instant' wake-up from 'Deep Sleep' is 20 us. 33 * - A delay of 'Standard' wake-up from 'Deep Sleep' is 3.43 ms. 34 * - Max residency time in Deep Sleep for 'Instant' wake-up is 200 ms [all …]
|
/Zephyr-latest/dts/arm/st/wba/ |
D | stm32wba.dtsi | 2 * Copyright (c) 2023-2024 STMicroelectronics 4 * SPDX-License-Identifier: Apache-2.0 8 #include <arm/armv8-m.dtsi> 9 #include <zephyr/dt-bindings/memory-attr/memory-attr-arm.h> 10 #include <zephyr/dt-bindings/clock/stm32wba_clock.h> 11 #include <zephyr/dt-bindings/reset/stm32wba_reset.h> 12 #include <zephyr/dt-bindings/adc/stm32u5_adc.h> 13 #include <zephyr/dt-bindings/gpio/gpio.h> 14 #include <zephyr/dt-bindings/i2c/i2c.h> 15 #include <zephyr/dt-bindings/pwm/pwm.h> [all …]
|
/Zephyr-latest/dts/arm/st/l4/ |
D | stm32l4.dtsi | 6 * SPDX-License-Identifier: Apache-2.0 10 #include <arm/armv7-m.dtsi> 11 #include <zephyr/dt-bindings/clock/stm32l4_clock.h> 12 #include <zephyr/dt-bindings/i2c/i2c.h> 13 #include <zephyr/dt-bindings/gpio/gpio.h> 14 #include <zephyr/dt-bindings/pwm/pwm.h> 15 #include <zephyr/dt-bindings/adc/adc.h> 16 #include <zephyr/dt-bindings/pwm/stm32_pwm.h> 17 #include <zephyr/dt-bindings/dma/stm32_dma.h> 18 #include <zephyr/dt-bindings/adc/stm32l4_adc.h> [all …]
|
/Zephyr-latest/dts/arm/st/wl/ |
D | stm32wl.dtsi | 2 * Copyright (c) 2020-2024 STMicroelectronics 4 * SPDX-License-Identifier: Apache-2.0 7 #include <arm/armv7-m.dtsi> 8 #include <zephyr/dt-bindings/clock/stm32wl_clock.h> 9 #include <zephyr/dt-bindings/gpio/gpio.h> 10 #include <zephyr/dt-bindings/i2c/i2c.h> 11 #include <zephyr/dt-bindings/lora/sx126x.h> 12 #include <zephyr/dt-bindings/pwm/pwm.h> 13 #include <zephyr/dt-bindings/adc/adc.h> 14 #include <zephyr/dt-bindings/pwm/stm32_pwm.h> [all …]
|