Home
last modified time | relevance | path

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

/sound/oss/dmasound/
Ddmasound_core.c418 if (sq->buffers) in sq_allocate_buffers()
422 sq->buffers = kmalloc (num * sizeof(char *), GFP_KERNEL); in sq_allocate_buffers()
423 if (!sq->buffers) in sq_allocate_buffers()
426 sq->buffers[i] = dmasound.mach.dma_alloc(size, GFP_KERNEL); in sq_allocate_buffers()
427 if (!sq->buffers[i]) { in sq_allocate_buffers()
429 dmasound.mach.dma_free(sq->buffers[i], size); in sq_allocate_buffers()
430 kfree(sq->buffers); in sq_allocate_buffers()
431 sq->buffers = NULL; in sq_allocate_buffers()
442 if (sq->buffers) { in sq_release_buffers()
444 dmasound.mach.dma_free(sq->buffers[i], sq->bufSize); in sq_release_buffers()
[all …]
Ddmasound.h215 char **buffers; member
Ddmasound_q40.c410 start = write_sq.buffers[write_sq.front]; in Q40PlayNextFrame()
Ddmasound_paula.c469 start = write_sq.buffers[write_sq.front]; in AmiPlayNextFrame()
Ddmasound_atari.c1175 start = write_sq.buffers[write_sq.front]; in AtaPlayNextFrame()
/sound/core/
Dmemalloc.c426 int vendor, device, size, buffers; in snd_mem_proc_write() local
441 (buffers = simple_strtol(token, NULL, 0)) <= 0 || in snd_mem_proc_write()
442 buffers > 4) { in snd_mem_proc_write()
460 for (i = 0; i < buffers; i++) { in snd_mem_proc_write()
474 for (i = 0; i < buffers; i++) { in snd_mem_proc_write()
/sound/usb/misc/
Dua101.c131 } 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()
[all …]
/sound/oss/
DKconfig270 bool "Persistent DMA buffers"
272 Linux can often have problems allocating DMA buffers for ISA sound
274 DMA buffers must exist below the 16MB boundary and it is quite
277 here the DMA buffers (64Kb) will be allocated at boot time and kept
DCHANGELOG362 - It's possible to use smaller buffers than earlier. There is a new
364 This call instructs the driver to use smaller buffers. The default
/sound/core/oss/
Dpcm_oss.c1670 void __user *buffers[runtime->channels]; in snd_pcm_oss_sync() local
1671 memset(buffers, 0, runtime->channels * sizeof(void *)); in snd_pcm_oss_sync()
1672 snd_pcm_lib_writev(substream, buffers, size); in snd_pcm_oss_sync()