Lines Matching defs:pSmi
40 SMIPtr pSmi = SMIPTR(pScrn);
46 if (pSmi->GEResetCnt++ < 10 || xf86GetVerbosity() > 1)
53 if (IS_MSOC(pSmi)) {
59 tmp = READ_SCR(pSmi, 0x0000) & ~0x00003000;
60 WRITE_SCR(pSmi, 0x0000, tmp | 0x00003000);
62 WRITE_SCR(pSmi, 0x0000, tmp);
65 tmp = VGAIN8_INDEX(pSmi, VGA_SEQ_INDEX, VGA_SEQ_DATA, 0x15);
66 VGAOUT8_INDEX(pSmi, VGA_SEQ_INDEX, VGA_SEQ_DATA, 0x15, tmp | 0x30);
69 if (!IS_MSOC(pSmi))
70 VGAOUT8_INDEX(pSmi, VGA_SEQ_INDEX, VGA_SEQ_DATA, 0x15, tmp);
80 SMIPtr pSmi = SMIPTR(pScrn);
92 SMIPtr pSmi = SMIPTR(pScrn);
110 if (pSmi->Bpp == 3)
112 WRITE_DPR(pSmi, 0x10, (stride << 16) | stride);
113 WRITE_DPR(pSmi, 0x1C, DEDataFormat);
114 WRITE_DPR(pSmi, 0x24, 0xFFFFFFFF);
115 WRITE_DPR(pSmi, 0x28, 0xFFFFFFFF);
116 WRITE_DPR(pSmi, 0x3C, (stride << 16) | stride);
117 WRITE_DPR(pSmi, 0x40, pSmi->FBOffset >> 3);
118 WRITE_DPR(pSmi, 0x44, pSmi->FBOffset >> 3);
133 SMIPtr pSmi = SMIPTR(pScrn);
142 if (pSmi->Chipset == SMI_LYNX) {
148 if (IS_MSOC(pSmi)) {
153 pSmi->ScissorsLeft = (top << 16) | (left & 0xFFFF) | 0x2000;
154 pSmi->ScissorsRight = (bottom << 16) | (right & 0xFFFF);
156 pSmi->ClipTurnedOn = FALSE;
159 WRITE_DPR(pSmi, 0x2C, pSmi->ScissorsLeft);
160 WRITE_DPR(pSmi, 0x30, pSmi->ScissorsRight);
168 SMIPtr pSmi = SMIPTR(pScrn);
172 pSmi->ScissorsLeft = 0;
174 if (pSmi->Chipset == SMI_LYNX) {
175 pSmi->ScissorsRight = ((pScrn->virtualY * 3) << 16) | (pScrn->virtualX * 3);
177 pSmi->ScissorsRight = (pScrn->virtualY << 16) | (pScrn->virtualX * 3);
180 pSmi->ScissorsRight = (pScrn->virtualY << 16) | pScrn->virtualX;
183 pSmi->ClipTurnedOn = FALSE;
186 WRITE_DPR(pSmi, 0x2C, pSmi->ScissorsLeft);
187 WRITE_DPR(pSmi, 0x30, pSmi->ScissorsRight);