Lines Matching refs:sgt
542 struct sg_table *sgt; in snd_dma_noncontig_alloc() local
549 sgt = dma_alloc_noncontiguous(dmab->dev.dev, size, dmab->dev.dir, in snd_dma_noncontig_alloc()
552 if (!sgt && !get_dma_ops(dmab->dev.dev)) in snd_dma_noncontig_alloc()
555 if (!sgt) in snd_dma_noncontig_alloc()
559 sg_dma_address(sgt->sgl)); in snd_dma_noncontig_alloc()
560 p = dma_vmap_noncontiguous(dmab->dev.dev, size, sgt); in snd_dma_noncontig_alloc()
562 dmab->private_data = sgt; in snd_dma_noncontig_alloc()
566 dma_free_noncontiguous(dmab->dev.dev, size, sgt, dmab->dev.dir); in snd_dma_noncontig_alloc()
607 struct sg_table *sgt = dmab->private_data; in snd_dma_noncontig_iter_set() local
609 __sg_page_iter_start(piter, sgt->sgl, sgt->orig_nents, in snd_dma_noncontig_iter_set()
678 struct sg_table *sgt = dmab->private_data; in snd_dma_sg_wc_alloc() local
685 for_each_sgtable_page(sgt, &iter, 0) in snd_dma_sg_wc_alloc()
692 struct sg_table *sgt = dmab->private_data; in snd_dma_sg_wc_free() local
695 for_each_sgtable_page(sgt, &iter, 0) in snd_dma_sg_wc_free()