aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorIan Abbott <[email protected]>2015-11-19 14:49:08 +0000
committerGreg Kroah-Hartman <[email protected]>2015-12-21 16:00:12 -0800
commite5417e49965a47f690fe33ab5b27011c86ef89b5 (patch)
tree8d42f88a26e4be091b37deb98b8e8bc38a6e87fb /drivers/fpga/fpga-mgr.c
parent479bd5edab3ca840ba60a89d3172029039ddc2a6 (diff)
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 <[email protected]> Reviewed-by: H Hartley Sweeten <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions