Home
last modified time | relevance | path

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

/Linux-v6.1/sound/core/
Dmemalloc.c727 struct snd_dma_sg_fallback *sgbuf) in __snd_dma_sg_fallback_free() argument
732 for (i = 0; i < sgbuf->count && sgbuf->pages[i]; i++) in __snd_dma_sg_fallback_free()
733 do_free_pages(page_address(sgbuf->pages[i]), PAGE_SIZE, wc); in __snd_dma_sg_fallback_free()
734 kvfree(sgbuf->pages); in __snd_dma_sg_fallback_free()
735 kvfree(sgbuf->addrs); in __snd_dma_sg_fallback_free()
736 kfree(sgbuf); in __snd_dma_sg_fallback_free()
741 struct snd_dma_sg_fallback *sgbuf; in snd_dma_sg_fallback_alloc() local
747 sgbuf = kzalloc(sizeof(*sgbuf), GFP_KERNEL); in snd_dma_sg_fallback_alloc()
748 if (!sgbuf) in snd_dma_sg_fallback_alloc()
754 sgbuf->pages = pages; in snd_dma_sg_fallback_alloc()
[all …]
/Linux-v6.1/drivers/tty/serial/
Damba-pl011.c831 struct pl011_sgbuf *sgbuf; in pl011_dma_rx_trigger_dma() local
837 sgbuf = uap->dmarx.use_buf_b ? in pl011_dma_rx_trigger_dma()
839 desc = dmaengine_prep_slave_sg(rxchan, &sgbuf->sg, 1, in pl011_dma_rx_trigger_dma()
879 struct pl011_sgbuf *sgbuf = use_buf_b ? in pl011_dma_rx_chars() local
889 dmataken = sgbuf->sg.length - dmarx->last_residue; in pl011_dma_rx_chars()
903 dma_count = tty_insert_flip_string(port, sgbuf->buf + dmataken, in pl011_dma_rx_chars()
914 dmarx->last_residue = sgbuf->sg.length; in pl011_dma_rx_chars()
949 struct pl011_sgbuf *sgbuf = dmarx->use_buf_b ? in pl011_dma_rx_irq() local
972 pending = sgbuf->sg.length - state.residue; in pl011_dma_rx_irq()
999 struct pl011_sgbuf *sgbuf = dmarx->use_buf_b ? in pl011_dma_rx_callback() local
[all …]
/Linux-v6.1/Documentation/sound/kernel-api/
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