Lines Matching refs:vpos
293 int vpos, hpos;
325 * distance to start of "fudged earlier" vblank in vpos, distance to
326 * start of real vblank in hpos. vpos >= 0 && hpos < 0 means we are in
345 &vpos, &hpos, NULL, NULL,
347 ((vpos >= 0 && hpos < 0) || (hpos >= 0 && !ASIC_IS_AVIVO(rdev)))) {
423 int vpos, hpos;
461 &vpos, &hpos, NULL, NULL,
1795 * fudged earlier start of vblank in *vpos and the distance
1798 * \param *vpos Location where vertical scanout position should be stored.
1805 * Returns vpos as a positive number while in active scanout area.
1806 * Returns vpos as a negative number inside vblank, counting the number
1820 unsigned int flags, int *vpos, int *hpos,
1898 /* Only retrieve vpos from upper 16 bits, set hpos == 0. */
1925 *vpos = position & 0x1fff;
1944 *hpos = *vpos - vbl_start;
1961 if ((*vpos < vbl_start) && (*vpos >= vbl_end))
1971 *vpos -= vbl_start;
1976 * vpos will then be >=0 in video scanout area, but negative
1982 if (in_vbl && (*vpos >= vbl_start)) {
1984 *vpos = *vpos - vtotal;
1988 *vpos = *vpos - vbl_end;
1995 bool in_vblank_irq, int *vpos, int *hpos,
2002 return radeon_get_crtc_scanoutpos(dev, pipe, 0, vpos, hpos,