Searched refs:sgbuf (Results 1 – 3 of 3) sorted by relevance
731 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 …]
830 struct pl011_sgbuf *sgbuf; in pl011_dma_rx_trigger_dma() local836 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() local888 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() local971 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() local1017 pending = sgbuf->sg.length - state.residue; in pl011_dma_rx_callback()1069 struct pl011_sgbuf *sgbuf; in pl011_dma_rx_poll() local[all …]
3781 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