File: s2ram.h

package info (click to toggle)
uswsusp 0.7-1.2
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 1,000 kB
  • ctags: 962
  • sloc: ansic: 6,060; xml: 755; sh: 425; makefile: 176
file content (27 lines) | stat: -rw-r--r-- 586 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*
 * Suspend-to-RAM
 *
 * Copyright 2006 Pavel Machek <pavel@suse.cz>
 * Distribute under GPLv2.
 */

/* from radeontool.c */
void radeon_cmd_light(int);
void map_radeon_cntl_mem(void);

/* from s2ram.c */
/* return codes for s2ram_is_supported */
#define S2RAM_OK        0
#define S2RAM_FAIL      1
#define S2RAM_NOFB      126
#define S2RAM_UNKNOWN   127

int s2ram_hacks(void);
int s2ram_is_supported(void);
void identify_machine(void);
int machine_known(void);
int s2ram_do(void);
int s2ram_generic_do(void);
void s2ram_resume(void);
void s2ram_add_flag(int opt, const char *arg);