/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/pci.h

  • Committer: Suren A. Chilingaryan
  • Date: 2015-09-10 03:08:04 UTC
  • mfrom: (277.2.17 test_xml)
  • Revision ID: csa@suren.me-20150910030804-djti3wcmk4yubhp7
Initial integration of XML support

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
#include "model.h"
26
26
#include "export.h"
27
27
#include "locking.h"
 
28
#include "xml.h"
28
29
 
29
30
typedef struct {
30
31
    uint8_t max_link_speed, link_speed;
59
60
    size_t num_banks_init;                                                              /**< Number of initialized banks */
60
61
    size_t num_reg, alloc_reg;                                                          /**< Number of registered and allocated registers */
61
62
    size_t num_banks, num_protocols, num_ranges;                                        /**< Number of registered banks, protocols, and register ranges */
62
 
    size_t num_engines;                                                                 /**> Number of configured DMA engines */
 
63
    size_t num_engines;                                                                 /**< Number of configured DMA engines */
 
64
    size_t dyn_banks;                                                                   /**< Number of configured dynamic banks */
 
65
 
63
66
    pcilib_register_description_t *registers;                                           /**< List of currently defined registers (from all sources) */
64
67
    pcilib_register_bank_description_t banks[PCILIB_MAX_REGISTER_BANKS + 1];            /**< List of currently defined register banks (from all sources) */
65
68
    pcilib_register_range_t ranges[PCILIB_MAX_REGISTER_RANGES + 1];                     /**< List of currently defined register ranges (from all sources) */
76
79
    pcilib_lock_t *dma_wlock[PCILIB_MAX_DMA_ENGINES];                                   /**< Per-engine locks to serialize write operations */
77
80
 
78
81
    struct pcilib_locking_s locks;                                                      /**< Context of locking subsystem */
 
82
    struct pcilib_xml_s xml;                                                            /**< XML context */
79
83
 
80
84
#ifdef PCILIB_FILE_IO
81
85
    int file_io_handle;