/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-10-18 01:47:47 UTC
  • Revision ID: csa@suren.me-20151018014747-9ji2ygdhz1l9wnt5
Support properties of arbitrary type

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
} pcilib_pcie_link_info_t;
41
41
 
42
42
 
43
 
typedef struct {
44
 
    const char *name;                                                                   /**< Register name */
45
 
    pcilib_register_t reg;                                                              /**< Register index */
46
 
    pcilib_register_bank_t bank;                                                        /**< Reference to bank containing the register */
47
 
    pcilib_register_value_t min, max;                                                   /**< Minimum & maximum allowed values */
48
 
    pcilib_xml_node_t *xml;                                                             /**< Additional XML properties */
49
 
    pcilib_view_reference_t *views;                                                     /**< For non-static list of views, this vairables holds a copy of a NULL-terminated list from model (if present, memory should be de-allocated) */
50
 
    UT_hash_handle hh;
51
 
} pcilib_register_context_t;
52
 
 
53
43
struct pcilib_s {
54
44
    int handle;                                                                         /**< file handle of device */
55
45