Lines Matching refs:vpos
287 int vpos, hpos;
319 * distance to start of "fudged earlier" vblank in vpos, distance to
320 * start of real vblank in hpos. vpos >= 0 && hpos < 0 means we are in
339 &vpos, &hpos, NULL, NULL,
341 ((vpos >= 0 && hpos < 0) || (hpos >= 0 && !ASIC_IS_AVIVO(rdev)))) {
417 int vpos, hpos;
455 &vpos, &hpos, NULL, NULL,
1789 * fudged earlier start of vblank in *vpos and the distance
1792 * \param *vpos Location where vertical scanout position should be stored.
1799 * Returns vpos as a positive number while in active scanout area.
1800 * Returns vpos as a negative number inside vblank, counting the number
1814 unsigned int flags, int *vpos, int *hpos,
1892 /* Only retrieve vpos from upper 16 bits, set hpos == 0. */
1919 *vpos = position & 0x1fff;
1938 *hpos = *vpos - vbl_start;
1955 if ((*vpos < vbl_start) && (*vpos >= vbl_end))
1965 *vpos -= vbl_start;
1970 * vpos will then be >=0 in video scanout area, but negative
1976 if (in_vbl && (*vpos >= vbl_start)) {
1978 *vpos = *vpos - vtotal;
1982 *vpos = *vpos - vbl_end;
1989 bool in_vblank_irq, int *vpos, int *hpos,
1996 return radeon_get_crtc_scanoutpos(dev, pipe, 0, vpos, hpos,