Home
last modified time | relevance | path

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

/linux-6.3-rc2/include/linux/
A Dscatterlist.h512 bool __sg_page_iter_dma_next(struct sg_dma_page_iter *dma_iter);
531 sg_page_iter_dma_address(struct sg_dma_page_iter *dma_iter) in sg_page_iter_dma_address() argument
533 return sg_dma_address(dma_iter->base.sg) + in sg_page_iter_dma_address()
534 (dma_iter->base.sg_pgoffset << PAGE_SHIFT); in sg_page_iter_dma_address()
562 #define for_each_sg_dma_page(sglist, dma_iter, dma_nents, pgoffset) \ argument
563 for (__sg_page_iter_start(&(dma_iter)->base, sglist, dma_nents, \
565 __sg_page_iter_dma_next(dma_iter);)
591 #define for_each_sgtable_dma_page(sgt, dma_iter, pgoffset) \ argument
592 for_each_sg_dma_page((sgt)->sgl, dma_iter, (sgt)->nents, pgoffset)
/linux-6.3-rc2/drivers/gpu/drm/v3d/
A Dv3d_mmu.c93 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()
/linux-6.3-rc2/drivers/gpu/drm/msm/
A Dmsm_gpummu.c33 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()
/linux-6.3-rc2/drivers/crypto/marvell/cesa/
A Dtdma.c323 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()
A Dcesa.h870 struct mv_cesa_dma_iter *dma_iter,
A Dhash.c546 struct mv_cesa_ahash_dma_iter *dma_iter, in mv_cesa_ahash_dma_last_req() argument
/linux-6.3-rc2/drivers/gpu/drm/
A Ddrm_prime.c1034 struct sg_dma_page_iter dma_iter; in drm_prime_sg_to_dma_addr_array() local
1037 for_each_sgtable_dma_page(sgt, &dma_iter, 0) { in drm_prime_sg_to_dma_addr_array()
1040 *a++ = sg_page_iter_dma_address(&dma_iter); in drm_prime_sg_to_dma_addr_array()
/linux-6.3-rc2/lib/
A Dscatterlist.c763 bool __sg_page_iter_dma_next(struct sg_dma_page_iter *dma_iter) in __sg_page_iter_dma_next() argument
765 struct sg_page_iter *piter = &dma_iter->base; in __sg_page_iter_dma_next()
/linux-6.3-rc2/drivers/vfio/pci/mlx5/
A Dcmd.c317 struct sg_dma_page_iter dma_iter; in _create_mkey() local
319 for_each_sgtable_dma_page(&buf->table.sgt, &dma_iter, 0) in _create_mkey()
320 *mtt++ = cpu_to_be64(sg_page_iter_dma_address(&dma_iter)); in _create_mkey()

Completed in 25 milliseconds