Searched refs:ring_head (Results 1 – 9 of 9) sorted by relevance
/drivers/usb/misc/ |
D | ldusb.c | 160 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()
|
/drivers/edac/ |
D | thunderx_edac.c | 210 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 …]
|
/drivers/net/wireless/ath/carl9170/ |
D | debug.c | 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()
|
D | debug.h | 126 unsigned int ring_head, ring_tail; member
|
/drivers/gpu/drm/i915/gvt/ |
D | cmd_parser.c | 489 unsigned long ring_head; member 739 s->ring_head, s->ring_tail); in parser_exec_state_dump() 776 if (WARN_ON(s->ring_head == s->ring_tail)) in update_ip_va() 783 if (s->ring_head > s->ring_tail) { in update_ip_va() 784 if (s->ip_gma >= s->ring_head && s->ip_gma < ring_top) in update_ip_va() 785 len = (s->ip_gma - s->ring_head); in update_ip_va() 788 len = (ring_top - s->ring_head) + in update_ip_va() 791 len = (s->ip_gma - s->ring_head); in update_ip_va() 2853 s.ring_head = gma_head; in scan_workload() 2900 s.ring_head = gma_head; in scan_wa_ctx() [all …]
|
/drivers/video/fbdev/intelfb/ |
D | intelfbhw.c | 1488 if (dinfo->ring_tail >= dinfo->ring_head) in get_ring_space() 1490 (dinfo->ring_tail - dinfo->ring_head); in get_ring_space() 1492 ring_space = dinfo->ring_head - dinfo->ring_tail; in get_ring_space() 1514 dinfo->ring_head = INREG(PRI_RING_HEAD) & RING_HEAD_MASK; in wait_ring() 1517 if (dinfo->ring_head != last_head) { in wait_ring() 1519 last_head = dinfo->ring_head; in wait_ring() 1577 dinfo->ring_head = INREG(PRI_RING_HEAD) & RING_HEAD_MASK; in refresh_ring() 1694 DBG_MSG("ring = 0x%08x, 0x%08x (%d)\n", dinfo->ring_head, in intelfbhw_do_fillrect()
|
D | intelfb.h | 305 u32 ring_head; member
|
D | intelfbdrv.c | 694 dinfo->ring_head = 0; in intelfb_pci_register()
|
/drivers/vhost/ |
D | vhost.c | 2525 __virtio16 ring_head; in vhost_get_vq_desc() local 2559 if (unlikely(vhost_get_avail_head(vq, &ring_head, last_avail_idx))) { in vhost_get_vq_desc() 2566 head = vhost16_to_cpu(vq, ring_head); in vhost_get_vq_desc()
|