Lines Matching refs:vtotal
619 int position, vtotal; in __intel_get_crtc_scanline() local
621 vtotal = mode->crtc_vtotal; in __intel_get_crtc_scanline()
623 vtotal /= 2; in __intel_get_crtc_scanline()
634 return (position + crtc->scanline_offset) % vtotal; in __intel_get_crtc_scanline()
646 int vbl_start, vbl_end, hsync_start, htotal, vtotal; in i915_get_crtc_scanoutpos() local
659 vtotal = mode->crtc_vtotal; in i915_get_crtc_scanoutpos()
666 vtotal /= 2; in i915_get_crtc_scanoutpos()
699 vtotal *= htotal; in i915_get_crtc_scanoutpos()
710 if (position >= vtotal) in i915_get_crtc_scanoutpos()
711 position = vtotal - 1; in i915_get_crtc_scanoutpos()
722 position = (position + htotal - hsync_start) % vtotal; in i915_get_crtc_scanoutpos()
744 position += vtotal - vbl_end; in i915_get_crtc_scanoutpos()