summaryrefslogtreecommitdiff
path: root/include/linux/ring_buffer.h
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2015-10-07 03:23:37 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-13 08:56:26 +0300
commitabd2541f3900f058fffdd89dac125b5fd48a0037 (patch)
tree31abee3399ecade982e3ec0dbacd990beb881c1c /include/linux/ring_buffer.h
parentfaf58f60a4b0e93a5b7f74b74a80aa01089d3f38 (diff)
downloadlinux-abd2541f3900f058fffdd89dac125b5fd48a0037.tar.xz
staging: comedi: me_daq: tidy up ai fifo/chanlist register defines
Tidy up this register usage by defining some macros to set the channel and gain bits. Add a define for the bit that enables differential mode. Writing to this offset puts data in the ai chanlist fifo, reading from it gets data from the ai data fifo. For aesthetics, use the same define to read and write the registers. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/ring_buffer.h')
0 files changed, 0 insertions, 0 deletions