diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-05-16 12:16:03 +0200 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-07-01 15:15:46 +0200 |
commit | 9862ba17b7b6866cbee90547ff1f58d055c13f97 (patch) | |
tree | 88b467e0fa3c0225cf068513b33cf2a30a639f44 /drivers/dma/virt-dma.h | |
parent | dmaengine: PL08x: move the bus and increment selection to dma prepare function (diff) | |
download | linux-9862ba17b7b6866cbee90547ff1f58d055c13f97.tar.xz linux-9862ba17b7b6866cbee90547ff1f58d055c13f97.zip |
dmaengine: PL08x: extract function to to generate cctl values
Extract the functionality from dma_slave_config to generate the cctl
values for a given bus width and burst size. This allows us to use
this elsewhere in the driver, namely the prepare functions.
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Tested-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/dma/virt-dma.h')
0 files changed, 0 insertions, 0 deletions