summaryrefslogtreecommitdiffstats
path: root/dma/nwl_irq.h
blob: 811b632b60acb1b40a7ac7e5b540fcb5e2d4557f (plain)
1
2
3
4
5
6
7
8
9
10
#ifndef _PCILIB_NWL_IRQ_H
#define _PCILIB_NWL_IRQ_H

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);

#endif /* _PCILIB_NWL_IRQ_H */