Lines Matching refs:vpos
291 int vpos, hpos; in radeon_crtc_handle_vblank() local
326 &vpos, &hpos, NULL, NULL)) && in radeon_crtc_handle_vblank()
327 ((vpos >= (99 * rdev->mode_info.crtcs[crtc_id]->base.hwmode.crtc_vdisplay)/100) || in radeon_crtc_handle_vblank()
328 (vpos < 0 && !ASIC_IS_AVIVO(rdev)))) { in radeon_crtc_handle_vblank()
1792 int *vpos, int *hpos, ktime_t *stime, ktime_t *etime) in radeon_get_crtc_scanoutpos() argument
1895 *vpos = position & 0x1fff; in radeon_get_crtc_scanoutpos()
1912 if ((*vpos < vbl_start) && (*vpos >= vbl_end)) in radeon_get_crtc_scanoutpos()
1922 if (in_vbl && (*vpos >= vbl_start)) { in radeon_get_crtc_scanoutpos()
1924 *vpos = *vpos - vtotal; in radeon_get_crtc_scanoutpos()
1928 *vpos = *vpos - vbl_end; in radeon_get_crtc_scanoutpos()
1948 if (vbl_start - *vpos < vtotal / 100) { in radeon_get_crtc_scanoutpos()
1949 *vpos -= vtotal; in radeon_get_crtc_scanoutpos()