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
arm
mach-ep93xx
include
mach
platform.h
Go to the documentation of this file.
1
/*
2
* arch/arm/mach-ep93xx/include/mach/platform.h
3
*/
4
5
#ifndef __ASSEMBLY__
6
7
struct
i2c_gpio_platform_data
;
8
struct
i2c_board_info
;
9
struct
spi_board_info
;
10
struct
platform_device
;
11
struct
ep93xxfb_mach_info
;
12
struct
ep93xx_keypad_platform_data
;
13
struct
ep93xx_spi_info
;
14
15
struct
ep93xx_eth_data
16
{
17
unsigned
char
dev_addr
[6];
18
unsigned
char
phy_id
;
19
};
20
21
void
ep93xx_map_io
(
void
);
22
void
ep93xx_init_irq
(
void
);
23
24
#define EP93XX_CHIP_REV_D0 3
25
#define EP93XX_CHIP_REV_D1 4
26
#define EP93XX_CHIP_REV_E0 5
27
#define EP93XX_CHIP_REV_E1 6
28
#define EP93XX_CHIP_REV_E2 7
29
30
unsigned
int
ep93xx_chip_revision
(
void
);
31
32
void
ep93xx_register_flash
(
unsigned
int
width
,
33
resource_size_t
start
,
resource_size_t
size
);
34
35
void
ep93xx_register_eth
(
struct
ep93xx_eth_data
*
data
,
int
copy_addr);
36
void
ep93xx_register_i2c
(
struct
i2c_gpio_platform_data
*
data
,
37
struct
i2c_board_info
*devices,
int
num);
38
void
ep93xx_register_spi
(
struct
ep93xx_spi_info
*
info
,
39
struct
spi_board_info
*devices,
int
num);
40
void
ep93xx_register_fb
(
struct
ep93xxfb_mach_info
*
data
);
41
void
ep93xx_register_pwm
(
int
pwm0,
int
pwm1
);
42
int
ep93xx_pwm_acquire_gpio
(
struct
platform_device
*pdev);
43
void
ep93xx_pwm_release_gpio
(
struct
platform_device
*pdev);
44
void
ep93xx_register_keypad
(
struct
ep93xx_keypad_platform_data
*
data
);
45
int
ep93xx_keypad_acquire_gpio
(
struct
platform_device
*pdev);
46
void
ep93xx_keypad_release_gpio
(
struct
platform_device
*pdev);
47
void
ep93xx_register_i2s
(
void
);
48
int
ep93xx_i2s_acquire
(
void
);
49
void
ep93xx_i2s_release
(
void
);
50
void
ep93xx_register_ac97
(
void
);
51
void
ep93xx_register_ide
(
void
);
52
int
ep93xx_ide_acquire_gpio
(
struct
platform_device
*pdev);
53
void
ep93xx_ide_release_gpio
(
struct
platform_device
*pdev);
54
55
void
ep93xx_init_devices
(
void
);
56
extern
struct
sys_timer
ep93xx_timer
;
57
58
void
ep93xx_restart
(
char
,
const
char
*);
59
void
ep93xx_init_late
(
void
);
60
61
#ifdef CONFIG_CRUNCH
62
int
crunch_init
(
void
);
63
#else
64
static
inline
int
crunch_init
(
void
) {
return
0; }
65
#endif
66
67
#endif
Generated on Thu Jan 10 2013 12:58:51 for Linux Kernel by
1.8.2