diff options
Diffstat (limited to 'include/linux/dmaengine.h')
| -rw-r--r-- | include/linux/dmaengine.h | 6 |
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 | ||
| 1405 | int dma_async_device_register(struct dma_device *device); | 1408 | int dma_async_device_register(struct dma_device *device); |
| 1409 | int dmaenginem_async_device_register(struct dma_device *device); | ||
| 1406 | void dma_async_device_unregister(struct dma_device *device); | 1410 | void dma_async_device_unregister(struct dma_device *device); |
| 1407 | void dma_run_dependencies(struct dma_async_tx_descriptor *tx); | 1411 | void dma_run_dependencies(struct dma_async_tx_descriptor *tx); |
| 1408 | struct dma_chan *dma_get_slave_channel(struct dma_chan *chan); | 1412 | struct dma_chan *dma_get_slave_channel(struct dma_chan *chan); |
