summaryrefslogtreecommitdiffstats
path: root/dma/nwl_irq.h
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@dside.dyndns.org>2011-07-12 14:39:06 +0200
committerSuren A. Chilingaryan <csa@dside.dyndns.org>2011-07-12 14:39:06 +0200
commit493958c9cf11eaa25251d91e9ecab9a28bd6d68f (patch)
treebdda549da425acc5bdbddb5006b6980ec4233a77 /dma/nwl_irq.h
parentde984f8b9706cfac79f7658e5b3863e78b052458 (diff)
downloadpcitool-493958c9cf11eaa25251d91e9ecab9a28bd6d68f.tar.gz
pcitool-493958c9cf11eaa25251d91e9ecab9a28bd6d68f.tar.bz2
pcitool-493958c9cf11eaa25251d91e9ecab9a28bd6d68f.tar.xz
pcitool-493958c9cf11eaa25251d91e9ecab9a28bd6d68f.zip
Provide IRQ enable/disable call
Diffstat (limited to 'dma/nwl_irq.h')
-rw-r--r--dma/nwl_irq.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/dma/nwl_irq.h b/dma/nwl_irq.h
index 685d74c..811b632 100644
--- a/dma/nwl_irq.h
+++ b/dma/nwl_irq.h
@@ -1,8 +1,9 @@
#ifndef _PCILIB_NWL_IRQ_H
#define _PCILIB_NWL_IRQ_H
-int dma_nwl_enable_irq(nwl_dma_t *ctx, pcilib_irq_type_t type);
-int dma_nwl_disable_irq(nwl_dma_t *ctx);
+int dma_nwl_init_irq(nwl_dma_t *ctx, uint32_t val);
+int dma_nwl_free_irq(nwl_dma_t *ctx);
+
int dma_nwl_enable_engine_irq(nwl_dma_t *ctx, pcilib_dma_engine_t dma);
int dma_nwl_disable_engine_irq(nwl_dma_t *ctx, pcilib_dma_engine_t dma);