Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/usb/misc/
Dldusb.c161 unsigned int ring_head; member
244 next_ring_head = (dev->ring_head+1) % ring_buffer_size; in ld_usb_interrupt_in_callback()
246 …actual_buffer = (size_t *)(dev->ring_buffer + dev->ring_head * (sizeof(size_t)+dev->interrupt_in_e… in ld_usb_interrupt_in_callback()
250 dev->ring_head = next_ring_head; in ld_usb_interrupt_in_callback()
335 dev->ring_head = 0; in ld_usb_open()
426 if (dev->ring_head != dev->ring_tail) in ld_usb_poll()
467 while (dev->ring_head == dev->ring_tail) { in ld_usb_read()
/kernel/linux/linux-5.10/drivers/edac/
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
1766 unsigned long head = ring_pos(tad->ring_head, ARRAY_SIZE(tad->err_ctx)); in thunderx_l2c_tad_isr()
1787 tad->ring_head++; in thunderx_l2c_tad_isr()
1798 unsigned long head = ring_pos(cbc->ring_head, ARRAY_SIZE(cbc->err_ctx)); in thunderx_l2c_cbc_isr()
1816 cbc->ring_head++; in thunderx_l2c_cbc_isr()
[all …]
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/drivers/video/fbdev/intelfb/
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()
Dintelfb.h305 u32 ring_head; member
Dintelfbdrv.c686 dinfo->ring_head = 0; in intelfb_pci_register()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gvt/
Dcmd_parser.c476 unsigned long ring_head; member
720 s->ring_head, s->ring_tail); in parser_exec_state_dump()
756 if (WARN_ON(s->ring_head == s->ring_tail)) in update_ip_va()
762 if (s->ring_head > s->ring_tail) { in update_ip_va()
763 if (s->ip_gma >= s->ring_head && s->ip_gma < ring_top) in update_ip_va()
764 len = (s->ip_gma - s->ring_head); in update_ip_va()
767 len = (ring_top - s->ring_head) + in update_ip_va()
770 len = (s->ip_gma - s->ring_head); in update_ip_va()
2816 s.ring_head = gma_head; in scan_workload()
2864 s.ring_head = gma_head; in scan_wa_ctx()
/kernel/linux/linux-5.10/drivers/vhost/
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()