|
@@ -915,7 +915,7 @@ sba_mark_invalid(struct ioc *ioc, dma_addr_t iova, size_t byte_cnt)
|
|
* @dir: R/W or both.
|
|
* @dir: R/W or both.
|
|
* @attrs: optional dma attributes
|
|
* @attrs: optional dma attributes
|
|
*
|
|
*
|
|
- * See Documentation/PCI/PCI-DMA-mapping.txt
|
|
|
|
|
|
+ * See Documentation/DMA-API-HOWTO.txt
|
|
*/
|
|
*/
|
|
static dma_addr_t sba_map_page(struct device *dev, struct page *page,
|
|
static dma_addr_t sba_map_page(struct device *dev, struct page *page,
|
|
unsigned long poff, size_t size,
|
|
unsigned long poff, size_t size,
|
|
@@ -1044,7 +1044,7 @@ sba_mark_clean(struct ioc *ioc, dma_addr_t iova, size_t size)
|
|
* @dir: R/W or both.
|
|
* @dir: R/W or both.
|
|
* @attrs: optional dma attributes
|
|
* @attrs: optional dma attributes
|
|
*
|
|
*
|
|
- * See Documentation/PCI/PCI-DMA-mapping.txt
|
|
|
|
|
|
+ * See Documentation/DMA-API-HOWTO.txt
|
|
*/
|
|
*/
|
|
static void sba_unmap_page(struct device *dev, dma_addr_t iova, size_t size,
|
|
static void sba_unmap_page(struct device *dev, dma_addr_t iova, size_t size,
|
|
enum dma_data_direction dir, struct dma_attrs *attrs)
|
|
enum dma_data_direction dir, struct dma_attrs *attrs)
|
|
@@ -1127,7 +1127,7 @@ void sba_unmap_single_attrs(struct device *dev, dma_addr_t iova, size_t size,
|
|
* @size: number of bytes mapped in driver buffer.
|
|
* @size: number of bytes mapped in driver buffer.
|
|
* @dma_handle: IOVA of new buffer.
|
|
* @dma_handle: IOVA of new buffer.
|
|
*
|
|
*
|
|
- * See Documentation/PCI/PCI-DMA-mapping.txt
|
|
|
|
|
|
+ * See Documentation/DMA-API-HOWTO.txt
|
|
*/
|
|
*/
|
|
static void *
|
|
static void *
|
|
sba_alloc_coherent (struct device *dev, size_t size, dma_addr_t *dma_handle, gfp_t flags)
|
|
sba_alloc_coherent (struct device *dev, size_t size, dma_addr_t *dma_handle, gfp_t flags)
|
|
@@ -1190,7 +1190,7 @@ sba_alloc_coherent (struct device *dev, size_t size, dma_addr_t *dma_handle, gfp
|
|
* @vaddr: virtual address IOVA of "consistent" buffer.
|
|
* @vaddr: virtual address IOVA of "consistent" buffer.
|
|
* @dma_handler: IO virtual address of "consistent" buffer.
|
|
* @dma_handler: IO virtual address of "consistent" buffer.
|
|
*
|
|
*
|
|
- * See Documentation/PCI/PCI-DMA-mapping.txt
|
|
|
|
|
|
+ * See Documentation/DMA-API-HOWTO.txt
|
|
*/
|
|
*/
|
|
static void sba_free_coherent (struct device *dev, size_t size, void *vaddr,
|
|
static void sba_free_coherent (struct device *dev, size_t size, void *vaddr,
|
|
dma_addr_t dma_handle)
|
|
dma_addr_t dma_handle)
|
|
@@ -1453,7 +1453,7 @@ static void sba_unmap_sg_attrs(struct device *dev, struct scatterlist *sglist,
|
|
* @dir: R/W or both.
|
|
* @dir: R/W or both.
|
|
* @attrs: optional dma attributes
|
|
* @attrs: optional dma attributes
|
|
*
|
|
*
|
|
- * See Documentation/PCI/PCI-DMA-mapping.txt
|
|
|
|
|
|
+ * See Documentation/DMA-API-HOWTO.txt
|
|
*/
|
|
*/
|
|
static int sba_map_sg_attrs(struct device *dev, struct scatterlist *sglist,
|
|
static int sba_map_sg_attrs(struct device *dev, struct scatterlist *sglist,
|
|
int nents, enum dma_data_direction dir,
|
|
int nents, enum dma_data_direction dir,
|
|
@@ -1549,7 +1549,7 @@ static int sba_map_sg_attrs(struct device *dev, struct scatterlist *sglist,
|
|
* @dir: R/W or both.
|
|
* @dir: R/W or both.
|
|
* @attrs: optional dma attributes
|
|
* @attrs: optional dma attributes
|
|
*
|
|
*
|
|
- * See Documentation/PCI/PCI-DMA-mapping.txt
|
|
|
|
|
|
+ * See Documentation/DMA-API-HOWTO.txt
|
|
*/
|
|
*/
|
|
static void sba_unmap_sg_attrs(struct device *dev, struct scatterlist *sglist,
|
|
static void sba_unmap_sg_attrs(struct device *dev, struct scatterlist *sglist,
|
|
int nents, enum dma_data_direction dir,
|
|
int nents, enum dma_data_direction dir,
|