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
plat-samsung
include
plat
fb.h
Go to the documentation of this file.
1
/* arch/arm/plat-samsung/include/plat/fb.h
2
*
3
* Copyright 2008 Openmoko, Inc.
4
* Copyright 2008 Simtec Electronics
5
* http://armlinux.simtec.co.uk/
6
* Ben Dooks <
[email protected]
>
7
*
8
* S3C - FB platform data definitions
9
*
10
* This program is free software; you can redistribute it and/or modify
11
* it under the terms of the GNU General Public License version 2 as
12
* published by the Free Software Foundation.
13
*/
14
15
#ifndef __PLAT_S3C_FB_H
16
#define __PLAT_S3C_FB_H __FILE__
17
18
/* S3C_FB_MAX_WIN
19
* Set to the maximum number of windows that any of the supported hardware
20
* can use. Since the platform data uses this for an array size, having it
21
* set to the maximum of any version of the hardware can do is safe.
22
*/
23
#define S3C_FB_MAX_WIN (5)
24
32
struct
s3c_fb_pd_win
{
33
unsigned
short
default_bpp
;
34
unsigned
short
max_bpp
;
35
unsigned
short
xres
;
36
unsigned
short
yres
;
37
unsigned
short
virtual_x
;
38
unsigned
short
virtual_y
;
39
};
40
58
struct
s3c_fb_platdata
{
59
void
(*
setup_gpio
)(
void
);
60
61
struct
s3c_fb_pd_win
*
win
[
S3C_FB_MAX_WIN
];
62
struct
fb_videomode
*
vtiming
;
63
64
u32
vidcon0
;
65
u32
vidcon1
;
66
};
67
74
extern
void
s3c_fb_set_platdata
(
struct
s3c_fb_platdata
*pd);
75
82
extern
void
s5p_fimd0_set_platdata
(
struct
s3c_fb_platdata
*pd);
83
89
extern
void
s3c64xx_fb_gpio_setup_24bpp
(
void
);
90
96
extern
void
s5pc100_fb_gpio_setup_24bpp
(
void
);
97
103
extern
void
s5pv210_fb_gpio_setup_24bpp
(
void
);
104
110
extern
void
exynos4_fimd0_gpio_setup_24bpp
(
void
);
111
117
extern
void
s5p64x0_fb_gpio_setup_24bpp
(
void
);
118
119
#endif
/* __PLAT_S3C_FB_H */
Generated on Thu Jan 10 2013 12:49:34 for Linux Kernel by
1.8.2