Home
last modified time | relevance | path

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

/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.h186 ((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 Dscatterlist.h156 static inline dma_addr_t sg_phys(struct scatterlist *sg) in sg_phys() function
/linux/drivers/parisc/
H A Diommu-helpers.h70 paddr = sg_phys(startsg); in iommu_fill_pdir()
/linux/arch/x86/kernel/
H A Damd_gart_64.c303 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 Dvirtio_pcm_msg.c104 sg_phys(&sgs[idx]) + sgs[idx].length != page_to_phys(pg)) { in virtsnd_pcm_sg_from()
/linux/kernel/dma/
H A Ddirect.c594 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 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/mm/kmsan/
H A Dhooks.c373 kmsan_handle_dma(sg_phys(item), item->length, dir); in kmsan_handle_dma_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/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/xen/
H A Dswiotlb-xen.c378 sg->dma_address = xen_swiotlb_map_phys(dev, sg_phys(sg), in xen_swiotlb_map_sg()
/linux/drivers/iommu/
H A Ddma-iommu.c1146 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 Dtee_heap.c429 gen_pool_free(stp->gen_pool, sg_phys(sg), sg->length); in protmem_pool_op_static_free()
/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/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()
/linux/drivers/virtio/
H A Dvirtio_ring.c513 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 Dapple.c432 dma_addr_t phys = sg_phys(sg); in apple_nvme_print_sgl()
/linux/drivers/firmware/arm_ffa/
H A Ddriver.c789 constituents->address = sg_phys(args->sg); in ffa_setup_and_transmit()