diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2015-05-08 20:07:02 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2015-05-08 20:07:02 +0200 |
commit | 5d49b3a8a1e5e8655f171c3e4f3455dcd2481d81 (patch) | |
tree | a5f79e4ab38ed40b41784479ad264331bc615917 /dma/ipe_private.h | |
parent | 79d9b2924d7b67ba08e022792adb92770f64e0c8 (diff) | |
download | pcitool-5d49b3a8a1e5e8655f171c3e4f3455dcd2481d81.tar.gz pcitool-5d49b3a8a1e5e8655f171c3e4f3455dcd2481d81.tar.bz2 pcitool-5d49b3a8a1e5e8655f171c3e4f3455dcd2481d81.tar.xz pcitool-5d49b3a8a1e5e8655f171c3e4f3455dcd2481d81.zip |
Small clean up in IPEDMA driver
Diffstat (limited to 'dma/ipe_private.h')
-rw-r--r-- | dma/ipe_private.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/dma/ipe_private.h b/dma/ipe_private.h index ae5df1c..5cfb10b 100644 --- a/dma/ipe_private.h +++ b/dma/ipe_private.h @@ -9,7 +9,7 @@ //#define IPEDMA_TLP_SIZE 128 /**< If set, enforces the specified TLP size */ #define IPEDMA_PAGE_SIZE 4096 -#define IPEDMA_DMA_PAGES 32 /**< number of DMA pages in the ring buffer to allocate */ +#define IPEDMA_DMA_PAGES 1024 /**< number of DMA pages in the ring buffer to allocate */ #define IPEDMA_DMA_PROGRESS_THRESHOLD 1 /**< how many pages the DMA engine should fill before reporting progress */ #define IPEDMA_DESCRIPTOR_SIZE 128 #define IPEDMA_DESCRIPTOR_ALIGNMENT 64 @@ -35,7 +35,6 @@ #define IPEDMA_REG_PAGE_COUNT 0x5C #define IPEDMA_REG_UPDATE_THRESHOLD 0x60 - #define WR(addr, value) { *(uint32_t*)(ctx->base_addr + addr) = value; } #define RD(addr, value) { value = *(uint32_t*)(ctx->base_addr + addr); } |