| /OK3568_Linux_fs/external/xserver/hw/xfree86/utils/cvt/ |
| H A D | cvt.c | 73 CVTCheckStandard(int HDisplay, int VDisplay, float VRefresh, Bool Reduced, in CVTCheckStandard() argument 78 if ((!(VDisplay % 3) && ((VDisplay * 4 / 3) == HDisplay)) || in CVTCheckStandard() 79 (!(VDisplay % 9) && ((VDisplay * 16 / 9) == HDisplay)) || in CVTCheckStandard() 80 (!(VDisplay % 10) && ((VDisplay * 16 / 10) == HDisplay)) || in CVTCheckStandard() 81 (!(VDisplay % 4) && ((VDisplay * 5 / 4) == HDisplay)) || in CVTCheckStandard() 82 (!(VDisplay % 9) && ((VDisplay * 15 / 9) == HDisplay))); in CVTCheckStandard() 132 printf("# %dx%d %.2f Hz ", Mode->HDisplay, Mode->VDisplay, Mode->VRefresh); in PrintComment() 136 ((float) Mode->HDisplay * Mode->VDisplay) / 1000000.0); in PrintComment() 139 ((Mode->VDisplay * 4 / 3) == Mode->HDisplay)) in PrintComment() 142 ((Mode->VDisplay * 16 / 9) == Mode->HDisplay)) in PrintComment() [all …]
|
| /OK3568_Linux_fs/external/xserver/hw/xfree86/modes/ |
| H A D | xf86cvt.c | 63 xf86CVTMode(int HDisplay, int VDisplay, float VRefresh, Bool Reduced, in xf86CVTMode() argument 101 HDisplayRnd = HDisplay - (HDisplay % CVT_H_GRANULARITY); in xf86CVTMode() 113 Mode->HDisplay = HDisplayRnd + 2 * HMargin; in xf86CVTMode() 138 if (!(VDisplay % 3) && ((VDisplay * 4 / 3) == HDisplay)) in xf86CVTMode() 140 else if (!(VDisplay % 9) && ((VDisplay * 16 / 9) == HDisplay)) in xf86CVTMode() 142 else if (!(VDisplay % 10) && ((VDisplay * 16 / 10) == HDisplay)) in xf86CVTMode() 144 else if (!(VDisplay % 4) && ((VDisplay * 5 / 4) == HDisplay)) in xf86CVTMode() 146 else if (!(VDisplay % 9) && ((VDisplay * 15 / 9) == HDisplay)) in xf86CVTMode() 207 HBlank = Mode->HDisplay * HBlankPercentage / (100.0 - HBlankPercentage); in xf86CVTMode() 211 Mode->HTotal = Mode->HDisplay + HBlank; in xf86CVTMode() [all …]
|
| H A D | xf86Modes.c | 81 return mode->HDisplay; in xf86ModeWidth() 99 return mode->HDisplay; in xf86ModeHeight() 115 a_active = mode->HDisplay * mode->VDisplay; in xf86ModeBandwidth() 132 XNFasprintf(&tmp, "%dx%d%s", mode->HDisplay, mode->VDisplay, in xf86SetModeDefaultName() 149 p->CrtcHDisplay = p->HDisplay; in xf86SetModeCrtc() 270 pMode1->HDisplay == pMode2->HDisplay && in xf86ModesEqual() 384 mode->HDisplay, mode->HSyncStart, mode->HSyncEnd, mode->HTotal, in xf86PrintModeline() 588 if ((((mode->HDisplay * 5 / 4) & ~0x07) > mode->HTotal) && in xf86ModeIsReduced() 589 ((mode->HTotal - mode->HDisplay) == 160) && in xf86ModeIsReduced() 590 ((mode->HSyncEnd - mode->HDisplay) == 80) && in xf86ModeIsReduced() [all …]
|
| H A D | xf86Rotate.c | 83 crtc->mode.HDisplay, crtc->mode.VDisplay); in xf86RotateCrtcRedisplay() 117 damage_box.x2 = crtc->mode.HDisplay; in xf86CrtcDamageShadow() 155 HDisplay, in xf86RotatePrepare() 339 b.x2 = crtc->mode.HDisplay; in xf86CrtcFitsScreen() 376 crtc->mode.HDisplay, crtc->mode.VDisplay, in xf86CrtcRotate() 406 int width = crtc->mode.HDisplay; in xf86CrtcRotate() 493 crtc->bounds.x2 = crtc->mode.HDisplay; in xf86CrtcRotate()
|
| H A D | xf86Crtc.c | 1081 if (mode->HDisplay > crtc_width) in xf86DefaultScreenLimits() 1082 crtc_width = mode->HDisplay; in xf86DefaultScreenLimits() 1087 if (mode->HDisplay > crtc_height) in xf86DefaultScreenLimits() 1088 crtc_height = mode->HDisplay; in xf86DefaultScreenLimits() 1407 diff = b->HDisplay * b->VDisplay - a->HDisplay * a->VDisplay; in xf86ModeCompare() 1900 A = a->HDisplay * a->VDisplay; in biggestMode() 1901 B = b->HDisplay * b->VDisplay; in biggestMode() 1945 else if ((maxmode->HDisplay == testmode->HDisplay) && in SetCompatOutput() 1968 else if (test->probed_modes->HDisplay < in SetCompatOutput() 1969 output->probed_modes->HDisplay) { in SetCompatOutput() [all …]
|
| H A D | xf86EdidModes.c | 439 if (ret->HDisplay == hsize && in FindDMTMode() 488 if (p->HDisplay == hsize && p->VDisplay == vsize && in DDCModesFromStandardTiming() 498 Mode->HDisplay = 1366; in DDCModesFromStandardTiming() 550 if ((mode->HDisplay == cea_interlaced[i].w) && in DDCModeDoInterlaceQuirks() 610 Mode->HDisplay = timing->h_active; in DDCModeFromDetailedTiming() 893 if (mode->HDisplay * mode->VDisplay > best->HDisplay * best->VDisplay) { in xf86DDCSetPreferredRefresh() 897 if (mode->HDisplay * mode->VDisplay == best->HDisplay * best->VDisplay) { in xf86DDCSetPreferredRefresh()
|
| H A D | xf86Cursors.c | 404 *x = crtc->mode.HDisplay - *x - 1; in xf86_crtc_transform_cursor_position() 409 *x = crtc->mode.HDisplay - *y - 1; in xf86_crtc_transform_cursor_position() 417 *x = crtc->mode.HDisplay - *x - 1; in xf86_crtc_transform_cursor_position() 422 *x = crtc->mode.HDisplay - *x - 1; in xf86_crtc_transform_cursor_position() 459 if (crtc_x >= mode->HDisplay || crtc_y >= mode->VDisplay || in xf86_crtc_set_cursor_position()
|
| H A D | xf86RandR12.c | 123 crtc->panningTotalArea.x1 + crtc->mode.HDisplay) { in xf86RandR13VerifyPanningArea() 126 crtc->panningTotalArea.x1 + crtc->mode.HDisplay; in xf86RandR13VerifyPanningArea() 139 crtc->mode.HDisplay) { in xf86RandR13VerifyPanningArea() 363 width = crtc->mode.HDisplay; in xf86RandR13Pan() 480 if (maxX < mode->HDisplay) in xf86RandR12GetInfo() 481 maxX = mode->HDisplay; in xf86RandR12GetInfo() 486 mode->HDisplay, mode->VDisplay, in xf86RandR12GetInfo() 529 scrp->virtualX = mode->HDisplay; in xf86RandR12SetMode() 610 if (maxX < mode->HDisplay) in xf86RandR12SetConfig() 611 maxX = mode->HDisplay; in xf86RandR12SetConfig() [all …]
|
| H A D | xf86Modes.h | 62 extern _X_EXPORT DisplayModePtr xf86CVTMode(int HDisplay, int VDisplay,
|
| H A D | xf86gtf.c | 362 mode->HDisplay = (int) (h_pixels_rnd); in xf86GTFMode()
|
| H A D | xf86DiDGA.c | 81 mode->viewportWidth = display_mode->HDisplay; in xf86_dga_get_modes()
|
| /OK3568_Linux_fs/external/xserver/hw/xwayland/ |
| H A D | xwayland-cvt.c | 65 xwayland_cvt(int HDisplay, int VDisplay, float VRefresh, Bool Reduced, in xwayland_cvt() argument 104 HDisplayRnd = HDisplay - (HDisplay % CVT_H_GRANULARITY); in xwayland_cvt() 141 if (!(VDisplay % 3) && ((VDisplay * 4 / 3) == HDisplay)) in xwayland_cvt() 143 else if (!(VDisplay % 9) && ((VDisplay * 16 / 9) == HDisplay)) in xwayland_cvt() 145 else if (!(VDisplay % 10) && ((VDisplay * 16 / 10) == HDisplay)) in xwayland_cvt() 147 else if (!(VDisplay % 4) && ((VDisplay * 5 / 4) == HDisplay)) in xwayland_cvt() 149 else if (!(VDisplay % 9) && ((VDisplay * 15 / 9) == HDisplay)) in xwayland_cvt() 300 if (HDisplay == 1366 && VDisplay == 768) { in xwayland_cvt()
|
| /OK3568_Linux_fs/external/xserver/hw/xfree86/vbe/ |
| H A D | vbeModes.c | 249 pMode->HDisplay = mode->XResolution; in CheckMode() 283 pMode->HDisplay > pScrn->display->virtualX) { in VBEGetModePool() 293 pMode->HDisplay, pMode->VDisplay, in VBEGetModePool() 316 pMode->HDisplay > pScrn->display->virtualX) { in VBEGetModePool() 326 pMode->HDisplay, pMode->VDisplay, in VBEGetModePool() 354 if (pMode->HDisplay > 10000 || pMode->HDisplay < 0 || in VBESetModeNames() 361 pMode->HDisplay, pMode->VDisplay); in VBESetModeNames() 386 if ((p->HDisplay != pMode->HDisplay) || in VBESetModeParameters()
|
| /OK3568_Linux_fs/external/xserver/hw/xfree86/common/ |
| H A D | xf86Mode.c | 390 modep->HDisplay = p->HDisplay; in xf86HandleBuiltinMode() 660 modep->HDisplay = bestMode->HDisplay; in xf86LookupMode() 717 if (0 >= mode->HDisplay || mode->HDisplay > mode->HSyncStart || in xf86CheckModeForMonitor() 869 if (0 >= mode->HDisplay || mode->HDisplay > mode->HSyncStart || in xf86InitialCheckModeForDriver() 877 if (!xf86CheckModeSize(scrp, mode->HDisplay, mode->HDisplay, in xf86InitialCheckModeForDriver() 881 if (maxPitch > 0 && mode->HDisplay > maxPitch) in xf86InitialCheckModeForDriver() 884 if (virtualX > 0 && mode->HDisplay > virtualX) in xf86InitialCheckModeForDriver() 1009 if (mode->HDisplay > scrp->virtualX) in xf86CheckModeForDriver() 1116 x = mode->HDisplay; in inferVirtualSize() 1145 mode_aspect = (float) mode->HDisplay / (float) mode->VDisplay; in inferVirtualSize() [all …]
|
| H A D | xf86Cursor.c | 95 pScr->frameX0 = (pScr->virtualX - pScr->modes->HDisplay) / 2; in xf86InitViewport() 104 pScr->frameX1 = pScr->frameX0 + pScr->modes->HDisplay - 1; in xf86InitViewport() 111 pScr->frameX0 = pScr->virtualX - pScr->modes->HDisplay; in xf86InitViewport() 112 pScr->frameX1 = pScr->frameX0 + pScr->modes->HDisplay - 1; in xf86InitViewport() 145 pScr->frameX1 = x + pScr->currentMode->HDisplay - 1; in xf86PointerMoved() 151 pScr->frameX0 = x - pScr->currentMode->HDisplay + 1; in xf86PointerMoved() 209 if (mode->HDisplay > pScr->virtualX || mode->VDisplay > pScr->virtualY) in xf86SwitchMode() 234 pScr->frameX0 = px - (mode->HDisplay / 2) + 1; in xf86SwitchMode() 237 (pScr->frameX0 + pScr->frameX1 + 1 - mode->HDisplay) / 2; in xf86SwitchMode() 242 pScr->frameX1 = pScr->frameX0 + mode->HDisplay - 1; in xf86SwitchMode() [all …]
|
| H A D | xf86RandR.c | 93 mode->HDisplay, mode->VDisplay, in xf86RandRGetInfo() 99 mode->HDisplay == scrp->virtualX && in xf86RandRGetInfo() 105 if (scrp->currentMode->HDisplay != randrp->virtualX || in xf86RandRGetInfo() 167 scrp->virtualX = mode->HDisplay; in xf86RandRSetMode() 249 if (mode->HDisplay == pSize->width && in xf86RandRSetConfig()
|
| H A D | xf86VidMode.c | 223 pScrn->virtualX - pScrn->currentMode->HDisplay); in xf86VidModeSetViewPort() 224 pScrn->frameX1 = pScrn->frameX0 + pScrn->currentMode->HDisplay - 1; in xf86VidModeSetViewPort()
|
| /OK3568_Linux_fs/external/xserver/hw/xfree86/fbdevhw/ |
| H A D | fbdevhw.c | 140 mode->HDisplay, mode->HSyncStart, mode->HSyncEnd, mode->HTotal, in print_xfree_mode() 171 var->xres = mode->HDisplay; in xfree2fbdev_timing() 179 var->right_margin = mode->HSyncStart - mode->HDisplay; in xfree2fbdev_timing() 225 mode->HDisplay = var->xres; in fbdev2xfree_timing() 226 mode->HSyncStart = mode->HDisplay + var->right_margin; in fbdev2xfree_timing() 244 mode->CrtcHDisplay = mode->HDisplay; in fbdev2xfree_timing() 548 if (pScrn->virtualX < mode->HDisplay) in fbdevHWSetVideoModes() 549 pScrn->virtualX = mode->HDisplay; in fbdevHWSetVideoModes() 585 if (pScrn->virtualX < fPtr->buildin.HDisplay) in fbdevHWUseBuildinMode() 586 pScrn->virtualX = fPtr->buildin.HDisplay; in fbdevHWUseBuildinMode()
|
| /OK3568_Linux_fs/kernel/drivers/video/fbdev/sis/ |
| H A D | sis.h | 315 unsigned short SiS_GetModeID_LCD(int VGAEngine, unsigned int VBFlags, int HDisplay, 319 unsigned short SiS_GetModeID_TV(int VGAEngine, unsigned int VBFlags, int HDisplay, 321 unsigned short SiS_GetModeID_VGA2(int VGAEngine, unsigned int VBFlags, int HDisplay, 682 extern unsigned short SiS_GetModeID_LCD(int VGAEngine, unsigned int VBFlags, int HDisplay, 685 extern unsigned short SiS_GetModeID_TV(int VGAEngine, unsigned int VBFlags, int HDisplay, 687 extern unsigned short SiS_GetModeID_VGA2(int VGAEngine, unsigned int VBFlags, int HDisplay,
|
| H A D | init.c | 341 SiS_GetModeID(int VGAEngine, unsigned int VBFlags, int HDisplay, int VDisplay, in SiS_GetModeID() argument 346 switch(HDisplay) in SiS_GetModeID() 479 SiS_GetModeID_LCD(int VGAEngine, unsigned int VBFlags, int HDisplay, int VDisplay, in SiS_GetModeID_LCD() argument 487 switch(HDisplay) in SiS_GetModeID_LCD() 586 switch(HDisplay) in SiS_GetModeID_LCD() 729 SiS_GetModeID_TV(int VGAEngine, unsigned int VBFlags, int HDisplay, int VDisplay, int Depth, in SiS_GetModeID_TV() argument 736 switch(HDisplay) in SiS_GetModeID_TV() 759 switch(HDisplay) in SiS_GetModeID_TV() 848 SiS_GetModeID_VGA2(int VGAEngine, unsigned int VBFlags, int HDisplay, int VDisplay, int Depth, in SiS_GetModeID_VGA2() argument 853 if(HDisplay >= 1920) return 0; in SiS_GetModeID_VGA2() [all …]
|
| /OK3568_Linux_fs/external/xserver/include/ |
| H A D | displaymode.h | 64 int HDisplay; /* horizontal timing */ member
|
| /OK3568_Linux_fs/kernel/drivers/video/fbdev/matrox/ |
| H A D | matroxfb_g450.c | 253 hvis = ((mt->HDisplay << 1) + 3) & ~3; in computeRegs() 325 mt->HDisplay = hvis & ~7; in computeRegs() 326 mt->HSyncStart = mt->HDisplay + 8; in computeRegs()
|
| H A D | matroxfb_misc.c | 118 mt->HDisplay = var->xres; in matroxfb_var2my() 119 mt->HSyncStart = mt->HDisplay + var->right_margin; in matroxfb_var2my() 240 hd = m->HDisplay >> 3; in matroxfb_vgaHWinit()
|
| H A D | matroxfb_maven.c | 832 unsigned int ibmin = 4 + lmargin + mt->HDisplay; in maven_compute_timming() 847 hlen = 98304 - 128 - ((lmargin + mt->HDisplay - 8) * hdec); in maven_compute_timming() 945 tmpi += mt->HDisplay; in maven_compute_timming()
|
| /OK3568_Linux_fs/external/xserver/hw/xfree86/drivers/modesetting/ |
| H A D | drmmode_display.c | 452 crtc->mode.HDisplay << 16); in plane_add_props() 458 crtc->mode.HDisplay); in plane_add_props() 823 point.v[0] = crtc->mode.HDisplay; in drmmode_crtc_modeset() 845 dx = min(x1, x2) * mode->hdisplay / crtc->mode.HDisplay; in drmmode_crtc_modeset() 850 sw = crtc->mode.HDisplay; in drmmode_crtc_modeset() 1055 sw = crtc->mode.HDisplay; in drmmode_crtc_flip() 1560 mode->HDisplay = kmode->hdisplay; in drmmode_ConvertFromKMode() 1583 mode->HDisplay = drmmode_output->virtual_width; in drmmode_ConvertFromKMode() 1628 kmode->hdisplay = mode->HDisplay; in drmmode_ConvertToKMode() 1908 x = x * crtc->mode.HDisplay / kmode.hdisplay; in drmmode_set_cursor_position() [all …]
|