Lines Matching defs:pVga
1057 vgaRegPtr pVga = &hwp->SavedReg;
1066 vgaHWSave(pScrn, pVga, VGA_SR_ALL);
1294 vgaRegPtr pVga = &hwp->ModeReg;
1341 pVga->MiscOutReg |= 0x0c;
1342 pVga->Sequencer[0] = 0x03;
1343 pVga->CRTC[19] = pS3->s3BppDisplayWidth >> 3;
1344 pVga->CRTC[23] = 0xe3;
1345 pVga->Attribute[0x11] = 0xff;
1348 pVga->MiscOutReg &= 0xfe;
1350 pVga->MiscOutReg |= 0x01;
1367 outb(0x3c2, pVga->MiscOutReg);
1370 outw(0x3c4, (pVga->Sequencer[r] << 8) | r);
1374 outw(vgaCRIndex, (pVga->CRTC[17] << 8) | 17);
1376 outw(vgaCRIndex, (pVga->CRTC[r] << 8) | r);
1379 outw(0x3ce, (pVga->Graphics[r] << 8) | r);
1385 outb(0x3c0, pVga->Attribute[r]);
1389 outb(0x3c0, pVga->Attribute[r]);
1415 new->cr3b = (pVga->CRTC[0] + pVga->CRTC[4] + 1) / 2;
1420 new->cr3c = pVga->CRTC[0] / 2;
1581 j = ((pVga->CRTC[0] + ((i & 0x01) << 8) +
1582 pVga->CRTC[4] + ((i & 0x10) << 4) + 1) / 2);
1584 if (j - (pVga->CRTC[4] + ((i & 0x10) << 4)) < 4) {
1585 if (pVga->CRTC[4] + ((i & 0x10) << 4) + 4 <= pVga->CRTC[0] + ((i & 0x01) << 8))
1586 j = pVga->CRTC[4] + ((i & 0x10) << 4) + 4;
1588 j = pVga->CRTC[0] + ((i & 0x01) << 8) + 1;
1600 new->cr3c = (pVga->CRTC[0] + ((i & 0x01) << 8)) / 2;