summaryrefslogtreecommitdiffstats
path: root/dma/nwl_loopback.h
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@dside.dyndns.org>2011-07-12 16:35:24 +0200
committerSuren A. Chilingaryan <csa@dside.dyndns.org>2011-07-12 16:35:24 +0200
commite455f83ca2e4ee7c39837309a422732167994cbf (patch)
tree0411940c804b8abf33a2bbaa2c2294c9b77d4bb6 /dma/nwl_loopback.h
parent6c922712fd8ee7e75a1b45c4980be22d36d0d1d9 (diff)
downloadipecamera-e455f83ca2e4ee7c39837309a422732167994cbf.tar.gz
ipecamera-e455f83ca2e4ee7c39837309a422732167994cbf.tar.bz2
ipecamera-e455f83ca2e4ee7c39837309a422732167994cbf.tar.xz
ipecamera-e455f83ca2e4ee7c39837309a422732167994cbf.zip
Separate NWL loopback code, provide DMA start/stop interfaces
Diffstat (limited to 'dma/nwl_loopback.h')
-rw-r--r--dma/nwl_loopback.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/dma/nwl_loopback.h b/dma/nwl_loopback.h
new file mode 100644
index 0000000..63c8446
--- /dev/null
+++ b/dma/nwl_loopback.h
@@ -0,0 +1,7 @@
+#ifndef _PCILIB_NWL_LOOPBACK_H
+#define _PCILIB_NWL_LOOPBACK_H
+
+int dma_nwl_start_loopback(nwl_dma_t *ctx, pcilib_dma_direction_t direction, size_t packet_size);
+int dma_nwl_stop_loopback(nwl_dma_t *ctx);
+
+#endif /* _PCILIB_NWL_LOOPBACK_H */