Home
last modified time | relevance | path

Searched refs:for_each_sg (Results 1 – 25 of 248) sorted by relevance

12345678910

/openbmc/linux/drivers/hwtracing/intel_th/
H A Dmsu-sink.c70 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 Dmsu.c330 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 Dswiotlb-xen.c325 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 Dgrant-dma-ops.c244 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 Djazzdma.c549 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 Ddma-iommu.c550 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 Ddma-iommu.c44 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 Dscatterlist.h195 #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 Ddevcoredump.h31 for_each_sg(table, iter, sg_nents(table), i) { in _devcd_free_sgtable()
/openbmc/linux/include/scsi/
H A Dscsi_cmnd.h207 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 Ddirect.c415 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 Ddebug.c1316 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 Damd_gart_64.c282 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 Dqat_bl.c96 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 Dscatterlist.h78 #define for_each_sg(sglist, sg, nr, __i) \ macro
/openbmc/linux/drivers/scsi/arm/
H A Darm_scsi.h48 for_each_sg(sg_next(SCp->buffer), src_sg, bufs, i) in copy_SCp_to_sg()
/openbmc/linux/arch/sparc/mm/
H A Dio-unit.c173 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 Diommu.c256 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 Ddmabuf.c79 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 Drga-buf.c131 for_each_sg(sgt->sgl, sgl, sgt->nents, i) { in rga_buf_map()
/openbmc/linux/net/rds/
H A Dib.h333 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 Daic94xx_task.c82 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 Dste_dma40_ll.c285 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 Drenesas_sdhi_sys_dmac.c166 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 Diommu.c477 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()

12345678910