Lines Matching refs:restore
729 vgaHWRestoreFonts(ScrnInfoPtr scrninfp, vgaRegPtr restore)
822 /* restore the registers that were changed */
843 vgaHWRestoreMode(ScrnInfoPtr scrninfp, vgaRegPtr restore)
848 if (restore->MiscOutReg & 0x01)
853 hwp->writeMiscOut(hwp, restore->MiscOutReg);
855 for (i = 1; i < restore->numSequencer; i++)
856 hwp->writeSeq(hwp, i, restore->Sequencer[i]);
859 hwp->writeCrtc(hwp, 17, restore->CRTC[17] & ~0x80);
861 for (i = 0; i < restore->numCRTC; i++)
862 hwp->writeCrtc(hwp, i, restore->CRTC[i]);
864 for (i = 0; i < restore->numGraphics; i++)
865 hwp->writeGr(hwp, i, restore->Graphics[i]);
868 for (i = 0; i < restore->numAttribute; i++)
869 hwp->writeAttr(hwp, i, restore->Attribute[i]);
875 vgaHWRestoreColormap(ScrnInfoPtr scrninfp, vgaRegPtr restore)
887 hwp->writeDacData(hwp, restore->DAC[i]);
897 * restore the VGA state
901 vgaHWRestore(ScrnInfoPtr scrninfp, vgaRegPtr restore, int flags)
904 vgaHWRestoreMode(scrninfp, restore);
907 vgaHWRestoreFonts(scrninfp, restore);
910 vgaHWRestoreColormap(scrninfp, restore);
1117 "Cannot read colourmap from VGA. Will restore with default\n");