Subversion Repositories shark

Rev

Rev 54 | Details | Compare with Previous | 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
80 pj 13
#include "ll/sys/cdefs.h"
54 pj 14
 
80 pj 15
__BEGIN_DECLS
16
 
54 pj 17
#define CMD             0x9AE8
18
#define ALU_FG_FN       0xBAEE
19
#define ALU_BG_FN       0xB6EE
20
#define EXT_SCISSOR_B   0xE6EE
21
#define EXT_SCISSOR_L   0xD2EE
22
#define EXT_SCISSOR_R   0xE2EE
23
#define EXT_SCISSOR_T   0xDEEE
24
#define DP_CONFIG       0xCEEE
25
#define FRGD_MIX        0xBAE8
26
#define BKGD_MIX        0xB6E8
27
#define FRGD_COLOR      0xA6E8
28
#define BKGD_COLOR      0xA2E8
29
#define CUR_X           0x86E8
30
#define CUR_Y           0x82E8
31
#define MAJ_AXIS_PCNT   0x96E8
32
#define MULTI_FUNC_CNTL 0xBEE8
33
#define EXT_FIFO_STATUS 0x9AEE
34
#define ADVFUNC_CNTL    0x4AE8  /* S3 */
35
#define SUBSYS_CNTL     0x42E8
36
#define SUBSYS_STAT     0x42E8
37
#define SCRATCH_PAD_0   0x52EE
38
#define DESTX_DIASTP    0x8EE8
39
#define DESTY_AXSTP     0x8AE8
40
#define R_SRC_X         0xDAEE
41
#define SRC_X           0x8EE8
42
#define SRC_Y           0x8AE8
43
#define SRC_X_START     0xB2EE
44
#define SRC_X_END       0xBEEE
45
#define SRC_Y_DIR       0xC2EE
46
#define SCAN_TO_X       0xCAEE
47
#define DEST_X_START    0xA6EE
48
#define DEST_X_END      0xAAEE
49
#define DEST_Y_END      0xAEEE
50
#define GE_STAT         0x9AE8
51
#define CONF_STAT1      0x12EE
52
#define CONF_STAT2      0x16EE
53
#define MISC_OPTIONS    0x36EE
54
#define MEM_CFG         0x5EEE
55
#define MEM_BNDRY       0x42EE
56
#define LOCAL_CNTL      0x32EE
57
#define CHIP_ID         0xFAEE
58
#define EXT_GE_CONF     0x7AEE
59
#define R_EXT_GE_CONF   0x8EEE
60
#define DISP_CNTL       0x22E8
61
#define CLOCK_SEL       0x4AEE
62
#define GE_PITCH        0x76EE
63
#define GE_OFFSET_HI    0x72EE
64
#define GE_OFFSET_LO    0x6EEE
65
#define CRT_PITCH       0x26EE
66
#define CRT_OFFSET_HI   0x2EEE
67
#define CRT_OFFSET_LO   0x2AEE
68
#define H_DISP          0x06E8
69
#define H_TOTAL         0x02E8
70
#define H_SYNC_WID      0x0EE8
71
#define H_SYNC_STRT     0x0AE8
72
#define V_DISP          0x16E8
73
#define V_SYNC_STRT     0x1AE8
74
#define V_SYNC_WID      0x1EE8
75
#define V_TOTAL         0x12E8
76
#define R_H_TOTAL       0xB2EE
77
#define R_H_SYNC_STRT   0xB6EE
78
#define R_H_SYNC_WID    0xBAEE
79
#define R_V_TOTAL       0xC2EE
80
#define R_V_DISP        0xC6EE
81
#define R_V_SYNC_STRT   0xCAEE
82
#define R_V_SYNC_WID    0xD2EE
83
#define SHADOW_SET      0x5AEE
84
#define SHADOW_CTL      0x46EE
85
#define MISC_CTL        0x7EEE
86
#define R_MISC_CTL      0x92EE
87
#define LINEDRAW        0xFEEE
88
#define LINEDRAW_INDEX  0x9AEE
89
#define LINEDRAW_OPT    0xA2EE
90
#define PIX_TRANS       0xE2E8
91
#define DEST_CMP_FN     0xEEEE
92
#define CMP_COLOR       0xB2E8
93
#define RD_MASK         0xAEE8
80 pj 94
__END_DECLS
54 pj 95
#endif                          /* _8514A_H */