linux/drivers/staging/comedi
Ian Abbott f1c04fd421 staging: comedi: das08: replace DAS08AO_GAIN_CONTROL/STATUS
The `DAS08AO_GAIN_CONTROL` and `DAS08AO_GAIN_STATUS` macros hold the
offset to the "programmable gain" register on "PGL", "PGM", "PGH",
"AOL", "AOM" and "AOH" boards.  Writing a code to this register sets the
gain for the current analog input channel (selected in the main control
register).  The written value can be read back in bits 3..0 of the
register.  Other bits of the register are read-only and not used by the
driver.  Rename `DAS08AO_GAIN_CONTROL` to `DAS08_GAIN_REG` and add a
comment.  Remove `DAS08AO_GAIN_STATUS` as the driver does not use it and
the read-only parts of the register are documented in the comment.

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>
2015-06-12 17:06:41 -07:00
..
drivers staging: comedi: das08: replace DAS08AO_GAIN_CONTROL/STATUS 2015-06-12 17:06:41 -07:00
kcomedilib staging: comedi: kcomedilib_main: (!foo) preferred over (foo == NULL) 2015-03-06 16:01:30 -08:00
comedi_buf.c staging: comedi: comedidev.h: add 'scans_done' member to comedi_async 2014-11-05 14:59:46 -08:00
comedi_compat32.c staging: comedi: comedi_compat32.c: absorb raw_ioctl() 2015-01-28 11:19:34 -08:00
comedi_compat32.h staging: comedi: comedi_compat32.h: reformat copyright comment 2015-01-28 11:19:34 -08:00
comedi_fops.c Staging: fixed multiple spelling errors. 2015-05-08 09:23:58 +02:00
comedi_internal.h staging: comedi: wrap COMEDI_SRF_FREE_SPRIV usage 2015-04-30 17:15:59 +02:00
comedi_pci.c staging: comedi: comedi_pci.c: include new "comedi_pci.h" header 2015-03-20 14:08:09 +01:00
comedi_pci.h staging: comedi: comedi_pci.h: move PCI stuff out of comedidev.h 2015-03-20 14:08:18 +01:00
comedi_pcmcia.c staging: comedi: comedi_pcmcia.c: include new "comedi_pcmcia.h" header 2015-02-07 17:05:50 +08:00
comedi_pcmcia.h staging: comedi: comedi_pcmcia.h: move PCMCIA stuff out of comedidev.h 2015-02-07 17:05:51 +08:00
comedi_usb.c staging: comedi: comedi_usb.c: include new "comedi_usb.h" header 2015-01-28 11:18:50 -08:00
comedi_usb.h staging: comedi: comedi_usb.h: move USB stuff out of comedidev.h 2015-01-28 11:18:51 -08:00
comedi.h Drivers: staging: comedi: comedi: Fixed comment spelling error 2015-05-24 13:11:44 -07:00
comedidev.h staging: comedi: move COMEDI_SRF_... macros to "comedi_fops.c" 2015-04-30 17:15:59 +02:00
comedilib.h
drivers.c staging: comedi: wrap COMEDI_SRF_FREE_SPRIV usage 2015-04-30 17:15:59 +02:00
Kconfig staging: comedi: comedi_8255: new module split from 8255 2015-05-31 10:05:26 +09:00
Makefile staging: comedi: split out PCI support into new module 2014-11-07 09:24:33 -08:00
proc.c
range.c staging: comedi: range.c: reformat copyright comment 2015-02-07 17:04:22 +08:00
TODO