Home
last modified time | relevance | path

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

12

/linux/arch/mips/jazz/
H A Djazzdma.c557 arch_sync_dma_for_device(sg_phys(sg), sg->length, in jazz_dma_map_sg()
559 sg->dma_address = vdma_alloc(sg_phys(sg), sg->length); in jazz_dma_map_sg()
576 arch_sync_dma_for_cpu(sg_phys(sg), sg->length, dir); in jazz_dma_unmap_sg()
600 arch_sync_dma_for_device(sg_phys(sg), sg->length, dir); in jazz_dma_sync_sg_for_device()
610 arch_sync_dma_for_cpu(sg_phys(sg), sg->length, dir); in jazz_dma_sync_sg_for_cpu()
/linux/include/trace/events/
H A Ddma.h184 ((u64 *)__get_dynamic_array(phys_addrs))[i] = sg_phys(sg);
264 ((u64 *)__get_dynamic_array(phys_addrs))[i] = sg_phys(sg);
310 ((u64 *)__get_dynamic_array(phys_addrs))[i] = sg_phys(sg);
358 ((u64 *)__get_dynamic_array(phys_addrs))[i] = sg_phys(sg);
392 ((u64 *)__get_dynamic_array(addrs))[i] = sg_phys(sg);
/linux/drivers/infiniband/hw/usnic/
H A Dusnic_uiom.c76 pa = sg_phys(sg); in usnic_uiom_put_pages()
164 pa = sg_phys(sg); in usnic_uiom_get_pages()
259 pa = sg_phys(&chunk->page_list[i]); in usnic_uiom_map_sorted_intervals()
/linux/tools/virtio/linux/
H A Dscatterlist.h156 static inline dma_addr_t sg_phys(struct scatterlist *sg) in sg_phys() function
/linux/kernel/dma/
H A Ddebug.c1329 check_for_stack(dev, sg_phys(s)); in debug_dma_map_sg()
1341 entry->paddr = sg_phys(s); in debug_dma_map_sg()
1387 .paddr = sg_phys(s), in debug_dma_unmap_sg()
1520 .paddr = sg_phys(s), in debug_dma_sync_sg_for_cpu()
1551 .paddr = sg_phys(sg), in debug_dma_sync_sg_for_device()
H A Ddirect.c471 sg->dma_address = dma_direct_map_phys(dev, sg_phys(sg), in dma_direct_map_sg()
480 p2pdma_state.mem, sg_phys(sg)); in dma_direct_map_sg()
/linux/drivers/parisc/
H A Diommu-helpers.h70 paddr = sg_phys(startsg); in iommu_fill_pdir()
H A Dccio-dma.c925 sg_phys(sglist), sglist->length, in ccio_map_sg()
/linux/arch/x86/kernel/
H A Damd_gart_64.c302 unsigned long addr = sg_phys(s); in dma_map_sg_nonforce()
399 dma_addr_t addr = sg_phys(s); in gart_map_sg()
/linux/drivers/gpu/drm/virtio/
H A Dvirtgpu_object.c194 (*ents)[si].addr = cpu_to_le64(sg_phys(sg)); in virtio_gpu_object_shmem_init()
/linux/arch/arm/mm/
H A Ddma-mapping.c1206 arch_sync_dma_for_device(sg_phys(s), s->length, dir); in __map_sg_chunk()
1308 arch_sync_dma_for_cpu(sg_phys(s), s->length, dir); in arm_iommu_unmap_sg()
1330 arch_sync_dma_for_cpu(sg_phys(s), s->length, dir); in arm_iommu_sync_sg_for_cpu()
1352 arch_sync_dma_for_device(sg_phys(s), s->length, dir); in arm_iommu_sync_sg_for_device()
/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()
/linux/mm/kmsan/
H A Dhooks.c372 kmsan_handle_dma(sg_phys(item), item->length, dir); in kmsan_handle_dma_sg()
/linux/arch/sparc/mm/
H A Dio-unit.c176 iounit_get_area(iounit, sg_phys(sg), sg->length); in iounit_map_sg()
H A Diommu.c259 sg->dma_address = __sbus_iommu_map_phys(dev, sg_phys(sg), in __sbus_iommu_map_sg()
/linux/drivers/tee/optee/
H A Dprotmem.c175 gen_pool_free(rp->gen_pool, sg_phys(sg), sg->length); in protmem_pool_op_dyn_free()
/linux/drivers/xen/
H A Dswiotlb-xen.c370 sg->dma_address = xen_swiotlb_map_phys(dev, sg_phys(sg), in xen_swiotlb_map_sg()
/linux/drivers/iommu/
H A Ddma-iommu.c1131 arch_sync_dma_for_cpu(sg_phys(sg), sg->length, dir); in iommu_dma_sync_sg_for_cpu()
1147 arch_sync_dma_for_device(sg_phys(sg), sg->length, dir); in iommu_dma_sync_sg_for_device()
1368 sg_dma_address(s) = iommu_dma_map_phys(dev, sg_phys(s), in iommu_dma_map_sg_swiotlb()
1444 p2pdma_state.mem, sg_phys(s)); in iommu_dma_map_sg()
/linux/drivers/tee/
H A Dtee_heap.c429 gen_pool_free(stp->gen_pool, sg_phys(sg), sg->length); in protmem_pool_op_static_free()
/linux/drivers/gpu/drm/rockchip/
H A Drockchip_drm_gem.c107 sg_dma_address(s) = sg_phys(s); in rockchip_gem_get_pages()
/linux/drivers/s390/scsi/
H A Dzfcp_qdio.c259 sbale->addr = u64_to_dma64(sg_phys(sg)); in zfcp_qdio_sbals_from_sg()
/linux/arch/powerpc/platforms/ps3/
H A Dsystem-bus.c647 int result = ps3_dma_map(dev->d_region, sg_phys(sg), in ps3_sb_map_sg()
/linux/drivers/gpu/drm/msm/
H A Dmsm_iommu.c179 phys_addr_t phys = sg_phys(sg); in msm_iommu_pagetable_map()
/linux/arch/alpha/kernel/
H A Dpci_iommu.c641 sg->dma_address = pci_map_single_1(pdev, sg_phys(sg), in alpha_pci_map_sg()
/linux/lib/
H A Dscatterlist.c486 next_pfn = (sg_phys(sgt_append->prv) + prv_len) / PAGE_SIZE; in sg_alloc_append_table_from_pages()

12