diff options
author | Ian Abbott <abbotti@mev.co.uk> | 2015-11-19 14:49:08 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-12-21 16:00:12 -0800 |
commit | e5417e49965a47f690fe33ab5b27011c86ef89b5 (patch) | |
tree | 8d42f88a26e4be091b37deb98b8e8bc38a6e87fb /drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c | |
parent | 479bd5edab3ca840ba60a89d3172029039ddc2a6 (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 <abbotti@mev.co.uk>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c')
0 files changed, 0 insertions, 0 deletions