Lines Matching refs:sg
1160 static void check_sg_segment(struct device *dev, struct scatterlist *sg) in check_sg_segment() argument
1170 if (sg->length > max_seg) in check_sg_segment()
1172 sg->length, max_seg); in check_sg_segment()
1178 start = sg_dma_address(sg); in check_sg_segment()
1179 end = start + sg_dma_len(sg) - 1; in check_sg_segment()
1292 void debug_dma_map_sg(struct device *dev, struct scatterlist *sg, in debug_dma_map_sg() argument
1303 for_each_sg(sg, s, nents, i) { in debug_dma_map_sg()
1309 for_each_sg(sg, s, mapped_ents, i) { in debug_dma_map_sg()
1522 void debug_dma_sync_sg_for_cpu(struct device *dev, struct scatterlist *sg, in debug_dma_sync_sg_for_cpu() argument
1531 for_each_sg(sg, s, nelems, i) { in debug_dma_sync_sg_for_cpu()
1554 void debug_dma_sync_sg_for_device(struct device *dev, struct scatterlist *sg, in debug_dma_sync_sg_for_device() argument
1563 for_each_sg(sg, s, nelems, i) { in debug_dma_sync_sg_for_device()