| /linux/arch/mips/jazz/ |
| H A D | jazzdma.c | 557 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 D | dma.h | 184 ((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 D | usnic_uiom.c | 76 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 D | scatterlist.h | 156 static inline dma_addr_t sg_phys(struct scatterlist *sg) in sg_phys() function
|
| /linux/kernel/dma/ |
| H A D | debug.c | 1329 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 D | direct.c | 471 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 D | iommu-helpers.h | 70 paddr = sg_phys(startsg); in iommu_fill_pdir()
|
| H A D | ccio-dma.c | 925 sg_phys(sglist), sglist->length, in ccio_map_sg()
|
| /linux/arch/x86/kernel/ |
| H A D | amd_gart_64.c | 302 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 D | virtgpu_object.c | 194 (*ents)[si].addr = cpu_to_le64(sg_phys(sg)); in virtio_gpu_object_shmem_init()
|
| /linux/arch/arm/mm/ |
| H A D | dma-mapping.c | 1206 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 D | virtio_pcm_msg.c | 104 sg_phys(&sgs[idx]) + sgs[idx].length != page_to_phys(pg)) { in virtsnd_pcm_sg_from()
|
| /linux/mm/kmsan/ |
| H A D | hooks.c | 372 kmsan_handle_dma(sg_phys(item), item->length, dir); in kmsan_handle_dma_sg()
|
| /linux/arch/sparc/mm/ |
| H A D | io-unit.c | 176 iounit_get_area(iounit, sg_phys(sg), sg->length); in iounit_map_sg()
|
| H A D | iommu.c | 259 sg->dma_address = __sbus_iommu_map_phys(dev, sg_phys(sg), in __sbus_iommu_map_sg()
|
| /linux/drivers/tee/optee/ |
| H A D | protmem.c | 175 gen_pool_free(rp->gen_pool, sg_phys(sg), sg->length); in protmem_pool_op_dyn_free()
|
| /linux/drivers/xen/ |
| H A D | swiotlb-xen.c | 370 sg->dma_address = xen_swiotlb_map_phys(dev, sg_phys(sg), in xen_swiotlb_map_sg()
|
| /linux/drivers/iommu/ |
| H A D | dma-iommu.c | 1131 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 D | tee_heap.c | 429 gen_pool_free(stp->gen_pool, sg_phys(sg), sg->length); in protmem_pool_op_static_free()
|
| /linux/drivers/gpu/drm/rockchip/ |
| H A D | rockchip_drm_gem.c | 107 sg_dma_address(s) = sg_phys(s); in rockchip_gem_get_pages()
|
| /linux/drivers/s390/scsi/ |
| H A D | zfcp_qdio.c | 259 sbale->addr = u64_to_dma64(sg_phys(sg)); in zfcp_qdio_sbals_from_sg()
|
| /linux/arch/powerpc/platforms/ps3/ |
| H A D | system-bus.c | 647 int result = ps3_dma_map(dev->d_region, sg_phys(sg), in ps3_sb_map_sg()
|
| /linux/drivers/gpu/drm/msm/ |
| H A D | msm_iommu.c | 179 phys_addr_t phys = sg_phys(sg); in msm_iommu_pagetable_map()
|
| /linux/arch/alpha/kernel/ |
| H A D | pci_iommu.c | 641 sg->dma_address = pci_map_single_1(pdev, sg_phys(sg), in alpha_pci_map_sg()
|
| /linux/lib/ |
| H A D | scatterlist.c | 486 next_pfn = (sg_phys(sgt_append->prv) + prv_len) / PAGE_SIZE; in sg_alloc_append_table_from_pages()
|