Searched refs:sgbuf (Results 1 – 3 of 3) sorted by relevance
727 struct snd_dma_sg_fallback *sgbuf) in __snd_dma_sg_fallback_free() argument732 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() local747 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 …]
831 struct pl011_sgbuf *sgbuf; in pl011_dma_rx_trigger_dma() local837 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() local889 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() local972 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 …]
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