Lines Matching defs:vgaIOBase
235 int vgaIOBase;
244 vgaIOBase = VGAHWPTR(pScrn)->IOBase;
334 OUTB(vgaIOBase + 4,0);
335 pReg->tridentRegs3x4[0x0] = INB(vgaIOBase + 5);
336 OUTB(vgaIOBase + 4,3);
337 pReg->tridentRegs3x4[0x3] = INB(vgaIOBase + 5);
338 OUTB(vgaIOBase + 4,4);
339 pReg->tridentRegs3x4[0x4] = INB(vgaIOBase + 5);
340 OUTB(vgaIOBase + 4,5);
341 pReg->tridentRegs3x4[0x5] = INB(vgaIOBase + 5);
342 OUTB(vgaIOBase + 4,0x6);
343 pReg->tridentRegs3x4[0x6] = INB(vgaIOBase + 5);
478 OUTB(vgaIOBase + 4,PreEndControl);
479 pReg->tridentRegs3x4[PreEndControl] = INB(vgaIOBase + 5);
480 OUTB(vgaIOBase + 4,PreEndFetch);
481 pReg->tridentRegs3x4[PreEndFetch] = INB(vgaIOBase + 5);
535 OUTB(vgaIOBase + 4, RAMDACTiming);
536 pReg->tridentRegs3x4[RAMDACTiming] = INB(vgaIOBase + 5) | 0x0F;
601 OUTB(vgaIOBase+ 4, New32);
602 pReg->tridentRegs3x4[New32] = INB(vgaIOBase + 5) & 0x7F;
624 OUTB(vgaIOBase+ 4, New32);
625 pReg->tridentRegs3x4[New32] = INB(vgaIOBase + 5) | 0x80;
665 OUTB(vgaIOBase+ 4, InterfaceSel);
666 pReg->tridentRegs3x4[InterfaceSel] = INB(vgaIOBase + 5) | 0x40;
668 OUTB(vgaIOBase+ 4, Performance);
669 pReg->tridentRegs3x4[Performance] = INB(vgaIOBase + 5);
673 OUTB(vgaIOBase+ 4, DRAMControl);
675 pReg->tridentRegs3x4[DRAMControl] = INB(vgaIOBase + 5) | 0x10;
681 OUTB(vgaIOBase + 4, ClockControl);
682 pReg->tridentRegs3x4[ClockControl] = INB(vgaIOBase + 5) | 0x01;
685 OUTB(vgaIOBase+ 4, AddColReg);
686 pReg->tridentRegs3x4[AddColReg] = INB(vgaIOBase + 5) & 0xEF;
709 OUTB(vgaIOBase+ 4, PCIReg);
711 pReg->tridentRegs3x4[PCIReg] = INB(vgaIOBase + 5) & 0xF9;
713 pReg->tridentRegs3x4[PCIReg] = INB(vgaIOBase + 5) & 0xF8;
766 int vgaIOBase;
767 vgaIOBase = VGAHWPTR(pScrn)->IOBase;
915 int vgaIOBase;
916 vgaIOBase = VGAHWPTR(pScrn)->IOBase;
1049 int vgaIOBase;
1050 vgaIOBase = VGAHWPTR(pScrn)->IOBase;
1053 OUTW(vgaIOBase + 4, 0xC150);
1058 int vgaIOBase;
1060 vgaIOBase = VGAHWPTR(pScrn)->IOBase;
1062 OUTW(vgaIOBase + 4, 0x4150);
1068 int vgaIOBase;
1070 vgaIOBase = VGAHWPTR(pScrn)->IOBase;
1073 OUTW(vgaIOBase + 4, (-x)<<8 | 0x46);
1076 OUTW(vgaIOBase + 4, 0x0046);
1079 OUTW(vgaIOBase + 4, (-y)<<8 | 0x47);
1082 OUTW(vgaIOBase + 4, 0x0047);
1084 OUTW(vgaIOBase + 4, (x&0xFF)<<8 | 0x40);
1085 OUTW(vgaIOBase + 4, (x&0x0F00) | 0x41);
1086 OUTW(vgaIOBase + 4, (y&0xFF)<<8 | 0x42);
1087 OUTW(vgaIOBase + 4, (y&0x0F00) | 0x43);
1093 int vgaIOBase;
1095 vgaIOBase = VGAHWPTR(pScrn)->IOBase;
1096 OUTW(vgaIOBase + 4, (fg & 0x000000FF)<<8 | 0x48);
1097 OUTW(vgaIOBase + 4, (fg & 0x0000FF00) | 0x49);
1098 OUTW(vgaIOBase + 4, (fg & 0x00FF0000)>>8 | 0x4A);
1099 OUTW(vgaIOBase + 4, (fg & 0xFF000000)>>16 | 0x4B);
1100 OUTW(vgaIOBase + 4, (bg & 0x000000FF)<<8 | 0x4C);
1101 OUTW(vgaIOBase + 4, (bg & 0x0000FF00) | 0x4D);
1102 OUTW(vgaIOBase + 4, (bg & 0x00FF0000)>>8 | 0x4E);
1103 OUTW(vgaIOBase + 4, (bg & 0xFF000000)>>16 | 0x4F);
1113 int vgaIOBase;
1115 vgaIOBase = VGAHWPTR(pScrn)->IOBase;
1121 OUTW(vgaIOBase + 4, ((programmed_offset & 0xFF) << 8) | 0x44);
1122 OUTW(vgaIOBase + 4, (programmed_offset & 0xFF00) | 0x45);
1221 int vgaIOBase = VGAHWPTR(pScrn)->IOBase;
1232 OUTW(vgaIOBase + 4, (0x04 << 8) | I2C);
1237 while (INB(vgaIOBase + 0xA) & 0x08);
1238 while (!(INB(vgaIOBase + 0xA) & 0x08));
1241 OUTB(vgaIOBase + 4, I2C);
1242 return ( INB(vgaIOBase + 5) & 0x01 );