Searched refs:dma_iter (Results 1 – 9 of 9) sorted by relevance
/linux-6.3-rc2/include/linux/ |
A D | scatterlist.h | 512 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 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()
|
/linux-6.3-rc2/drivers/gpu/drm/msm/ |
A 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()
|
/linux-6.3-rc2/drivers/crypto/marvell/cesa/ |
A 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()
|
A D | cesa.h | 870 struct mv_cesa_dma_iter *dma_iter,
|
A D | hash.c | 546 struct mv_cesa_ahash_dma_iter *dma_iter, in mv_cesa_ahash_dma_last_req() argument
|
/linux-6.3-rc2/drivers/gpu/drm/ |
A D | drm_prime.c | 1034 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 D | scatterlist.c | 763 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 D | cmd.c | 317 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