Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/usb/misc/
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-6.12.1/drivers/edac/
Dthunderx_edac.c204 unsigned long ring_head; member
544 unsigned long head = ring_pos(lmc->ring_head, ARRAY_SIZE(lmc->err_ctx)); in thunderx_lmc_err_isr()
557 lmc->ring_head++; in thunderx_lmc_err_isr()
587 while (CIRC_CNT(lmc->ring_head, lmc->ring_tail, in thunderx_lmc_threaded_isr()
719 lmc->ring_head = 0; in thunderx_lmc_probe()
1749 unsigned long ring_head; member
1759 unsigned long head = ring_pos(tad->ring_head, ARRAY_SIZE(tad->err_ctx)); in thunderx_l2c_tad_isr()
1780 tad->ring_head++; in thunderx_l2c_tad_isr()
1791 unsigned long head = ring_pos(cbc->ring_head, ARRAY_SIZE(cbc->err_ctx)); in thunderx_l2c_cbc_isr()
1809 cbc->ring_head++; in thunderx_l2c_cbc_isr()
[all …]
/linux-6.12.1/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
/linux-6.12.1/drivers/gpu/drm/xe/
Dxe_hw_engine_types.h195 u32 ring_head; member
Dxe_hw_engine.c946 snapshot->reg.ring_head = in xe_hw_engine_snapshot_capture()
1035 drm_printf(p, "\tRING_HEAD: 0x%08x\n", snapshot->reg.ring_head); in xe_hw_engine_snapshot_print()
/linux-6.12.1/drivers/gpu/drm/i915/gvt/
Dcmd_parser.c491 unsigned long ring_head; member
741 s->ring_head, s->ring_tail); in parser_exec_state_dump()
778 if (WARN_ON(s->ring_head == s->ring_tail)) in update_ip_va()
785 if (s->ring_head > s->ring_tail) { in update_ip_va()
786 if (s->ip_gma >= s->ring_head && s->ip_gma < ring_top) in update_ip_va()
787 len = (s->ip_gma - s->ring_head); in update_ip_va()
790 len = (ring_top - s->ring_head) + in update_ip_va()
793 len = (s->ip_gma - s->ring_head); in update_ip_va()
2855 s.ring_head = gma_head; in scan_workload()
2902 s.ring_head = gma_head; in scan_wa_ctx()
[all …]
/linux-6.12.1/drivers/vhost/
Dvhost.c2584 __virtio16 ring_head; in vhost_get_vq_desc() local
2598 if (unlikely(vhost_get_avail_head(vq, &ring_head, last_avail_idx))) { in vhost_get_vq_desc()
2605 head = vhost16_to_cpu(vq, ring_head); in vhost_get_vq_desc()