Home
last modified time | relevance | path

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

/linux/sound/core/
A Dsgbuf.c39 if (!sgbuf) in snd_dma_sg_free()
58 kfree(sgbuf->table); in snd_dma_sg_free()
59 kfree(sgbuf->page_table); in snd_dma_sg_free()
60 kfree(sgbuf); in snd_dma_sg_free()
77 dmab->private_data = sgbuf = kzalloc(sizeof(*sgbuf), GFP_KERNEL); in snd_dma_sg_alloc()
78 if (!sgbuf) in snd_dma_sg_alloc()
92 sgbuf->table = table; in snd_dma_sg_alloc()
108 if (!sgbuf->pages) in snd_dma_sg_alloc()
124 sgbuf->pages += chunk; in snd_dma_sg_alloc()
130 sgbuf->size = size; in snd_dma_sg_alloc()
[all …]
A DMakefile22 snd-pcm-$(CONFIG_SND_DMA_SGBUF) += sgbuf.o
/linux/drivers/tty/serial/
A Damba-pl011.c836 struct pl011_sgbuf *sgbuf; in pl011_dma_rx_trigger_dma() local
842 sgbuf = uap->dmarx.use_buf_b ? in pl011_dma_rx_trigger_dma()
884 struct pl011_sgbuf *sgbuf = use_buf_b ? in pl011_dma_rx_chars() local
894 dmataken = sgbuf->sg.length - dmarx->last_residue; in pl011_dma_rx_chars()
919 dmarx->last_residue = sgbuf->sg.length; in pl011_dma_rx_chars()
954 struct pl011_sgbuf *sgbuf = dmarx->use_buf_b ? in pl011_dma_rx_irq() local
977 pending = sgbuf->sg.length - state.residue; in pl011_dma_rx_irq()
1004 struct pl011_sgbuf *sgbuf = dmarx->use_buf_b ? in pl011_dma_rx_callback() local
1023 pending = sgbuf->sg.length - state.residue; in pl011_dma_rx_callback()
1072 struct pl011_sgbuf *sgbuf; in pl011_dma_rx_poll() local
[all …]
/linux/Documentation/sound/kernel-api/
A Dwriting-an-alsa-driver.rst3777 struct snd_sg_buf *sgbuf = (struct snd_sg_buf *)substream->dma_private;
3785 ``sgbuf->table``. You can get the physical address at a certain offset

Completed in 17 milliseconds