Home
last modified time | relevance | path

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

12

/Zephyr-Core-3.5.0/soc/arm/st_stm32/stm32wba/
Dpower.c22 void set_mode_stop(uint8_t substate_id) in set_mode_stop() argument
24 switch (substate_id) { in set_mode_stop()
32 LOG_DBG("Unsupported power state substate-id %u", substate_id); in set_mode_stop()
37 void set_mode_standby(uint8_t substate_id) in set_mode_standby() argument
39 ARG_UNUSED(substate_id); in set_mode_standby()
45 void pm_state_set(enum pm_state state, uint8_t substate_id) in pm_state_set() argument
49 set_mode_stop(substate_id); in pm_state_set()
53 set_mode_standby(substate_id); in pm_state_set()
68 void pm_state_exit_post_ops(enum pm_state state, uint8_t substate_id) in pm_state_exit_post_ops() argument
72 if (substate_id <= 2) { in pm_state_exit_post_ops()
[all …]
/Zephyr-Core-3.5.0/soc/arm/st_stm32/stm32u5/
Dpower.c29 void set_mode_stop(uint8_t substate_id) in set_mode_stop() argument
34 switch (substate_id) { in set_mode_stop()
45 LOG_DBG("Unsupported power state substate-id %u", substate_id); in set_mode_stop()
50 void set_mode_standby(uint8_t substate_id) in set_mode_standby() argument
52 ARG_UNUSED(substate_id); in set_mode_standby()
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()
66 set_mode_standby(substate_id); in pm_state_set()
81 void pm_state_exit_post_ops(enum pm_state state, uint8_t substate_id) in pm_state_exit_post_ops() argument
85 if (substate_id <= 3) { in pm_state_exit_post_ops()
[all …]
/Zephyr-Core-3.5.0/soc/arm/st_stm32/stm32l4/
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.5.0/soc/arm/st_stm32/stm32g0/
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.5.0/soc/arm/st_stm32/stm32g4/
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.5.0/soc/arm/st_stm32/stm32l5/
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.5.0/include/zephyr/pm/
Dpolicy.h114 void pm_policy_state_lock_get(enum pm_state state, uint8_t substate_id);
125 void pm_policy_state_lock_put(enum pm_state state, uint8_t substate_id);
137 bool pm_policy_state_lock_is_active(enum pm_state state, uint8_t substate_id);
223 static inline void pm_policy_state_lock_get(enum pm_state state, uint8_t substate_id) in pm_policy_state_lock_get() argument
226 ARG_UNUSED(substate_id); in pm_policy_state_lock_get()
229 static inline void pm_policy_state_lock_put(enum pm_state state, uint8_t substate_id) in pm_policy_state_lock_put() argument
232 ARG_UNUSED(substate_id); in pm_policy_state_lock_put()
235 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
238 ARG_UNUSED(substate_id); in pm_policy_state_lock_is_active()
/Zephyr-Core-3.5.0/soc/riscv/riscv-ite/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.5.0/soc/arm/st_stm32/stm32wl/
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.5.0/soc/arm/st_stm32/stm32wb/
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.5.0/soc/riscv/espressif_esp32/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.5.0/soc/x86/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.5.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.5.0/soc/xtensa/espressif_esp32/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.5.0/soc/xtensa/espressif_esp32/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.5.0/subsys/pm/
Dpolicy.c23 .substate_id = DT_PROP_OR(node_id, substate_id, 0), \
40 uint8_t substate_id; member
178 if (pm_policy_state_lock_is_active(state->state, state->substate_id)) { in pm_policy_next_state()
201 void pm_policy_state_lock_get(enum pm_state state, uint8_t substate_id) in pm_policy_state_lock_get() argument
206 (substate_lock_t[i].substate_id == substate_id || in pm_policy_state_lock_get()
207 substate_id == PM_ALL_SUBSTATES)) { in pm_policy_state_lock_get()
214 void pm_policy_state_lock_put(enum pm_state state, uint8_t substate_id) in pm_policy_state_lock_put() argument
219 (substate_lock_t[i].substate_id == substate_id || in pm_policy_state_lock_put()
220 substate_id == PM_ALL_SUBSTATES)) { in pm_policy_state_lock_put()
231 bool pm_policy_state_lock_is_active(enum pm_state state, uint8_t substate_id) in pm_policy_state_lock_is_active() argument
[all …]
/Zephyr-Core-3.5.0/soc/arm/silabs_exx32/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()
Dsoc_power_pmgr.c24 void pm_state_set(enum pm_state state, uint8_t substate_id) in pm_state_set() argument
26 ARG_UNUSED(substate_id); in pm_state_set()
76 void pm_state_exit_post_ops(enum pm_state state, uint8_t substate_id) in pm_state_exit_post_ops() argument
79 ARG_UNUSED(substate_id); in pm_state_exit_post_ops()
/Zephyr-Core-3.5.0/soc/arm/nxp_imx/rt6xx/
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.5.0/soc/arm/microchip_mec/mec1501/
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.5.0/soc/arm/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()
/Zephyr-Core-3.5.0/soc/arm/st_stm32/stm32l0/
Dpower.c31 void pm_state_set(enum pm_state state, uint8_t substate_id) in pm_state_set() argument
33 ARG_UNUSED(substate_id); in pm_state_set()
51 void pm_state_exit_post_ops(enum pm_state state, uint8_t substate_id) in pm_state_exit_post_ops() argument
53 ARG_UNUSED(substate_id); in pm_state_exit_post_ops()
/Zephyr-Core-3.5.0/soc/arm/nuvoton_npcx/common/
Dpower.c202 void pm_state_set(enum pm_state state, uint8_t substate_id) in pm_state_set() argument
207 switch (substate_id) { in pm_state_set()
224 substate_id); in pm_state_set()
231 void pm_state_exit_post_ops(enum pm_state state, uint8_t substate_id) in pm_state_exit_post_ops() argument
236 switch (substate_id) { in pm_state_exit_post_ops()
247 substate_id); in pm_state_exit_post_ops()
/Zephyr-Core-3.5.0/soc/arm/nxp_imx/rt5xx/
Dpower.c46 void pm_state_set(enum pm_state state, uint8_t substate_id) in pm_state_set() argument
48 ARG_UNUSED(substate_id); in pm_state_set()
79 void pm_state_exit_post_ops(enum pm_state state, uint8_t substate_id) in pm_state_exit_post_ops() argument
82 ARG_UNUSED(substate_id); in pm_state_exit_post_ops()
/Zephyr-Core-3.5.0/soc/arm/ti_simplelink/cc13x2_cc26x2/
Dpower.c60 void pm_state_set(enum pm_state state, uint8_t substate_id) in pm_state_set() argument
62 ARG_UNUSED(substate_id); in pm_state_set()
117 void pm_state_exit_post_ops(enum pm_state state, uint8_t substate_id) in pm_state_exit_post_ops() argument
120 ARG_UNUSED(substate_id); in pm_state_exit_post_ops()

12