summaryrefslogtreecommitdiffstats
path: root/dma/nwl_dma.h
diff options
context:
space:
mode:
Diffstat (limited to 'dma/nwl_dma.h')
-rw-r--r--dma/nwl_dma.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/dma/nwl_dma.h b/dma/nwl_dma.h
index d5068e2..f87c68f 100644
--- a/dma/nwl_dma.h
+++ b/dma/nwl_dma.h
@@ -9,6 +9,8 @@
pcilib_dma_context_t *dma_nwl_init(pcilib_t *ctx, pcilib_dma_modification_t type, void *arg);
void dma_nwl_free(pcilib_dma_context_t *vctx);
+int dma_nwl_get_status(pcilib_t *ctx, pcilib_dma_engine_t dma, pcilib_dma_engine_status_t *status, size_t n_buffers, pcilib_dma_buffer_status_t *buffers);
+
int dma_nwl_enable_irq(pcilib_dma_context_t *vctx, pcilib_irq_type_t type, pcilib_dma_flags_t flags);
int dma_nwl_disable_irq(pcilib_dma_context_t *vctx, pcilib_dma_flags_t flags);
int dma_nwl_acknowledge_irq(pcilib_dma_context_t *ctx, pcilib_irq_type_t irq_type, pcilib_irq_source_t irq_source);
@@ -25,6 +27,7 @@ double dma_nwl_benchmark(pcilib_dma_context_t *vctx, pcilib_dma_engine_addr_t dm
pcilib_dma_api_description_t nwl_dma_api = {
dma_nwl_init,
dma_nwl_free,
+ dma_nwl_get_status,
dma_nwl_enable_irq,
dma_nwl_disable_irq,
dma_nwl_acknowledge_irq,