Home
last modified time | relevance | path

Searched refs:dma_buffer_p (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.4/sound/core/
Dpcm_memory.c299 if (runtime->dma_buffer_p) { in snd_pcm_lib_malloc_pages()
303 if (runtime->dma_buffer_p->bytes >= size) { in snd_pcm_lib_malloc_pages()
347 if (runtime->dma_buffer_p != &substream->dma_buffer) { in snd_pcm_lib_free_pages()
349 snd_dma_free_pages(runtime->dma_buffer_p); in snd_pcm_lib_free_pages()
350 kfree(runtime->dma_buffer_p); in snd_pcm_lib_free_pages()
Dcompress_offload.c161 if (!data->stream.runtime->dma_buffer_p) in snd_compr_free()
505 if (stream->runtime->dma_buffer_p) { in snd_compr_allocate_buffer()
507 if (buffer_size > stream->runtime->dma_buffer_p->bytes) in snd_compr_allocate_buffer()
511 buffer = stream->runtime->dma_buffer_p->area; in snd_compr_allocate_buffer()
/Linux-v5.4/include/sound/
Dcompress_driver.h41 struct snd_dma_buffer *dma_buffer_p; member
195 runtime->dma_buffer_p = bufp; in snd_compr_set_runtime_buffer()
Dpcm.h416 struct snd_dma_buffer *dma_buffer_p; /* allocated buffer */ member
1141 runtime->dma_buffer_p = bufp; in snd_pcm_set_runtime_buffer()
1146 runtime->dma_buffer_p = NULL; in snd_pcm_set_runtime_buffer()
1231 #define snd_pcm_get_dma_buf(substream) ((substream)->runtime->dma_buffer_p)
/Linux-v5.4/sound/soc/sof/intel/
Dhda-pcm.c101 dmab = substream->runtime->dma_buffer_p; in hda_dsp_pcm_hw_params()
/Linux-v5.4/Documentation/sound/kernel-api/
Dwriting-an-alsa-driver.rst1611 struct snd_dma_buffer *dma_buffer_p; /* allocated buffer */