Home
last modified time | relevance | path

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

/include/linux/
Dscatterlist.h394 bool __sg_page_iter_dma_next(struct sg_dma_page_iter *dma_iter);
413 sg_page_iter_dma_address(struct sg_dma_page_iter *dma_iter) in sg_page_iter_dma_address() argument
415 return sg_dma_address(dma_iter->base.sg) + in sg_page_iter_dma_address()
416 (dma_iter->base.sg_pgoffset << PAGE_SHIFT); in sg_page_iter_dma_address()
444 #define for_each_sg_dma_page(sglist, dma_iter, dma_nents, pgoffset) \ argument
445 for (__sg_page_iter_start(&(dma_iter)->base, sglist, dma_nents, \
447 __sg_page_iter_dma_next(dma_iter);)
473 #define for_each_sgtable_dma_page(sgt, dma_iter, pgoffset) \ argument
474 for_each_sg_dma_page((sgt)->sgl, dma_iter, (sgt)->nents, pgoffset)