diff options
| author | Vinod Koul <vinod.koul@intel.com> | 2017-07-04 07:34:36 +0300 |
|---|---|---|
| committer | Vinod Koul <vinod.koul@intel.com> | 2017-07-04 07:34:36 +0300 |
| commit | 930a63485f858e2a12d25eb8204719a2d3157750 (patch) | |
| tree | 9f0cd9091c76391c44443fcc5c628b016a6c6e97 /include | |
| parent | 1326fe64e70724b7c577db6c0837009f1e1fed23 (diff) | |
| parent | 702fce05f5ad0e2af2c00d5ef41356ffdd4a3a56 (diff) | |
| download | linux-930a63485f858e2a12d25eb8204719a2d3157750.tar.xz | |
Merge branch 'topic/dw' into for-linus
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/dma/dw.h | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/include/linux/dma/dw.h b/include/linux/dma/dw.h index b63b25814d77..e166cac8e870 100644 --- a/include/linux/dma/dw.h +++ b/include/linux/dma/dw.h @@ -50,25 +50,4 @@ static inline int dw_dma_probe(struct dw_dma_chip *chip) { return -ENODEV; } static inline int dw_dma_remove(struct dw_dma_chip *chip) { return 0; } #endif /* CONFIG_DW_DMAC_CORE */ -/* DMA API extensions */ -struct dw_desc; - -struct dw_cyclic_desc { - struct dw_desc **desc; - unsigned long periods; - void (*period_callback)(void *param); - void *period_callback_param; -}; - -struct dw_cyclic_desc *dw_dma_cyclic_prep(struct dma_chan *chan, - dma_addr_t buf_addr, size_t buf_len, size_t period_len, - enum dma_transfer_direction direction); -void dw_dma_cyclic_free(struct dma_chan *chan); -int dw_dma_cyclic_start(struct dma_chan *chan); -void dw_dma_cyclic_stop(struct dma_chan *chan); - -dma_addr_t dw_dma_get_src_addr(struct dma_chan *chan); - -dma_addr_t dw_dma_get_dst_addr(struct dma_chan *chan); - #endif /* _DMA_DW_H */ |
