Searched refs:ring_tail (Results 1 – 8 of 8) sorted by relevance
167 unsigned int ring_tail; member249 if (next_ring_head != dev->ring_tail) { in ld_usb_interrupt_in_callback()340 dev->ring_tail = 0; in ld_usb_open()430 if (dev->ring_head != dev->ring_tail) in ld_usb_poll()471 while (dev->ring_head == dev->ring_tail) { in ld_usb_read()487 …actual_buffer = (size_t*)(dev->ring_buffer + dev->ring_tail*(sizeof(size_t)+dev->interrupt_in_endp… in ld_usb_read()505 dev->ring_tail = (dev->ring_tail + 1) % ring_buffer_size; in ld_usb_read()
535 writel((n), (u32 __iomem *)(dinfo->ring.virtual + dinfo->ring_tail));\536 dinfo->ring_tail += 4; \537 dinfo->ring_tail &= dinfo->ring_tail_mask; \547 OUTREG(PRI_RING_TAIL, dinfo->ring_tail); \
305 u32 ring_tail; member
1493 if (dinfo->ring_tail >= dinfo->ring_head) in get_ring_space()1495 (dinfo->ring_tail - dinfo->ring_head); in get_ring_space()1497 ring_space = dinfo->ring_head - dinfo->ring_tail; in get_ring_space()1583 dinfo->ring_tail = INREG(PRI_RING_TAIL) & RING_TAIL_MASK; in refresh_ring()1700 dinfo->ring_tail, dinfo->ring_space); in intelfbhw_do_fillrect()
583 ar->debug.ring[ar->debug.ring_tail].reg = reg + (i << 2); in carl9170_debugfs_hw_ioread32_write()584 ar->debug.ring[ar->debug.ring_tail].value = tmp; in carl9170_debugfs_hw_ioread32_write()585 ar->debug.ring_tail++; in carl9170_debugfs_hw_ioread32_write()586 ar->debug.ring_tail %= CARL9170_DEBUG_RING_SIZE; in carl9170_debugfs_hw_ioread32_write()598 while (ar->debug.ring_head != ar->debug.ring_tail) { in carl9170_debugfs_hw_ioread32_read()609 ar->debug.ring_head = ar->debug.ring_tail; in carl9170_debugfs_hw_ioread32_read()
126 unsigned int ring_head, ring_tail; member
149 u32 ring_tail; member
557 wqi->ring_tail = tail << WQ_RING_TAIL_SHIFT; in guc_add_workqueue_item()