Lines Matching refs:randr_mode
1001 xf86RandRModeMatches(RRModePtr randr_mode, DisplayModePtr mode) in xf86RandRModeMatches() argument
1008 if (randr_mode->mode.nameLength != len) in xf86RandRModeMatches()
1010 if (memcmp(randr_mode->name, mode->name, len) != 0) in xf86RandRModeMatches()
1016 if (randr_mode->mode.dotClock / 1000 != mode->Clock) in xf86RandRModeMatches()
1018 if (randr_mode->mode.width != mode->HDisplay) in xf86RandRModeMatches()
1020 if (randr_mode->mode.hSyncStart != mode->HSyncStart) in xf86RandRModeMatches()
1022 if (randr_mode->mode.hSyncEnd != mode->HSyncEnd) in xf86RandRModeMatches()
1024 if (randr_mode->mode.hTotal != mode->HTotal) in xf86RandRModeMatches()
1026 if (randr_mode->mode.hSkew != mode->HSkew) in xf86RandRModeMatches()
1028 if (randr_mode->mode.height != mode->VDisplay) in xf86RandRModeMatches()
1030 if (randr_mode->mode.vSyncStart != mode->VSyncStart) in xf86RandRModeMatches()
1032 if (randr_mode->mode.vSyncEnd != mode->VSyncEnd) in xf86RandRModeMatches()
1034 if (randr_mode->mode.vTotal != mode->VTotal) in xf86RandRModeMatches()
1038 if ((randr_mode->mode.modeFlags & FLAG_BITS) != (mode->Flags & FLAG_BITS)) in xf86RandRModeMatches()
1051 RRModePtr randr_mode = NULL; in xf86RandR12CrtcNotify() local
1071 randr_mode = NULL; in xf86RandR12CrtcNotify()
1091 randr_mode = m; in xf86RandR12CrtcNotify()
1097 ret = RRCrtcNotify(randr_crtc, randr_mode, x, y, in xf86RandR12CrtcNotify()
1110 RRModePtr randr_mode, DisplayModePtr mode) in xf86RandRModeConvert() argument
1115 mode->Clock = randr_mode->mode.dotClock / 1000; in xf86RandRModeConvert()
1117 mode->HDisplay = randr_mode->mode.width; in xf86RandRModeConvert()
1118 mode->HSyncStart = randr_mode->mode.hSyncStart; in xf86RandRModeConvert()
1119 mode->HSyncEnd = randr_mode->mode.hSyncEnd; in xf86RandRModeConvert()
1120 mode->HTotal = randr_mode->mode.hTotal; in xf86RandRModeConvert()
1121 mode->HSkew = randr_mode->mode.hSkew; in xf86RandRModeConvert()
1123 mode->VDisplay = randr_mode->mode.height; in xf86RandRModeConvert()
1124 mode->VSyncStart = randr_mode->mode.vSyncStart; in xf86RandRModeConvert()
1125 mode->VSyncEnd = randr_mode->mode.vSyncEnd; in xf86RandRModeConvert()
1126 mode->VTotal = randr_mode->mode.vTotal; in xf86RandRModeConvert()
1129 mode->Flags = randr_mode->mode.modeFlags & FLAG_BITS; in xf86RandRModeConvert()
1137 RRModePtr randr_mode, in xf86RandR12CrtcSet() argument
1157 if ((randr_mode != NULL) != crtc->enabled) in xf86RandR12CrtcSet()
1159 else if (randr_mode && !xf86RandRModeMatches(randr_mode, &crtc->mode)) in xf86RandR12CrtcSet()
1204 crtc->enabled = randr_mode != NULL; in xf86RandR12CrtcSet()
1206 if (randr_mode) { in xf86RandR12CrtcSet()
1209 xf86RandRModeConvert(pScrn, randr_mode, &mode); in xf86RandR12CrtcSet()
1548 RROutputPtr randr_output, RRModePtr randr_mode) in xf86RandR12OutputValidateMode() argument
1554 xf86RandRModeConvert(pScrn, randr_mode, &mode); in xf86RandR12OutputValidateMode()
1566 xf86RandR12ModeDestroy(ScreenPtr pScreen, RRModePtr randr_mode) in xf86RandR12ModeDestroy() argument