Home
last modified time | relevance | path

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

/drivers/media/pci/netup_unidvb/
Dnetup_unidvb_core.c219 addr_curr > dma->addr_phys + dma->ring_buffer_size) { in netup_dma_interrupt()
224 (u64)(dma->addr_phys + dma->ring_buffer_size)); in netup_dma_interrupt()
230 (u32)(dma->ring_buffer_size - (dma->addr_last - addr_curr)); in netup_dma_interrupt()
236 if (dma->data_size == 0 || dma->data_size > dma->ring_buffer_size) { in netup_dma_interrupt()
551 if (dma->data_offset + dma->data_size > dma->ring_buffer_size) { in netup_unidvb_ring_copy()
552 ring_bytes = dma->ring_buffer_size - dma->data_offset; in netup_unidvb_ring_copy()
561 if (dma->data_offset == dma->ring_buffer_size) in netup_unidvb_ring_copy()
572 if (dma->data_offset == dma->ring_buffer_size) in netup_unidvb_ring_copy()
664 dma->ring_buffer_size = ndev->dma_size / 2; in netup_unidvb_dma_init()
665 dma->addr_virt = ndev->dma_virt + dma->ring_buffer_size * num; in netup_unidvb_dma_init()
[all …]
Dnetup_unidvb.h58 u32 ring_buffer_size; member
/drivers/usb/misc/
Dldusb.c125 static int ring_buffer_size = 128; variable
126 module_param(ring_buffer_size, int, 0000);
127 MODULE_PARM_DESC(ring_buffer_size, "Read ring buffer size in reports");
244 next_ring_head = (dev->ring_head+1) % ring_buffer_size; in ld_usb_interrupt_in_callback()
501 dev->ring_tail = (dev->ring_tail + 1) % ring_buffer_size; in ld_usb_read()
699 dev->ring_buffer = kcalloc(ring_buffer_size, in ld_usb_probe()
/drivers/hv/
Dring_buffer.c121 u32 ring_buffer_size = hv_get_ring_buffersize(ring_info); in hv_copyto_ringbuffer() local
126 if (start_write_offset >= ring_buffer_size) in hv_copyto_ringbuffer()
127 start_write_offset -= ring_buffer_size; in hv_copyto_ringbuffer()