Home
last modified time | relevance | path

Searched refs:ring_head (Results 1 – 7 of 7) sorted by relevance

/drivers/usb/misc/
Dldusb.c165 unsigned int ring_head; member
251 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()
/drivers/net/wireless/ath/carl9170/
Ddebug.c600 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()
Ddebug.h126 unsigned int ring_head, ring_tail; member
/drivers/video/fbdev/intelfb/
Dintelfbhw.c1493 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()
Dintelfb.h304 u32 ring_head; member
Dintelfbdrv.c687 dinfo->ring_head = 0; in intelfb_pci_register()
/drivers/vhost/
Dvhost.c1927 __virtio16 ring_head; in vhost_get_vq_desc() local
1954 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()