diff options
author | Tero Kristo <tero.kristo@nokia.com> | 2008-08-28 13:13:31 +0000 |
---|---|---|
committer | Kevin Hilman <khilman@deeprootsystems.com> | 2009-11-11 14:42:25 -0800 |
commit | f2d1185824fd3ed631f3164daeff59d0b4e55d79 (patch) | |
tree | de31dfc36411fa43ae1fe99d1402e67b53ade827 /arch/arm/plat-omap/include/plat/dma.h | |
parent | 2f5939c3ec9440a9c3a0baf4d0e1b2cc043aad46 (diff) | |
download | blackbird-op-linux-f2d1185824fd3ed631f3164daeff59d0b4e55d79.tar.gz blackbird-op-linux-f2d1185824fd3ed631f3164daeff59d0b4e55d79.zip |
OMAP: PM: DMA context save/restore for off-mode support
For HS/EMU devices, these additional features are also used:
- DMA interrupt disable routine added
- Added DMA controller reset to DMA context restore
Signed-off-by: Tero Kristo <tero.kristo@nokia.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'arch/arm/plat-omap/include/plat/dma.h')
-rw-r--r-- | arch/arm/plat-omap/include/plat/dma.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/plat-omap/include/plat/dma.h b/arch/arm/plat-omap/include/plat/dma.h index 72f680b7180d..1c017b29b7e9 100644 --- a/arch/arm/plat-omap/include/plat/dma.h +++ b/arch/arm/plat-omap/include/plat/dma.h @@ -633,6 +633,11 @@ extern void omap_set_dma_dst_endian_type(int lch, enum end_type etype); extern void omap_set_dma_src_endian_type(int lch, enum end_type etype); extern int omap_get_dma_index(int lch, int *ei, int *fi); +void omap_dma_global_context_save(void); +void omap_dma_global_context_restore(void); + +extern void omap_dma_disable_irq(int lch); + /* Chaining APIs */ #ifndef CONFIG_ARCH_OMAP1 extern int omap_request_dma_chain(int dev_id, const char *dev_name, |