summaryrefslogtreecommitdiffstats
path: root/drivers/dma/ste_dma40_ll.h
diff options
context:
space:
mode:
authorRabin Vincent <rabin.vincent@stericsson.com>2011-01-25 11:18:30 +0100
committerDan Williams <dan.j.williams@intel.com>2011-01-30 22:27:20 -0800
commit7f933bed96e9872131014ea2bdd5b012e43fc316 (patch)
tree32e54ca912ab509ba5b66f45e0d276bad51a9ae5 /drivers/dma/ste_dma40_ll.h
parent1f7622ca55b1f5875e32140b4781759f800aded3 (diff)
downloadlinux-7f933bed96e9872131014ea2bdd5b012e43fc316.tar.gz
linux-7f933bed96e9872131014ea2bdd5b012e43fc316.tar.bz2
linux-7f933bed96e9872131014ea2bdd5b012e43fc316.zip
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 {
/* Physical channels */
+enum d40_lli_flags {
+ LLI_ADDR_INC = 1 << 0,
+ LLI_TERM_INT = 1 << 1,
+};
+
void d40_phy_cfg(struct stedma40_chan_cfg *cfg,
u32 *src_cfg,
u32 *dst_cfg,