aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/dmaengine.h
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2018-08-28 12:58:03 -0400
committerTony Lindgren <tony@atomide.com>2018-08-28 12:58:03 -0400
commitea4d65f14f6aaa53e379b93c5544245ef081b3e7 (patch)
treea15485f4f1cf547a52b31fa8e16e14b9579b7200 /include/linux/dmaengine.h
parentce32d59ee2cd036f6e8a6ed17a06a0b0bec5c67c (diff)
parent496f3347d834aec91c38b45d6249ed00f58ad233 (diff)
Merge branch 'perm-fix' into omap-for-v4.19/fixes-v2
Diffstat (limited to 'include/linux/dmaengine.h')
-rw-r--r--include/linux/dmaengine.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/linux/dmaengine.h b/include/linux/dmaengine.h
index 861be5cab1df..d49ec5c31944 100644
--- a/include/linux/dmaengine.h
+++ b/include/linux/dmaengine.h
@@ -415,7 +415,9 @@ enum dma_residue_granularity {
415 * each type, the dma controller should set BIT(<TYPE>) and same 415 * each type, the dma controller should set BIT(<TYPE>) and same
416 * should be checked by controller as well 416 * should be checked by controller as well
417 * @max_burst: max burst capability per-transfer 417 * @max_burst: max burst capability per-transfer
418 * @cmd_pause: true, if pause and thereby resume is supported 418 * @cmd_pause: true, if pause is supported (i.e. for reading residue or
419 * for resume later)
420 * @cmd_resume: true, if resume is supported
419 * @cmd_terminate: true, if terminate cmd is supported 421 * @cmd_terminate: true, if terminate cmd is supported
420 * @residue_granularity: granularity of the reported transfer residue 422 * @residue_granularity: granularity of the reported transfer residue
421 * @descriptor_reuse: if a descriptor can be reused by client and 423 * @descriptor_reuse: if a descriptor can be reused by client and
@@ -427,6 +429,7 @@ struct dma_slave_caps {
427 u32 directions; 429 u32 directions;
428 u32 max_burst; 430 u32 max_burst;
429 bool cmd_pause; 431 bool cmd_pause;
432 bool cmd_resume;
430 bool cmd_terminate; 433 bool cmd_terminate;
431 enum dma_residue_granularity residue_granularity; 434 enum dma_residue_granularity residue_granularity;
432 bool descriptor_reuse; 435 bool descriptor_reuse;
@@ -1403,6 +1406,7 @@ static inline int dmaengine_desc_free(struct dma_async_tx_descriptor *desc)
1403/* --- DMA device --- */ 1406/* --- DMA device --- */
1404 1407
1405int dma_async_device_register(struct dma_device *device); 1408int dma_async_device_register(struct dma_device *device);
1409int dmaenginem_async_device_register(struct dma_device *device);
1406void dma_async_device_unregister(struct dma_device *device); 1410void dma_async_device_unregister(struct dma_device *device);
1407void dma_run_dependencies(struct dma_async_tx_descriptor *tx); 1411void dma_run_dependencies(struct dma_async_tx_descriptor *tx);
1408struct dma_chan *dma_get_slave_channel(struct dma_chan *chan); 1412struct dma_chan *dma_get_slave_channel(struct dma_chan *chan);