Merge branch 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jlbec...
[linux-2.6-block.git] / drivers / video / aty / atyfb.h
CommitLineData
1da177e4
LT
1/*
2 * ATI Frame Buffer Device Driver Core Definitions
3 */
4
1da177e4
LT
5#include <linux/spinlock.h>
6#include <linux/wait.h>
7 /*
8 * Elements of the hardware specific atyfb_par structure
9 */
10
11struct crtc {
12 u32 vxres;
13 u32 vyres;
14 u32 xoffset;
15 u32 yoffset;
16 u32 bpp;
17 u32 h_tot_disp;
18 u32 h_sync_strt_wid;
19 u32 v_tot_disp;
20 u32 v_sync_strt_wid;
21 u32 vline_crnt_vline;
22 u32 off_pitch;
23 u32 gen_cntl;
24 u32 dp_pix_width; /* acceleration */
25 u32 dp_chain_mask; /* acceleration */
26#ifdef CONFIG_FB_ATY_GENERIC_LCD
27 u32 horz_stretching;
28 u32 vert_stretching;
29 u32 ext_vert_stretch;
30 u32 shadow_h_tot_disp;
31 u32 shadow_h_sync_strt_wid;
32 u32 shadow_v_tot_disp;
33 u32 shadow_v_sync_strt_wid;
34 u32 lcd_gen_cntl;
35 u32 lcd_config_panel;
36 u32 lcd_index;
37#endif
38};
39
40struct aty_interrupt {
41 wait_queue_head_t wait;
42 unsigned int count;
43 int pan_display;
44};
45
46struct pll_info {
47 int pll_max;
48 int pll_min;
49 int sclk, mclk, mclk_pm, xclk;
50 int ref_div;
51 int ref_clk;