Lines Matching defs:astReg
264 ASTRegPtr astReg;
268 astReg = &pAST->SavedReg;
271 astReg->MISC = GetReg(MISC_PORT_READ);
275 GetIndexReg(SEQ_PORT, (UCHAR) (i), astReg->SEQ[i]);
279 GetIndexReg(CRTC_PORT, (UCHAR) (i), astReg->CRTC[i]);
283 GetIndexReg(GR_PORT, (UCHAR) (i), astReg->GR[i]);
288 GetIndexReg(AR_PORT_WRITE, (UCHAR) (i), astReg->AR[i]);
294 VGA_GET_PALETTE_INDEX (i, astReg->DAC[i][0], astReg->DAC[i][1], astReg->DAC[i][2]);
302 ASTRegPtr astReg;
306 astReg = &pAST->SavedReg;
309 SetReg(MISC_PORT_WRITE, astReg->MISC);
313 SetIndexReg(SEQ_PORT, (UCHAR) (i), astReg->SEQ[i]);
318 SetIndexReg(CRTC_PORT, (UCHAR) (i), astReg->CRTC[i]);
322 SetIndexReg(GR_PORT, (UCHAR) (i), astReg->GR[i]);
329 SetReg(AR_PORT_WRITE, astReg->AR[i]);
339 VGA_LOAD_PALETTE_INDEX (i, astReg->DAC[i][0], astReg->DAC[i][1], astReg->DAC[i][2]);