Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_cache.c127 struct sg_page_iter sg_iter; in drm_clflush_sg() local
130 for_each_sgtable_page(st, &sg_iter, 0) in drm_clflush_sg()
131 drm_clflush_page(sg_page_iter_page(&sg_iter)); in drm_clflush_sg()
/kernel/linux/linux-5.10/drivers/gpu/drm/lima/
Dlima_vm.c94 struct sg_dma_page_iter sg_iter; in lima_vm_bo_add() local
127 for_each_sgtable_dma_page(bo->base.sgt, &sg_iter, 0) { in lima_vm_bo_add()
128 err = lima_vm_map_page(vm, sg_page_iter_dma_address(&sg_iter), in lima_vm_bo_add()
286 struct sg_dma_page_iter sg_iter; in lima_vm_map_bo() local
301 for_each_sgtable_dma_page(bo->base.sgt, &sg_iter, pageoff) { in lima_vm_map_bo()
302 err = lima_vm_map_page(vm, sg_page_iter_dma_address(&sg_iter), in lima_vm_map_bo()
/kernel/linux/linux-5.10/drivers/infiniband/core/
Dumem.c49 struct sg_page_iter sg_iter; in __ib_umem_release() local
56 for_each_sg_page(umem->sg_head.sgl, &sg_iter, umem->sg_nents, 0) { in __ib_umem_release()
57 page = sg_page_iter_page(&sg_iter); in __ib_umem_release()
/kernel/linux/linux-5.10/drivers/infiniband/sw/rxe/
Drxe_mr.c133 struct sg_page_iter sg_iter; in rxe_mem_init_user() local
166 for_each_sg_page(umem->sg_head.sgl, &sg_iter, umem->nmap, 0) { in rxe_mem_init_user()
173 vaddr = page_address(sg_page_iter_page(&sg_iter)); in rxe_mem_init_user()
/kernel/linux/linux-5.10/drivers/xen/
Dgntdev-dmabuf.c585 struct sg_page_iter sg_iter; in dmabuf_imp_to_refs() local
635 for_each_sgtable_page(sgt, &sg_iter, 0) { in dmabuf_imp_to_refs()
636 struct page *page = sg_page_iter_page(&sg_iter); in dmabuf_imp_to_refs()
/kernel/linux/linux-5.10/drivers/usb/cdns3/
Dgadget.c1120 int sg_iter = 0; in cdns3_ep_run_transfer() local
1233 if (sg_iter != 0) in cdns3_ep_run_transfer()
1240 if (sg_iter == (num_trb - 1) && sg_iter != 0) in cdns3_ep_run_transfer()
1244 if (sg_iter) in cdns3_ep_run_transfer()
1252 if (sg_iter < num_trb - 1) in cdns3_ep_run_transfer()
1259 ++sg_iter; in cdns3_ep_run_transfer()
1264 } while (sg_iter < num_trb); in cdns3_ep_run_transfer()
1271 if (sg_iter == 1) in cdns3_ep_run_transfer()
/kernel/linux/linux-5.10/drivers/infiniband/sw/rdmavt/
Dmr.c383 struct sg_page_iter sg_iter; in rvt_reg_user_mr() local
412 for_each_sg_page (umem->sg_head.sgl, &sg_iter, umem->nmap, 0) { in rvt_reg_user_mr()
415 vaddr = page_address(sg_page_iter_page(&sg_iter)); in rvt_reg_user_mr()
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
Dradeon_ttm.c496 struct sg_page_iter sg_iter; in radeon_ttm_tt_unpin_userptr() local
509 for_each_sgtable_page(ttm->sg, &sg_iter, 0) { in radeon_ttm_tt_unpin_userptr()
510 struct page *page = sg_page_iter_page(&sg_iter); in radeon_ttm_tt_unpin_userptr()
/kernel/linux/linux-5.10/drivers/media/pci/intel/ipu3/
Dipu3-cio2.c840 struct sg_dma_page_iter sg_iter; in cio2_vb2_buf_init() local
867 for_each_sg_dma_page(sg->sgl, &sg_iter, sg->nents, 0) { in cio2_vb2_buf_init()
870 b->lop[i][j] = PFN_DOWN(sg_page_iter_dma_address(&sg_iter)); in cio2_vb2_buf_init()