summaryrefslogtreecommitdiffstats
path: root/tools/csr.h
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2005-04-20 16:06:07 +0000
committerMarcel Holtmann <marcel@holtmann.org>2005-04-20 16:06:07 +0000
commitba621583ce85d01708420f8d8ea2f6f26b336b30 (patch)
tree526aa40f2de408eca2ee4d47588b067bc3be0a4a /tools/csr.h
parent41d566d35dbc0bead25e0aeabb1bccb0d4855dfa (diff)
Add support for writing PS key values
Diffstat (limited to 'tools/csr.h')
-rw-r--r--tools/csr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/csr.h b/tools/csr.h
index 72d4cc4a..79795be0 100644
--- a/tools/csr.h
+++ b/tools/csr.h
@@ -39,6 +39,8 @@
char *csr_buildidtostr(uint16_t id);
char *csr_chipvertostr(uint16_t ver, uint16_t rev);
+char *csr_pskeytostr(uint16_t pskey);
int csr_read_varid_uint16(int dd, uint16_t seqnum, uint16_t varid, uint16_t *value);
int csr_read_pskey_uint16(int dd, uint16_t seqnum, uint16_t pskey, uint16_t *value);
+int csr_write_pskey_uint16(int dd, uint16_t seqnum, uint16_t pskey, uint16_t value);