summaryrefslogtreecommitdiffstats
path: root/dma/ipe_private.h
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2015-11-20 06:04:08 +0100
committerSuren A. Chilingaryan <csa@suren.me>2015-11-20 06:04:08 +0100
commit517ecf828e60e1e364c3ab6e67c2acd8a3c1b0c1 (patch)
treebc3349f5f682a578050150318f2500a6c8a7a63f /dma/ipe_private.h
parent2bda41263f2464c271509b0bd9ea9062c239d851 (diff)
downloadpcitool-517ecf828e60e1e364c3ab6e67c2acd8a3c1b0c1.tar.gz
pcitool-517ecf828e60e1e364c3ab6e67c2acd8a3c1b0c1.tar.bz2
pcitool-517ecf828e60e1e364c3ab6e67c2acd8a3c1b0c1.tar.xz
pcitool-517ecf828e60e1e364c3ab6e67c2acd8a3c1b0c1.zip
Support large DMA pages in IPEDMA
Diffstat (limited to 'dma/ipe_private.h')
-rw-r--r--dma/ipe_private.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/dma/ipe_private.h b/dma/ipe_private.h
index 655a485..e3cb217 100644
--- a/dma/ipe_private.h
+++ b/dma/ipe_private.h
@@ -95,12 +95,11 @@ struct ipe_dma_s {
uint32_t dma_flags; /**< Various operation flags, see IPEDMA_FLAG_* */
size_t dma_timeout; /**< DMA timeout,IPEDMA_DMA_TIMEOUT is used by default */
size_t dma_pages; /**< Number of DMA pages in ring buffer to allocate */
- size_t dma_page_size; /**< Size of a single DMA page */
pcilib_kmem_handle_t *desc; /**< in-memory status descriptor written by DMA engine upon operation progess */
pcilib_kmem_handle_t *pages; /**< collection of memory-locked pages for DMA operation */
- size_t ring_size, page_size;
+ size_t ring_size, page_size; /**< Number of pages in ring buffer and the size of a single DMA page */
size_t last_read, last_written;
uintptr_t last_read_addr;