Home
last modified time | relevance | path

Searched refs:substate_id (Results 1 – 25 of 47) sorted by relevance

12

/Zephyr-Core-3.7.0/soc/st/stm32/stm32u5x/
Dpower.c56 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-Core-3.7.0/soc/st/stm32/stm32l4x/
Dpower.c30 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-Core-3.7.0/soc/st/stm32/stm32h5x/
Dpower.c19 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-Core-3.7.0/soc/st/stm32/stm32g0x/
Dpower.c23 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-Core-3.7.0/soc/st/stm32/stm32g4x/
Dpower.c23 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-Core-3.7.0/soc/st/stm32/stm32l5x/
Dpower.c31 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-Core-3.7.0/soc/st/stm32/stm32wbax/
Dpower.c47 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-Core-3.7.0/soc/ite/ec/common/
Dpower.c19 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-Core-3.7.0/soc/st/stm32/stm32wlx/
Dpower.c31 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-Core-3.7.0/include/zephyr/pm/
Dpolicy.h115 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);
250 static inline void pm_policy_state_lock_get(enum pm_state state, uint8_t substate_id) in pm_policy_state_lock_get() argument
253 ARG_UNUSED(substate_id); in pm_policy_state_lock_get()
256 static inline void pm_policy_state_lock_put(enum pm_state state, uint8_t substate_id) in pm_policy_state_lock_put() argument
259 ARG_UNUSED(substate_id); in pm_policy_state_lock_put()
262 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
265 ARG_UNUSED(substate_id); in pm_policy_state_lock_is_active()
/Zephyr-Core-3.7.0/soc/st/stm32/stm32wbx/
Dpower.c59 void pm_state_set(enum pm_state state, uint8_t substate_id) in pm_state_set() argument
68 switch (substate_id) { in pm_state_set()
84 LOG_DBG("Unsupported power substate-id %u", substate_id); in pm_state_set()
102 void pm_state_exit_post_ops(enum pm_state state, uint8_t substate_id) in pm_state_exit_post_ops() argument
112 switch (substate_id) { in pm_state_exit_post_ops()
123 substate_id); in pm_state_exit_post_ops()
/Zephyr-Core-3.7.0/soc/espressif/esp32c3/
Dpower.c15 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-Core-3.7.0/soc/intel/intel_ish/intel_ish5/pm/
Dpower.c29 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-Core-3.7.0/samples/subsys/pm/latency/src/
Dpm.c38 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-Core-3.7.0/soc/espressif/esp32/
Dpower.c19 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-Core-3.7.0/soc/espressif/esp32s2/
Dpower.c17 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-Core-3.7.0/soc/espressif/esp32s3/
Dpower.c17 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-Core-3.7.0/subsys/pm/
Dpolicy.c25 .substate_id = DT_PROP_OR(node_id, substate_id, 0), \
42 uint8_t substate_id; member
73 .substate_id = DT_PROP_OR(node_id, substate_id, 0), \
261 if (pm_policy_state_lock_is_active(state->state, state->substate_id)) { in pm_policy_next_state()
284 void pm_policy_state_lock_get(enum pm_state state, uint8_t substate_id) in pm_policy_state_lock_get() argument
289 (substate_lock_t[i].substate_id == substate_id || in pm_policy_state_lock_get()
290 substate_id == PM_ALL_SUBSTATES)) { in pm_policy_state_lock_get()
297 void pm_policy_state_lock_put(enum pm_state state, uint8_t substate_id) in pm_policy_state_lock_put() argument
302 (substate_lock_t[i].substate_id == substate_id || in pm_policy_state_lock_put()
303 substate_id == PM_ALL_SUBSTATES)) { in pm_policy_state_lock_put()
[all …]
/Zephyr-Core-3.7.0/soc/silabs/common/
Dsoc_power.c23 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-Core-3.7.0/soc/nxp/imxrt/imxrt6xx/cm33/
Dpower.c25 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-Core-3.7.0/soc/renesas/smartbond/da1469x/
Dpower.c16 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-Core-3.7.0/soc/st/stm32/stm32f4x/
Dpower.c28 void pm_state_set(enum pm_state state, uint8_t substate_id) in pm_state_set() argument
30 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
56 ARG_UNUSED(substate_id); in pm_state_exit_post_ops()
/Zephyr-Core-3.7.0/soc/microchip/mec/mec15xx/
Dpower.c105 void pm_state_set(enum pm_state state, uint8_t substate_id) in pm_state_set() argument
107 ARG_UNUSED(substate_id); in pm_state_set()
129 void pm_state_exit_post_ops(enum pm_state state, uint8_t substate_id) in pm_state_exit_post_ops() argument
131 ARG_UNUSED(substate_id); in pm_state_exit_post_ops()
/Zephyr-Core-3.7.0/soc/nxp/imxrt/imxrt5xx/cm33/
Dpower.c23 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()
/Zephyr-Core-3.7.0/soc/nxp/kinetis/ke1xf/
Dpower.c28 void pm_state_set(enum pm_state state, uint8_t substate_id) in pm_state_set() argument
36 SMC->STOPCTRL = SMC_STOPCTRL_PSTOPO(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
56 ARG_UNUSED(substate_id); in pm_state_exit_post_ops()

12