summaryrefslogtreecommitdiff
path: root/include/linux/omap-dma.h
diff options
context:
space:
mode:
authorVinod Koul <vinod.koul@intel.com>2016-01-06 15:17:32 +0530
committerVinod Koul <vinod.koul@intel.com>2016-01-06 15:17:32 +0530
commit7c7b680fa6b0866af2c4876da261bbfe710315d6 (patch)
tree6f2449fdecb4edab3309d40959309ca80d2bb71d /include/linux/omap-dma.h
parent5eec94388db40ce45bec028af2e2f62df751c887 (diff)
parent020c62ae38946cae01571a0b4e6f445dfdb7ec1c (diff)
Merge branch 'topic/univ_api' into for-linus
Diffstat (limited to 'include/linux/omap-dma.h')
-rw-r--r--include/linux/omap-dma.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/omap-dma.h b/include/linux/omap-dma.h
index 88fa8af2b937..1d99b61adc65 100644
--- a/include/linux/omap-dma.h
+++ b/include/linux/omap-dma.h
@@ -267,6 +267,9 @@ struct omap_dma_reg {
u8 type;
};
+#define SDMA_FILTER_PARAM(hw_req) ((int[]) { (hw_req) })
+struct dma_slave_map;
+
/* System DMA platform data structure */
struct omap_system_dma_plat_info {
const struct omap_dma_reg *reg_map;
@@ -278,6 +281,9 @@ struct omap_system_dma_plat_info {
void (*clear_dma)(int lch);
void (*dma_write)(u32 val, int reg, int lch);
u32 (*dma_read)(int reg, int lch);
+
+ const struct dma_slave_map *slave_map;
+ int slavecnt;
};
#ifdef CONFIG_ARCH_OMAP2PLUS