Searched refs:high1 (Results 1 – 2 of 2) sorted by relevance
631 uint32_t high1 = 0, high2 = 0, low = 0, count = 0; in psb_get_vblank_counter() local668 high1 = ((REG_READ(high_frame) & PIPE_FRAME_HIGH_MASK) >> in psb_get_vblank_counter()674 } while (high1 != high2); in psb_get_vblank_counter()676 count = (high1 << 8) | low; in psb_get_vblank_counter()
801 u32 high1, high2, low, pixel, vbl_start, hsync_start, htotal; in i915_get_vblank_counter() local846 high1 = I915_READ(high_frame) & PIPE_FRAME_HIGH_MASK; in i915_get_vblank_counter()849 } while (high1 != high2); in i915_get_vblank_counter()851 high1 >>= PIPE_FRAME_HIGH_SHIFT; in i915_get_vblank_counter()860 return (((high1 << 8) | low) + (pixel >= vbl_start)) & 0xffffff; in i915_get_vblank_counter()