Home
last modified time | relevance | path

Searched refs:sgbuf (Results 1 – 2 of 2) sorted by relevance

/linux/sound/core/
H A Dmemalloc.c690 struct snd_dma_sg_fallback *sgbuf) in __snd_dma_sg_fallback_free() argument
695 if (sgbuf->pages && sgbuf->npages) { in __snd_dma_sg_fallback_free()
697 while (i < sgbuf->count) { in __snd_dma_sg_fallback_free()
698 size = sgbuf->npages[i]; in __snd_dma_sg_fallback_free()
701 do_free_pages(page_address(sgbuf->pages[i]), in __snd_dma_sg_fallback_free()
706 kvfree(sgbuf->pages); in __snd_dma_sg_fallback_free()
707 kvfree(sgbuf->npages); in __snd_dma_sg_fallback_free()
708 kfree(sgbuf); in __snd_dma_sg_fallback_free()
715 struct snd_dma_sg_fallback *sgbuf; in snd_dma_sg_fallback_alloc() local
722 sgbuf = kzalloc(sizeof(*sgbuf), GFP_KERNEL); in snd_dma_sg_fallback_alloc()
[all …]
/linux/Documentation/sound/kernel-api/
H A Dwriting-an-alsa-driver.rst3566 struct snd_sg_buf *sgbuf = (struct snd_sg_buf *)substream->dma_private;
3574 ``sgbuf->table``. You can get the physical address at a certain offset