Searched refs:ring_head (Results 1 – 7 of 7) sorted by relevance
165 unsigned int ring_head; member251 next_ring_head = (dev->ring_head+1) % ring_buffer_size; in ld_usb_interrupt_in_callback()253 …actual_buffer = (size_t*)(dev->ring_buffer + dev->ring_head*(sizeof(size_t)+dev->interrupt_in_endp… in ld_usb_interrupt_in_callback()257 dev->ring_head = next_ring_head; in ld_usb_interrupt_in_callback()342 dev->ring_head = 0; in ld_usb_open()436 if (dev->ring_head != dev->ring_tail) in ld_usb_poll()477 if (dev->ring_head == dev->ring_tail) { in ld_usb_read()
600 while (ar->debug.ring_head != ar->debug.ring_tail) { in carl9170_debugfs_hw_ioread32_read()602 ar->debug.ring[ar->debug.ring_head].reg, in carl9170_debugfs_hw_ioread32_read()603 ar->debug.ring[ar->debug.ring_head].value); in carl9170_debugfs_hw_ioread32_read()605 ar->debug.ring_head++; in carl9170_debugfs_hw_ioread32_read()606 ar->debug.ring_head %= CARL9170_DEBUG_RING_SIZE; in carl9170_debugfs_hw_ioread32_read()611 ar->debug.ring_head = ar->debug.ring_tail; in carl9170_debugfs_hw_ioread32_read()
126 unsigned int ring_head, 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()1519 dinfo->ring_head = INREG(PRI_RING_HEAD) & RING_HEAD_MASK; in wait_ring()1522 if (dinfo->ring_head != last_head) { in wait_ring()1524 last_head = dinfo->ring_head; in wait_ring()1582 dinfo->ring_head = INREG(PRI_RING_HEAD) & RING_HEAD_MASK; in refresh_ring()1699 DBG_MSG("ring = 0x%08x, 0x%08x (%d)\n", dinfo->ring_head, in intelfbhw_do_fillrect()
304 u32 ring_head; member
687 dinfo->ring_head = 0; in intelfb_pci_register()
1927 __virtio16 ring_head; in vhost_get_vq_desc() local1954 if (unlikely(vhost_get_user(vq, ring_head, in vhost_get_vq_desc()1962 head = vhost16_to_cpu(vq, ring_head); in vhost_get_vq_desc()