@@ -92,19 +92,19 @@ void *dma_mark_declared_memory_occupied(struct device *dev,
92
92
EXPORT_SYMBOL (dma_mark_declared_memory_occupied );
93
93
94
94
/**
95
- * Try to allocate memory from the per-device coherent area.
95
+ * dma_alloc_from_coherent() - try to allocate memory from the per-device coherent area
96
96
*
97
97
* @dev: device from which we allocate memory
98
98
* @size: size of requested memory area
99
99
* @dma_handle: This will be filled with the correct dma handle
100
100
* @ret: This pointer will be filled with the virtual address
101
101
* to allocated area.
102
102
*
103
- * This function should be only called from per-arch % dma_alloc_coherent()
103
+ * This function should be only called from per-arch dma_alloc_coherent()
104
104
* to support allocation from per-device coherent memory pools.
105
105
*
106
106
* Returns 0 if dma_alloc_coherent should continue with allocating from
107
- * generic memory areas, or !0 if dma_alloc_coherent should return % ret.
107
+ * generic memory areas, or !0 if dma_alloc_coherent should return @ ret.
108
108
*/
109
109
int dma_alloc_from_coherent (struct device * dev , ssize_t size ,
110
110
dma_addr_t * dma_handle , void * * ret )
@@ -126,7 +126,7 @@ int dma_alloc_from_coherent(struct device *dev, ssize_t size,
126
126
}
127
127
128
128
/**
129
- * Try to free the memory allocated from per-device coherent memory pool.
129
+ * dma_release_from_coherent() - try to free the memory allocated from per-device coherent memory pool
130
130
* @dev: device from which the memory was allocated
131
131
* @order: the order of pages allocated
132
132
* @vaddr: virtual address of allocated pages
@@ -135,7 +135,7 @@ int dma_alloc_from_coherent(struct device *dev, ssize_t size,
135
135
* coherent memory pool and if so, releases that memory.
136
136
*
137
137
* Returns 1 if we correctly released the memory, or 0 if
138
- * % dma_release_coherent() should proceed with releasing memory from
138
+ * dma_release_coherent() should proceed with releasing memory from
139
139
* generic pools.
140
140
*/
141
141
int dma_release_from_coherent (struct device * dev , int order , void * vaddr )
0 commit comments