Lines Matching refs:scrp
458 ScrnInfoPtr scrp = xf86ScreenToScrn(pScreen); in xf86RandR12GetInfo() local
466 randrp->virtualX = scrp->virtualX; in xf86RandR12GetInfo()
467 randrp->virtualY = scrp->virtualY; in xf86RandR12GetInfo()
471 if (scrp->vtSema) { in xf86RandR12GetInfo()
472 xf86ProbeOutputModes(scrp, 0, 0); in xf86RandR12GetInfo()
473 xf86SetScrnInfoModes(scrp); in xf86RandR12GetInfo()
476 for (mode = scrp->modes;; mode = mode->next) { in xf86RandR12GetInfo()
492 if (xf86ModesEqual(mode, scrp->currentMode)) { in xf86RandR12GetInfo()
495 if (mode->next == scrp->modes) in xf86RandR12GetInfo()
512 ScrnInfoPtr scrp = xf86ScreenToScrn(pScreen); in xf86RandR12SetMode() local
523 (*scrp->EnableDisableFBAccess) (scrp, FALSE); in xf86RandR12SetMode()
525 scrp->virtualX = randrp->virtualX; in xf86RandR12SetMode()
526 scrp->virtualY = randrp->virtualY; in xf86RandR12SetMode()
529 scrp->virtualX = mode->HDisplay; in xf86RandR12SetMode()
530 scrp->virtualY = mode->VDisplay; in xf86RandR12SetMode()
535 pScreen->width = scrp->virtualY; in xf86RandR12SetMode()
536 pScreen->height = scrp->virtualX; in xf86RandR12SetMode()
541 pScreen->width = scrp->virtualX; in xf86RandR12SetMode()
542 pScreen->height = scrp->virtualY; in xf86RandR12SetMode()
546 if (scrp->currentMode == mode) { in xf86RandR12SetMode()
548 currentMode = scrp->currentMode; in xf86RandR12SetMode()
550 scrp->currentMode = NULL; in xf86RandR12SetMode()
558 scrp->virtualX = pScreen->width = oldWidth; in xf86RandR12SetMode()
559 scrp->virtualY = pScreen->height = oldHeight; in xf86RandR12SetMode()
562 scrp->currentMode = currentMode; in xf86RandR12SetMode()
576 (*scrp->EnableDisableFBAccess) (scrp, TRUE); in xf86RandR12SetMode()
584 ScrnInfoPtr scrp = xf86ScreenToScrn(pScreen); in xf86RandR12SetConfig() local
597 randrp->virtualX = scrp->virtualX; in xf86RandR12SetConfig()
598 randrp->virtualY = scrp->virtualY; in xf86RandR12SetConfig()
608 for (mode = scrp->modes;; mode = mode->next) { in xf86RandR12SetConfig()
619 if (mode->next == scrp->modes) { in xf86RandR12SetConfig()
622 mode = scrp->modes; in xf86RandR12SetConfig()