Lines Matching refs:buffers
120 } buffers[MAX_MEMORY_BUFFERS]; member
1039 for (i = 0; i < ARRAY_SIZE(stream->buffers); ++i) { in alloc_stream_buffers()
1042 stream->buffers[i].addr = in alloc_stream_buffers()
1044 &stream->buffers[i].dma); in alloc_stream_buffers()
1045 if (!stream->buffers[i].addr) in alloc_stream_buffers()
1047 stream->buffers[i].size = size; in alloc_stream_buffers()
1063 for (i = 0; i < ARRAY_SIZE(stream->buffers); ++i) in free_stream_buffers()
1065 stream->buffers[i].size, in free_stream_buffers()
1066 stream->buffers[i].addr, in free_stream_buffers()
1067 stream->buffers[i].dma); in free_stream_buffers()
1077 for (b = 0; b < ARRAY_SIZE(stream->buffers); ++b) { in alloc_stream_urbs()
1078 unsigned int size = stream->buffers[b].size; in alloc_stream_urbs()
1079 u8 *addr = stream->buffers[b].addr; in alloc_stream_urbs()
1080 dma_addr_t dma = stream->buffers[b].dma; in alloc_stream_urbs()