diff options
Diffstat (limited to 'drivers/dma/at_hdmac_regs.h')
-rw-r--r-- | drivers/dma/at_hdmac_regs.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/dma/at_hdmac_regs.h b/drivers/dma/at_hdmac_regs.h index c604d26fd4d3..f31d647acdfa 100644 --- a/drivers/dma/at_hdmac_regs.h +++ b/drivers/dma/at_hdmac_regs.h | |||
@@ -182,6 +182,7 @@ struct at_lli { | |||
182 | * @txd: support for the async_tx api | 182 | * @txd: support for the async_tx api |
183 | * @desc_node: node on the channed descriptors list | 183 | * @desc_node: node on the channed descriptors list |
184 | * @len: total transaction bytecount | 184 | * @len: total transaction bytecount |
185 | * @tx_width: transfer width | ||
185 | */ | 186 | */ |
186 | struct at_desc { | 187 | struct at_desc { |
187 | /* FIRST values the hardware uses */ | 188 | /* FIRST values the hardware uses */ |
@@ -192,6 +193,7 @@ struct at_desc { | |||
192 | struct dma_async_tx_descriptor txd; | 193 | struct dma_async_tx_descriptor txd; |
193 | struct list_head desc_node; | 194 | struct list_head desc_node; |
194 | size_t len; | 195 | size_t len; |
196 | u32 tx_width; | ||
195 | }; | 197 | }; |
196 | 198 | ||
197 | static inline struct at_desc * | 199 | static inline struct at_desc * |
@@ -211,6 +213,7 @@ txd_to_at_desc(struct dma_async_tx_descriptor *txd) | |||
211 | enum atc_status { | 213 | enum atc_status { |
212 | ATC_IS_ERROR = 0, | 214 | ATC_IS_ERROR = 0, |
213 | ATC_IS_PAUSED = 1, | 215 | ATC_IS_PAUSED = 1, |
216 | ATC_IS_BTC = 2, | ||
214 | ATC_IS_CYCLIC = 24, | 217 | ATC_IS_CYCLIC = 24, |
215 | }; | 218 | }; |
216 | 219 | ||
@@ -228,6 +231,7 @@ enum atc_status { | |||
228 | * @save_cfg: configuration register that is saved on suspend/resume cycle | 231 | * @save_cfg: configuration register that is saved on suspend/resume cycle |
229 | * @save_dscr: for cyclic operations, preserve next descriptor address in | 232 | * @save_dscr: for cyclic operations, preserve next descriptor address in |
230 | * the cyclic list on suspend/resume cycle | 233 | * the cyclic list on suspend/resume cycle |
234 | * @remain_desc: to save remain desc length | ||
231 | * @dma_sconfig: configuration for slave transfers, passed via DMA_SLAVE_CONFIG | 235 | * @dma_sconfig: configuration for slave transfers, passed via DMA_SLAVE_CONFIG |
232 | * @lock: serializes enqueue/dequeue operations to descriptors lists | 236 | * @lock: serializes enqueue/dequeue operations to descriptors lists |
233 | * @active_list: list of descriptors dmaengine is being running on | 237 | * @active_list: list of descriptors dmaengine is being running on |
@@ -246,6 +250,7 @@ struct at_dma_chan { | |||
246 | struct tasklet_struct tasklet; | 250 | struct tasklet_struct tasklet; |
247 | u32 save_cfg; | 251 | u32 save_cfg; |
248 | u32 save_dscr; | 252 | u32 save_dscr; |
253 | u32 remain_desc; | ||
249 | struct dma_slave_config dma_sconfig; | 254 | struct dma_slave_config dma_sconfig; |
250 | 255 | ||
251 | spinlock_t lock; | 256 | spinlock_t lock; |