Lines Matching refs:buffers
131 } buffers[MAX_MEMORY_BUFFERS]; member
1071 for (i = 0; i < ARRAY_SIZE(stream->buffers); ++i) { in alloc_stream_buffers()
1074 stream->buffers[i].addr = in alloc_stream_buffers()
1076 &stream->buffers[i].dma); in alloc_stream_buffers()
1077 if (!stream->buffers[i].addr) in alloc_stream_buffers()
1079 stream->buffers[i].size = size; in alloc_stream_buffers()
1095 for (i = 0; i < ARRAY_SIZE(stream->buffers); ++i) in free_stream_buffers()
1097 stream->buffers[i].size, in free_stream_buffers()
1098 stream->buffers[i].addr, in free_stream_buffers()
1099 stream->buffers[i].dma); in free_stream_buffers()
1109 for (b = 0; b < ARRAY_SIZE(stream->buffers); ++b) { in alloc_stream_urbs()
1110 unsigned int size = stream->buffers[b].size; in alloc_stream_urbs()
1111 u8 *addr = stream->buffers[b].addr; in alloc_stream_urbs()
1112 dma_addr_t dma = stream->buffers[b].dma; in alloc_stream_urbs()