Home
last modified time | relevance | path

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

/linux-6.3-rc2/sound/core/
A Dmemalloc.c731 if (sgbuf->pages && sgbuf->addrs) { in __snd_dma_sg_fallback_free()
734 if (!sgbuf->pages[i] || !sgbuf->addrs[i]) in __snd_dma_sg_fallback_free()
751 kfree(sgbuf); in __snd_dma_sg_fallback_free()
769 sgbuf = kzalloc(sizeof(*sgbuf), GFP_KERNEL); in snd_dma_sg_fallback_alloc()
770 if (!sgbuf) in snd_dma_sg_fallback_alloc()
775 sgbuf->pages = kvcalloc(sgbuf->count, sizeof(*sgbuf->pages), GFP_KERNEL); in snd_dma_sg_fallback_alloc()
776 sgbuf->addrs = kvcalloc(sgbuf->count, sizeof(*sgbuf->addrs), GFP_KERNEL); in snd_dma_sg_fallback_alloc()
777 if (!sgbuf->pages || !sgbuf->addrs) in snd_dma_sg_fallback_alloc()
814 set_pages_array_wc(sgbuf->pages, sgbuf->count); in snd_dma_sg_fallback_alloc()
831 set_pages_array_wb(sgbuf->pages, sgbuf->count); in snd_dma_sg_fallback_free()
[all …]
/linux-6.3-rc2/drivers/tty/serial/
A Damba-pl011.c830 struct pl011_sgbuf *sgbuf; in pl011_dma_rx_trigger_dma() local
836 sgbuf = uap->dmarx.use_buf_b ? in pl011_dma_rx_trigger_dma()
878 struct pl011_sgbuf *sgbuf = use_buf_b ? in pl011_dma_rx_chars() local
888 dmataken = sgbuf->sg.length - dmarx->last_residue; in pl011_dma_rx_chars()
913 dmarx->last_residue = sgbuf->sg.length; in pl011_dma_rx_chars()
948 struct pl011_sgbuf *sgbuf = dmarx->use_buf_b ? in pl011_dma_rx_irq() local
971 pending = sgbuf->sg.length - state.residue; in pl011_dma_rx_irq()
998 struct pl011_sgbuf *sgbuf = dmarx->use_buf_b ? in pl011_dma_rx_callback() local
1017 pending = sgbuf->sg.length - state.residue; in pl011_dma_rx_callback()
1069 struct pl011_sgbuf *sgbuf; in pl011_dma_rx_poll() local
[all …]
/linux-6.3-rc2/Documentation/sound/kernel-api/
A Dwriting-an-alsa-driver.rst3781 struct snd_sg_buf *sgbuf = (struct snd_sg_buf *)substream->dma_private;
3789 ``sgbuf->table``. You can get the physical address at a certain offset

Completed in 15 milliseconds