Home
last modified time | relevance | path

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

/linux-4.1.27/kernel/power/
Dsuspend.c100 static bool valid_state(suspend_state_t state) in valid_state()
133 suspend_state_t i; in suspend_set_ops()
160 int suspend_valid_only_mem(suspend_state_t state) in suspend_valid_only_mem()
166 static bool sleep_state_supported(suspend_state_t state) in sleep_state_supported()
171 static int platform_suspend_prepare(suspend_state_t state) in platform_suspend_prepare()
177 static int platform_suspend_prepare_late(suspend_state_t state) in platform_suspend_prepare_late()
183 static int platform_suspend_prepare_noirq(suspend_state_t state) in platform_suspend_prepare_noirq()
189 static void platform_resume_noirq(suspend_state_t state) in platform_resume_noirq()
195 static void platform_resume_early(suspend_state_t state) in platform_resume_early()
201 static void platform_resume_finish(suspend_state_t state) in platform_resume_finish()
[all …]
Dpower.h184 extern int suspend_devices_and_enter(suspend_state_t state);
186 static inline int suspend_devices_and_enter(suspend_state_t state) in suspend_devices_and_enter()
278 extern suspend_state_t pm_autosleep_state(void);
279 extern int pm_autosleep_set_state(suspend_state_t state);
286 static inline suspend_state_t pm_autosleep_state(void) { return PM_SUSPEND_ON; } in pm_autosleep_state()
Dautosleep.c15 static suspend_state_t autosleep_state;
74 suspend_state_t pm_autosleep_state(void) in pm_autosleep_state()
89 int pm_autosleep_set_state(suspend_state_t state) in pm_autosleep_set_state()
Dmain.c296 suspend_state_t i; in state_show()
311 static suspend_state_t decode_state(const char *buf, size_t n) in decode_state()
314 suspend_state_t state; in decode_state()
341 suspend_state_t state; in state_store()
443 suspend_state_t state = pm_autosleep_state(); in autosleep_show()
464 suspend_state_t state = decode_state(buf, n); in autosleep_store()
Dsuspend_test.c63 static void __init test_wakealarm(struct rtc_device *rtc, suspend_state_t state) in test_wakealarm()
187 suspend_state_t test_state; in test_suspend()
/linux-4.1.27/include/linux/
Dsuspend.h34 typedef int __bitwise suspend_state_t; typedef
36 #define PM_SUSPEND_ON ((__force suspend_state_t) 0)
37 #define PM_SUSPEND_FREEZE ((__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);
203 extern int suspend_valid_only_mem(suspend_state_t state);
[all …]
/linux-4.1.27/arch/arm/mach-pxa/include/mach/
Dpm.h16 int (*valid)(suspend_state_t state);
17 void (*enter)(suspend_state_t state);
28 extern int pxa_pm_enter(suspend_state_t state);
Dpxa27x.h23 extern void pxa27x_cpu_pm_enter(suspend_state_t state);
/linux-4.1.27/arch/unicore32/include/mach/
Dpm.h21 int (*valid)(suspend_state_t state);
22 void (*enter)(suspend_state_t state);
34 extern int puv3_pm_enter(suspend_state_t state);
/linux-4.1.27/include/linux/regulator/
Dmachine.h128 suspend_state_t initial_state; /* suspend state to set at init */
196 int regulator_suspend_prepare(suspend_state_t state);
202 static inline int regulator_suspend_prepare(suspend_state_t state) in regulator_suspend_prepare()
/linux-4.1.27/arch/blackfin/include/asm/
Dpm.h17 int (*valid)(suspend_state_t state);
18 void (*enter)(suspend_state_t state);
/linux-4.1.27/arch/arm/mach-shmobile/
Dsuspend.c20 static int shmobile_suspend_default_enter(suspend_state_t suspend_state) in shmobile_suspend_default_enter()
26 static int shmobile_suspend_begin(suspend_state_t state) in shmobile_suspend_begin()
Dpm-sh73a0.c15 static int sh73a0_enter_suspend(suspend_state_t suspend_state) in sh73a0_enter_suspend()
Dpm-r8a7740.c112 static int r8a7740_enter_suspend(suspend_state_t suspend_state) in r8a7740_enter_suspend()
Dplatsmp-apmu.c227 static int shmobile_smp_apmu_enter_suspend(suspend_state_t state) in shmobile_smp_apmu_enter_suspend()
/linux-4.1.27/arch/arm/mach-at91/
Dpm.c54 static int at91_pm_valid_state(suspend_state_t state) in at91_pm_valid_state()
68 static suspend_state_t target_state;
73 static int at91_pm_begin(suspend_state_t state) in at91_pm_begin()
136 static void at91_pm_suspend(suspend_state_t state) in at91_pm_suspend()
152 static int at91_pm_enter(suspend_state_t state) in at91_pm_enter()
/linux-4.1.27/arch/arm/mach-mvebu/
Dkirkwood-pm.c47 static int kirkwood_suspend_enter(suspend_state_t state) in kirkwood_suspend_enter()
59 static int kirkwood_pm_valid_standby(suspend_state_t state) in kirkwood_pm_valid_standby()
Dpm.c154 static int mvebu_pm_enter(suspend_state_t state) in mvebu_pm_enter()
/linux-4.1.27/arch/powerpc/sysdev/
Dfsl_pmc.c36 static int pmc_suspend_enter(suspend_state_t state) in pmc_suspend_enter()
51 static int pmc_suspend_valid(suspend_state_t state) in pmc_suspend_valid()
Dppc4xx_cpm.c202 static int cpm_suspend_valid(suspend_state_t state) in cpm_suspend_valid()
229 static int cpm_suspend_enter(suspend_state_t state) in cpm_suspend_enter()
/linux-4.1.27/arch/mips/loongson/common/
Dpm.c125 static int loongson_pm_enter(suspend_state_t state) in loongson_pm_enter()
137 static int loongson_pm_valid_state(suspend_state_t state) in loongson_pm_valid_state()
/linux-4.1.27/arch/unicore32/kernel/
Dpm.c28 int puv3_pm_enter(suspend_state_t state) in puv3_pm_enter()
74 static int puv3_pm_valid(suspend_state_t state) in puv3_pm_valid()
Dpuv3-core.c201 static void puv3_cpu_pm_enter(suspend_state_t state) in puv3_cpu_pm_enter()
218 static int puv3_cpu_pm_valid(suspend_state_t state) in puv3_cpu_pm_valid()
/linux-4.1.27/arch/arm/mach-pxa/
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()
Dpxa27x.c296 void pxa27x_cpu_pm_enter(suspend_state_t state) in pxa27x_cpu_pm_enter()
327 static int pxa27x_cpu_pm_valid(suspend_state_t state) in pxa27x_cpu_pm_valid()
Dpxa3xx.c188 static void pxa3xx_cpu_pm_enter(suspend_state_t state) in pxa3xx_cpu_pm_enter()
209 static int pxa3xx_cpu_pm_valid(suspend_state_t state) in pxa3xx_cpu_pm_valid()
Dsharpsl_pm.c603 static void corgi_goto_sleep(unsigned long alarm_time, unsigned int alarm_enable, suspend_state_t s… in corgi_goto_sleep()
642 static int corgi_enter_suspend(unsigned long alarm_time, unsigned int alarm_enable, suspend_state_t in corgi_enter_suspend()
668 static int corgi_pxa_pm_enter(suspend_state_t state) in corgi_pxa_pm_enter()
Dpxa25x.c248 static void pxa25x_cpu_pm_enter(suspend_state_t state) in pxa25x_cpu_pm_enter()
/linux-4.1.27/arch/powerpc/platforms/52xx/
Dlite5200_pm.c22 static suspend_state_t lite5200_pm_target_state;
24 static int lite5200_pm_valid(suspend_state_t state) in lite5200_pm_valid()
35 static int lite5200_pm_begin(suspend_state_t state) in lite5200_pm_begin()
204 static int lite5200_pm_enter(suspend_state_t state) in lite5200_pm_enter()
Dmpc52xx_pm.c26 static int mpc52xx_pm_valid(suspend_state_t state) in mpc52xx_pm_valid()
112 int mpc52xx_pm_enter(suspend_state_t state) in mpc52xx_pm_enter()
/linux-4.1.27/arch/arm/mach-ux500/
Dpm.c160 static int ux500_suspend_enter(suspend_state_t state) in ux500_suspend_enter()
166 static int ux500_suspend_valid(suspend_state_t state) in ux500_suspend_valid()
/linux-4.1.27/arch/x86/platform/olpc/
Dolpc-xo1-pm.c52 static int xo1_power_state_enter(suspend_state_t pm_state) in xo1_power_state_enter()
113 static int xo1_power_state_valid(suspend_state_t pm_state) in xo1_power_state_valid()
/linux-4.1.27/arch/arm/mach-mmp/
Dpm-mmp2.c160 static int mmp2_pm_enter(suspend_state_t state) in mmp2_pm_enter()
204 static int mmp2_pm_valid(suspend_state_t state) in mmp2_pm_valid()
Dpm-pxa910.c188 static int pxa910_pm_enter(suspend_state_t state) in pxa910_pm_enter()
241 static int pxa910_pm_valid(suspend_state_t state) in pxa910_pm_valid()
/linux-4.1.27/arch/powerpc/platforms/pseries/
Dsuspend.c45 static int pseries_suspend_begin(suspend_state_t state) in pseries_suspend_begin()
105 static int pseries_suspend_enter(suspend_state_t state) in pseries_suspend_enter()
/linux-4.1.27/arch/powerpc/platforms/83xx/
Dsuspend.c176 static int mpc83xx_suspend_enter(suspend_state_t state) in mpc83xx_suspend_enter()
242 static int mpc83xx_suspend_valid(suspend_state_t state) in mpc83xx_suspend_valid()
247 static int mpc83xx_suspend_begin(suspend_state_t state) in mpc83xx_suspend_begin()
/linux-4.1.27/arch/arm/mach-mxs/
Dpm.c20 static int mxs_suspend_enter(suspend_state_t state) in mxs_suspend_enter()
/linux-4.1.27/arch/blackfin/mach-bf609/include/mach/
Dpm.h15 extern int bfin609_pm_enter(suspend_state_t state);
/linux-4.1.27/arch/arm/mach-imx/
Dpm-imx5.c144 static int mx5_suspend_enter(suspend_state_t state) in mx5_suspend_enter()
172 static int mx5_pm_valid(suspend_state_t state) in mx5_pm_valid()
Dpm-imx27.c16 static int mx27_suspend_enter(suspend_state_t state) in mx27_suspend_enter()
Dpm-imx6.c339 static int imx6q_pm_enter(suspend_state_t state) in imx6q_pm_enter()
385 static int imx6q_pm_valid(suspend_state_t state) in imx6q_pm_valid()
/linux-4.1.27/drivers/acpi/
Dsleep.c477 static int acpi_suspend_begin(suspend_state_t pm_state) in acpi_suspend_begin()
503 static int acpi_suspend_enter(suspend_state_t pm_state) in acpi_suspend_enter()
570 static int acpi_suspend_state_valid(suspend_state_t pm_state) in acpi_suspend_state_valid()
601 static int acpi_suspend_begin_old(suspend_state_t pm_state) in acpi_suspend_begin_old()
/linux-4.1.27/arch/mips/jz4740/
Dpm.c25 static int jz4740_pm_enter(suspend_state_t state) in jz4740_pm_enter()
/linux-4.1.27/arch/avr32/mach-at32ap/
Dpm.c99 static int avr32_pm_valid_state(suspend_state_t state) in avr32_pm_valid_state()
112 static int avr32_pm_enter(suspend_state_t state) in avr32_pm_enter()
/linux-4.1.27/arch/blackfin/mach-common/
Dpm.c217 static int bfin_pm_valid(suspend_state_t state) in bfin_pm_valid()
244 static int bfin_pm_enter(suspend_state_t state) in bfin_pm_enter()
/linux-4.1.27/arch/arm/mach-highbank/
Dpm.c34 static int highbank_pm_enter(suspend_state_t state) in highbank_pm_enter()
/linux-4.1.27/arch/arm/mach-omap2/
Dpm.c202 static int omap_pm_enter(suspend_state_t suspend_state) in omap_pm_enter()
221 static int omap_pm_begin(suspend_state_t state) in omap_pm_begin()
/linux-4.1.27/arch/mips/alchemy/devboards/
Dpm.c28 static int db1x_pm_enter(suspend_state_t state) in db1x_pm_enter()
87 static int db1x_pm_begin(suspend_state_t state) in db1x_pm_begin()
/linux-4.1.27/arch/arm/mach-lpc32xx/
Dpm.c84 static int lpc32xx_pm_enter(suspend_state_t state) in lpc32xx_pm_enter()
/linux-4.1.27/arch/arm/mach-sa1100/
Dpm.c55 static int sa11x0_pm_enter(suspend_state_t state) in sa11x0_pm_enter()
/linux-4.1.27/arch/arm/plat-samsung/
Dpm.c78 static int s3c_pm_enter(suspend_state_t state) in s3c_pm_enter()
/linux-4.1.27/arch/arm/mach-prima2/
Dpm.c68 static int sirfsoc_pm_enter(suspend_state_t state) in sirfsoc_pm_enter()
/linux-4.1.27/arch/arm/mach-s5pv210/
Dpm.c95 static int s5pv210_suspend_enter(suspend_state_t state) in s5pv210_suspend_enter()
/linux-4.1.27/arch/sh/boards/mach-hp6xx/
Dpm.c99 static int hp6x0_pm_enter(suspend_state_t state) in hp6x0_pm_enter()
/linux-4.1.27/arch/sh/kernel/cpu/shmobile/
Dpm.c132 static int sh_pm_enter(suspend_state_t state) in sh_pm_enter()
/linux-4.1.27/arch/arm/mach-davinci/
Dpm.c99 static int davinci_pm_enter(suspend_state_t state) in davinci_pm_enter()
/linux-4.1.27/arch/arm/mach-rockchip/
Dpm.c151 static int rk3288_suspend_enter(suspend_state_t state) in rk3288_suspend_enter()
/linux-4.1.27/arch/arm/mach-tegra/
Dpm.c317 static int tegra_suspend_enter(suspend_state_t state) in tegra_suspend_enter()
/linux-4.1.27/arch/blackfin/mach-bf609/
Dpm.c198 void bf609_cpu_pm_enter(suspend_state_t state) in bf609_cpu_pm_enter()
/linux-4.1.27/arch/powerpc/include/asm/
Dmpc52xx.h358 extern int mpc52xx_pm_enter(suspend_state_t);
/linux-4.1.27/arch/arm/mach-omap1/
Dpm.c579 static int omap_pm_enter(suspend_state_t state) in omap_pm_enter()
/linux-4.1.27/arch/arm/mach-exynos/
Dsuspend.c566 static int exynos_suspend_enter(suspend_state_t state) in exynos_suspend_enter()
/linux-4.1.27/drivers/macintosh/
Dvia-pmu.c2205 static int powerbook_sleep(suspend_state_t state) in powerbook_sleep()
2259 static int pmu_sleep_valid(suspend_state_t state) in pmu_sleep_valid()
/linux-4.1.27/drivers/regulator/
Dcore.c764 static int suspend_prepare(struct regulator_dev *rdev, suspend_state_t state) in suspend_prepare()
3813 int regulator_suspend_prepare(suspend_state_t state) in regulator_suspend_prepare()