Home
last modified time | relevance | path

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

/linux-4.1.27/arch/sparc/kernel/
Dioport.c558 sg->dma_address = sg_phys(sg); in pci32_map_sg()
577 dma_make_coherent(sg_phys(sg), PAGE_ALIGN(sg->length)); in pci32_unmap_sg()
622 dma_make_coherent(sg_phys(sg), PAGE_ALIGN(sg->length)); in pci32_sync_sg_for_cpu()
635 dma_make_coherent(sg_phys(sg), PAGE_ALIGN(sg->length)); in pci32_sync_sg_for_device()
/linux-4.1.27/arch/metag/include/asm/
Ddma-mapping.h60 sg->dma_address = sg_phys(sg); in dma_map_sg()
99 sg->dma_address = sg_phys(sg); in dma_unmap_sg()
/linux-4.1.27/arch/tile/kernel/
Dpci-dma.c215 sg->dma_address = sg_phys(sg); in tile_dma_map_sg()
234 sg->dma_address = sg_phys(sg); in tile_dma_unmap_sg()
388 sg->dma_address = sg_phys(sg); in tile_pci_dma_map_sg()
410 sg->dma_address = sg_phys(sg); in tile_pci_dma_unmap_sg()
/linux-4.1.27/arch/x86/kernel/
Dpci-nommu.c67 s->dma_address = sg_phys(s); in nommu_map_sg()
Damd_gart_64.c313 unsigned long addr = sg_phys(s); in dma_map_sg_nonforce()
413 dma_addr_t addr = sg_phys(s); in gart_map_sg()
/linux-4.1.27/arch/sh/kernel/
Ddma-nommu.c40 s->dma_address = sg_phys(s); in nommu_map_sg()
/linux-4.1.27/drivers/infiniband/hw/usnic/
Dusnic_uiom.c90 pa = sg_phys(sg); in usnic_uiom_put_pages()
173 pa = sg_phys(sg); in usnic_uiom_get_pages()
267 pa = sg_phys(&chunk->page_list[i]); in usnic_uiom_map_sorted_intervals()
/linux-4.1.27/tools/virtio/linux/
Dscatterlist.h172 static inline dma_addr_t sg_phys(struct scatterlist *sg) in sg_phys() function
/linux-4.1.27/drivers/gpu/drm/msm/
Dmsm_iommu.c60 u32 pa = sg_phys(sg) - sg->offset; in msm_iommu_map()
/linux-4.1.27/arch/mn10300/include/asm/
Ddma-mapping.h63 sg->dma_address = sg_phys(sg); in dma_map_sg()
/linux-4.1.27/arch/hexagon/kernel/
Ddma.c127 s->dma_address = sg_phys(s); in hexagon_map_sg()
/linux-4.1.27/arch/m68k/kernel/
Ddma.c160 sg->dma_address = sg_phys(sg); in dma_map_sg()
/linux-4.1.27/arch/nios2/mm/
Ddma-mapping.c72 sg->dma_address = sg_phys(sg); in dma_map_sg()
/linux-4.1.27/arch/microblaze/kernel/
Ddma.c63 sg->dma_address = sg_phys(sg); in dma_direct_map_sg()
/linux-4.1.27/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-4.1.27/arch/xtensa/include/asm/
Ddma-mapping.h65 sg->dma_address = sg_phys(sg); in dma_map_sg()
/linux-4.1.27/include/linux/
Dscatterlist.h203 static inline dma_addr_t sg_phys(struct scatterlist *sg) in sg_phys() function
/linux-4.1.27/drivers/xen/
Dswiotlb-xen.c556 phys_addr_t paddr = sg_phys(sg); in xen_swiotlb_map_sg_attrs()
565 sg_phys(sg), in xen_swiotlb_map_sg_attrs()
/linux-4.1.27/arch/powerpc/kernel/
Ddma.c136 sg->dma_address = sg_phys(sg) + get_dma_offset(dev); in dma_direct_map_sg()
/linux-4.1.27/drivers/virtio/
Dvirtio_ring.c209 desc[i].addr = cpu_to_virtio64(_vq->vdev, sg_phys(sg)); in virtqueue_add()
218 desc[i].addr = cpu_to_virtio64(_vq->vdev, sg_phys(sg)); in virtqueue_add()
/linux-4.1.27/lib/
Dswiotlb.c881 phys_addr_t paddr = sg_phys(sg); in swiotlb_map_sg_attrs()
886 phys_addr_t map = map_single(hwdev, sg_phys(sg), in swiotlb_map_sg_attrs()
/linux-4.1.27/drivers/gpu/drm/exynos/
Dexynos_drm_gem.c105 pfn = __phys_to_pfn(sg_phys(sgl)) + page_offset; in exynos_drm_gem_map_buf()
/linux-4.1.27/drivers/mmc/host/
Dau1xmmc.c656 sg_phys(sg), len, flags); in au1xmmc_prepare_data()
659 sg_phys(sg), len, flags); in au1xmmc_prepare_data()
/linux-4.1.27/drivers/gpu/drm/tegra/
Dgem.c215 sg_dma_address(s) = sg_phys(s); in tegra_bo_get_pages()
/linux-4.1.27/arch/powerpc/platforms/ps3/
Dsystem-bus.c654 int result = ps3_dma_map(dev->d_region, sg_phys(sg), in ps3_sb_map_sg()
/linux-4.1.27/drivers/staging/unisys/virthba/
Dvirthba.c879 cmdrsp->scsi.gpi_list[i].address = sg_phys(sg); in virthba_queue_command_lck()
/linux-4.1.27/drivers/staging/android/ion/
Dion.c256 sg_dma_address(sg) = sg_phys(sg); in ion_buffer_create()
/linux-4.1.27/drivers/iommu/
Damd_iommu.c2850 paddr = sg_phys(s); in map_sg()
/linux-4.1.27/drivers/block/
Dskd_main.c1586 sksg->host_side_addr = sg_phys(sg); in skd_skreq_prep_buffering()