Home
last modified time | relevance | path

Searched refs:high1 (Results 1 – 2 of 2) sorted by relevance

/drivers/gpu/drm/gma500/
Dpsb_irq.c464 uint32_t high1 = 0, high2 = 0, low = 0, count = 0; in psb_get_vblank_counter() local
501 high1 = ((REG_READ(high_frame) & PIPE_FRAME_HIGH_MASK) >> in psb_get_vblank_counter()
507 } while (high1 != high2); in psb_get_vblank_counter()
509 count = (high1 << 8) | low; in psb_get_vblank_counter()
/drivers/gpu/drm/i915/
Di915_irq.c649 u32 high1, high2, low, pixel, vbl_start, hsync_start, htotal; in i915_get_vblank_counter() local
689 high1 = intel_de_read_fw(dev_priv, high_frame) & PIPE_FRAME_HIGH_MASK; in i915_get_vblank_counter()
692 } while (high1 != high2); in i915_get_vblank_counter()
696 high1 >>= PIPE_FRAME_HIGH_SHIFT; in i915_get_vblank_counter()
705 return (((high1 << 8) | low) + (pixel >= vbl_start)) & 0xffffff; in i915_get_vblank_counter()