Subversion Repositories shark

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
54 pj 1
/*
2
 * 8514a.h: common header for 8514/A-like (S3, Mach) graphic engines
3
 *
4
 * Extracted from:
5
 *
6
 * ATI Mach32 driver Copyright 1995 Michael Weller
7
 * eowmob@exp-math.uni-essen.de mat42b@aixrs1.hrz.uni-essen.de
8
 * eowmob@pollux.exp-math.uni-essen.de
9
 */
10
 
11
#ifndef _8514A_H
12
#define _8514A_H
13
 
14
#define CMD             0x9AE8
15
#define ALU_FG_FN       0xBAEE
16
#define ALU_BG_FN       0xB6EE
17
#define EXT_SCISSOR_B   0xE6EE
18
#define EXT_SCISSOR_L   0xD2EE
19
#define EXT_SCISSOR_R   0xE2EE
20
#define EXT_SCISSOR_T   0xDEEE
21
#define DP_CONFIG       0xCEEE
22
#define FRGD_MIX        0xBAE8
23
#define BKGD_MIX        0xB6E8
24
#define FRGD_COLOR      0xA6E8
25
#define BKGD_COLOR      0xA2E8
26
#define CUR_X           0x86E8
27
#define CUR_Y           0x82E8
28
#define MAJ_AXIS_PCNT   0x96E8
29
#define MULTI_FUNC_CNTL 0xBEE8
30
#define EXT_FIFO_STATUS 0x9AEE
31
#define ADVFUNC_CNTL    0x4AE8  /* S3 */
32
#define SUBSYS_CNTL     0x42E8
33
#define SUBSYS_STAT     0x42E8
34
#define SCRATCH_PAD_0   0x52EE
35
#define DESTX_DIASTP    0x8EE8
36
#define DESTY_AXSTP     0x8AE8
37
#define R_SRC_X         0xDAEE
38
#define SRC_X           0x8EE8
39
#define SRC_Y           0x8AE8
40
#define SRC_X_START     0xB2EE
41
#define SRC_X_END       0xBEEE
42
#define SRC_Y_DIR       0xC2EE
43
#define SCAN_TO_X       0xCAEE
44
#define DEST_X_START    0xA6EE
45
#define DEST_X_END      0xAAEE
46
#define DEST_Y_END      0xAEEE
47
#define GE_STAT         0x9AE8
48
#define CONF_STAT1      0x12EE
49
#define CONF_STAT2      0x16EE
50
#define MISC_OPTIONS    0x36EE
51
#define MEM_CFG         0x5EEE
52
#define MEM_BNDRY       0x42EE
53
#define LOCAL_CNTL      0x32EE
54
#define CHIP_ID         0xFAEE
55
#define EXT_GE_CONF     0x7AEE
56
#define R_EXT_GE_CONF   0x8EEE
57
#define DISP_CNTL       0x22E8
58
#define CLOCK_SEL       0x4AEE
59
#define GE_PITCH        0x76EE
60
#define GE_OFFSET_HI    0x72EE
61
#define GE_OFFSET_LO    0x6EEE
62
#define CRT_PITCH       0x26EE
63
#define CRT_OFFSET_HI   0x2EEE
64
#define CRT_OFFSET_LO   0x2AEE
65
#define H_DISP          0x06E8
66
#define H_TOTAL         0x02E8
67
#define H_SYNC_WID      0x0EE8
68
#define H_SYNC_STRT     0x0AE8
69
#define V_DISP          0x16E8
70
#define V_SYNC_STRT     0x1AE8
71
#define V_SYNC_WID      0x1EE8
72
#define V_TOTAL         0x12E8
73
#define R_H_TOTAL       0xB2EE
74
#define R_H_SYNC_STRT   0xB6EE
75
#define R_H_SYNC_WID    0xBAEE
76
#define R_V_TOTAL       0xC2EE
77
#define R_V_DISP        0xC6EE
78
#define R_V_SYNC_STRT   0xCAEE
79
#define R_V_SYNC_WID    0xD2EE
80
#define SHADOW_SET      0x5AEE
81
#define SHADOW_CTL      0x46EE
82
#define MISC_CTL        0x7EEE
83
#define R_MISC_CTL      0x92EE
84
#define LINEDRAW        0xFEEE
85
#define LINEDRAW_INDEX  0x9AEE
86
#define LINEDRAW_OPT    0xA2EE
87
#define PIX_TRANS       0xE2E8
88
#define DEST_CMP_FN     0xEEEE
89
#define CMP_COLOR       0xB2E8
90
#define RD_MASK         0xAEE8
91
 
92
#endif                          /* _8514A_H */