diff options
author | Rabin Vincent <rabin.vincent@stericsson.com> | 2011-01-25 11:18:30 +0100 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2011-01-31 07:27:20 +0100 |
commit | 7f933bed96e9872131014ea2bdd5b012e43fc316 (patch) | |
tree | 32e54ca912ab509ba5b66f45e0d276bad51a9ae5 /drivers/dma/ste_dma40_ll.h | |
parent | dma40: make d40_log_buf_to_lli static (diff) | |
download | linux-7f933bed96e9872131014ea2bdd5b012e43fc316.tar.xz 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.h | 5 |
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, |