/Zephyr-latest/subsys/pm/policy/ |
D | policy_state_lock.c | 18 .substate_id = DT_PROP_OR(node_id, substate_id, 0), \ 35 uint8_t substate_id; member 43 void pm_policy_state_lock_get(enum pm_state state, uint8_t substate_id) in pm_policy_state_lock_get() argument 48 (substate_lock_t[i].substate_id == substate_id || in pm_policy_state_lock_get() 49 substate_id == PM_ALL_SUBSTATES)) { in pm_policy_state_lock_get() 56 void pm_policy_state_lock_put(enum pm_state state, uint8_t substate_id) in pm_policy_state_lock_put() argument 61 (substate_lock_t[i].substate_id == substate_id || in pm_policy_state_lock_put() 62 substate_id == PM_ALL_SUBSTATES)) { in pm_policy_state_lock_put() 73 bool pm_policy_state_lock_is_active(enum pm_state state, uint8_t substate_id) in pm_policy_state_lock_is_active() argument 78 (substate_lock_t[i].substate_id == substate_id || in pm_policy_state_lock_is_active() [all …]
|
/Zephyr-latest/soc/st/stm32/stm32u5x/ |
D | power.c | 56 void set_mode_stop(uint8_t substate_id) in set_mode_stop() argument 61 switch (substate_id) { in set_mode_stop() 91 LOG_DBG("Unsupported power state substate-id %u", substate_id); in set_mode_stop() 96 void set_mode_standby(uint8_t substate_id) in set_mode_standby() argument 98 ARG_UNUSED(substate_id); in set_mode_standby() 104 void pm_state_set(enum pm_state state, uint8_t substate_id) in pm_state_set() argument 108 set_mode_stop(substate_id); in pm_state_set() 112 set_mode_standby(substate_id); in pm_state_set() 127 void pm_state_exit_post_ops(enum pm_state state, uint8_t substate_id) in pm_state_exit_post_ops() argument 131 if (substate_id <= 3) { in pm_state_exit_post_ops() [all …]
|
/Zephyr-latest/soc/st/stm32/stm32l4x/ |
D | power.c | 30 void set_mode_stop(uint8_t substate_id) in set_mode_stop() argument 35 switch (substate_id) { in set_mode_stop() 52 LOG_DBG("Unsupported power state substate-id %u", substate_id); in set_mode_stop() 58 void pm_state_set(enum pm_state state, uint8_t substate_id) in pm_state_set() argument 62 set_mode_stop(substate_id); in pm_state_set() 82 void pm_state_exit_post_ops(enum pm_state state, uint8_t substate_id) in pm_state_exit_post_ops() argument 86 if (substate_id <= 3) { in pm_state_exit_post_ops() 91 substate_id); in pm_state_exit_post_ops()
|
/Zephyr-latest/soc/st/stm32/stm32h5x/ |
D | power.c | 19 void pm_state_set(enum pm_state state, uint8_t substate_id) in pm_state_set() argument 26 switch (substate_id) { in pm_state_set() 36 substate_id); in pm_state_set() 42 void pm_state_exit_post_ops(enum pm_state state, uint8_t substate_id) in pm_state_exit_post_ops() argument 47 switch (substate_id) { in pm_state_exit_post_ops() 55 substate_id); in pm_state_exit_post_ops()
|
/Zephyr-latest/soc/st/stm32/stm32g0x/ |
D | power.c | 23 void pm_state_set(enum pm_state state, uint8_t substate_id) in pm_state_set() argument 30 switch (substate_id) { in pm_state_set() 47 substate_id); in pm_state_set() 53 void pm_state_exit_post_ops(enum pm_state state, uint8_t substate_id) in pm_state_exit_post_ops() argument 58 switch (substate_id) { in pm_state_exit_post_ops() 68 substate_id); in pm_state_exit_post_ops()
|
/Zephyr-latest/soc/st/stm32/stm32g4x/ |
D | power.c | 23 void pm_state_set(enum pm_state state, uint8_t substate_id) in pm_state_set() argument 30 switch (substate_id) { in pm_state_set() 46 LOG_DBG("Unsupported power state substate-id %u", substate_id); in pm_state_set() 52 void pm_state_exit_post_ops(enum pm_state state, uint8_t substate_id) in pm_state_exit_post_ops() argument 57 switch (substate_id) { in pm_state_exit_post_ops() 66 LOG_DBG("Unsupported power substate-id %u", substate_id); in pm_state_exit_post_ops()
|
/Zephyr-latest/soc/st/stm32/stm32l5x/ |
D | power.c | 31 void pm_state_set(enum pm_state state, uint8_t substate_id) in pm_state_set() argument 41 switch (substate_id) { in pm_state_set() 59 substate_id); in pm_state_set() 69 void pm_state_exit_post_ops(enum pm_state state, uint8_t substate_id) in pm_state_exit_post_ops() argument 74 switch (substate_id) { in pm_state_exit_post_ops() 85 substate_id); in pm_state_exit_post_ops()
|
/Zephyr-latest/soc/st/stm32/stm32wbax/ |
D | power.c | 47 static void set_mode_stop(uint8_t substate_id) in set_mode_stop() argument 67 switch (substate_id) { in set_mode_stop() 75 LOG_DBG("Unsupported power state substate-id %u", substate_id); in set_mode_stop() 126 void pm_state_set(enum pm_state state, uint8_t substate_id) in pm_state_set() argument 130 set_mode_stop(substate_id); in pm_state_set() 148 void pm_state_exit_post_ops(enum pm_state state, uint8_t substate_id) in pm_state_exit_post_ops() argument 160 if (substate_id <= 2) { in pm_state_exit_post_ops() 173 substate_id); in pm_state_exit_post_ops()
|
/Zephyr-latest/soc/nordic/nrf54h/ |
D | power.c | 82 static void s2idle_enter(uint8_t substate_id) in s2idle_enter() argument 84 switch (substate_id) { in s2idle_enter() 106 static void s2idle_exit(uint8_t substate_id) in s2idle_exit() argument 108 switch (substate_id) { in s2idle_exit() 174 void pm_state_set(enum pm_state state, uint8_t substate_id) in pm_state_set() argument 178 s2idle_enter(substate_id); in pm_state_set() 180 s2idle_exit(substate_id); in pm_state_set() 197 void pm_state_exit_post_ops(enum pm_state state, uint8_t substate_id) in pm_state_exit_post_ops() argument
|
/Zephyr-latest/soc/st/stm32/stm32wlx/ |
D | power.c | 31 void pm_state_set(enum pm_state state, uint8_t substate_id) in pm_state_set() argument 37 switch (substate_id) { in pm_state_set() 48 LOG_DBG("Unsupported power substate-id %u", substate_id); in pm_state_set() 61 void pm_state_exit_post_ops(enum pm_state state, uint8_t substate_id) in pm_state_exit_post_ops() argument 63 ARG_UNUSED(substate_id); in pm_state_exit_post_ops()
|
/Zephyr-latest/soc/ite/ec/common/ |
D | power.c | 19 void pm_state_set(enum pm_state state, uint8_t substate_id) in pm_state_set() argument 21 ARG_UNUSED(substate_id); in pm_state_set() 34 void pm_state_exit_post_ops(enum pm_state state, uint8_t substate_id) in pm_state_exit_post_ops() argument 37 ARG_UNUSED(substate_id); in pm_state_exit_post_ops()
|
/Zephyr-latest/soc/intel/intel_ish/intel_ish5/pm/ |
D | power.c | 29 void pm_state_set(enum pm_state state, uint8_t substate_id) in pm_state_set() argument 31 LOG_DBG(" -> SoC D0i%u, idle=%u ms", substate_id, in pm_state_set() 52 LOG_DBG("SoC D0i%u ->", substate_id); in pm_state_set() 56 void pm_state_exit_post_ops(enum pm_state state, uint8_t substate_id) in pm_state_exit_post_ops() argument 59 ARG_UNUSED(substate_id); in pm_state_exit_post_ops()
|
/Zephyr-latest/include/zephyr/pm/ |
D | policy.h | 115 void pm_policy_state_lock_get(enum pm_state state, uint8_t substate_id); 126 void pm_policy_state_lock_put(enum pm_state state, uint8_t substate_id); 138 bool pm_policy_state_lock_is_active(enum pm_state state, uint8_t substate_id); 221 static inline void pm_policy_state_lock_get(enum pm_state state, uint8_t substate_id) in pm_policy_state_lock_get() argument 224 ARG_UNUSED(substate_id); in pm_policy_state_lock_get() 227 static inline void pm_policy_state_lock_put(enum pm_state state, uint8_t substate_id) in pm_policy_state_lock_put() argument 230 ARG_UNUSED(substate_id); in pm_policy_state_lock_put() 233 static inline bool pm_policy_state_lock_is_active(enum pm_state state, uint8_t substate_id) in pm_policy_state_lock_is_active() argument 236 ARG_UNUSED(substate_id); in pm_policy_state_lock_is_active()
|
/Zephyr-latest/soc/st/stm32/stm32wbx/ |
D | power.c | 60 void pm_state_set(enum pm_state state, uint8_t substate_id) in pm_state_set() argument 69 switch (substate_id) { in pm_state_set() 85 LOG_DBG("Unsupported power substate-id %u", substate_id); in pm_state_set() 114 void pm_state_exit_post_ops(enum pm_state state, uint8_t substate_id) in pm_state_exit_post_ops() argument 124 switch (substate_id) { in pm_state_exit_post_ops() 135 substate_id); in pm_state_exit_post_ops()
|
/Zephyr-latest/soc/espressif/esp32c3/ |
D | power.c | 15 void pm_state_set(enum pm_state state, uint8_t substate_id) in pm_state_set() argument 17 ARG_UNUSED(substate_id); in pm_state_set() 30 void pm_state_exit_post_ops(enum pm_state state, uint8_t substate_id) in pm_state_exit_post_ops() argument 32 ARG_UNUSED(substate_id); in pm_state_exit_post_ops()
|
/Zephyr-latest/soc/espressif/esp32c6/ |
D | power.c | 15 void pm_state_set(enum pm_state state, uint8_t substate_id) in pm_state_set() argument 17 ARG_UNUSED(substate_id); in pm_state_set() 30 void pm_state_exit_post_ops(enum pm_state state, uint8_t substate_id) in pm_state_exit_post_ops() argument 32 ARG_UNUSED(substate_id); in pm_state_exit_post_ops()
|
/Zephyr-latest/samples/subsys/pm/latency/src/ |
D | pm.c | 38 void pm_state_set(enum pm_state state, uint8_t substate_id) in pm_state_set() argument 40 LOG_INF("Entering %s{%u}", state2str(state), substate_id); in pm_state_set() 44 void pm_state_exit_post_ops(enum pm_state state, uint8_t substate_id) in pm_state_exit_post_ops() argument 47 ARG_UNUSED(substate_id); in pm_state_exit_post_ops()
|
/Zephyr-latest/soc/espressif/esp32/ |
D | power.c | 19 void pm_state_set(enum pm_state state, uint8_t substate_id) in pm_state_set() argument 21 ARG_UNUSED(substate_id); in pm_state_set() 35 void pm_state_exit_post_ops(enum pm_state state, uint8_t substate_id) in pm_state_exit_post_ops() argument 37 ARG_UNUSED(substate_id); in pm_state_exit_post_ops()
|
/Zephyr-latest/soc/espressif/esp32s2/ |
D | power.c | 17 void pm_state_set(enum pm_state state, uint8_t substate_id) in pm_state_set() argument 19 ARG_UNUSED(substate_id); in pm_state_set() 33 void pm_state_exit_post_ops(enum pm_state state, uint8_t substate_id) in pm_state_exit_post_ops() argument 35 ARG_UNUSED(substate_id); in pm_state_exit_post_ops()
|
/Zephyr-latest/soc/espressif/esp32s3/ |
D | power.c | 17 void pm_state_set(enum pm_state state, uint8_t substate_id) in pm_state_set() argument 19 ARG_UNUSED(substate_id); in pm_state_set() 33 void pm_state_exit_post_ops(enum pm_state state, uint8_t substate_id) in pm_state_exit_post_ops() argument 35 ARG_UNUSED(substate_id); in pm_state_exit_post_ops()
|
/Zephyr-latest/soc/silabs/common/ |
D | soc_power.c | 23 void pm_state_set(enum pm_state state, uint8_t substate_id) in pm_state_set() argument 25 ARG_UNUSED(substate_id); in pm_state_set() 66 void pm_state_exit_post_ops(enum pm_state state, uint8_t substate_id) in pm_state_exit_post_ops() argument 69 ARG_UNUSED(substate_id); in pm_state_exit_post_ops()
|
/Zephyr-latest/soc/infineon/cat1b/cyw20829/ |
D | power.c | 23 void pm_state_set(enum pm_state state, uint8_t substate_id) in pm_state_set() argument 25 ARG_UNUSED(substate_id); in pm_state_set() 53 void pm_state_exit_post_ops(enum pm_state state, uint8_t substate_id) in pm_state_exit_post_ops() argument 55 ARG_UNUSED(substate_id); in pm_state_exit_post_ops()
|
/Zephyr-latest/soc/renesas/smartbond/da1469x/ |
D | power.c | 16 void pm_state_set(enum pm_state state, uint8_t substate_id) in pm_state_set() argument 18 ARG_UNUSED(substate_id); in pm_state_set() 38 void pm_state_exit_post_ops(enum pm_state state, uint8_t substate_id) in pm_state_exit_post_ops() argument 41 ARG_UNUSED(substate_id); in pm_state_exit_post_ops()
|
/Zephyr-latest/soc/nxp/imxrt/imxrt6xx/cm33/ |
D | power.c | 25 void pm_state_set(enum pm_state state, uint8_t substate_id) in pm_state_set() argument 27 ARG_UNUSED(substate_id); in pm_state_set() 55 void pm_state_exit_post_ops(enum pm_state state, uint8_t substate_id) in pm_state_exit_post_ops() argument 58 ARG_UNUSED(substate_id); in pm_state_exit_post_ops()
|
/Zephyr-latest/soc/nxp/imxrt/imxrt5xx/cm33/ |
D | power.c | 23 void pm_state_set(enum pm_state state, uint8_t substate_id) in pm_state_set() argument 25 ARG_UNUSED(substate_id); in pm_state_set() 54 void pm_state_exit_post_ops(enum pm_state state, uint8_t substate_id) in pm_state_exit_post_ops() argument 57 ARG_UNUSED(substate_id); in pm_state_exit_post_ops()
|