Lines Matching refs:restore
20 MGAG200SERestoreFonts(ScrnInfoPtr scrninfp, vgaRegPtr restore)
112 /* restore the registers that were changed */
246 MGAG200SERestoreMode(ScrnInfoPtr scrninfp, vgaRegPtr restore)
253 if (restore->MiscOutReg & 0x01)
258 hwp->writeMiscOut(hwp, restore->MiscOutReg);
261 for (i = 1; i < restore->numSequencer; i++)
265 hwp->writeSeq(hwp, i, restore->Sequencer[i]);
278 hwp->writeCrtc(hwp, 17, restore->CRTC[17] & ~0x80);
280 for (i = 0; i < restore->numCRTC; i++)
281 hwp->writeCrtc(hwp, i, restore->CRTC[i]);
283 for (i = 0; i < restore->numGraphics; i++)
284 hwp->writeGr(hwp, i, restore->Graphics[i]);
287 for (i = 0; i < restore->numAttribute; i++)
288 hwp->writeAttr(hwp, i, restore->Attribute[i]);
293 hwp->writeSeq(hwp, 1, restore->Sequencer[1]);