Home
last modified time | relevance | path

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

/linux-6.12.1/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()
552 if (dma->data_offset + dma->data_size > dma->ring_buffer_size) { in netup_unidvb_ring_copy()
553 ring_bytes = dma->ring_buffer_size - dma->data_offset; in netup_unidvb_ring_copy()
562 if (dma->data_offset == dma->ring_buffer_size) in netup_unidvb_ring_copy()
573 if (dma->data_offset == dma->ring_buffer_size) in netup_unidvb_ring_copy()
665 dma->ring_buffer_size = ndev->dma_size / 2; in netup_unidvb_dma_init()
666 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
/linux-6.12.1/drivers/usb/misc/
Dldusb.c124 static int ring_buffer_size = 128; variable
125 module_param(ring_buffer_size, int, 0000);
126 MODULE_PARM_DESC(ring_buffer_size, "Read ring buffer size in reports");
243 next_ring_head = (dev->ring_head+1) % ring_buffer_size; in ld_usb_interrupt_in_callback()
500 dev->ring_tail = (dev->ring_tail + 1) % ring_buffer_size; in ld_usb_read()
697 dev->ring_buffer = kcalloc(ring_buffer_size, in ld_usb_probe()
/linux-6.12.1/drivers/hv/
Dring_buffer.c114 u32 ring_buffer_size = hv_get_ring_buffersize(ring_info); in hv_copyto_ringbuffer() local
119 if (start_write_offset >= ring_buffer_size) in hv_copyto_ringbuffer()
120 start_write_offset -= ring_buffer_size; in hv_copyto_ringbuffer()
/linux-6.12.1/sound/soc/intel/atom/
Dsst-mfld-platform.h74 u32 ring_buffer_size; member
/linux-6.12.1/include/linux/
Dring_buffer.h167 unsigned long ring_buffer_size(struct trace_buffer *buffer, int cpu);
/linux-6.12.1/kernel/trace/
Dring_buffer.c5876 unsigned long ring_buffer_size(struct trace_buffer *buffer, int cpu) in ring_buffer_size() function
5883 EXPORT_SYMBOL_GPL(ring_buffer_size);
Dtrace.c6040 set_buffer_entries(buf, ring_buffer_size(buf->buffer, 0)); in update_buffer_entries()
6042 per_cpu_ptr(buf->data, cpu)->entries = ring_buffer_size(buf->buffer, cpu); in update_buffer_entries()
9427 ring_buffer_size(tr->array_buffer.buffer, 0)); in allocate_trace_buffer()