Searched refs:pm_state_info (Results 1 – 18 of 18) sorted by relevance
/Zephyr-latest/soc/ite/ec/common/ |
D | policy.c | 11 __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/ |
D | pm.h | 83 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()
|
D | state.h | 114 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()
|
D | policy.h | 89 const struct pm_state_info *pm_policy_next_state(uint8_t cpu, int32_t ticks);
|
/Zephyr-latest/subsys/pm/policy/ |
D | policy_default.c | 14 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/ |
D | state.c | 43 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()
|
D | pm.c | 35 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/ |
D | main.c | 17 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/ |
D | main.c | 33 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/ |
D | main.c | 61 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/ |
D | main.c | 64 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/ |
D | main.c | 249 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/ |
D | main.c | 87 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/ |
D | main.c | 84 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/ |
D | power_mgmt.c | 51 static const struct pm_state_info residency_info[] =
|
/Zephyr-latest/tests/subsys/pm/power_mgmt_soc/src/ |
D | power_mgmt.c | 55 static const struct pm_state_info residency_info[] =
|
/Zephyr-latest/drivers/timer/ |
D | stm32_lptim_timer.c | 204 const struct pm_state_info *next; in sys_clock_set_timeout()
|
/Zephyr-latest/drivers/serial/ |
D | uart_ns16550.c | 1025 const struct pm_state_info *cpu_states; 1064 const struct pm_state_info *cpu_states;
|