aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dma/ste_dma40_ll.h
diff options
context:
space:
mode:
authorRabin Vincent <rabin.vincent@stericsson.com>2011-01-25 05:18:30 -0500
committerDan Williams <dan.j.williams@intel.com>2011-01-31 01:27:20 -0500
commit7f933bed96e9872131014ea2bdd5b012e43fc316 (patch)
tree32e54ca912ab509ba5b66f45e0d276bad51a9ae5 /drivers/dma/ste_dma40_ll.h
parent1f7622ca55b1f5875e32140b4781759f800aded3 (diff)
dma40: use flags to reduce parameter count
Acked-by: Per Forlin <per.forlin@stericsson.com> Acked-by: Jonas Aaberg <jonas.aberg@stericsson.com> Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com> Signed-off-by: Linus Walleij <linus.walleij@stericsson.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/dma/ste_dma40_ll.h')
-rw-r--r--drivers/dma/ste_dma40_ll.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/dma/ste_dma40_ll.h b/drivers/dma/ste_dma40_ll.h
index 4626c8874374..59e72f0cc901 100644
--- a/drivers/dma/ste_dma40_ll.h
+++ b/drivers/dma/ste_dma40_ll.h
@@ -293,6 +293,11 @@ struct d40_def_lcsp {
293 293
294/* Physical channels */ 294/* Physical channels */
295 295
296enum d40_lli_flags {
297 LLI_ADDR_INC = 1 << 0,
298 LLI_TERM_INT = 1 << 1,
299};
300
296void d40_phy_cfg(struct stedma40_chan_cfg *cfg, 301void d40_phy_cfg(struct stedma40_chan_cfg *cfg,
297 u32 *src_cfg, 302 u32 *src_cfg,
298 u32 *dst_cfg, 303 u32 *dst_cfg,