Home
last modified time | relevance | path

Searched refs:sgbuf (Results 1 – 3 of 3) 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/drivers/crypto/
H A Datmel-sha.c1950 struct scatterlist *sgbuf; in atmel_sha_hmac_digest2() local
2007 sgbuf = &dd->tmp; in atmel_sha_hmac_digest2()
2010 sgbuf = req->src; in atmel_sha_hmac_digest2()
2015 return atmel_sha_dma_start(dd, sgbuf, req->nbytes, in atmel_sha_hmac_digest2()
2018 return atmel_sha_cpu_start(dd, sgbuf, req->nbytes, false, true, in atmel_sha_hmac_digest2()
/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