| /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 | 186 ((u64 *)__get_dynamic_array(phys_addrs))[i] = sg_phys(sg); 266 ((u64 *)__get_dynamic_array(phys_addrs))[i] = sg_phys(sg); 312 ((u64 *)__get_dynamic_array(phys_addrs))[i] = sg_phys(sg); 360 ((u64 *)__get_dynamic_array(phys_addrs))[i] = sg_phys(sg); 394 ((u64 *)__get_dynamic_array(addrs))[i] = sg_phys(sg);
|
| /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/drivers/parisc/ |
| H A D | iommu-helpers.h | 70 paddr = sg_phys(startsg); in iommu_fill_pdir()
|
| /linux/arch/x86/kernel/ |
| H A D | amd_gart_64.c | 303 unsigned long addr = sg_phys(s); in dma_map_sg_nonforce() 400 dma_addr_t addr = sg_phys(s); in gart_map_sg()
|
| /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/kernel/dma/ |
| H A D | direct.c | 594 sg->dma_address = dma_direct_map_phys(dev, sg_phys(sg), in dma_direct_map_sg() 603 p2pdma_state.mem, sg_phys(sg)); in dma_direct_map_sg()
|
| /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/mm/kmsan/ |
| H A D | hooks.c | 373 kmsan_handle_dma(sg_phys(item), item->length, dir); in kmsan_handle_dma_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/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/xen/ |
| H A D | swiotlb-xen.c | 378 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 | 1146 arch_sync_dma_for_cpu(sg_phys(sg), sg->length, dir); in iommu_dma_sync_sg_for_cpu() 1164 arch_sync_dma_for_device(sg_phys(sg), sg->length, dir); in iommu_dma_sync_sg_for_device() 1391 sg_dma_address(s) = iommu_dma_map_phys(dev, sg_phys(s), in iommu_dma_map_sg_swiotlb() 1467 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/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/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()
|
| /linux/drivers/virtio/ |
| H A D | virtio_ring.c | 513 kmsan_handle_dma(sg_phys(sg), sg->length, direction); in vring_map_one_sg() 514 *addr = (dma_addr_t)sg_phys(sg); in vring_map_one_sg()
|
| /linux/drivers/nvme/host/ |
| H A D | apple.c | 432 dma_addr_t phys = sg_phys(sg); in apple_nvme_print_sgl()
|
| /linux/drivers/firmware/arm_ffa/ |
| H A D | driver.c | 789 constituents->address = sg_phys(args->sg); in ffa_setup_and_transmit()
|