Searched refs:high1 (Results 1 – 2 of 2) sorted by relevance
/linux-5.19.10/drivers/gpu/drm/gma500/ ! |
D | psb_irq.c | 439 uint32_t high1 = 0, high2 = 0, low = 0, count = 0; in gma_crtc_get_vblank_counter() local 476 high1 = ((REG_READ(high_frame) & PIPE_FRAME_HIGH_MASK) >> in gma_crtc_get_vblank_counter() 482 } while (high1 != high2); in gma_crtc_get_vblank_counter() 484 count = (high1 << 8) | low; in gma_crtc_get_vblank_counter()
|
/linux-5.19.10/drivers/gpu/drm/i915/ ! |
D | i915_irq.c | 683 u32 high1, high2, low, pixel, vbl_start, hsync_start, htotal; in i915_get_vblank_counter() local 723 high1 = intel_de_read_fw(dev_priv, high_frame) & PIPE_FRAME_HIGH_MASK; in i915_get_vblank_counter() 726 } while (high1 != high2); in i915_get_vblank_counter() 730 high1 >>= PIPE_FRAME_HIGH_SHIFT; in i915_get_vblank_counter() 739 return (((high1 << 8) | low) + (pixel >= vbl_start)) & 0xffffff; in i915_get_vblank_counter()
|