Lines Matching defs:save
42 /* save the registers that are needed here */
54 /* save hwp->IOBase and temporarily set it for colour mode */
140 MGAG200SESaveFonts(ScrnInfoPtr scrninfp, vgaRegPtr save)
158 /* If in graphics mode, don't save anything */
163 /* save the registers that are needed here */
171 /* save hwp->IOBase and temporarily set it for colour mode */
298 MGAG200SESaveMode(ScrnInfoPtr scrninfp, vgaRegPtr save)
303 save->MiscOutReg = hwp->readMiscOut(hwp);
304 if (save->MiscOutReg & 0x01)
309 for (i = 0; i < save->numCRTC; i++) {
310 save->CRTC[i] = hwp->readCrtc(hwp, i);
312 ErrorF("CRTC[0x%02x] = 0x%02x\n", i, save->CRTC[i]);
317 for (i = 0; i < save->numAttribute; i++) {
318 save->Attribute[i] = hwp->readAttr(hwp, i);
320 ErrorF("Attribute[0x%02x] = 0x%02x\n", i, save->Attribute[i]);
325 for (i = 0; i < save->numGraphics; i++) {
326 save->Graphics[i] = hwp->readGr(hwp, i);
328 ErrorF("Graphics[0x%02x] = 0x%02x\n", i, save->Graphics[i]);
332 for (i = 1; i < save->numSequencer; i++) {
333 save->Sequencer[i] = hwp->readSeq(hwp, i);
335 ErrorF("Sequencer[0x%02x] = 0x%02x\n", i, save->Sequencer[i]);