summaryrefslogtreecommitdiffstats
path: root/dma/nwl_irq.h
diff options
context:
space:
mode:
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);