/openbmc/linux/drivers/hwtracing/intel_th/ |
H A D | msu-sink.c | 70 for_each_sg((*sgt)->sgl, sg_ptr, nents, i) { in msu_sink_alloc_window() 90 for_each_sg(sgt->sgl, sg_ptr, sgt->nents, i) { in msu_sink_free_window()
|
H A D | msu.c | 330 for_each_sg(win->sgt->sgl, sg, win->nr_segs, blk) { in msc_win_total_sz() 425 for_each_sg(win->sgt->sgl, sg, win->nr_segs, blk) { in msc_win_oldest_sg() 662 for_each_sg(win->sgt->sgl, sg, win->nr_segs, blk) { in msc_buffer_clear_hw_header() 1002 for_each_sg(win->sgt->sgl, sg_ptr, nr_segs, i) { in __msc_buffer_win_alloc() 1015 for_each_sg(win->sgt->sgl, sg_ptr, i, ret) in __msc_buffer_win_alloc() 1037 for_each_sg(win->sgt->sgl, sg_ptr, win->nr_segs, i) { in msc_buffer_set_uc() 1057 for_each_sg(win->sgt->sgl, sg_ptr, win->nr_segs, i) { in msc_buffer_set_wb() 1149 for_each_sg(win->sgt->sgl, sg, win->nr_segs, i) { in __msc_buffer_win_free() 1214 for_each_sg(win->sgt->sgl, sg, win->nr_segs, blk) { in msc_buffer_relink() 1413 for_each_sg(win->sgt->sgl, sg, win->nr_segs, blk) { in msc_buffer_get_page()
|
/openbmc/linux/drivers/xen/ |
H A D | swiotlb-xen.c | 325 for_each_sg(sgl, sg, nelems, i) in xen_swiotlb_unmap_sg() 340 for_each_sg(sgl, sg, nelems, i) { in xen_swiotlb_map_sg() 362 for_each_sg(sgl, sg, nelems, i) { in xen_swiotlb_sync_sg_for_cpu() 375 for_each_sg(sgl, sg, nelems, i) { in xen_swiotlb_sync_sg_for_device()
|
H A D | grant-dma-ops.c | 244 for_each_sg(sg, s, nents, i) in xen_grant_dma_unmap_sg() 259 for_each_sg(sg, s, nents, i) { in xen_grant_dma_map_sg()
|
/openbmc/linux/arch/mips/jazz/ |
H A D | jazzdma.c | 549 for_each_sg(sglist, sg, nents, i) { in jazz_dma_map_sg() 568 for_each_sg(sglist, sg, nents, i) { in jazz_dma_unmap_sg() 593 for_each_sg(sgl, sg, nents, i) in jazz_dma_sync_sg_for_device() 603 for_each_sg(sgl, sg, nents, i) in jazz_dma_sync_sg_for_cpu()
|
/openbmc/linux/drivers/iommu/ |
H A D | dma-iommu.c | 550 for_each_sg(sg, s, nents, i) in dev_use_sg_swiotlb() 1005 for_each_sg(sgl, sg, nelems, i) in iommu_dma_sync_sg_for_cpu() 1009 for_each_sg(sgl, sg, nelems, i) in iommu_dma_sync_sg_for_cpu() 1021 for_each_sg(sgl, sg, nelems, i) in iommu_dma_sync_sg_for_device() 1026 for_each_sg(sgl, sg, nelems, i) in iommu_dma_sync_sg_for_device() 1121 for_each_sg(sg, s, nents, i) { in __finalise_sg() 1186 for_each_sg(sg, s, nents, i) { in __invalidate_sg() 1206 for_each_sg(sg, s, nents, i) in iommu_dma_unmap_sg_swiotlb() 1219 for_each_sg(sg, s, nents, i) { in iommu_dma_map_sg_swiotlb() 1275 for_each_sg(sg, s, nents, i) { in iommu_dma_map_sg() [all …]
|
/openbmc/linux/arch/powerpc/kernel/ |
H A D | dma-iommu.c | 44 for_each_sg(sg, s, nents, i) { in arch_dma_map_sg_direct() 61 for_each_sg(sg, s, nents, i) { in arch_dma_unmap_sg_direct()
|
/openbmc/linux/include/linux/ |
H A D | scatterlist.h | 195 #define for_each_sg(sglist, sg, nr, __i) \ macro 202 for_each_sg((sgt)->sgl, sg, (sgt)->orig_nents, i) 210 for_each_sg((sgt)->sgl, sg, (sgt)->nents, i)
|
H A D | devcoredump.h | 31 for_each_sg(table, iter, sg_nents(table), i) { in _devcd_free_sgtable()
|
/openbmc/linux/include/scsi/ |
H A D | scsi_cmnd.h | 207 for_each_sg(scsi_sglist(cmd), sg, nseg, __i) 332 for_each_sg(scsi_prot_sglist(cmd), sg, nseg, __i)
|
/openbmc/linux/kernel/dma/ |
H A D | direct.c | 415 for_each_sg(sgl, sg, nents, i) { in dma_direct_sync_sg_for_device() 438 for_each_sg(sgl, sg, nents, i) { in dma_direct_sync_sg_for_cpu() 466 for_each_sg(sgl, sg, nents, i) { in dma_direct_unmap_sg() 484 for_each_sg(sgl, sg, nents, i) { in dma_direct_map_sg()
|
H A D | debug.c | 1316 for_each_sg(sg, s, nents, i) { in debug_dma_map_sg() 1322 for_each_sg(sg, s, mapped_ents, i) { in debug_dma_map_sg() 1371 for_each_sg(sglist, s, nelems, i) { in debug_dma_unmap_sg() 1544 for_each_sg(sg, s, nelems, i) { in debug_dma_sync_sg_for_cpu() 1576 for_each_sg(sg, s, nelems, i) { in debug_dma_sync_sg_for_device()
|
/openbmc/linux/arch/x86/kernel/ |
H A D | amd_gart_64.c | 282 for_each_sg(sg, s, nents, i) { in gart_unmap_sg() 300 for_each_sg(sg, s, nents, i) { in dma_map_sg_nonforce() 334 for_each_sg(start, s, nelems, i) { in __dma_map_cont() 397 for_each_sg(sg, s, nents, i) { in gart_map_sg()
|
/openbmc/linux/drivers/crypto/intel/qat/qat_common/ |
H A D | qat_bl.c | 96 for_each_sg(sgl, sg, n, i) { in __qat_bl_sgl_to_bufl() 151 for_each_sg(sglout, sg, n_sglout, i) { in __qat_bl_sgl_to_bufl() 287 for_each_sg(sgl, sg, n, i) { in qat_bl_sgl_map()
|
/openbmc/linux/tools/virtio/linux/ |
H A D | scatterlist.h | 78 #define for_each_sg(sglist, sg, nr, __i) \ macro
|
/openbmc/linux/drivers/scsi/arm/ |
H A D | arm_scsi.h | 48 for_each_sg(sg_next(SCp->buffer), src_sg, bufs, i) in copy_SCp_to_sg()
|
/openbmc/linux/arch/sparc/mm/ |
H A D | io-unit.c | 173 for_each_sg(sgl, sg, nents, i) { in iounit_map_sg() 205 for_each_sg(sgl, sg, nents, i) { in iounit_unmap_sg()
|
H A D | iommu.c | 256 for_each_sg(sgl, sg, nents, j) { in __sbus_iommu_map_sg() 305 for_each_sg(sgl, sg, nents, i) { in sbus_iommu_unmap_sg()
|
/openbmc/linux/drivers/gpu/drm/i915/gvt/ |
H A D | dmabuf.c | 79 for_each_sg(st->sgl, sg, page_num, i) { in vgpu_gem_get_pages() 98 for_each_sg(st->sgl, sg, i, j) { in vgpu_gem_get_pages() 122 for_each_sg(pages->sgl, sg, fb_info->size, i) in vgpu_gem_put_pages()
|
/openbmc/linux/drivers/media/platform/rockchip/rga/ |
H A D | rga-buf.c | 131 for_each_sg(sgt->sgl, sgl, sgt->nents, i) { in rga_buf_map()
|
/openbmc/linux/net/rds/ |
H A D | ib.h | 333 for_each_sg(sglist, sg, sg_dma_len, i) { in rds_ib_dma_sync_sg_for_cpu() 348 for_each_sg(sglist, sg, sg_dma_len, i) { in rds_ib_dma_sync_sg_for_device()
|
/openbmc/linux/drivers/scsi/aic94xx/ |
H A D | aic94xx_task.c | 82 for_each_sg(task->scatter, sc, num_sg, i) { in asd_map_scatterlist() 91 for_each_sg(task->scatter, sc, 2, i) { in asd_map_scatterlist() 103 for_each_sg(task->scatter, sc, num_sg, i) { in asd_map_scatterlist()
|
/openbmc/linux/drivers/dma/ |
H A D | ste_dma40_ll.c | 285 for_each_sg(sg, current_sg, sg_len, i) { in d40_phy_sg_to_lli() 434 for_each_sg(sg, current_sg, sg_len, i) { in d40_log_sg_to_lli()
|
/openbmc/linux/drivers/mmc/host/ |
H A D | renesas_sdhi_sys_dmac.c | 166 for_each_sg(sg, sg_tmp, host->sg_len, i) { in renesas_sdhi_sys_dmac_start_dma_rx() 238 for_each_sg(sg, sg_tmp, host->sg_len, i) { in renesas_sdhi_sys_dmac_start_dma_tx()
|
/openbmc/linux/arch/sparc/kernel/ |
H A D | iommu.c | 477 for_each_sg(sglist, s, nelems, i) { in dma_4u_map_sg() 555 for_each_sg(sglist, s, nelems, i) { in dma_4u_map_sg() 728 for_each_sg(sglist, sg, nelems, i) { in dma_4u_sync_sg_for_cpu()
|