Lines Matching refs:pScrn
126 CheckMode(ScrnInfoPtr pScrn, vbeInfoPtr pVbe, VbeInfoBlock * vbe, int id, in CheckMode() argument
143 ((pScrn->bitsPerPixel == 1 && !VBE_MODE_COLOR(mode)) || in CheckMode()
146 mode->BlueMaskSize) == pScrn->depth && in CheckMode()
147 mode->BitsPerPixel == pScrn->bitsPerPixel) || in CheckMode()
148 (mode->BitsPerPixel == 15 && pScrn->depth == 15) || in CheckMode()
150 mode->BitsPerPixel == pScrn->bitsPerPixel))) { in CheckMode()
268 VBEGetModePool(ScrnInfoPtr pScrn, vbeInfoPtr pVbe, VbeInfoBlock * vbe, in VBEGetModePool() argument
278 if ((pMode = CheckMode(pScrn, pVbe, vbe, id, modeTypes)) != NULL) { in VBEGetModePool()
282 if (pScrn->display->virtualX > 0 && in VBEGetModePool()
283 pMode->HDisplay > pScrn->display->virtualX) { in VBEGetModePool()
286 if (pScrn->display->virtualY > 0 && in VBEGetModePool()
287 pMode->VDisplay > pScrn->display->virtualY) { in VBEGetModePool()
291 xf86DrvMsg(pScrn->scrnIndex, X_INFO, in VBEGetModePool()
311 if ((pMode = CheckMode(pScrn, pVbe, vbe, i, modeTypes)) != NULL) { in VBEGetModePool()
315 if (pScrn->display->virtualX > 0 && in VBEGetModePool()
316 pMode->HDisplay > pScrn->display->virtualX) { in VBEGetModePool()
319 if (pScrn->display->virtualY > 0 && in VBEGetModePool()
320 pMode->VDisplay > pScrn->display->virtualY) { in VBEGetModePool()
324 xf86DrvMsg(pScrn->scrnIndex, X_INFO, in VBEGetModePool()
375 VBESetModeParameters(ScrnInfoPtr pScrn, vbeInfoPtr pVbe) in VBESetModeParameters() argument
380 pMode = pScrn->modes; in VBESetModeParameters()
385 for (p = pScrn->monitor->Modes; p != NULL; p = p->next) { in VBESetModeParameters()
391 status = xf86CheckModeForMonitor(p, pScrn->monitor); in VBESetModeParameters()
404 xf86DrvMsg(pScrn->scrnIndex, X_INFO, in VBESetModeParameters()
430 } while (pMode != pScrn->modes); in VBESetModeParameters()