Home
last modified time | relevance | path

Searched refs:pm_state_info (Results 1 – 18 of 18) sorted by relevance

/Zephyr-latest/soc/ite/ec/common/
Dpolicy.c11 __weak const struct pm_state_info *pm_policy_next_state(uint8_t cpu, int32_t ticks) in pm_policy_next_state()
13 const struct pm_state_info *cpu_states; in pm_policy_next_state()
19 const struct pm_state_info *state = &cpu_states[i]; in pm_policy_next_state()
/Zephyr-latest/include/zephyr/pm/
Dpm.h83 bool pm_state_force(uint8_t cpu, const struct pm_state_info *info);
117 const struct pm_state_info *pm_state_next_get(uint8_t cpu);
196 static inline const struct pm_state_info *pm_state_next_get(uint8_t cpu) in pm_state_next_get()
Dstate.h114 struct pm_state_info { struct
371 uint8_t pm_state_cpu_get_all(uint8_t cpu, const struct pm_state_info **states);
379 static inline uint8_t pm_state_cpu_get_all(uint8_t cpu, const struct pm_state_info **states) in pm_state_cpu_get_all()
Dpolicy.h89 const struct pm_state_info *pm_policy_next_state(uint8_t cpu, int32_t ticks);
/Zephyr-latest/subsys/pm/policy/
Dpolicy_default.c14 const struct pm_state_info *pm_policy_next_state(uint8_t cpu, int32_t ticks) in pm_policy_next_state()
18 const struct pm_state_info *cpu_states; in pm_policy_next_state()
33 const struct pm_state_info *state = &cpu_states[i]; in pm_policy_next_state()
/Zephyr-latest/subsys/pm/
Dstate.c43 static const struct pm_state_info pmstates_##n[] \
50 static const struct pm_state_info *cpus_states[] = {
59 uint8_t pm_state_cpu_get_all(uint8_t cpu, const struct pm_state_info **states) in pm_state_cpu_get_all()
Dpm.c35 static struct pm_state_info z_cpus_pm_state[] = {
39 static struct pm_state_info z_cpus_pm_forced_state[] = {
124 z_cpus_pm_state[id] = (struct pm_state_info){PM_STATE_ACTIVE, 0, false, in pm_system_resume()
129 bool pm_state_force(uint8_t cpu, const struct pm_state_info *info) in pm_state_force()
163 const struct pm_state_info *info; in pm_system_suspend()
258 const struct pm_state_info *pm_state_next_get(uint8_t cpu) in pm_state_next_get()
/Zephyr-latest/tests/subsys/pm/power_states_api/src/
Dmain.c17 static struct pm_state_info infos[] = {{PM_STATE_SUSPEND_TO_IDLE, 0, 10000, 100},
48 const struct pm_state_info *cpu_states; in ZTEST()
51 struct pm_state_info dts_infos[] = in ZTEST()
/Zephyr-latest/tests/subsys/pm/policy_api/src/
Dmain.c33 const struct pm_state_info *next; in ZTEST()
81 const struct pm_state_info *next; in ZTEST()
171 const struct pm_state_info *next; in ZTEST()
279 const struct pm_state_info *pm_policy_next_state(uint8_t cpu, int32_t ticks) in pm_policy_next_state()
281 static const struct pm_state_info state = {.state = PM_STATE_SOFT_OFF}; in pm_policy_next_state()
295 const struct pm_state_info *next; in ZTEST()
/Zephyr-latest/tests/subsys/pm/device_wakeup_api/src/
Dmain.c61 const struct pm_state_info *pm_policy_next_state(uint8_t cpu, int32_t ticks) in pm_policy_next_state()
63 const struct pm_state_info *cpu_states; in pm_policy_next_state()
/Zephyr-latest/tests/subsys/pm/power_mgmt_multicore/src/
Dmain.c64 const struct pm_state_info *pm_policy_next_state(uint8_t cpu, int ticks) in pm_policy_next_state()
66 static struct pm_state_info info = {}; in pm_policy_next_state()
/Zephyr-latest/tests/subsys/pm/power_mgmt/src/
Dmain.c249 const struct pm_state_info *pm_policy_next_state(uint8_t cpu, int32_t ticks) in pm_policy_next_state()
251 const struct pm_state_info *cpu_states; in pm_policy_next_state()
458 const struct pm_state_info *cpu_states; in ZTEST()
466 const struct pm_state_info *cpu_states; in ZTEST()
/Zephyr-latest/samples/boards/nxp/mimxrt1060_evk/system_off/src/
Dmain.c87 pm_state_force(0u, &(struct pm_state_info){ PM_STATE_SOFT_OFF, 0, 0 }); in main()
/Zephyr-latest/samples/boards/st/power_mgmt/standby_shutdown/src/
Dmain.c84 pm_state_force(0u, &(struct pm_state_info) {PM_STATE_STANDBY, 0, 0}); in thread_poweroff_standby_mode()
/Zephyr-latest/samples/boards/microchip/mec15xxevb_assy6853/power_management/src/
Dpower_mgmt.c51 static const struct pm_state_info residency_info[] =
/Zephyr-latest/tests/subsys/pm/power_mgmt_soc/src/
Dpower_mgmt.c55 static const struct pm_state_info residency_info[] =
/Zephyr-latest/drivers/timer/
Dstm32_lptim_timer.c204 const struct pm_state_info *next; in sys_clock_set_timeout()
/Zephyr-latest/drivers/serial/
Duart_ns16550.c1025 const struct pm_state_info *cpu_states;
1064 const struct pm_state_info *cpu_states;