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
powerpc
platforms
pasemi
pasemi.h
Go to the documentation of this file.
1
#ifndef _PASEMI_PASEMI_H
2
#define _PASEMI_PASEMI_H
3
4
extern
unsigned
long
pas_get_boot_time
(
void
);
5
extern
void
pas_pci_init
(
void
);
6
extern
void
__devinit
pas_pci_irq_fixup
(
struct
pci_dev
*
dev
);
7
extern
void
__devinit
pas_pci_dma_dev_setup
(
struct
pci_dev
*
dev
);
8
9
extern
void
__iomem
*
pasemi_pci_getcfgaddr
(
struct
pci_dev
*
dev
,
int
offset
);
10
11
extern
void
__init
alloc_iobmap_l2
(
void
);
12
extern
void
__init
pasemi_map_registers
(
void
);
13
14
/* Power savings modes, implemented in asm */
15
extern
void
idle_spin
(
void
);
16
extern
void
idle_doze
(
void
);
17
18
/* Restore astate to last set */
19
#ifdef CONFIG_PPC_PASEMI_CPUFREQ
20
extern
int
check_astate
(
void
);
21
extern
void
restore_astate
(
int
cpu
);
22
#else
23
static
inline
int
check_astate
(
void
)
24
{
25
/* Always return >0 so we never power save */
26
return
1;
27
}
28
static
inline
void
restore_astate
(
int
cpu
)
29
{
30
}
31
#endif
32
33
34
#endif
/* _PASEMI_PASEMI_H */
Generated on Thu Jan 10 2013 13:15:34 for Linux Kernel by
1.8.2