Lines Matching full:sg
376 dma_map_sg(struct device *dev, struct scatterlist *sg,
384 Please note that the sg cannot be mapped again if it has been mapped once.
385 The mapping process is allowed to destroy information in the sg.
396 struct scatterlist *sg;
398 for_each_sg(sglist, sg, count, i) {
399 hw_address[i] = sg_dma_address(sg);
400 hw_len[i] = sg_dma_len(sg);
407 physically contiguous) and returns the actual number of sg entries it
412 accessed sg->address and sg->length as shown above.
417 dma_unmap_sg(struct device *dev, struct scatterlist *sg,
440 dma_sync_sg_for_cpu(struct device *dev, struct scatterlist *sg,
445 dma_sync_sg_for_device(struct device *dev, struct scatterlist *sg,
451 as those passed into the sg mapping API. With the sync_single API,
516 n = dma_map_sg_attrs(dev, sg, nents, DMA_TO_DEVICE, attr);