参照元

説明

引数

返り値

参考

実装

 /**
  * arm_dma_sync_sg_for_device
  * @dev: valid struct device pointer, or NULL for ISA and EISA-like devices
  * @sg: list of buffers
  * @nents: number of buffers to map (returned from dma_map_sg)
  * @dir: DMA transfer direction (same as was passed to dma_map_sg)
  */
 void arm_dma_sync_sg_for_device(struct device *dev, struct scatterlist *sg,
                         int nents, enum dma_data_direction dir)
 {
         struct dma_map_ops *ops = get_dma_ops(dev);
         struct scatterlist *s;
         int i;
 
         for_each_sg(sg, s, nents, i)
                 ops->sync_single_for_device(dev, sg_dma_address(s), s->length,
                                             dir);
 }

コメント


トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS