Searched refs:high1 (Results 1 – 2 of 2) sorted by relevance
/drivers/gpu/drm/gma500/ |
D | psb_irq.c | 623 uint32_t high1 = 0, high2 = 0, low = 0, count = 0; in psb_get_vblank_counter() local 660 high1 = ((REG_READ(high_frame) & PIPE_FRAME_HIGH_MASK) >> in psb_get_vblank_counter() 666 } while (high1 != high2); in psb_get_vblank_counter() 668 count = (high1 << 8) | low; in psb_get_vblank_counter()
|
/drivers/gpu/drm/i915/ |
D | i915_irq.c | 623 u32 high1, high2, low, pixel, vbl_start, hsync_start, htotal; in i915_get_vblank_counter() local 663 high1 = intel_de_read_fw(dev_priv, high_frame) & PIPE_FRAME_HIGH_MASK; in i915_get_vblank_counter() 666 } while (high1 != high2); in i915_get_vblank_counter() 670 high1 >>= PIPE_FRAME_HIGH_SHIFT; in i915_get_vblank_counter() 679 return (((high1 << 8) | low) + (pixel >= vbl_start)) & 0xffffff; in i915_get_vblank_counter()
|