Lines Matching refs:position

246 	int position, vtotal;  in __intel_get_crtc_scanline()  local
256 position = intel_de_read_fw(display, PIPEDSL(display, pipe)) & PIPEDSL_LINE_MASK; in __intel_get_crtc_scanline()
270 if (HAS_DDI(display) && !position) { in __intel_get_crtc_scanline()
277 if (temp != position) { in __intel_get_crtc_scanline()
278 position = temp; in __intel_get_crtc_scanline()
288 return (position + vtotal + crtc->scanline_offset) % vtotal; in __intel_get_crtc_scanline()
334 int position; in i915_get_crtc_scanoutpos() local
371 position = __intel_get_crtc_scanline(crtc); in i915_get_crtc_scanoutpos()
379 if (position >= vbl_start && scanlines < position) in i915_get_crtc_scanoutpos()
380 position = min(crtc->vmax_vblank_start + scanlines, vtotal - 1); in i915_get_crtc_scanoutpos()
385 position = __intel_get_crtc_scanline(crtc); in i915_get_crtc_scanoutpos()
392position = (intel_de_read_fw(display, PIPEFRAMEPIXEL(display, pipe)) & PIPE_PIXEL_MASK) >> PIPE_PI… in i915_get_crtc_scanoutpos()
408 position = min(position, vtotal - 1); in i915_get_crtc_scanoutpos()
419 position = (position + htotal - hsync_start) % vtotal; in i915_get_crtc_scanoutpos()
437 if (position >= vbl_start) in i915_get_crtc_scanoutpos()
438 position -= vbl_end; in i915_get_crtc_scanoutpos()
440 position += vtotal - vbl_end; in i915_get_crtc_scanoutpos()
443 *vpos = position; in i915_get_crtc_scanoutpos()
446 *vpos = position / htotal; in i915_get_crtc_scanoutpos()
447 *hpos = position - (*vpos * htotal); in i915_get_crtc_scanoutpos()
465 int position; in intel_get_crtc_scanline() local
470 position = __intel_get_crtc_scanline(crtc); in intel_get_crtc_scanline()
475 return position; in intel_get_crtc_scanline()