Searched refs:sg_iter (Results 1 – 9 of 9) sorted by relevance
/linux/drivers/gpu/drm/lima/ |
A D | lima_vm.c | 94 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()
|
/linux/drivers/gpu/drm/ |
A D | drm_cache.c | 133 struct sg_page_iter sg_iter; in drm_clflush_sg() local 136 for_each_sgtable_page(st, &sg_iter, 0) in drm_clflush_sg() 137 drm_clflush_page(sg_page_iter_page(&sg_iter)); in drm_clflush_sg()
|
/linux/drivers/infiniband/sw/rxe/ |
A D | rxe_mr.c | 171 struct sg_page_iter sg_iter; in rxe_mr_init_user() local 205 for_each_sgtable_page (&umem->sgt_append.sgt, &sg_iter, 0) { in rxe_mr_init_user() 212 vaddr = page_address(sg_page_iter_page(&sg_iter)); in rxe_mr_init_user()
|
/linux/drivers/xen/ |
A D | gntdev-dmabuf.c | 588 struct sg_page_iter sg_iter; in dmabuf_imp_to_refs() local 638 for_each_sgtable_page(sgt, &sg_iter, 0) { in dmabuf_imp_to_refs() 639 struct page *page = sg_page_iter_page(&sg_iter); in dmabuf_imp_to_refs()
|
/linux/drivers/usb/cdns3/ |
A D | cdns3-gadget.c | 1119 int sg_iter = 0; in cdns3_ep_run_transfer() local 1232 if (sg_iter != 0) in cdns3_ep_run_transfer() 1239 if (sg_iter == (num_trb - 1) && sg_iter != 0) in cdns3_ep_run_transfer() 1243 if (sg_iter) in cdns3_ep_run_transfer() 1251 if (sg_iter < num_trb - 1) in cdns3_ep_run_transfer() 1258 ++sg_iter; in cdns3_ep_run_transfer() 1263 } while (sg_iter < num_trb); in cdns3_ep_run_transfer() 1270 if (sg_iter == 1) in cdns3_ep_run_transfer()
|
/linux/drivers/infiniband/sw/rdmavt/ |
A D | mr.c | 342 struct sg_page_iter sg_iter; in rvt_reg_user_mr() local 371 for_each_sgtable_page (&umem->sgt_append.sgt, &sg_iter, 0) { in rvt_reg_user_mr() 374 vaddr = page_address(sg_page_iter_page(&sg_iter)); in rvt_reg_user_mr()
|
/linux/drivers/gpu/drm/radeon/ |
A D | radeon_ttm.c | 403 struct sg_page_iter sg_iter; in radeon_ttm_tt_unpin_userptr() local 416 for_each_sgtable_page(ttm->sg, &sg_iter, 0) { in radeon_ttm_tt_unpin_userptr() 417 struct page *page = sg_page_iter_page(&sg_iter); in radeon_ttm_tt_unpin_userptr()
|
/linux/drivers/target/ |
A D | target_core_user.c | 709 struct sg_mapping_iter sg_iter; in tcmu_copy_data() local 718 sg_miter_start(&sg_iter, sg, sg_nents, sg_flags); in tcmu_copy_data() 742 if (!sg_miter_next(&sg_iter)) { in tcmu_copy_data() 749 cp_len = min3(sg_iter.length, page_remaining, in tcmu_copy_data() 755 memcpy(data_addr, sg_iter.addr, cp_len); in tcmu_copy_data() 757 memcpy(sg_iter.addr, data_addr, cp_len); in tcmu_copy_data() 761 sg_iter.consumed = cp_len; in tcmu_copy_data() 763 sg_miter_stop(&sg_iter); in tcmu_copy_data()
|
/linux/drivers/media/pci/intel/ipu3/ |
A D | ipu3-cio2-main.c | 834 struct sg_dma_page_iter sg_iter; in cio2_vb2_buf_init() local 861 for_each_sg_dma_page(sg->sgl, &sg_iter, sg->nents, 0) { in cio2_vb2_buf_init() 864 b->lop[i][j] = PFN_DOWN(sg_page_iter_dma_address(&sg_iter)); in cio2_vb2_buf_init()
|
Completed in 38 milliseconds