diff options
author | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2011-07-06 02:34:39 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2011-07-06 02:34:39 +0200 |
commit | aeb8640bfb36a27cf31945a8b479f833aebf8fdc (patch) | |
tree | bb2414f85cab6075604461f727a733c88a97924d /dma.h | |
parent | 82ef73c3fe424f95da3638ceb836386c4588b5c7 (diff) | |
download | ipecamera-aeb8640bfb36a27cf31945a8b479f833aebf8fdc.tar.gz ipecamera-aeb8640bfb36a27cf31945a8b479f833aebf8fdc.tar.bz2 ipecamera-aeb8640bfb36a27cf31945a8b479f833aebf8fdc.tar.xz ipecamera-aeb8640bfb36a27cf31945a8b479f833aebf8fdc.zip |
A bit of renaming
Diffstat (limited to 'dma.h')
-rw-r--r-- | dma.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -7,12 +7,12 @@ struct pcilib_dma_api_description_s { pcilib_dma_context_t *(*init)(pcilib_t *ctx); void (*free)(pcilib_dma_context_t *ctx); - size_t (*push)(pcilib_dma_context_t *ctx, pcilib_dma_t dma, uintptr_t addr, size_t size, pcilib_dma_flags_t flags, size_t timeout, void *buf); - size_t (*stream)(pcilib_dma_context_t *ctx, pcilib_dma_t dma, uintptr_t addr, size_t size, pcilib_dma_flags_t flags, size_t timeout, pcilib_dma_callback_t cb, void *cbattr); + size_t (*push)(pcilib_dma_context_t *ctx, pcilib_dma_engine_t dma, uintptr_t addr, size_t size, pcilib_dma_flags_t flags, size_t timeout, void *buf); + size_t (*stream)(pcilib_dma_context_t *ctx, pcilib_dma_engine_t dma, uintptr_t addr, size_t size, pcilib_dma_flags_t flags, size_t timeout, pcilib_dma_callback_t cb, void *cbattr); - double (*benchmark)(pcilib_dma_context_t *ctx, pcilib_dma_addr_t dma, uintptr_t addr, size_t size, size_t iterations, pcilib_dma_direction_t direction); + double (*benchmark)(pcilib_dma_context_t *ctx, pcilib_dma_engine_addr_t dma, uintptr_t addr, size_t size, size_t iterations, pcilib_dma_direction_t direction); }; -int pcilib_set_dma_engine_description(pcilib_t *ctx, pcilib_dma_t engine, pcilib_dma_engine_description_t *desc); +int pcilib_set_dma_engine_description(pcilib_t *ctx, pcilib_dma_engine_t engine, pcilib_dma_engine_description_t *desc); #endif /* _PCILIB_DMA_H */ |