From c095f06560a0efacc7a34ea4e7f1e69c1faab0cf Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Mon, 11 Jul 2011 01:37:54 +0200 Subject: IRQ support in NWL DMA engine --- dma/nwl_irq.h | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 dma/nwl_irq.h (limited to 'dma/nwl_irq.h') diff --git a/dma/nwl_irq.h b/dma/nwl_irq.h new file mode 100644 index 0000000..685d74c --- /dev/null +++ b/dma/nwl_irq.h @@ -0,0 +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_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); + +#endif /* _PCILIB_NWL_IRQ_H */ -- cgit v1.2.3