Home
last modified time | relevance | path

Searched refs:suspend_state_t (Results 1 – 25 of 72) sorted by relevance

123

/linux/kernel/power/
A Dsuspend.c49 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;
160 static bool valid_state(suspend_state_t state) in valid_state()
186 suspend_state_t state; in mem_sleep_default_setup()
233 int suspend_valid_only_mem(suspend_state_t state) in suspend_valid_only_mem()
305 static void platform_recover(suspend_state_t state) in platform_recover()
345 static int suspend_prepare(suspend_state_t state) in suspend_prepare()
476 int suspend_devices_and_enter(suspend_state_t state) in suspend_devices_and_enter()
547 static int enter_state(suspend_state_t state) in enter_state()
[all …]
A Dpower.h194 extern int suspend_devices_and_enter(suspend_state_t state);
198 static inline int suspend_devices_and_enter(suspend_state_t state) in suspend_devices_and_enter()
295 extern suspend_state_t pm_autosleep_state(void);
296 extern int pm_autosleep_set_state(suspend_state_t state);
303 static inline suspend_state_t pm_autosleep_state(void) { return PM_SUSPEND_ON; } in pm_autosleep_state()
A Dautosleep.c16 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()
A Dmain.c128 suspend_state_t i; in mem_sleep_show()
147 static suspend_state_t decode_suspend_state(const char *buf, size_t n) in decode_suspend_state()
149 suspend_state_t state; in decode_suspend_state()
169 suspend_state_t state; in mem_sleep_store()
596 suspend_state_t i; in state_show()
611 static suspend_state_t decode_state(const char *buf, size_t n) in decode_state()
614 suspend_state_t state; in decode_state()
641 suspend_state_t state; in state_store()
747 suspend_state_t state = pm_autosleep_state(); in autosleep_show()
768 suspend_state_t state = decode_state(buf, n); in autosleep_store()
/linux/include/linux/
A Dsuspend.h34 typedef int __bitwise suspend_state_t; typedef
36 #define PM_SUSPEND_ON ((__force suspend_state_t) 0)
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);
201 extern suspend_state_t mem_sleep_current;
202 extern suspend_state_t mem_sleep_default;
331 extern int pm_suspend(suspend_state_t state);
[all …]
/linux/include/linux/regulator/
A Dcoupler.h50 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()
A Dconsumer.h293 suspend_state_t state);
295 suspend_state_t state);
297 int max_uV, suspend_state_t state);
592 suspend_state_t state) in regulator_suspend_enable()
598 suspend_state_t state) in regulator_suspend_disable()
605 suspend_state_t state) in regulator_set_suspend_voltage()
A Dmachine.h197 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/arch/arm/mach-pxa/
A Dpm.h12 int (*valid)(suspend_state_t state);
13 void (*enter)(suspend_state_t state);
24 extern int pxa_pm_enter(suspend_state_t state);
A Dpm.c24 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/arch/arm/mach-shmobile/
A Dsuspend.c19 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/arch/arm/mach-mvebu/
A Dkirkwood-pm.c40 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()
A Dpm.c189 static int mvebu_pm_enter(suspend_state_t state) in mvebu_pm_enter()
204 static int mvebu_pm_valid(suspend_state_t state) in mvebu_pm_valid()
/linux/arch/mips/loongson64/
A Dpm.c71 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/arch/powerpc/sysdev/
A Dfsl_pmc.c32 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/arch/powerpc/platforms/52xx/
A Dlite5200_pm.c23 static suspend_state_t lite5200_pm_target_state;
25 static int lite5200_pm_valid(suspend_state_t state) in lite5200_pm_valid()
36 static int lite5200_pm_begin(suspend_state_t state) in lite5200_pm_begin()
205 static int lite5200_pm_enter(suspend_state_t state) in lite5200_pm_enter()
/linux/arch/nds32/kernel/
A Dpm.c42 static int nds32_pm_valid(suspend_state_t state) in nds32_pm_valid()
54 static int nds32_pm_enter(suspend_state_t state) in nds32_pm_enter()
/linux/arch/mips/loongson2ef/common/
A Dpm.c122 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/arch/arm/mach-omap2/
A Dpm.c80 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/arch/arm/mach-milbeaut/
A Dplatsmp.c99 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/drivers/soc/ti/
A Dpm33xx.c188 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/arch/x86/platform/olpc/
A Dolpc-xo1-pm.c47 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/arch/arm/mach-ux500/
A Dpm.c158 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/arch/powerpc/platforms/83xx/
A Dsuspend.c174 static int mpc83xx_suspend_enter(suspend_state_t state) in mpc83xx_suspend_enter()
240 static int mpc83xx_suspend_valid(suspend_state_t state) in mpc83xx_suspend_valid()
245 static int mpc83xx_suspend_begin(suspend_state_t state) in mpc83xx_suspend_begin()
/linux/arch/arm/mach-mmp/
A Dpm-mmp2.c158 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()

Completed in 32 milliseconds

123