aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-nomadik
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/plat-nomadik')
-rw-r--r--arch/arm/plat-nomadik/include/plat/ste_dma40.h22
1 files changed, 15 insertions, 7 deletions
diff --git a/arch/arm/plat-nomadik/include/plat/ste_dma40.h b/arch/arm/plat-nomadik/include/plat/ste_dma40.h
index 1620492397ec..1127af210894 100644
--- a/arch/arm/plat-nomadik/include/plat/ste_dma40.h
+++ b/arch/arm/plat-nomadik/include/plat/ste_dma40.h
@@ -91,13 +91,6 @@ enum stedma40_periph_data_width {
91 STEDMA40_DOUBLEWORD_WIDTH = STEDMA40_ESIZE_64_BIT 91 STEDMA40_DOUBLEWORD_WIDTH = STEDMA40_ESIZE_64_BIT
92}; 92};
93 93
94struct stedma40_half_channel_info {
95 enum stedma40_endianess endianess;
96 enum stedma40_periph_data_width data_width;
97 int psize;
98 enum stedma40_flow_ctrl flow_ctrl;
99};
100
101enum stedma40_xfer_dir { 94enum stedma40_xfer_dir {
102 STEDMA40_MEM_TO_MEM = 1, 95 STEDMA40_MEM_TO_MEM = 1,
103 STEDMA40_MEM_TO_PERIPH, 96 STEDMA40_MEM_TO_PERIPH,
@@ -107,6 +100,21 @@ enum stedma40_xfer_dir {
107 100
108 101
109/** 102/**
103 * struct stedma40_chan_cfg - dst/src channel configuration
104 *
105 * @endianess: Endianess of the src/dst hardware
106 * @data_width: Data width of the src/dst hardware
107 * @p_size: Burst size
108 * @flow_ctrl: Flow control on/off.
109 */
110struct stedma40_half_channel_info {
111 enum stedma40_endianess endianess;
112 enum stedma40_periph_data_width data_width;
113 int psize;
114 enum stedma40_flow_ctrl flow_ctrl;
115};
116
117/**
110 * struct stedma40_chan_cfg - Structure to be filled by client drivers. 118 * struct stedma40_chan_cfg - Structure to be filled by client drivers.
111 * 119 *
112 * @dir: MEM 2 MEM, PERIPH 2 MEM , MEM 2 PERIPH, PERIPH 2 PERIPH 120 * @dir: MEM 2 MEM, PERIPH 2 MEM , MEM 2 PERIPH, PERIPH 2 PERIPH