Home
last modified time | relevance | path

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

/linux/drivers/usb/misc/
H 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/
H A 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/drivers/net/wireless/ath/carl9170/
H A Ddebug.h126 unsigned int ring_head, ring_tail; member
/linux/drivers/vhost/
H A Dvhost.c2830 __virtio16 ring_head; in vhost_get_vq_desc_n() local
2847 if (unlikely(vhost_get_avail_head(vq, &ring_head, in vhost_get_vq_desc_n()
2854 head = vhost16_to_cpu(vq, ring_head); in vhost_get_vq_desc_n()