Lines Matching refs:htotal
56 mode->hsync_end, mode->htotal, in drm_mode_debug_printmodeline()
282 drm_mode->htotal = drm_mode->hdisplay + hblank; in drm_cvt_mode()
285 (drm_mode->htotal * CVT_HSYNC_PERCENTAGE) / 100; in drm_cvt_mode()
316 drm_mode->htotal = drm_mode->hdisplay + CVT_RB_H_BLANK; in drm_cvt_mode()
325 drm_mode->clock = drm_mode->htotal * HV_FACTOR * 1000 / hperiod; in drm_cvt_mode()
511 drm_mode->htotal = total_pixels; in drm_gtf_mode_complex()
592 dmode->htotal = dmode->hsync_end + vm->hback_porch; in drm_display_mode_from_videomode()
633 vm->hback_porch = dmode->htotal - dmode->hsync_end; in drm_display_mode_to_videomode()
756 if (mode->htotal < 0) in drm_mode_hsync()
759 calc_val = (mode->clock * 1000) / mode->htotal; /* hsync in Hz */ in drm_mode_hsync()
782 else if (mode->htotal > 0 && mode->vtotal > 0) { in drm_mode_vrefresh()
787 calc_val /= mode->htotal; in drm_mode_vrefresh()
825 p->crtc_htotal = p->htotal; in drm_mode_set_crtcinfo()
993 mode1->htotal == mode2->htotal && in drm_mode_equal_no_clocks_no_stereo()
1027 mode->htotal < mode->hsync_end) in drm_mode_validate_basic()
1489 in->hsync_end > USHRT_MAX || in->htotal > USHRT_MAX || in drm_mode_convert_to_umode()
1499 out->htotal = in->htotal; in drm_mode_convert_to_umode()
1541 out->htotal = in->htotal; in drm_mode_convert_umode()