[PATCH 00/11] staging: comedi: tidy up digital output (*insn_bits)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Consolidate the boilerplate code used to mask and set the output channels
of DIO and DO subdevices.

H Hartley Sweeten (11):
  staging: comedi: core: introduce comedi_dio_insn_bits()
  staging: comedi: skel: use comedi_dio_insn_bits()
  staging: comedi: usbdux drivers: use comedi_dio_insn_bits()
  staging: comedi: drivers: use comedi_dio_insn_bits()
  staging: comedi: core: initialize subdevice s->io_bits in postconfig
  staging: comedi: core: only update outputs with comedi_dio_insn_bits()
  staging: comedi: drivers: use comedi_dio_insn_bits() for DIO subdevices
  staging: comedi: drivers: more users of comedi_dio_insn_bits()
  staging: comedi: ssv_dnp: use comedi_dio_insn_bits()
  staging: comedi: adq12b: remove 'digital_state' from private data
  staging: comedi: adq12b: use comedi_dio_insn_bits()

 drivers/staging/comedi/comedidev.h                 |  2 +
 drivers/staging/comedi/drivers.c                   | 32 +++++++++++
 drivers/staging/comedi/drivers/8255.c              | 28 ++-------
 .../staging/comedi/drivers/addi-data/addi_common.c |  2 -
 .../comedi/drivers/addi-data/hwdrv_apci1564.c      |  7 +--
 .../comedi/drivers/addi-data/hwdrv_apci3200.c      |  7 +--
 drivers/staging/comedi/drivers/addi_apci_1516.c    |  8 +--
 drivers/staging/comedi/drivers/addi_apci_16xx.c    | 11 +---
 drivers/staging/comedi/drivers/addi_apci_2032.c    |  8 +--
 drivers/staging/comedi/drivers/addi_apci_2200.c    |  8 +--
 drivers/staging/comedi/drivers/addi_apci_3120.c    |  2 -
 drivers/staging/comedi/drivers/addi_apci_3501.c    |  8 +--
 drivers/staging/comedi/drivers/addi_apci_3xxx.c    | 23 ++------
 drivers/staging/comedi/drivers/adl_pci6208.c       | 10 +---
 drivers/staging/comedi/drivers/adl_pci7x3x.c       | 13 +----
 drivers/staging/comedi/drivers/adl_pci9111.c       |  9 +--
 drivers/staging/comedi/drivers/adl_pci9118.c       | 11 ++--
 drivers/staging/comedi/drivers/adq12b.c            | 27 ++++-----
 drivers/staging/comedi/drivers/adv_pci1710.c       | 13 ++---
 drivers/staging/comedi/drivers/adv_pci1723.c       | 13 ++---
 drivers/staging/comedi/drivers/adv_pci_dio.c       | 24 ++++----
 drivers/staging/comedi/drivers/aio_iiro_16.c       |  4 +-
 .../staging/comedi/drivers/amplc_dio200_common.c   | 24 +++-----
 drivers/staging/comedi/drivers/amplc_pc263.c       | 17 +++---
 drivers/staging/comedi/drivers/amplc_pci263.c      | 17 +++---
 drivers/staging/comedi/drivers/cb_das16_cs.c       |  9 +--
 drivers/staging/comedi/drivers/cb_pcidas64.c       | 14 +----
 drivers/staging/comedi/drivers/contec_pci_dio.c    | 12 +---
 drivers/staging/comedi/drivers/das16.c             |  9 +--
 drivers/staging/comedi/drivers/das800.c            |  6 +-
 drivers/staging/comedi/drivers/dmm32at.c           | 66 +++++++++-------------
 drivers/staging/comedi/drivers/dt2801.c            | 21 ++++---
 drivers/staging/comedi/drivers/dt2811.c            |  8 +--
 drivers/staging/comedi/drivers/dt2817.c            | 44 ++++++---------
 drivers/staging/comedi/drivers/dt282x.c            | 10 ++--
 drivers/staging/comedi/drivers/dt3000.c            |  9 ++-
 drivers/staging/comedi/drivers/dt9812.c            |  9 +--
 drivers/staging/comedi/drivers/dyna_pci10xx.c      | 20 ++-----
 drivers/staging/comedi/drivers/icp_multi.c         | 14 +----
 drivers/staging/comedi/drivers/ii_pci20kc.c        | 37 +++++-------
 drivers/staging/comedi/drivers/me4000.c            | 50 ++++++----------
 drivers/staging/comedi/drivers/me_daq.c            | 15 +----
 drivers/staging/comedi/drivers/multiq3.c           |  8 +--
 drivers/staging/comedi/drivers/ni_6527.c           | 28 +++------
 drivers/staging/comedi/drivers/ni_660x.c           |  1 -
 drivers/staging/comedi/drivers/ni_670x.c           | 11 +---
 drivers/staging/comedi/drivers/ni_at_ao.c          |  8 +--
 drivers/staging/comedi/drivers/ni_atmio16d.c       |  9 ++-
 drivers/staging/comedi/drivers/ni_daq_700.c        | 19 +++----
 drivers/staging/comedi/drivers/ni_mio_common.c     | 40 ++++++-------
 drivers/staging/comedi/drivers/ni_pcidio.c         |  9 ++-
 drivers/staging/comedi/drivers/pcl711.c            | 12 ++--
 drivers/staging/comedi/drivers/pcl726.c            | 11 ++--
 drivers/staging/comedi/drivers/pcl730.c            | 16 ++----
 drivers/staging/comedi/drivers/pcl812.c            | 11 ++--
 drivers/staging/comedi/drivers/pcl818.c            | 18 ++----
 drivers/staging/comedi/drivers/pcmuio.c            | 10 +---
 drivers/staging/comedi/drivers/quatech_daqp_cs.c   |  8 +--
 drivers/staging/comedi/drivers/rtd520.c            |  8 +--
 drivers/staging/comedi/drivers/rti800.c            |  8 +--
 drivers/staging/comedi/drivers/s526.c              |  9 +--
 drivers/staging/comedi/drivers/s626.c              | 13 +----
 drivers/staging/comedi/drivers/skel.c              | 43 +++++++++-----
 drivers/staging/comedi/drivers/ssv_dnp.c           | 51 +++++++----------
 drivers/staging/comedi/drivers/usbdux.c            |  6 +-
 drivers/staging/comedi/drivers/usbduxsigma.c       |  6 +-
 66 files changed, 371 insertions(+), 673 deletions(-)

-- 
1.8.3.2

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel




[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux