Lines Matching refs:pMode
55 DisplayModePtr pMode, firstMode;
60 pMode = firstMode = pScrn->modes;
62 while(pMode) {
64 if(0 /*pScrn->displayWidth != pMode->HDisplay*/) {
83 currentMode->mode = pMode;
86 if(pMode->Flags & V_DBLSCAN)
88 if(pMode->Flags & V_INTERLACE)
97 currentMode->viewportWidth = pMode->HDisplay;
98 currentMode->viewportHeight = pMode->VDisplay;
106 currentMode->bytesPerScanline = ((pMode->HDisplay * Bpp) + 3) & ~3L;
107 currentMode->imageWidth = pMode->HDisplay;
108 currentMode->imageHeight = pMode->VDisplay;
122 currentMode->imageHeight = pMode->VDisplay;
132 pMode = pMode->next;
133 if(pMode == firstMode)
147 DGAModePtr pMode
154 if(!pMode) { /* restore the original mode */
168 pScrn->displayWidth = pMode->bytesPerScanline /
169 (pMode->bitsPerPixel >> 3);
171 I128SwitchMode(SWITCH_MODE_ARGS(pScrn, pMode->mode));