/alps/pcitool

To get this branch, use:
bzr branch http://darksoft.org/webbzr/alps/pcitool

« back to all changes in this revision

Viewing changes to dma/ipe_private.h

  • Committer: Suren A. Chilingaryan
  • Date: 2015-11-20 05:04:08 UTC
  • Revision ID: csa@suren.me-20151120050408-jrzier07533vly8f
Support large DMA pages in IPEDMA

Show diffs side-by-side

added added

removed removed

Lines of Context:
95
95
    uint32_t dma_flags;                 /**< Various operation flags, see IPEDMA_FLAG_* */
96
96
    size_t dma_timeout;                 /**< DMA timeout,IPEDMA_DMA_TIMEOUT is used by default */
97
97
    size_t dma_pages;                   /**< Number of DMA pages in ring buffer to allocate */
98
 
    size_t dma_page_size;               /**< Size of a single DMA page */
99
98
 
100
99
    pcilib_kmem_handle_t *desc;         /**< in-memory status descriptor written by DMA engine upon operation progess */
101
100
    pcilib_kmem_handle_t *pages;        /**< collection of memory-locked pages for DMA operation */
102
101
 
103
 
    size_t ring_size, page_size;
 
102
    size_t ring_size, page_size;        /**< Number of pages in ring buffer and the size of a single DMA page */
104
103
    size_t last_read, last_written;
105
104
    uintptr_t last_read_addr;
106
105