diff options
author | root <root@iss-tomyspiel-l> | 2011-06-17 23:40:33 +0200 |
---|---|---|
committer | root <root@iss-tomyspiel-l> | 2011-06-17 23:40:33 +0200 |
commit | 4b5a2c9625acd583573005ef66d17d919469009d (patch) | |
tree | f88335fcc8339aae2e68c82a1dca501b154c0a95 /dma/nwl.h | |
parent | 7155e6c0dceb0b860bec6c0e428450137cad39a0 (diff) | |
download | ipecamera-4b5a2c9625acd583573005ef66d17d919469009d.tar.gz ipecamera-4b5a2c9625acd583573005ef66d17d919469009d.tar.bz2 ipecamera-4b5a2c9625acd583573005ef66d17d919469009d.tar.xz ipecamera-4b5a2c9625acd583573005ef66d17d919469009d.zip |
Enumerate DMA engines
Diffstat (limited to 'dma/nwl.h')
-rw-r--r-- | dma/nwl.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/dma/nwl.h b/dma/nwl.h new file mode 100644 index 0000000..63fccfb --- /dev/null +++ b/dma/nwl.h @@ -0,0 +1,30 @@ +#ifndef _PCILIB_DMA_NWL_H +#define _PCILIB_DMA_NWL_H + +#include <stdio.h> +#include "pcilib.h" + +typedef struct nwl_dma_s nwl_dma_t; + +/* +typedef struct { + pcilib_dma_engine_info_t info; + // offset +} pcilib_dma_engine_info_t; +*/ + + +pcilib_dma_context_t *dma_nwl_init(pcilib_t *ctx); +void dma_nwl_free(pcilib_dma_context_t *vctx); + +#ifdef _PCILIB_DMA_NWL_C +pcilib_dma_api_description_t nwl_dma_api = { + dma_nwl_init, + dma_nwl_free +}; +#else +extern pcilib_dma_api_description_t nwl_dma_api; +#endif + + +#endif /* _PCILIB_DMA_NWL_H */ |