diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2015-10-18 07:36:47 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2015-10-18 07:36:47 +0200 |
commit | fa54d4c2ca8ffcece7a9c6e9c784e2150cbed78b (patch) | |
tree | 80f82fdbeaf8d2f94c5a1a48ea28a5e452b561f5 /pcilib/bank.h | |
parent | 6a4a556b15bda7e0c737f247c8282c1b3a9d1e0d (diff) | |
download | pcitool-fa54d4c2ca8ffcece7a9c6e9c784e2150cbed78b.tar.gz pcitool-fa54d4c2ca8ffcece7a9c6e9c784e2150cbed78b.tar.bz2 pcitool-fa54d4c2ca8ffcece7a9c6e9c784e2150cbed78b.tar.xz pcitool-fa54d4c2ca8ffcece7a9c6e9c784e2150cbed78b.zip |
Support reading/writting register views by id
Diffstat (limited to 'pcilib/bank.h')
-rw-r--r-- | pcilib/bank.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pcilib/bank.h b/pcilib/bank.h index 39dd79c..ba149b9 100644 --- a/pcilib/bank.h +++ b/pcilib/bank.h @@ -153,7 +153,6 @@ int pcilib_add_register_protocols(pcilib_t *ctx, pcilib_model_modification_flags */ int pcilib_add_register_ranges(pcilib_t *ctx, pcilib_model_modification_flags_t flags, size_t n, const pcilib_register_range_t *ranges); - pcilib_register_bank_t pcilib_find_register_bank_by_addr(pcilib_t *ctx, pcilib_register_bank_addr_t bank); pcilib_register_bank_t pcilib_find_register_bank_by_name(pcilib_t *ctx, const char *bankname); pcilib_register_bank_t pcilib_find_register_bank(pcilib_t *ctx, const char *bank); @@ -162,6 +161,9 @@ pcilib_register_protocol_t pcilib_find_register_protocol_by_addr(pcilib_t *ctx, pcilib_register_protocol_t pcilib_find_register_protocol_by_name(pcilib_t *ctx, const char *name); pcilib_register_protocol_t pcilib_find_register_protocol(pcilib_t *ctx, const char *name); + +int pcilib_get_register_bank_attr_by_id(pcilib_t *ctx, pcilib_register_bank_t bank, const char *attr, pcilib_value_t *val); + #ifdef __cplusplus } #endif |