Searched refs:buffers (Results 1 – 6 of 6) sorted by relevance
415 if (sq->buffers) in sq_allocate_buffers()419 sq->buffers = kmalloc_array (num, sizeof(char *), GFP_KERNEL); in sq_allocate_buffers()420 if (!sq->buffers) in sq_allocate_buffers()423 sq->buffers[i] = dmasound.mach.dma_alloc(size, GFP_KERNEL); in sq_allocate_buffers()424 if (!sq->buffers[i]) { in sq_allocate_buffers()426 dmasound.mach.dma_free(sq->buffers[i], size); in sq_allocate_buffers()427 kfree(sq->buffers); in sq_allocate_buffers()428 sq->buffers = NULL; in sq_allocate_buffers()439 if (sq->buffers) { in sq_release_buffers()441 dmasound.mach.dma_free(sq->buffers[i], sq->bufSize); in sq_release_buffers()[all …]
210 char **buffers; member
411 start = write_sq.buffers[write_sq.front]; in Q40PlayNextFrame()
470 start = write_sq.buffers[write_sq.front]; in AmiPlayNextFrame()
1176 start = write_sq.buffers[write_sq.front]; in AtaPlayNextFrame()
120 } buffers[MAX_MEMORY_BUFFERS]; member1039 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()[all …]