Home
last modified time | relevance | path

Searched refs:sg_phys (Results 1 – 25 of 32) sorted by relevance

12

/OK3568_Linux_fs/kernel/arch/mips/jazz/
H A Djazzdma.c551 arch_sync_dma_for_device(sg_phys(sg), sg->length, in jazz_dma_map_sg()
553 sg->dma_address = vdma_alloc(sg_phys(sg), sg->length); in jazz_dma_map_sg()
570 arch_sync_dma_for_cpu(sg_phys(sg), sg->length, dir); in jazz_dma_unmap_sg()
594 arch_sync_dma_for_device(sg_phys(sg), sg->length, dir); in jazz_dma_sync_sg_for_device()
604 arch_sync_dma_for_cpu(sg_phys(sg), sg->length, dir); in jazz_dma_sync_sg_for_cpu()
/OK3568_Linux_fs/kernel/drivers/soc/rockchip/
H A Drockchip_decompress_user.c60 if (sg_phys(sgl) > SZ_4G || sg_phys(sgl) + sg_dma_len(sgl) > SZ_4G) in check_scatter_list()
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/usnic/
H A Dusnic_uiom.c77 pa = sg_phys(sg); in usnic_uiom_put_pages()
170 pa = sg_phys(sg); in usnic_uiom_get_pages()
265 pa = sg_phys(&chunk->page_list[i]); in usnic_uiom_map_sorted_intervals()
/OK3568_Linux_fs/kernel/drivers/crypto/rockchip/
H A Drk_crypto_utils.c77 (sg_phys(sg_src) < SZ_4G); in check_scatter_align()
83 (sg_phys(sg_dst) < SZ_4G); in check_scatter_align()
/OK3568_Linux_fs/kernel/tools/virtio/linux/
H A Dscatterlist.h155 static inline dma_addr_t sg_phys(struct scatterlist *sg) in sg_phys() function
/OK3568_Linux_fs/kernel/arch/arm64/mm/
H A Ddma-mapping-noalias.c400 phys_addr_t phys = sg_phys(sg); in arm64_iommu_map_sg()
414 orig_phys[i] = sg_phys(sg); in arm64_iommu_map_sg()
432 __arm64_noalias_unmap(dev, sg_phys(sg), sg->length, dir, attrs); in arm64_iommu_map_sg()
/OK3568_Linux_fs/kernel/drivers/media/platform/rockchip/rga/
H A Drga-buf.c133 address = sg_phys(sgl); in rga_buf_map()
/OK3568_Linux_fs/kernel/include/trace/events/
H A Dintel_iommu.h114 __entry->phys_addr = sg_phys(sg);
/OK3568_Linux_fs/kernel/drivers/gpu/arm/mali400/ump/linux/
H A Dump_ukk_ref_wrappers.c169 blocks[i].addr = sg_phys(sgl); in ump_dmabuf_import_wrapper()
/OK3568_Linux_fs/kernel/arch/arm/mm/
H A Ddma-mapping-nommu.c126 sg_dma_address(sg) = sg_phys(sg); in arm_nommu_dma_map_sg()
/OK3568_Linux_fs/kernel/arch/x86/kernel/
H A Damd_gart_64.c303 unsigned long addr = sg_phys(s); in dma_map_sg_nonforce()
400 dma_addr_t addr = sg_phys(s); in gart_map_sg()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/virtio/
H A Dvirtgpu_object.c191 (*ents)[si].addr = cpu_to_le64(sg_phys(sg)); in virtio_gpu_object_shmem_init()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/msm/
H A Dmsm_iommu.c63 phys_addr_t phys = sg_phys(sg); in msm_iommu_pagetable_map()
/OK3568_Linux_fs/kernel/include/linux/
H A Dscatterlist.h241 static inline dma_addr_t sg_phys(struct scatterlist *sg) in sg_phys() function
/OK3568_Linux_fs/kernel/drivers/video/rockchip/rga3/
H A Drga_mm.c335 s_phys = sg_phys(sg); in rga_mm_check_range_sgt()
455 phys_addr = sg_phys(buffer->sgt->sgl); in rga_mm_map_dma_buffer()
571 phys_addr = sg_phys(sgt->sgl); in rga_mm_map_virt_addr()
1117 Address = sg_phys(sgl); in rga_mm_sgt_to_page_table()
/OK3568_Linux_fs/kernel/drivers/video/rockchip/rga/
H A Drga_mmu_info.c559 Address = sg_phys(sgl); in rga_MapION()
570 Address = sg_phys(sgl); in rga_MapION()
584 Address = sg_phys(sgl); in rga_MapION()
/OK3568_Linux_fs/kernel/drivers/rknpu/
H A Drknpu_gem.c88 phys = sg_phys(s); in rknpu_gem_get_pages()
253 sg_dma_address(s) = sg_phys(s); in rknpu_gem_alloc_buf()
536 ret = iommu_map(domain, offset, sg_phys(s), size, in rknpu_gem_alloc_buf_with_cache()
/OK3568_Linux_fs/kernel/drivers/usb/gadget/function/
H A Duvc_queue.c116 phys = sg_phys(sgl); in uvc_dma_buf_phys_to_virt()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/rockchip/
H A Drockchip_drm_gem.c233 sg_dma_address(s) = sg_phys(s); in rockchip_gem_get_pages()
296 sg_dma_address(s) = sg_phys(s); in rockchip_gem_alloc_dma()
/OK3568_Linux_fs/kernel/drivers/s390/scsi/
H A Dzfcp_qdio.c202 sbale->addr = sg_phys(sg); in zfcp_qdio_sbals_from_sg()
/OK3568_Linux_fs/kernel/drivers/mmc/host/
H A Dau1xmmc.c642 sg_phys(sg), len, flags); in au1xmmc_prepare_data()
645 sg_phys(sg), len, flags); in au1xmmc_prepare_data()
/OK3568_Linux_fs/kernel/drivers/iommu/
H A Ddma-iommu.c785 arch_sync_dma_for_cpu(sg_phys(sg), sg->length, dir); in iommu_dma_sync_sg_for_cpu()
799 arch_sync_dma_for_device(sg_phys(sg), sg->length, dir); in iommu_dma_sync_sg_for_device()
/OK3568_Linux_fs/kernel/drivers/pci/
H A Dp2pdma.c882 paddr = sg_phys(s); in __pci_p2pdma_map_sg()
/OK3568_Linux_fs/kernel/arch/powerpc/platforms/ps3/
H A Dsystem-bus.c644 int result = ps3_dma_map(dev->d_region, sg_phys(sg), in ps3_sb_map_sg()
/OK3568_Linux_fs/kernel/drivers/dma-buf/heaps/
H A Drk_system_heap.c241 sg_dma_addr = sg_phys(sg); in system_heap_sgl_sync_range()

12