summaryrefslogtreecommitdiff
path: root/kernel/power/tuxonice_power_off.h
blob: 6e1d8bb3971df0187b2c03db81d3d90271ffe0f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
 * kernel/power/tuxonice_power_off.h
 *
 * Copyright (C) 2006-2015 Nigel Cunningham (nigel at nigelcunningham com au)
 *
 * This file is released under the GPLv2.
 *
 * Support for the powering down.
 */

int toi_pm_state_finish(void);
void toi_power_down(void);
extern unsigned long toi_poweroff_method;
int toi_poweroff_init(void);
void toi_poweroff_exit(void);
void toi_check_resleep(void);

extern int platform_begin(int platform_mode);
extern int platform_pre_snapshot(int platform_mode);
extern void platform_leave(int platform_mode);
extern void platform_end(int platform_mode);
extern void platform_finish(int platform_mode);
extern int platform_pre_restore(int platform_mode);
extern void platform_restore_cleanup(int platform_mode);