Home
last modified time | relevance | path

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

/linux-4.4.14/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.4.14/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.4.14/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.4.14/arch/h8300/kernel/
Ddma.c57 sg->dma_address = sg_phys(sg); in map_sg()
/linux-4.4.14/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.4.14/arch/sh/kernel/
Ddma-nommu.c40 s->dma_address = sg_phys(s); in nommu_map_sg()
/linux-4.4.14/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.4.14/tools/virtio/linux/
Dscatterlist.h172 static inline dma_addr_t sg_phys(struct scatterlist *sg) in sg_phys() function
/linux-4.4.14/drivers/gpu/drm/msm/
Dmsm_iommu.c60 u32 pa = sg_phys(sg) - sg->offset; in msm_iommu_map()
/linux-4.4.14/arch/mn10300/include/asm/
Ddma-mapping.h63 sg->dma_address = sg_phys(sg); in dma_map_sg()
/linux-4.4.14/arch/hexagon/kernel/
Ddma.c116 s->dma_address = sg_phys(s); in hexagon_map_sg()
/linux-4.4.14/arch/nios2/mm/
Ddma-mapping.c72 sg->dma_address = sg_phys(sg); in dma_map_sg()
/linux-4.4.14/arch/m68k/kernel/
Ddma.c164 sg->dma_address = sg_phys(sg); in dma_map_sg()
/linux-4.4.14/arch/microblaze/kernel/
Ddma.c63 sg->dma_address = sg_phys(sg); in dma_direct_map_sg()
/linux-4.4.14/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.4.14/drivers/xen/
Dswiotlb-xen.c549 phys_addr_t paddr = sg_phys(sg); in xen_swiotlb_map_sg_attrs()
558 sg_phys(sg), in xen_swiotlb_map_sg_attrs()
/linux-4.4.14/include/linux/
Dscatterlist.h224 static inline dma_addr_t sg_phys(struct scatterlist *sg) in sg_phys() function
/linux-4.4.14/drivers/virtio/
Dvirtio_ring.c215 desc[i].addr = cpu_to_virtio64(_vq->vdev, sg_phys(sg)); in virtqueue_add()
224 desc[i].addr = cpu_to_virtio64(_vq->vdev, sg_phys(sg)); in virtqueue_add()
/linux-4.4.14/arch/powerpc/kernel/
Ddma.c204 sg->dma_address = sg_phys(sg) + get_dma_offset(dev); in dma_direct_map_sg()
/linux-4.4.14/lib/
Dswiotlb.c888 phys_addr_t paddr = sg_phys(sg); in swiotlb_map_sg_attrs()
893 phys_addr_t map = map_single(hwdev, sg_phys(sg), in swiotlb_map_sg_attrs()
/linux-4.4.14/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.4.14/drivers/gpu/drm/tegra/
Dgem.c212 sg_dma_address(s) = sg_phys(s); in tegra_bo_get_pages()
/linux-4.4.14/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.4.14/drivers/staging/unisys/visorhba/
Dvisorhba_main.c509 cmdrsp->scsi.gpi_list[i].address = sg_phys(sg); in visorhba_queue_command_lck()
/linux-4.4.14/drivers/gpu/drm/virtio/
Dvirtgpu_vq.c903 ents[si].addr = cpu_to_le64(sg_phys(sg)); in virtio_gpu_object_attach()
/linux-4.4.14/drivers/staging/android/ion/
Dion.c255 sg_dma_address(sg) = sg_phys(sg); in ion_buffer_create()
/linux-4.4.14/drivers/iommu/
Damd_iommu.c2643 paddr = sg_phys(s); in map_sg()
/linux-4.4.14/drivers/block/
Dskd_main.c1586 sksg->host_side_addr = sg_phys(sg); in skd_skreq_prep_buffering()