diff options
author | Ian Abbott <abbotti@mev.co.uk> | 2015-11-19 17:49:08 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-12-22 03:00:12 +0300 |
commit | e5417e49965a47f690fe33ab5b27011c86ef89b5 (patch) | |
tree | 8d42f88a26e4be091b37deb98b8e8bc38a6e87fb /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 479bd5edab3ca840ba60a89d3172029039ddc2a6 (diff) | |
download | linux-e5417e49965a47f690fe33ab5b27011c86ef89b5.tar.xz |
staging: comedi: s526: add macros for counter control reg values
The driver writes a couple of literal values to the counter
control/status register, 0x8000 to reset the counter, and 0x4000 to load
the counter from preload register 0. Add a bunch of macros to define
these values and other values for the register, based on the Sensoray
526 manual.
Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions