Lines Matching refs:vpos
130 int vpos, hpos; in amdgpu_display_flip_work_func() local
141 &vpos, &hpos, NULL, NULL, in amdgpu_display_flip_work_func()
1549 unsigned int pipe, unsigned int flags, int *vpos, in amdgpu_display_get_crtc_scanoutpos() argument
1575 *vpos = position & 0x1fff; in amdgpu_display_get_crtc_scanoutpos()
1593 *hpos = *vpos - vbl_start; in amdgpu_display_get_crtc_scanoutpos()
1610 if ((*vpos < vbl_start) && (*vpos >= vbl_end)) in amdgpu_display_get_crtc_scanoutpos()
1620 *vpos -= vbl_start; in amdgpu_display_get_crtc_scanoutpos()
1631 if (in_vbl && (*vpos >= vbl_start)) { in amdgpu_display_get_crtc_scanoutpos()
1638 *vpos = (*vpos < vtotal) ? (*vpos - vtotal) : 0; in amdgpu_display_get_crtc_scanoutpos()
1642 *vpos = *vpos - vbl_end; in amdgpu_display_get_crtc_scanoutpos()
1671 bool in_vblank_irq, int *vpos, in amdgpu_crtc_get_scanout_position() argument
1678 return amdgpu_display_get_crtc_scanoutpos(dev, pipe, 0, vpos, hpos, in amdgpu_crtc_get_scanout_position()