aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/dw_dmac.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/dw_dmac.h b/include/linux/dw_dmac.h
index a18c498984d9..64c76da571ef 100644
--- a/include/linux/dw_dmac.h
+++ b/include/linux/dw_dmac.h
@@ -25,6 +25,9 @@ struct dw_dma_platform_data {
25#define CHAN_ALLOCATION_ASCENDING 0 /* zero to seven */ 25#define CHAN_ALLOCATION_ASCENDING 0 /* zero to seven */
26#define CHAN_ALLOCATION_DESCENDING 1 /* seven to zero */ 26#define CHAN_ALLOCATION_DESCENDING 1 /* seven to zero */
27 unsigned char chan_allocation_order; 27 unsigned char chan_allocation_order;
28#define CHAN_PRIORITY_ASCENDING 0 /* chan0 highest */
29#define CHAN_PRIORITY_DESCENDING 1 /* chan7 highest */
30 unsigned char chan_priority;
28}; 31};
29 32
30/** 33/**
@@ -70,7 +73,6 @@ struct dw_dma_slave {
70#define DWC_CFGH_DST_PER(x) ((x) << 11) 73#define DWC_CFGH_DST_PER(x) ((x) << 11)
71 74
72/* Platform-configurable bits in CFG_LO */ 75/* Platform-configurable bits in CFG_LO */
73#define DWC_CFGL_PRIO(x) ((x) << 5) /* priority */
74#define DWC_CFGL_LOCK_CH_XFER (0 << 12) /* scope of LOCK_CH */ 76#define DWC_CFGL_LOCK_CH_XFER (0 << 12) /* scope of LOCK_CH */
75#define DWC_CFGL_LOCK_CH_BLOCK (1 << 12) 77#define DWC_CFGL_LOCK_CH_BLOCK (1 << 12)
76#define DWC_CFGL_LOCK_CH_XACT (2 << 12) 78#define DWC_CFGL_LOCK_CH_XACT (2 << 12)