Home
last modified time | relevance | path

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

/linux/drivers/usb/misc/
A Dldusb.c160 unsigned int ring_head; member
243 next_ring_head = (dev->ring_head+1) % ring_buffer_size; in ld_usb_interrupt_in_callback()
245 …actual_buffer = (size_t *)(dev->ring_buffer + dev->ring_head * (sizeof(size_t)+dev->interrupt_in_e… in ld_usb_interrupt_in_callback()
249 dev->ring_head = next_ring_head; in ld_usb_interrupt_in_callback()
334 dev->ring_head = 0; in ld_usb_open()
425 if (dev->ring_head != dev->ring_tail) in ld_usb_poll()
466 while (dev->ring_head == dev->ring_tail) { in ld_usb_read()
/linux/drivers/edac/
A Dthunderx_edac.c210 unsigned long ring_head; member
550 unsigned long head = ring_pos(lmc->ring_head, ARRAY_SIZE(lmc->err_ctx)); in thunderx_lmc_err_isr()
563 lmc->ring_head++; in thunderx_lmc_err_isr()
593 while (CIRC_CNT(lmc->ring_head, lmc->ring_tail, in thunderx_lmc_threaded_isr()
725 lmc->ring_head = 0; in thunderx_lmc_probe()
1756 unsigned long ring_head; member
1787 tad->ring_head++; in thunderx_l2c_tad_isr()
1816 cbc->ring_head++; in thunderx_l2c_cbc_isr()
1837 mci->ring_head++; in thunderx_l2c_mci_isr()
1890 while (CIRC_CNT(l2c->ring_head, l2c->ring_tail, in thunderx_l2c_threaded_isr()
[all …]
/linux/drivers/net/wireless/ath/carl9170/
A 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()
A Ddebug.h126 unsigned int ring_head, ring_tail; member
/linux/drivers/gpu/drm/i915/gvt/
A Dcmd_parser.c485 unsigned long ring_head; member
735 s->ring_head, s->ring_tail); in parser_exec_state_dump()
772 if (WARN_ON(s->ring_head == s->ring_tail)) in update_ip_va()
779 if (s->ring_head > s->ring_tail) { in update_ip_va()
781 len = (s->ip_gma - s->ring_head); in update_ip_va()
784 len = (ring_top - s->ring_head) + in update_ip_va()
787 len = (s->ip_gma - s->ring_head); in update_ip_va()
2850 s.ring_head = gma_head; in scan_workload()
2898 s.ring_head = gma_head; in scan_wa_ctx()
3130 s.ring_head = 0; in intel_gvt_update_reg_whitelist()
[all …]
/linux/drivers/video/fbdev/intelfb/
A Dintelfbhw.c1490 if (dinfo->ring_tail >= dinfo->ring_head) in get_ring_space()
1492 (dinfo->ring_tail - dinfo->ring_head); in get_ring_space()
1494 ring_space = dinfo->ring_head - dinfo->ring_tail; in get_ring_space()
1516 dinfo->ring_head = INREG(PRI_RING_HEAD) & RING_HEAD_MASK; in wait_ring()
1519 if (dinfo->ring_head != last_head) { in wait_ring()
1521 last_head = dinfo->ring_head; in wait_ring()
1579 dinfo->ring_head = INREG(PRI_RING_HEAD) & RING_HEAD_MASK; in refresh_ring()
1696 DBG_MSG("ring = 0x%08x, 0x%08x (%d)\n", dinfo->ring_head, in intelfbhw_do_fillrect()
A Dintelfb.h305 u32 ring_head; member
A Dintelfbdrv.c686 dinfo->ring_head = 0; in intelfb_pci_register()
/linux/drivers/vhost/
A Dvhost.c2208 __virtio16 ring_head; in vhost_get_vq_desc() local
2242 if (unlikely(vhost_get_avail_head(vq, &ring_head, last_avail_idx))) { in vhost_get_vq_desc()
2249 head = vhost16_to_cpu(vq, ring_head); in vhost_get_vq_desc()

Completed in 35 milliseconds