/alps/pcitool

To get this branch, use:
bzr branch http://suren.me/webbzr/alps/pcitool

« back to all changes in this revision

Viewing changes to dma/ipe_private.h

  • Committer: Suren A. Chilingaryan
  • Date: 2015-04-20 20:01:04 UTC
  • Revision ID: csa@suren.me-20150420200104-b5xny65io8lvoz3w
Big redign of model structures

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#ifndef _PCILIB_DMA_IPE_PRIVATE_H
2
2
#define _PCILIB_DMA_IPE_PRIVATE_H
3
3
 
 
4
#include "dma.h"
 
5
 
4
6
#define IPEDMA_CORES                    1
5
7
#define IPEDMA_TLP_SIZE                 32
6
8
#define IPEDMA_PAGE_SIZE                4096
30
32
typedef struct ipe_dma_s ipe_dma_t;
31
33
 
32
34
struct ipe_dma_s {
33
 
    struct pcilib_dma_context_s dmactx;
34
 
    pcilib_dma_engine_description_t engine[2];
 
35
    pcilib_dma_context_t dmactx;
 
36
    //pcilib_dma_engine_description_t engine[2];
35
37
 
36
 
    pcilib_t *pcilib;
37
 
    
38
 
    pcilib_register_bank_description_t *dma_bank;
 
38
    const pcilib_register_bank_description_t *dma_bank;
39
39
    char *base_addr;
40
40
 
41
41
    pcilib_irq_type_t irq_enabled;      /**< indicates that IRQs are enabled */