Lines Matching defs:tridentReg

179 tridentSetBrightnessAndGamma(TRIDENTRegPtr tridentReg,
192 tridentReg->tridentRegs3C4[0xB4] &= ~0x80;
219 tridentReg->tridentRegs3C4[0xB4] = 0x80 | i_slopes[0];
220 tridentReg->tridentRegs3C4[0xB5] = i_slopes[1];
221 tridentReg->tridentRegs3C4[0xB6] = i_slopes[2];
222 tridentReg->tridentRegs3C4[0xB7] = i_slopes[3];
223 tridentReg->tridentRegs3C4[0xB8] = (intercepts[0] + brightness);
224 tridentReg->tridentRegs3C4[0xB9] = (intercepts[1] + brightness);
225 tridentReg->tridentRegs3C4[0xBA] = (intercepts[2] + brightness);
226 tridentReg->tridentRegs3C4[0xBB] = (intercepts[3] + brightness);
763 TridentRestore(ScrnInfoPtr pScrn, TRIDENTRegPtr tridentReg)
790 OUTB(0x3C6, tridentReg->tridentRegsDAC[0x00]);
876 OUTW(0x3C4, (tridentReg->tridentRegsClock[0x01])<<8 | ClockLow);
877 OUTW(0x3C4, (tridentReg->tridentRegsClock[0x02])<<8 | ClockHigh);
880 OUTW(0x3C4,(tridentReg->tridentRegsClock[0x03])<<8 | MCLKLow);
881 OUTW(0x3C4,(tridentReg->tridentRegsClock[0x04])<<8 | MCLKHigh);
888 OUTB(0x43C8, tridentReg->tridentRegsClock[0x01]);
889 OUTB(0x43C9, tridentReg->tridentRegsClock[0x02]);
892 OUTB(0x43C6, tridentReg->tridentRegsClock[0x03]);
893 OUTB(0x43C7, tridentReg->tridentRegsClock[0x04]);
900 OUTB(0x3C2, tridentReg->tridentRegsClock[0x00]);
905 OUTB(0x3C5, tridentReg->tridentRegs3C4[Protection]);
908 OUTW(0x3C4, ((tridentReg->tridentRegs3C4[NewMode1] ^ 0x02) << 8)| NewMode1);
912 TridentSave(ScrnInfoPtr pScrn, TRIDENTRegPtr tridentReg)
1015 tridentReg->tridentRegsDAC[0x00] = INB(0x3C6);
1018 tridentReg->tridentRegsClock[0x00] = INB(0x3CC);
1021 tridentReg->tridentRegsClock[0x01] = INB(0x3C5);
1023 tridentReg->tridentRegsClock[0x02] = INB(0x3C5);
1026 tridentReg->tridentRegsClock[0x03] = INB(0x3C5);
1028 tridentReg->tridentRegsClock[0x04] = INB(0x3C5);
1031 tridentReg->tridentRegsClock[0x01] = INB(0x43C8);
1032 tridentReg->tridentRegsClock[0x02] = INB(0x43C9);
1034 tridentReg->tridentRegsClock[0x03] = INB(0x43C6);
1035 tridentReg->tridentRegsClock[0x04] = INB(0x43C7);