Home
last modified time | relevance | path

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

/openbmc/linux/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()
/openbmc/linux/tools/virtio/linux/
H A Dscatterlist.h156 static inline dma_addr_t sg_phys(struct scatterlist *sg) in sg_phys() function
/openbmc/linux/drivers/infiniband/hw/usnic/
H 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()
/openbmc/linux/drivers/media/platform/rockchip/rga/
H A Drga-buf.c133 address = sg_phys(sgl); in rga_buf_map()
/openbmc/linux/arch/powerpc/kernel/
H A Ddma-iommu.c45 if (!can_map_direct(dev, sg_phys(s) + s->offset + s->length)) in arch_dma_map_sg_direct()
/openbmc/linux/drivers/gpu/drm/virtio/
H A Dvirtgpu_object.c170 (*ents)[si].addr = cpu_to_le64(sg_phys(sg)); in virtio_gpu_object_shmem_init()
/openbmc/linux/arch/x86/kernel/
H 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()
/openbmc/linux/sound/virtio/
H A Dvirtio_pcm_msg.c104 sg_phys(&sgs[idx]) + sgs[idx].length != page_to_phys(pg)) { in virtsnd_pcm_sg_from()
/openbmc/linux/include/linux/
H A Dscatterlist.h387 static inline dma_addr_t sg_phys(struct scatterlist *sg) in sg_phys() function
/openbmc/linux/drivers/gpu/drm/msm/
H A Dmsm_iommu.c126 phys_addr_t phys = sg_phys(sg); in msm_iommu_pagetable_map()
/openbmc/linux/drivers/gpu/drm/rockchip/
H A Drockchip_drm_gem.c105 sg_dma_address(s) = sg_phys(s); in rockchip_gem_get_pages()
/openbmc/linux/drivers/s390/scsi/
H A Dzfcp_qdio.c259 sbale->addr = sg_phys(sg); in zfcp_qdio_sbals_from_sg()
/openbmc/linux/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()
/openbmc/linux/drivers/pci/
H A Dp2pdma.c1027 sg->dma_address = sg_phys(sg) + state->bus_off; in pci_p2pdma_map_segment()
/openbmc/linux/drivers/firmware/arm_ffa/
H A Ddriver.c480 constituents->address = sg_phys(args->sg); in ffa_setup_and_transmit()
/openbmc/linux/arch/powerpc/platforms/ps3/
H A Dsystem-bus.c643 int result = ps3_dma_map(dev->d_region, sg_phys(sg), in ps3_sb_map_sg()
/openbmc/linux/drivers/iommu/
H A Ddma-iommu.c1010 arch_sync_dma_for_cpu(sg_phys(sg), sg->length, dir); in iommu_dma_sync_sg_for_cpu()
1027 arch_sync_dma_for_device(sg_phys(sg), sg->length, dir); in iommu_dma_sync_sg_for_device()
H A Diommu.c2633 phys_addr_t s_phys = sg_phys(sg); in iommu_map_sg()
/openbmc/linux/drivers/nvme/host/
H A Dapple.c385 dma_addr_t phys = sg_phys(sg); in apple_nvme_print_sgl()
H A Dpci.c572 dma_addr_t phys = sg_phys(sg); in nvme_print_sgl()
/openbmc/linux/drivers/scsi/qla2xxx/
H 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()
/openbmc/linux/drivers/crypto/axis/
H A Dartpec6_crypto.c425 return sg_phys(awalk->sg) + awalk->offset; in artpec6_crypto_walk_chunk_phys()
/openbmc/linux/drivers/misc/
H A Dfastrpc.c795 map->phys = sg_phys(map->table->sgl); in fastrpc_map_create()
/openbmc/linux/drivers/virtio/
H A Dvirtio_ring.c381 *addr = (dma_addr_t)sg_phys(sg); in vring_map_one_sg()