Lines Matching defs:size
22 * has its own memory buffer. The size of the block is the granularity at which
70 * size of the block, but if the DMA hardware has certain alignment requirements
71 * for the transfer length it might choose to use less than the full size. In
100 dma_free_coherent(block->queue->dev, PAGE_ALIGN(block->size),
166 struct iio_dma_buffer_queue *queue, size_t size)
174 block->vaddr = dma_alloc_coherent(queue->dev, PAGE_ALIGN(size),
181 block->size = size;
285 size_t size;
294 size = DIV_ROUND_UP(queue->buffer.bytes_per_datum *
300 if (PAGE_ALIGN(queue->fileio.block_size) == PAGE_ALIGN(size))
303 queue->fileio.block_size = size;
333 block->size = size;
340 block = iio_dma_buffer_alloc_block(queue, size);
544 * For counting the available bytes we'll use the size of the block not
552 data_available += queue->fileio.active_block->size;
556 data_available += block->size;