Home
last modified time | relevance | path

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

12

/linux-3.4.99/arch/sparc/kernel/
Dioport.c567 sg->dma_address = sg_phys(sg); in pci32_map_sg()
586 dma_make_coherent(sg_phys(sg), PAGE_ALIGN(sg->length)); in pci32_unmap_sg()
631 dma_make_coherent(sg_phys(sg), PAGE_ALIGN(sg->length)); in pci32_sync_sg_for_cpu()
644 dma_make_coherent(sg_phys(sg), PAGE_ALIGN(sg->length)); in pci32_sync_sg_for_device()
/linux-3.4.99/drivers/virtio/
Dvirtio_ring.c149 desc[i].addr = sg_phys(sg); in vring_add_indirect()
156 desc[i].addr = sg_phys(sg); in vring_add_indirect()
255 vq->vring.desc[i].addr = sg_phys(sg); in virtqueue_add_buf()
262 vq->vring.desc[i].addr = sg_phys(sg); in virtqueue_add_buf()
/linux-3.4.99/drivers/dma/
Dcoh901318_lli.c273 src = sg_phys(sg); in coh901318_lli_fill_sg()
276 dst = sg_phys(sg); in coh901318_lli_fill_sg()
Ddw_dmac.c745 mem = sg_phys(sg); in dwc_prep_slave_sg()
812 mem = sg_phys(sg); in dwc_prep_slave_sg()
Damba-pl08x.c1381 dsg->src_addr = sg_phys(sg); in pl08x_prep_slave_sg()
1385 dsg->dst_addr = sg_phys(sg); in pl08x_prep_slave_sg()
Dpch_dma.c624 desc->regs.mem_addr = sg_phys(sg); in pd_prep_slave_sg()
/linux-3.4.99/arch/sh/kernel/
Ddma-nommu.c40 s->dma_address = sg_phys(s); in nommu_map_sg()
/linux-3.4.99/arch/x86/kernel/
Dpci-nommu.c68 s->dma_address = sg_phys(s); in nommu_map_sg()
Damd_gart_64.c313 unsigned long addr = sg_phys(s); in dma_map_sg_nonforce()
413 dma_addr_t addr = sg_phys(s); in gart_map_sg()
/linux-3.4.99/arch/mn10300/include/asm/
Ddma-mapping.h63 sg->dma_address = sg_phys(sg); in dma_map_sg()
/linux-3.4.99/include/linux/
Dscatterlist.h184 static inline dma_addr_t sg_phys(struct scatterlist *sg) in sg_phys() function
/linux-3.4.99/arch/m68k/kernel/
Ddma_mm.c126 sg->dma_address = sg_phys(sg); in dma_map_sg()
/linux-3.4.99/drivers/xen/
Dswiotlb-xen.c442 phys_addr_t paddr = sg_phys(sg); in xen_swiotlb_map_sg_attrs()
450 sg_phys(sg), in xen_swiotlb_map_sg_attrs()
/linux-3.4.99/arch/microblaze/kernel/
Ddma.c80 sg->dma_address = sg_phys(sg) + get_dma_direct_offset(dev); in dma_direct_map_sg()
/linux-3.4.99/arch/hexagon/kernel/
Ddma.c115 s->dma_address = sg_phys(s); in hexagon_map_sg()
/linux-3.4.99/lib/
Ddma-debug.c1091 entry->paddr = sg_phys(s); in debug_dma_map_sg()
1141 .paddr = sg_phys(s), in debug_dma_unmap_sg()
1299 .paddr = sg_phys(s), in debug_dma_sync_sg_for_cpu()
1331 .paddr = sg_phys(s), in debug_dma_sync_sg_for_device()
Dswiotlb.c816 phys_addr_t paddr = sg_phys(sg); in swiotlb_map_sg_attrs()
821 void *map = map_single(hwdev, sg_phys(sg), in swiotlb_map_sg_attrs()
/linux-3.4.99/arch/xtensa/include/asm/
Ddma-mapping.h63 sg->dma_address = sg_phys(sg); in dma_map_sg()
/linux-3.4.99/drivers/ide/
Dau1xxx-ide.c253 sg_phys(sg), tc, flags)) { in auide_build_dmatable()
259 sg_phys(sg), tc, flags)) { in auide_build_dmatable()
/linux-3.4.99/tools/virtio/linux/
Dvirtio.h36 #define sg_phys(sg) ((sg->page_link & ~0x3) / sizeof(struct page) * 4096 + \ macro
/linux-3.4.99/arch/powerpc/kernel/
Ddma.c76 sg->dma_address = sg_phys(sg) + get_dma_offset(dev); in dma_direct_map_sg()
/linux-3.4.99/arch/tile/kernel/
Dpci-dma.c145 sg->dma_address = sg_phys(sg); in dma_map_sg()
/linux-3.4.99/drivers/iommu/
Domap-iovmm.c183 pa = sg_phys(sg) - sg->offset; in vmap_sg()
426 pa = sg_phys(sg) - sg->offset; in map_iovm_area()
/linux-3.4.99/drivers/mmc/host/
Dau1xmmc.c659 sg_phys(sg), len, flags); in au1xmmc_prepare_data()
662 sg_phys(sg), len, flags); in au1xmmc_prepare_data()
/linux-3.4.99/arch/powerpc/platforms/ps3/
Dsystem-bus.c654 int result = ps3_dma_map(dev->d_region, sg_phys(sg), in ps3_sb_map_sg()

12