Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/iio/buffer/
Dindustrialio-buffer-dmaengine.c32 struct dmaengine_buffer { struct
42 static struct dmaengine_buffer *iio_buffer_to_dmaengine_buffer( in iio_buffer_to_dmaengine_buffer() argument
45 return container_of(buffer, struct dmaengine_buffer, queue.buffer); in iio_buffer_to_dmaengine_buffer()
64 struct dmaengine_buffer *dmaengine_buffer = in iio_dmaengine_buffer_submit_block() local
69 block->bytes_used = min(block->size, dmaengine_buffer->max_size); in iio_dmaengine_buffer_submit_block()
71 dmaengine_buffer->align); in iio_dmaengine_buffer_submit_block()
73 desc = dmaengine_prep_slave_single(dmaengine_buffer->chan, in iio_dmaengine_buffer_submit_block()
86 spin_lock_irq(&dmaengine_buffer->queue.list_lock); in iio_dmaengine_buffer_submit_block()
87 list_add_tail(&block->head, &dmaengine_buffer->active); in iio_dmaengine_buffer_submit_block()
88 spin_unlock_irq(&dmaengine_buffer->queue.list_lock); in iio_dmaengine_buffer_submit_block()
[all …]