Lines Matching refs:tail
52 int space = (ring->head & HEAD_ADDR) - (ring->tail + I915_RING_FREE_SPACE);
423 "ctl %08x head %08x tail %08x start %08x\n",
434 "ctl %08x head %08x tail %08x start %08x\n",
457 "ctl %08x head %08x tail %08x start %08x\n",
471 ring->tail = I915_READ_TAIL(ring) & TAIL_ADDR;
1428 if (request->tail == 0xffffffff)
1431 space = request->tail - (ring->tail + I915_RING_FREE_SPACE);
1444 request->tail = 0xffffffff;
1514 int rem = ring->size - ring->tail;
1522 virt = (unsigned int *)(uintptr_t)((caddr_t)ring->virtual_start + ring->tail);
1528 ring->tail = 0;
1573 if (ring->tail + bytes > ring->effective_size) {
1626 ring->tail &= ring->size - 1;
1629 ring->write_tail(ring, ring->tail);
1638 /* Every tail move must follow the sequence below */
1655 /* Now that the ring is fully powered up, update the tail */
1950 /* gen6 bsd needs a special wa for tail updates */