Lines Matching defs:astReg
257 ASTRegPtr astReg;
261 astReg = &pAST->SavedReg;
264 astReg->MISC = GetReg(MISC_PORT_READ);
268 GetIndexReg(SEQ_PORT, (UCHAR) (i), astReg->SEQ[i]);
272 GetIndexReg(CRTC_PORT, (UCHAR) (i), astReg->CRTC[i]);
276 GetIndexReg(GR_PORT, (UCHAR) (i), astReg->GR[i]);
281 GetIndexReg(AR_PORT_WRITE, (UCHAR) (i), astReg->AR[i]);
287 VGA_GET_PALETTE_INDEX (i, astReg->DAC[i][0], astReg->DAC[i][1], astReg->DAC[i][2]);
295 ASTRegPtr astReg;
299 astReg = &pAST->SavedReg;
302 SetReg(MISC_PORT_WRITE, astReg->MISC);
306 SetIndexReg(SEQ_PORT, (UCHAR) (i), astReg->SEQ[i]);
311 SetIndexReg(CRTC_PORT, (UCHAR) (i), astReg->CRTC[i]);
315 SetIndexReg(GR_PORT, (UCHAR) (i), astReg->GR[i]);
322 SetReg(AR_PORT_WRITE, astReg->AR[i]);
332 VGA_LOAD_PALETTE_INDEX (i, astReg->DAC[i][0], astReg->DAC[i][1], astReg->DAC[i][2]);