Searched refs:sgbuf (Results 1 – 4 of 4) sorted by relevance
35 struct snd_sg_buf *sgbuf = dmab->private_data; in snd_dma_sg_free() local39 if (!sgbuf) in snd_dma_sg_free()48 tmpb.dev.dev = sgbuf->dev; in snd_dma_sg_free()49 for (i = 0; i < sgbuf->pages; i++) { in snd_dma_sg_free()50 if (!(sgbuf->table[i].addr & ~PAGE_MASK)) in snd_dma_sg_free()52 tmpb.area = sgbuf->table[i].buf; in snd_dma_sg_free()53 tmpb.addr = sgbuf->table[i].addr & PAGE_MASK; in snd_dma_sg_free()54 tmpb.bytes = (sgbuf->table[i].addr & ~PAGE_MASK) << PAGE_SHIFT; in snd_dma_sg_free()58 kfree(sgbuf->table); in snd_dma_sg_free()59 kfree(sgbuf->page_table); in snd_dma_sg_free()[all …]
20 snd-pcm-$(CONFIG_SND_DMA_SGBUF) += sgbuf.o
836 struct pl011_sgbuf *sgbuf; in pl011_dma_rx_trigger_dma() local842 sgbuf = uap->dmarx.use_buf_b ? in pl011_dma_rx_trigger_dma()844 desc = dmaengine_prep_slave_sg(rxchan, &sgbuf->sg, 1, in pl011_dma_rx_trigger_dma()884 struct pl011_sgbuf *sgbuf = use_buf_b ? in pl011_dma_rx_chars() local894 dmataken = sgbuf->sg.length - dmarx->last_residue; in pl011_dma_rx_chars()908 dma_count = tty_insert_flip_string(port, sgbuf->buf + dmataken, 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() local977 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[all …]
3777 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