Linux Kernel
3.7.1
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
arch
blackfin
include
asm
pm.h
Go to the documentation of this file.
1
/*
2
* Blackfin bf609 power management
3
*
4
* Copyright 2011 Analog Devices Inc.
5
*
6
* Licensed under the GPL-2
7
*/
8
9
#ifndef __PM_H__
10
#define __PM_H__
11
12
#include <
linux/suspend.h
>
13
14
struct
bfin_cpu_pm_fns
{
15
void
(*
save
)(
unsigned
long
*);
16
void
(*
restore
)(
unsigned
long
*);
17
int
(*
valid
)(
suspend_state_t
state
);
18
void
(*
enter
)(
suspend_state_t
state
);
19
int
(*
prepare
)(
void
);
20
void
(*
finish
)(
void
);
21
};
22
23
extern
struct
bfin_cpu_pm_fns
*
bfin_cpu_pm
;
24
25
# ifdef CONFIG_BFIN_COREB
26
void
bfin_coreb_start(
void
);
27
void
bfin_coreb_stop(
void
);
28
void
bfin_coreb_reset(
void
);
29
# endif
30
31
#endif
Generated on Thu Jan 10 2013 12:57:02 for Linux Kernel by
1.8.2