/linux-6.1.9/kernel/power/ |
D | suspend.c | 49 suspend_state_t mem_sleep_current = PM_SUSPEND_TO_IDLE; 50 suspend_state_t mem_sleep_default = PM_SUSPEND_MAX; 51 suspend_state_t pm_suspend_target_state; 163 static bool valid_state(suspend_state_t state) in valid_state() 189 suspend_state_t state; in mem_sleep_default_setup() 238 int suspend_valid_only_mem(suspend_state_t state) in suspend_valid_only_mem() 244 static bool sleep_state_supported(suspend_state_t state) in sleep_state_supported() 250 static int platform_suspend_prepare(suspend_state_t state) in platform_suspend_prepare() 256 static int platform_suspend_prepare_late(suspend_state_t state) in platform_suspend_prepare_late() 262 static int platform_suspend_prepare_noirq(suspend_state_t state) in platform_suspend_prepare_noirq() [all …]
|
D | power.h | 195 extern int suspend_devices_and_enter(suspend_state_t state); 199 static inline int suspend_devices_and_enter(suspend_state_t state) in suspend_devices_and_enter() 296 extern suspend_state_t pm_autosleep_state(void); 297 extern int pm_autosleep_set_state(suspend_state_t state); 304 static inline suspend_state_t pm_autosleep_state(void) { return PM_SUSPEND_ON; } in pm_autosleep_state()
|
D | autosleep.c | 16 static suspend_state_t autosleep_state; 75 suspend_state_t pm_autosleep_state(void) in pm_autosleep_state() 90 int pm_autosleep_set_state(suspend_state_t state) in pm_autosleep_set_state()
|
D | main.c | 131 suspend_state_t i; in mem_sleep_show() 153 static suspend_state_t decode_suspend_state(const char *buf, size_t n) in decode_suspend_state() 155 suspend_state_t state; in decode_suspend_state() 175 suspend_state_t state; in mem_sleep_store() 577 suspend_state_t i; in state_show() 592 static suspend_state_t decode_state(const char *buf, size_t n) in decode_state() 595 suspend_state_t state; in decode_state() 622 suspend_state_t state; in state_store() 728 suspend_state_t state = pm_autosleep_state(); in autosleep_show() 749 suspend_state_t state = decode_state(buf, n); in autosleep_store()
|
D | suspend_test.c | 62 static void __init test_wakealarm(struct rtc_device *rtc, suspend_state_t state) in test_wakealarm() 186 suspend_state_t test_state; in test_suspend()
|
/linux-6.1.9/include/linux/ |
D | suspend.h | 34 typedef int __bitwise suspend_state_t; typedef 36 #define PM_SUSPEND_ON ((__force suspend_state_t) 0) 37 #define PM_SUSPEND_TO_IDLE ((__force suspend_state_t) 1) 38 #define PM_SUSPEND_STANDBY ((__force suspend_state_t) 2) 39 #define PM_SUSPEND_MEM ((__force suspend_state_t) 3) 41 #define PM_SUSPEND_MAX ((__force suspend_state_t) 4) 178 int (*valid)(suspend_state_t state); 179 int (*begin)(suspend_state_t state); 182 int (*enter)(suspend_state_t state); 202 extern suspend_state_t mem_sleep_current; [all …]
|
/linux-6.1.9/include/linux/regulator/ |
D | coupler.h | 50 suspend_state_t state); 57 suspend_state_t state); 63 suspend_state_t state); 65 suspend_state_t state, bool skip_coupled); 73 suspend_state_t state) in regulator_check_consumers() 88 suspend_state_t state) in regulator_set_voltage_rdev() 93 suspend_state_t state, in regulator_do_balance_voltage()
|
D | consumer.h | 306 suspend_state_t state); 308 suspend_state_t state); 310 int max_uV, suspend_state_t state); 627 suspend_state_t state) in regulator_suspend_enable() 633 suspend_state_t state) in regulator_suspend_disable() 640 suspend_state_t state) in regulator_set_suspend_voltage()
|
D | machine.h | 197 suspend_state_t initial_state; /* suspend state to set at init */ 283 static inline int regulator_suspend_prepare(suspend_state_t state) in regulator_suspend_prepare()
|
/linux-6.1.9/arch/arm/mach-pxa/ |
D | pm.h | 12 int (*valid)(suspend_state_t state); 13 void (*enter)(suspend_state_t state); 24 extern int pxa_pm_enter(suspend_state_t state);
|
D | pm.c | 24 int pxa_pm_enter(suspend_state_t state) in pxa_pm_enter() 69 static int pxa_pm_valid(suspend_state_t state) in pxa_pm_valid()
|
/linux-6.1.9/arch/arm/mach-shmobile/ |
D | suspend.c | 19 static int shmobile_suspend_default_enter(suspend_state_t suspend_state) in shmobile_suspend_default_enter() 25 static int shmobile_suspend_begin(suspend_state_t state) in shmobile_suspend_begin()
|
/linux-6.1.9/arch/arm/mach-mvebu/ |
D | kirkwood-pm.c | 40 static int kirkwood_suspend_enter(suspend_state_t state) in kirkwood_suspend_enter() 52 static int kirkwood_pm_valid_standby(suspend_state_t state) in kirkwood_pm_valid_standby()
|
D | pm.c | 186 static int mvebu_pm_enter(suspend_state_t state) in mvebu_pm_enter() 201 static int mvebu_pm_valid(suspend_state_t state) in mvebu_pm_valid()
|
/linux-6.1.9/arch/mips/loongson64/ |
D | pm.c | 71 static int loongson_pm_enter(suspend_state_t state) in loongson_pm_enter() 80 static int loongson_pm_valid_state(suspend_state_t state) in loongson_pm_valid_state()
|
/linux-6.1.9/arch/powerpc/sysdev/ |
D | fsl_pmc.c | 32 static int pmc_suspend_enter(suspend_state_t state) in pmc_suspend_enter() 47 static int pmc_suspend_valid(suspend_state_t state) in pmc_suspend_valid()
|
/linux-6.1.9/arch/mips/loongson2ef/common/ |
D | pm.c | 122 static int loongson_pm_enter(suspend_state_t state) in loongson_pm_enter() 134 static int loongson_pm_valid_state(suspend_state_t state) in loongson_pm_valid_state()
|
/linux-6.1.9/arch/arm/mach-omap2/ |
D | pm.c | 80 static int omap_pm_enter(suspend_state_t suspend_state) in omap_pm_enter() 98 static int omap_pm_begin(suspend_state_t state) in omap_pm_begin()
|
/linux-6.1.9/arch/powerpc/platforms/52xx/ |
D | lite5200_pm.c | 25 static suspend_state_t lite5200_pm_target_state; 27 static int lite5200_pm_valid(suspend_state_t state) in lite5200_pm_valid() 38 static int lite5200_pm_begin(suspend_state_t state) in lite5200_pm_begin() 207 static int lite5200_pm_enter(suspend_state_t state) in lite5200_pm_enter()
|
/linux-6.1.9/arch/arm/mach-milbeaut/ |
D | platsmp.c | 99 static int m10v_pm_valid(suspend_state_t state) in m10v_pm_valid() 118 static int m10v_pm_enter(suspend_state_t state) in m10v_pm_enter()
|
/linux-6.1.9/arch/x86/platform/olpc/ |
D | olpc-xo1-pm.c | 47 static int xo1_power_state_enter(suspend_state_t pm_state) in xo1_power_state_enter() 108 static int xo1_power_state_valid(suspend_state_t pm_state) in xo1_power_state_valid()
|
/linux-6.1.9/arch/arm/mach-ux500/ |
D | pm.c | 158 static int ux500_suspend_enter(suspend_state_t state) in ux500_suspend_enter() 164 static int ux500_suspend_valid(suspend_state_t state) in ux500_suspend_valid()
|
/linux-6.1.9/drivers/soc/ti/ |
D | pm33xx.c | 188 static int am33xx_pm_suspend(suspend_state_t suspend_state) in am33xx_pm_suspend() 257 static int am33xx_pm_enter(suspend_state_t suspend_state) in am33xx_pm_enter() 273 static int am33xx_pm_begin(suspend_state_t state) in am33xx_pm_begin() 336 static int am33xx_pm_valid(suspend_state_t state) in am33xx_pm_valid()
|
/linux-6.1.9/arch/arm/mach-mmp/ |
D | pm-mmp2.c | 158 static int mmp2_pm_enter(suspend_state_t state) in mmp2_pm_enter() 202 static int mmp2_pm_valid(suspend_state_t state) in mmp2_pm_valid()
|
/linux-6.1.9/arch/powerpc/platforms/83xx/ |
D | suspend.c | 173 static int mpc83xx_suspend_enter(suspend_state_t state) in mpc83xx_suspend_enter() 239 static int mpc83xx_suspend_valid(suspend_state_t state) in mpc83xx_suspend_valid() 244 static int mpc83xx_suspend_begin(suspend_state_t state) in mpc83xx_suspend_begin()
|