Lines Matching defs:step
52 static int check_ring_step(struct intel_ring *ring, u32 x, u32 step)
54 u32 prev = x, next = intel_ring_wrap(ring, x + step);
65 static int check_ring_offset(struct intel_ring *ring, u32 x, u32 step)
69 err |= check_ring_step(ring, x, step);
70 err |= check_ring_step(ring, intel_ring_wrap(ring, x + 1), step);
71 err |= check_ring_step(ring, intel_ring_wrap(ring, x - 1), step);
80 int step, err = 0;
89 for (step = 1; step < half; step <<= 1) {
90 err |= check_ring_offset(ring, 0, step);
91 err |= check_ring_offset(ring, half, step);