Root/
1 | /* |
2 | * linux/drivers/video/s3c2410fb.h |
3 | * Copyright (c) 2004 Arnaud Patard |
4 | * |
5 | * S3C2410 LCD Framebuffer Driver |
6 | * |
7 | * This file is subject to the terms and conditions of the GNU General Public |
8 | * License. See the file COPYING in the main directory of this archive for |
9 | * more details. |
10 | * |
11 | */ |
12 | |
13 | #ifndef __S3C2410FB_H |
14 | #define __S3C2410FB_H |
15 | |
16 | enum s3c_drv_type { |
17 | DRV_S3C2410, |
18 | DRV_S3C2412, |
19 | }; |
20 | |
21 | struct s3c2410fb_info { |
22 | struct device *dev; |
23 | struct clk *clk; |
24 | |
25 | struct resource *mem; |
26 | void __iomem *io; |
27 | void __iomem *irq_base; |
28 | |
29 | enum s3c_drv_type drv_type; |
30 | struct s3c2410fb_hw regs; |
31 | |
32 | unsigned long clk_rate; |
33 | unsigned int palette_ready; |
34 | |
35 | #ifdef CONFIG_CPU_FREQ |
36 | struct notifier_block freq_transition; |
37 | #endif |
38 | |
39 | /* keep these registers in case we need to re-write palette */ |
40 | u32 palette_buffer[256]; |
41 | u32 pseudo_pal[16]; |
42 | }; |
43 | |
44 | #define PALETTE_BUFF_CLEAR (0x80000000) /* entry is clear/invalid */ |
45 | |
46 | int s3c2410fb_init(void); |
47 | |
48 | #endif |
49 |
Branches:
ben-wpan
ben-wpan-stefan
javiroman/ks7010
jz-2.6.34
jz-2.6.34-rc5
jz-2.6.34-rc6
jz-2.6.34-rc7
jz-2.6.35
jz-2.6.36
jz-2.6.37
jz-2.6.38
jz-2.6.39
jz-3.0
jz-3.1
jz-3.11
jz-3.12
jz-3.13
jz-3.15
jz-3.16
jz-3.18-dt
jz-3.2
jz-3.3
jz-3.4
jz-3.5
jz-3.6
jz-3.6-rc2-pwm
jz-3.9
jz-3.9-clk
jz-3.9-rc8
jz47xx
jz47xx-2.6.38
master
Tags:
od-2011-09-04
od-2011-09-18
v2.6.34-rc5
v2.6.34-rc6
v2.6.34-rc7
v3.9