Home
last modified time | relevance | path

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

/Linux-v4.19/arch/mips/jazz/
Djazzdma.c620 arch_sync_dma_for_device(dev, sg_phys(sg), sg->length, in jazz_dma_map_sg()
622 sg->dma_address = vdma_alloc(sg_phys(sg), sg->length); in jazz_dma_map_sg()
639 arch_sync_dma_for_cpu(dev, sg_phys(sg), sg->length, in jazz_dma_unmap_sg()
664 arch_sync_dma_for_device(dev, sg_phys(sg), sg->length, dir); in jazz_dma_sync_sg_for_device()
674 arch_sync_dma_for_cpu(dev, sg_phys(sg), sg->length, dir); in jazz_dma_sync_sg_for_cpu()
/Linux-v4.19/kernel/dma/
Dnoncoherent.c27 arch_sync_dma_for_device(dev, sg_phys(sg), sg->length, dir); in dma_noncoherent_sync_sg_for_device()
68 arch_sync_dma_for_cpu(dev, sg_phys(sg), sg->length, dir); in dma_noncoherent_sync_sg_for_cpu()
Ddirect.c159 sg_dma_address(sg) = phys_to_dma(dev, sg_phys(sg)); in dma_direct_map_sg()
Dswiotlb.c947 phys_addr_t paddr = sg_phys(sg); in swiotlb_map_sg_attrs()
952 phys_addr_t map = map_single(hwdev, sg_phys(sg), in swiotlb_map_sg_attrs()
/Linux-v4.19/tools/virtio/linux/
Dscatterlist.h155 static inline dma_addr_t sg_phys(struct scatterlist *sg) in sg_phys() function
/Linux-v4.19/drivers/infiniband/hw/usnic/
Dusnic_uiom.c91 pa = sg_phys(sg); in usnic_uiom_put_pages()
183 pa = sg_phys(sg); in usnic_uiom_get_pages()
277 pa = sg_phys(&chunk->page_list[i]); in usnic_uiom_map_sorted_intervals()
/Linux-v4.19/drivers/media/platform/rockchip/rga/
Drga-buf.c141 address = sg_phys(sgl); in rga_buf_map()
/Linux-v4.19/arch/hexagon/kernel/
Ddma.c108 s->dma_address = sg_phys(s); in hexagon_map_sg()
/Linux-v4.19/drivers/ide/
Dau1xxx-ide.c253 sg_phys(sg), tc, flags)) { in auide_build_dmatable()
259 sg_phys(sg), tc, flags)) { in auide_build_dmatable()
/Linux-v4.19/arch/arm/mm/
Ddma-mapping-nommu.c145 sg_dma_address(sg) = sg_phys(sg); in arm_nommu_dma_map_sg()
/Linux-v4.19/drivers/xen/
Dswiotlb-xen.c557 phys_addr_t paddr = sg_phys(sg); in xen_swiotlb_map_sg_attrs()
566 sg_phys(sg), in xen_swiotlb_map_sg_attrs()
/Linux-v4.19/arch/x86/kernel/
Damd_gart_64.c314 unsigned long addr = sg_phys(s); in dma_map_sg_nonforce()
414 dma_addr_t addr = sg_phys(s); in gart_map_sg()
/Linux-v4.19/include/linux/
Dscatterlist.h222 static inline dma_addr_t sg_phys(struct scatterlist *sg) in sg_phys() function
/Linux-v4.19/arch/powerpc/kernel/
Ddma.c201 sg->dma_address = sg_phys(sg) + get_dma_offset(dev); in dma_nommu_map_sg()
/Linux-v4.19/drivers/gpu/drm/rockchip/
Drockchip_drm_gem.c109 sg_dma_address(s) = sg_phys(s); in rockchip_gem_get_pages()
/Linux-v4.19/drivers/mmc/host/
Dau1xmmc.c660 sg_phys(sg), len, flags); in au1xmmc_prepare_data()
663 sg_phys(sg), len, flags); in au1xmmc_prepare_data()
/Linux-v4.19/arch/powerpc/platforms/ps3/
Dsystem-bus.c656 int result = ps3_dma_map(dev->d_region, sg_phys(sg), in ps3_sb_map_sg()
/Linux-v4.19/drivers/iommu/
Damd_iommu.c2473 n = iommu_num_pages(sg_phys(s), s->length, PAGE_SIZE); in sg_num_pages()
2514 int j, pages = iommu_num_pages(sg_phys(s), s->length, PAGE_SIZE); in map_sg()
2521 phys_addr = (sg_phys(s) & PAGE_MASK) + (j << PAGE_SHIFT); in map_sg()
2543 int j, pages = iommu_num_pages(sg_phys(s), s->length, PAGE_SIZE); in map_sg()
Dintel-iommu.c2253 pteval = (sg_phys(sg) - pgoff) | prot; in __domain_mapping()
3830 sg->dma_address = sg_phys(sg); in intel_nontranslate_map_sg()
/Linux-v4.19/drivers/staging/unisys/visorhba/
Dvisorhba_main.c557 cmdrsp->scsi.gpi_list[i].address = sg_phys(sg); in visorhba_queue_command_lck()
/Linux-v4.19/drivers/gpu/drm/virtio/
Dvirtgpu_vq.c873 ents[si].addr = cpu_to_le64(sg_phys(sg)); in virtio_gpu_object_attach()
/Linux-v4.19/drivers/virtio/
Dvirtio_ring.c180 return (dma_addr_t)sg_phys(sg); in vring_map_one_sg()
/Linux-v4.19/drivers/crypto/axis/
Dartpec6_crypto.c428 return sg_phys(awalk->sg) + awalk->offset; in artpec6_crypto_walk_chunk_phys()
/Linux-v4.19/drivers/nvme/host/
Dpci.c554 dma_addr_t phys = sg_phys(sg); in nvme_print_sgl()