summaryrefslogtreecommitdiffstats
path: root/dma.h
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@dside.dyndns.org>2011-07-18 16:42:51 +0200
committerSuren A. Chilingaryan <csa@dside.dyndns.org>2011-07-18 16:42:51 +0200
commit9e424252a35879f121e7ea4531a9ab3dda56d595 (patch)
tree2cf3dfeceb67eee989a6cc4b20f639baf68748f8 /dma.h
parente9904116a5b39e47744fb39cc5aad574c8bee03f (diff)
downloadipecamera-9e424252a35879f121e7ea4531a9ab3dda56d595.tar.gz
ipecamera-9e424252a35879f121e7ea4531a9ab3dda56d595.tar.bz2
ipecamera-9e424252a35879f121e7ea4531a9ab3dda56d595.tar.xz
ipecamera-9e424252a35879f121e7ea4531a9ab3dda56d595.zip
IRQ acknowledgement support in the engine API
Diffstat (limited to 'dma.h')
-rw-r--r--dma.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/dma.h b/dma.h
index 0260872..b18ee56 100644
--- a/dma.h
+++ b/dma.h
@@ -13,6 +13,7 @@ struct pcilib_dma_api_description_s {
int (*enable_irq)(pcilib_dma_context_t *ctx, pcilib_irq_type_t irq_type, pcilib_dma_flags_t flags);
int (*disable_irq)(pcilib_dma_context_t *ctx, pcilib_dma_flags_t flags);
+ int (*acknowledge_irq)(pcilib_dma_context_t *ctx, pcilib_irq_type_t irq_type, pcilib_irq_source_t irq_source);
int (*start_dma)(pcilib_dma_context_t *ctx, pcilib_dma_engine_t dma, pcilib_dma_flags_t flags);
int (*stop_dma)(pcilib_dma_context_t *ctx, pcilib_dma_engine_t dma, pcilib_dma_flags_t flags);