Home
last modified time | relevance | path

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

/linux/arch/mips/jazz/
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()
/linux/drivers/infiniband/hw/usnic/
A Dusnic_uiom.c76 pa = sg_phys(sg); in usnic_uiom_put_pages()
165 pa = sg_phys(sg); in usnic_uiom_get_pages()
260 pa = sg_phys(&chunk->page_list[i]); in usnic_uiom_map_sorted_intervals()
/linux/tools/virtio/linux/
A Dscatterlist.h156 static inline dma_addr_t sg_phys(struct scatterlist *sg) in sg_phys() function
/linux/include/trace/events/
A Ddma.h198 ((u64 *)__get_dynamic_array(phys_addrs))[i] = sg_phys(sg);
242 ((u64 *)__get_dynamic_array(addrs))[i] = sg_phys(sg);
/linux/arch/powerpc/kernel/
A Ddma-iommu.c45 if (!can_map_direct(dev, sg_phys(s) + s->offset + s->length)) in arch_dma_map_sg_direct()
/linux/drivers/gpu/drm/virtio/
A Dvirtgpu_object.c170 (*ents)[si].addr = cpu_to_le64(sg_phys(sg)); in virtio_gpu_object_shmem_init()
/linux/arch/x86/kernel/
A Damd_gart_64.c301 unsigned long addr = sg_phys(s); in dma_map_sg_nonforce()
398 dma_addr_t addr = sg_phys(s); in gart_map_sg()
/linux/sound/virtio/
A Dvirtio_pcm_msg.c104 sg_phys(&sgs[idx]) + sgs[idx].length != page_to_phys(pg)) { in virtsnd_pcm_sg_from()
/linux/include/linux/
A Dscatterlist.h387 static inline dma_addr_t sg_phys(struct scatterlist *sg) in sg_phys() function
/linux/drivers/gpu/drm/msm/
A Dmsm_iommu.c126 phys_addr_t phys = sg_phys(sg); in msm_iommu_pagetable_map()
/linux/drivers/gpu/drm/rockchip/
A Drockchip_drm_gem.c105 sg_dma_address(s) = sg_phys(s); in rockchip_gem_get_pages()
/linux/drivers/s390/scsi/
A Dzfcp_qdio.c259 sbale->addr = u64_to_dma64(sg_phys(sg)); in zfcp_qdio_sbals_from_sg()
/linux/drivers/mmc/host/
A Dau1xmmc.c643 sg_phys(sg), len, flags); in au1xmmc_prepare_data()
646 sg_phys(sg), len, flags); in au1xmmc_prepare_data()
/linux/drivers/pci/
A Dp2pdma.c1026 sg->dma_address = sg_phys(sg) + state->bus_off; in pci_p2pdma_map_segment()
/linux/arch/powerpc/platforms/ps3/
A Dsystem-bus.c643 int result = ps3_dma_map(dev->d_region, sg_phys(sg), in ps3_sb_map_sg()
/linux/drivers/iommu/
A Ddma-iommu.c1144 arch_sync_dma_for_cpu(sg_phys(sg), sg->length, dir); in iommu_dma_sync_sg_for_cpu()
1160 arch_sync_dma_for_device(sg_phys(sg), sg->length, dir); in iommu_dma_sync_sg_for_device()
A Diommu.c2629 phys_addr_t s_phys = sg_phys(sg); in iommu_map_sg()
/linux/drivers/nvme/host/
A Dapple.c385 dma_addr_t phys = sg_phys(sg); in apple_nvme_print_sgl()
A Dpci.c571 dma_addr_t phys = sg_phys(sg); in nvme_print_sgl()
/linux/drivers/firmware/arm_ffa/
A Ddriver.c680 constituents->address = sg_phys(args->sg); in ffa_setup_and_transmit()
/linux/drivers/scsi/qla2xxx/
A Dqla_iocb.c1069 u64 sle_phys = sg_phys(sg); in qla24xx_walk_and_build_prot_sglist()
1115 __func__, i, (u64)sg_phys(sg), sglen, ldma_sg_len, in qla24xx_walk_and_build_prot_sglist()
/linux/drivers/crypto/axis/
A Dartpec6_crypto.c425 return sg_phys(awalk->sg) + awalk->offset; in artpec6_crypto_walk_chunk_phys()
/linux/drivers/misc/
A Dfastrpc.c796 map->phys = sg_phys(map->table->sgl); in fastrpc_map_create()
/linux/drivers/virtio/
A Dvirtio_ring.c381 *addr = (dma_addr_t)sg_phys(sg); in vring_map_one_sg()

Completed in 1511 milliseconds