/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 pcilib/bank.h

  • Committer: Suren A. Chilingaryan
  • Date: 2015-10-19 13:58:46 UTC
  • Revision ID: csa@suren.me-20151019135846-nz3f6iobifx06xvq
Support computed (property-based) registers

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
#define PCILIB_REGISTER_BANK1                   1
9
9
#define PCILIB_REGISTER_BANK2                   2
10
10
#define PCILIB_REGISTER_BANK3                   3
11
 
#define PCILIB_REGISTER_BANK_DMA                64                                      /**< First BANK address to be used by DMA engines */
12
 
#define PCILIB_REGISTER_BANK_DMACONF            65                                      /**< DMA configuration in the software registers */
 
11
#define PCILIB_REGISTER_BANK_PROPERTY           64                                      /**< Registers abstracting properties and other computed registers */
 
12
#define PCILIB_REGISTER_BANK_DMA                96                                      /**< First BANK address to be used by DMA engines */
 
13
#define PCILIB_REGISTER_BANK_DMACONF            96                                      /**< DMA configuration in the software registers */
13
14
#define PCILIB_REGISTER_BANK_DYNAMIC            128                                     /**< First BANK address to map dynamic XML configuration */
14
15
#define PCILIB_REGISTER_PROTOCOL_INVALID        ((pcilib_register_protocol_t)-1)
15
16
#define PCILIB_REGISTER_PROTOCOL0               0                                       /**< First PROTOCOL address to be used in the event engine */
16
17
#define PCILIB_REGISTER_PROTOCOL_DEFAULT        64                                      /**< Default memmap based protocol */
17
18
#define PCILIB_REGISTER_PROTOCOL_SOFTWARE       65                                      /**< Software registers */
 
19
#define PCILIB_REGISTER_PROTOCOL_PROPERTY       66                                      /**< Protocol to access registers interfacing properties */
18
20
#define PCILIB_REGISTER_PROTOCOL_DMA            96                                      /**< First PROTOCOL address to be used by DMA engines */
19
21
#define PCILIB_REGISTER_PROTOCOL_DYNAMIC        128                                     /**< First PROTOCOL address to be used by plugins */
20
22