aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/dmaengine.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/dmaengine.h')
-rw-r--r--include/linux/dmaengine.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/include/linux/dmaengine.h b/include/linux/dmaengine.h
index 6fd9390ccf91..c5c92d59e531 100644
--- a/include/linux/dmaengine.h
+++ b/include/linux/dmaengine.h
@@ -257,7 +257,7 @@ struct dma_chan_percpu {
257 * @dev: class device for sysfs 257 * @dev: class device for sysfs
258 * @device_node: used to add this to the device chan list 258 * @device_node: used to add this to the device chan list
259 * @local: per-cpu pointer to a struct dma_chan_percpu 259 * @local: per-cpu pointer to a struct dma_chan_percpu
260 * @client-count: how many clients are using this channel 260 * @client_count: how many clients are using this channel
261 * @table_count: number of appearances in the mem-to-mem allocation table 261 * @table_count: number of appearances in the mem-to-mem allocation table
262 * @private: private data for certain client-channel associations 262 * @private: private data for certain client-channel associations
263 */ 263 */
@@ -279,10 +279,10 @@ struct dma_chan {
279 279
280/** 280/**
281 * struct dma_chan_dev - relate sysfs device node to backing channel device 281 * struct dma_chan_dev - relate sysfs device node to backing channel device
282 * @chan - driver channel device 282 * @chan: driver channel device
283 * @device - sysfs device 283 * @device: sysfs device
284 * @dev_id - parent dma_device dev_id 284 * @dev_id: parent dma_device dev_id
285 * @idr_ref - reference count to gate release of dma_device dev_id 285 * @idr_ref: reference count to gate release of dma_device dev_id
286 */ 286 */
287struct dma_chan_dev { 287struct dma_chan_dev {
288 struct dma_chan *chan; 288 struct dma_chan *chan;
@@ -306,9 +306,8 @@ enum dma_slave_buswidth {
306/** 306/**
307 * struct dma_slave_config - dma slave channel runtime config 307 * struct dma_slave_config - dma slave channel runtime config
308 * @direction: whether the data shall go in or out on this slave 308 * @direction: whether the data shall go in or out on this slave
309 * channel, right now. DMA_TO_DEVICE and DMA_FROM_DEVICE are 309 * channel, right now. DMA_MEM_TO_DEV and DMA_DEV_TO_MEM are
310 * legal values, DMA_BIDIRECTIONAL is not acceptable since we 310 * legal values.
311 * need to differentiate source and target addresses.
312 * @src_addr: this is the physical address where DMA slave data 311 * @src_addr: this is the physical address where DMA slave data
313 * should be read (RX), if the source is memory this argument is 312 * should be read (RX), if the source is memory this argument is
314 * ignored. 313 * ignored.