diff options
author | Jonas Aaberg <jonas.aberg@stericsson.com> | 2010-08-09 14:09:21 +0200 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2010-09-22 23:53:47 +0200 |
commit | 3c0f24019f69c5199996ed9c76d05c92c6186ba8 (patch) | |
tree | 6b7abc616394a4e7100de1bccfaddc597ab092eb | |
parent | DMAENGINE: ste_dma40: don't pause/resume non-executing channels (diff) | |
download | linux-3c0f24019f69c5199996ed9c76d05c92c6186ba8.tar.xz linux-3c0f24019f69c5199996ed9c76d05c92c6186ba8.zip |
DMAENGINE: ste_dma40: added kernel doc for struct
The half-channel struct was undocumented.
Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
-rw-r--r-- | arch/arm/plat-nomadik/include/plat/ste_dma40.h | 22 |
1 files changed, 15 insertions, 7 deletions
diff --git a/arch/arm/plat-nomadik/include/plat/ste_dma40.h b/arch/arm/plat-nomadik/include/plat/ste_dma40.h index 1620492397ec..1127af210894 100644 --- a/arch/arm/plat-nomadik/include/plat/ste_dma40.h +++ b/arch/arm/plat-nomadik/include/plat/ste_dma40.h @@ -91,13 +91,6 @@ enum stedma40_periph_data_width { STEDMA40_DOUBLEWORD_WIDTH = STEDMA40_ESIZE_64_BIT }; -struct stedma40_half_channel_info { - enum stedma40_endianess endianess; - enum stedma40_periph_data_width data_width; - int psize; - enum stedma40_flow_ctrl flow_ctrl; -}; - enum stedma40_xfer_dir { STEDMA40_MEM_TO_MEM = 1, STEDMA40_MEM_TO_PERIPH, @@ -107,6 +100,21 @@ enum stedma40_xfer_dir { /** + * struct stedma40_chan_cfg - dst/src channel configuration + * + * @endianess: Endianess of the src/dst hardware + * @data_width: Data width of the src/dst hardware + * @p_size: Burst size + * @flow_ctrl: Flow control on/off. + */ +struct stedma40_half_channel_info { + enum stedma40_endianess endianess; + enum stedma40_periph_data_width data_width; + int psize; + enum stedma40_flow_ctrl flow_ctrl; +}; + +/** * struct stedma40_chan_cfg - Structure to be filled by client drivers. * * @dir: MEM 2 MEM, PERIPH 2 MEM , MEM 2 PERIPH, PERIPH 2 PERIPH |