Home
last modified time | relevance | path

Searched refs:sg_alloc_table_from_pages (Results 1 – 25 of 29) sorted by relevance

12

/linux/drivers/media/common/videobuf2/
H A Dvideobuf2-dma-sg.c137 ret = sg_alloc_table_from_pages(buf->dma_sgt, buf->pages, in vb2_dma_sg_alloc()
256 if (sg_alloc_table_from_pages(buf->dma_sgt, buf->pages, in vb2_dma_sg_get_userptr()
H A Dvideobuf2-dma-contig.c633 ret = sg_alloc_table_from_pages(sgt, frame_vector_pages(vec), n_pages, in vb2_dc_get_userptr()
/linux/drivers/gpu/drm/tegra/
H A Dgem.c117 err = sg_alloc_table_from_pages(map->sgt, obj->pages, obj->num_pages, 0, gem->size, in tegra_bo_pin()
637 if (sg_alloc_table_from_pages(sgt, bo->pages, bo->num_pages, in tegra_gem_prime_map_dma_buf()
/linux/include/linux/
H A Dscatterlist.h471 static inline int sg_alloc_table_from_pages(struct sg_table *sgt, in sg_alloc_table_from_pages() function
/linux/drivers/dma-buf/heaps/
H A Dcma_heap.c61 ret = sg_alloc_table_from_pages(&a->table, buffer->pages, in cma_heap_attach()
/linux/drivers/vfio/pci/pds/
H A Dlm.c66 if (sg_alloc_table_from_pages(&lm_file->sg_table, pages, npages, 0, in pds_vfio_get_lm_file()
H A Ddirty.c414 err = sg_alloc_table_from_pages(&sg_table, pages, npages, page_offset, in pds_vfio_dirty_seq_ack()
/linux/drivers/gpu/drm/lima/
H A Dlima_gem.c67 ret = sg_alloc_table_from_pages(&sgt, pages, i, 0, in lima_heap_alloc()
/linux/drivers/tee/tstee/
H A Dcore.c264 rc = sg_alloc_table_from_pages(&sgt, pages, num_pages, 0, in tstee_shm_register()
/linux/drivers/media/pci/intel/ipu6/
H A Dipu6-dma.c483 ret = sg_alloc_table_from_pages(sgt, info->pages, n_pages, 0, size, in ipu6_dma_get_sgtable()
H A Dipu6-buttress.c584 ret = sg_alloc_table_from_pages(sgt, pages, n_pages, 0, fw->size, in ipu6_buttress_map_fw_image()
/linux/drivers/gpu/drm/gud/
H A Dgud_drv.c406 ret = sg_alloc_table_from_pages(&gdrm->bulk_sgt, pages, num_pages, in gud_alloc_bulk_buffer()
/linux/drivers/fpga/
H A Dfpga-mgr.c510 rc = sg_alloc_table_from_pages(&sgt, pages, index, offset_in_page(buf), in fpga_mgr_buf_load()
/linux/drivers/xen/
H A Dgntdev-dmabuf.c207 ret = sg_alloc_table_from_pages(sgt, pages, nr_pages, 0, in dmabuf_pages_to_sgt()
/linux/drivers/gpu/drm/panfrost/
H A Dpanfrost_mmu.c521 ret = sg_alloc_table_from_pages(sgt, pages + page_offset, in panfrost_mmu_map_fault_addr()
/linux/drivers/iommu/
H A Ddma-iommu.c987 if (sg_alloc_table_from_pages(sgt, pages, count, 0, size, gfp)) in __iommu_dma_alloc_noncontiguous()
1711 return sg_alloc_table_from_pages(sgt, pages, in iommu_dma_get_sgtable()
/linux/drivers/tee/optee/
H A Dffa_abi.c293 rc = sg_alloc_table_from_pages(&sgt, pages, num_pages, 0, in optee_ffa_shm_register()
/linux/sound/core/
H A Dmemalloc.c756 if (sg_alloc_table_from_pages(&sgbuf->sgt, sgbuf->pages, sgbuf->count, in snd_dma_sg_fallback_alloc()
/linux/drivers/gpu/drm/radeon/
H A Dradeon_ttm.c362 r = sg_alloc_table_from_pages(ttm->sg, ttm->pages, ttm->num_pages, 0, in radeon_ttm_tt_pin_userptr()
/linux/drivers/gpu/drm/exynos/
H A Dexynos_drm_g2d.c499 ret = sg_alloc_table_from_pages(sgt, in g2d_userptr_get_dma_addr()
/linux/samples/vfio-mdev/
H A Dmbochs.c877 if (sg_alloc_table_from_pages(sg, dmabuf->pages, dmabuf->pagecount, in mbochs_map_dmabuf()
/linux/arch/arm/mm/
H A Ddma-mapping.c1178 return sg_alloc_table_from_pages(sgt, pages, count, 0, size, in arm_iommu_get_sgtable()
/linux/drivers/accel/qaic/
H A Dqaic_control.c449 ret = sg_alloc_table_from_pages(sgt, page_list, nr_pages, in find_and_map_user_pages()
/linux/net/ceph/
H A Dmessenger_v2.c1137 ret = sg_alloc_table_from_pages(&enc_sgt, con->v2.in_enc_pages, in decrypt_tail()
1706 ret = sg_alloc_table_from_pages(&enc_sgt, enc_pages, enc_page_cnt, in prepare_message_secure()
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_ttm.c806 r = sg_alloc_table_from_pages(ttm->sg, ttm->pages, ttm->num_pages, 0, in amdgpu_ttm_tt_pin_userptr()

12