Lines Matching +full:0 +full:x0080000

29 #define PCI_CHIP_SAVAGE4      0x8a22
30 #define PCI_CHIP_SAVAGE3D 0x8a20
31 #define PCI_CHIP_SAVAGE3D_MV 0x8a21
32 #define PCI_CHIP_SAVAGE2000 0x9102
33 #define PCI_CHIP_SAVAGE_MX_MV 0x8c10
34 #define PCI_CHIP_SAVAGE_MX 0x8c11
35 #define PCI_CHIP_SAVAGE_IX_MV 0x8c12
36 #define PCI_CHIP_SAVAGE_IX 0x8c13
37 #define PCI_CHIP_PROSAVAGE_PM 0x8a25
38 #define PCI_CHIP_PROSAVAGE_KM 0x8a26
39 #define PCI_CHIP_S3TWISTER_P 0x8d01
40 #define PCI_CHIP_S3TWISTER_K 0x8d02
41 #define PCI_CHIP_PROSAVAGE_DDR 0x8d03
42 #define PCI_CHIP_PROSAVAGE_DDRK 0x8d04
43 #define PCI_CHIP_SUPSAV_MX128 0x8c22
44 #define PCI_CHIP_SUPSAV_MX64 0x8c24
45 #define PCI_CHIP_SUPSAV_MX64C 0x8c26
46 #define PCI_CHIP_SUPSAV_IX128SDR 0x8c2a
47 #define PCI_CHIP_SUPSAV_IX128DDR 0x8c2b
48 #define PCI_CHIP_SUPSAV_IX64SDR 0x8c2c
49 #define PCI_CHIP_SUPSAV_IX64DDR 0x8c2d
50 #define PCI_CHIP_SUPSAV_IXCSDR 0x8c2e
51 #define PCI_CHIP_SUPSAV_IXCDDR 0x8c2f
69 S3_UNKNOWN = 0,
82 #define BIOS_BASE 0xc0000
84 #define SAVAGE_NEWMMIO_REGBASE_S3 0x1000000 /* 16MB */
85 #define SAVAGE_NEWMMIO_REGBASE_S4 0x0000000
86 #define SAVAGE_NEWMMIO_REGSIZE 0x0080000 /* 512kb */
87 #define SAVAGE_NEWMMIO_VGABASE 0x8000
92 #define FIFO_CONTROL_REG 0x8200
93 #define MIU_CONTROL_REG 0x8204
94 #define STREAMS_TIMEOUT_REG 0x8208
95 #define MISC_TIMEOUT_REG 0x820c
97 #define MONO_PAT_0 0xa4e8
98 #define MONO_PAT_1 0xa4ec
100 #define MAXFIFO 0x7f00
102 #define BCI_CMD_NOP 0x40000000
103 #define BCI_CMD_SETREG 0x96000000
104 #define BCI_CMD_RECT 0x48000000
105 #define BCI_CMD_RECT_XP 0x01000000
106 #define BCI_CMD_RECT_YP 0x02000000
107 #define BCI_CMD_SEND_COLOR 0x00008000
108 #define BCI_CMD_DEST_GBD 0x00000000
109 #define BCI_CMD_SRC_GBD 0x00000020
110 #define BCI_CMD_SRC_SOLID 0x00000000
111 #define BCI_CMD_SRC_MONO 0x00000060
112 #define BCI_CMD_CLIP_NEW 0x00006000
113 #define BCI_CMD_CLIP_LR 0x00004000
115 #define BCI_CLIP_LR(l, r) ((((r) << 16) | (l)) & 0x0FFF0FFF)
116 #define BCI_CLIP_TL(t, l) ((((t) << 16) | (l)) & 0x0FFF0FFF)
117 #define BCI_CLIP_BR(b, r) ((((b) << 16) | (r)) & 0x0FFF0FFF)
118 #define BCI_W_H(w, h) (((h) << 16) | ((w) & 0xFFF))
119 #define BCI_X_Y(x, y) (((y) << 16) | ((x) & 0xFFF))
121 #define BCI_GBD1 0xE0
122 #define BCI_GBD2 0xE1
124 #define BCI_BUFFER_OFFSET 0x10000
125 #define BCI_SIZE 0x4000
129 #define BCI_CMD_GET_ROP(cmd) (((cmd) >> 16) & 0xFF)
130 #define BCI_CMD_SET_ROP(cmd, rop) ((cmd) |= ((rop & 0xFF) << 16))
131 #define BCI_CMD_SEND_COLOR 0x00008000
247 #define BCI_BD_BW_DISABLE 0x10000000
248 #define BCI_BD_SET_BPP(bd, bpp) ((bd) |= (((bpp) & 0xFF) << 16))
249 #define BCI_BD_SET_STRIDE(bd, st) ((bd) |= ((st) & 0xFFFF))
285 return savage_in8(0x8000 + addr, par); in vga_in8()
290 return savage_in16(0x8000 + addr, par); in vga_in16()
295 return savage_in32(0x8000 + addr, par); in vga_in32()
300 savage_out8(0x8000 + addr, val, par); in vga_out8()
305 savage_out16(0x8000 + addr, val, par); in vga_out16()
310 savage_out32(0x8000 + addr, val, par); in vga_out32()
315 vga_out8(0x3d4, index, par); in VGArCR()
316 return vga_in8(0x3d5, par); in VGArCR()
321 vga_out8(0x3ce, index, par); in VGArGR()
322 return vga_in8(0x3cf, par); in VGArGR()
327 vga_out8(0x3c4, index, par); in VGArSEQ()
328 return vga_in8(0x3c5, par); in VGArSEQ()
333 vga_out8(0x3d4, index, par); in VGAwCR()
334 vga_out8(0x3d5, val, par); in VGAwCR()
339 vga_out8(0x3ce, index, par); in VGAwGR()
340 vga_out8(0x3cf, val, par); in VGAwGR()
345 vga_out8(0x3c4, index, par); in VGAwSEQ()
346 vga_out8 (0x3c5, val, par); in VGAwSEQ()
351 vga_in8(0x3da, par); in VGAenablePalette()
352 vga_out8(0x3c0, 0x00, par); in VGAenablePalette()
358 vga_in8(0x3da, par); in VGAdisablePalette()
359 vga_out8(0x3c0, 0x20, par); in VGAdisablePalette()
360 par->paletteEnabled = 0; in VGAdisablePalette()
366 index &= ~0x20; in VGAwATTR()
368 index |= 0x20; in VGAwATTR()
370 vga_in8(0x3da, par); in VGAwATTR()
371 vga_out8(0x3c0, index, par); in VGAwATTR()
372 vga_out8 (0x3c0, value, par); in VGAwATTR()
377 vga_out8(0x3c2, value, par); in VGAwMISC()
386 vga_out8(0x3d4, 0x17, par); in VerticalRetraceWait()
387 if (vga_in8(0x3d5, par) & 0x80) { in VerticalRetraceWait()
388 while ((vga_in8(0x3da, par) & 0x08) == 0x08); in VerticalRetraceWait()
389 while ((vga_in8(0x3da, par) & 0x08) == 0x00); in VerticalRetraceWait()