Searched refs:dma_iter (Results 1 – 8 of 8) sorted by relevance
/kernel/linux/linux-5.10/include/linux/ |
D | scatterlist.h | 394 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)
|
/kernel/linux/linux-5.10/drivers/gpu/drm/v3d/ |
D | v3d_mmu.c | 93 struct sg_dma_page_iter dma_iter; in v3d_mmu_insert_ptes() local 95 for_each_sgtable_dma_page(shmem_obj->sgt, &dma_iter, 0) { in v3d_mmu_insert_ptes() 96 dma_addr_t dma_addr = sg_page_iter_dma_address(&dma_iter); in v3d_mmu_insert_ptes()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/ |
D | msm_gpummu.c | 33 struct sg_dma_page_iter dma_iter; in msm_gpummu_map() local 41 for_each_sgtable_dma_page(sgt, &dma_iter, 0) { in msm_gpummu_map() 42 dma_addr_t addr = sg_page_iter_dma_address(&dma_iter); in msm_gpummu_map()
|
/kernel/linux/linux-5.10/drivers/crypto/marvell/cesa/ |
D | tdma.c | 323 struct mv_cesa_dma_iter *dma_iter, in mv_cesa_dma_add_op_transfers() argument 335 len = mv_cesa_req_dma_iter_transfer_len(dma_iter, sgiter); in mv_cesa_dma_add_op_transfers() 349 } while (mv_cesa_req_dma_iter_next_transfer(dma_iter, sgiter, len)); in mv_cesa_dma_add_op_transfers()
|
D | cesa.h | 866 struct mv_cesa_dma_iter *dma_iter,
|
D | hash.c | 522 struct mv_cesa_ahash_dma_iter *dma_iter, in mv_cesa_ahash_dma_last_req() argument
|
/kernel/linux/linux-5.10/drivers/gpu/drm/ |
D | drm_prime.c | 1003 struct sg_dma_page_iter dma_iter; in drm_prime_sg_to_page_addr_arrays() local 1016 for_each_sgtable_dma_page(sgt, &dma_iter, 0) { in drm_prime_sg_to_page_addr_arrays() 1019 *a++ = sg_page_iter_dma_address(&dma_iter); in drm_prime_sg_to_page_addr_arrays()
|
/kernel/linux/linux-5.10/lib/ |
D | scatterlist.c | 722 bool __sg_page_iter_dma_next(struct sg_dma_page_iter *dma_iter) in __sg_page_iter_dma_next() argument 724 struct sg_page_iter *piter = &dma_iter->base; in __sg_page_iter_dma_next()
|