/drivers/staging/comedi/drivers/ |
D | pcm3724.c | 65 if (s->io_bits & 0x0000ff) { in compute_buffer() 71 if (s->io_bits & 0x00ff00) { in compute_buffer() 77 if (s->io_bits & 0xff0000) { in compute_buffer() 99 if (!(s->io_bits & 0x0000ff)) in do_3724_config() 102 if (!(s->io_bits & 0x00ff00)) in do_3724_config() 105 if (!(s->io_bits & 0xff0000)) in do_3724_config()
|
D | dt2817.c | 65 if (s->io_bits & 0x000000ff) in dt2817_dio_insn_config() 67 if (s->io_bits & 0x0000ff00) in dt2817_dio_insn_config() 69 if (s->io_bits & 0x00ff0000) in dt2817_dio_insn_config() 71 if (s->io_bits & 0xff000000) in dt2817_dio_insn_config()
|
D | comedi_8255.c | 112 if (!(s->io_bits & 0x0000ff)) in subdev_8255_do_config() 114 if (!(s->io_bits & 0x00ff00)) in subdev_8255_do_config() 116 if (!(s->io_bits & 0x0f0000)) in subdev_8255_do_config() 118 if (!(s->io_bits & 0xf00000)) in subdev_8255_do_config()
|
D | adv_pci1723.c | 119 if (!(s->io_bits & 0x00ff)) in pci1723_dio_insn_config() 121 if (!(s->io_bits & 0xff00)) in pci1723_dio_insn_config() 198 s->io_bits |= 0x00ff; /* low byte output */ in pci1723_auto_attach() 200 s->io_bits |= 0xff00; /* high byte output */ in pci1723_auto_attach()
|
D | addi_apci_16xx.c | 79 outl(s->io_bits, dev->iobase + APCI16XX_DIR_REG(s->index)); in apci16xx_insn_config() 150 s->io_bits = 0; in apci16xx_auto_attach() 151 outl(s->io_bits, dev->iobase + APCI16XX_DIR_REG(i)); in apci16xx_auto_attach()
|
D | ii_pci20kc.c | 260 if (s->io_bits & 0x000000ff) { in ii20k_dio_config() 272 if (s->io_bits & 0x0000ff00) { in ii20k_dio_config() 284 if (s->io_bits & 0x00ff0000) { in ii20k_dio_config() 296 if (s->io_bits & 0xff000000) { in ii20k_dio_config()
|
D | ni_65xx.c | 458 bits ^= s->io_bits; /* invert if necessary */ in ni_65xx_dio_insn_bits() 461 bits ^= s->io_bits; /* invert back */ in ni_65xx_dio_insn_bits() 467 bits ^= s->io_bits; /* invert if necessary */ in ni_65xx_dio_insn_bits() 717 s->io_bits = 0xff; in ni_65xx_auto_attach() 721 writeb(s->io_bits, /* inverted if necessary */ in ni_65xx_auto_attach()
|
D | me_daq.c | 177 if (s->io_bits & 0x0000ffff) in me_dio_insn_config() 181 if (s->io_bits & 0xffff0000) in me_dio_insn_config() 209 if (s->io_bits & 0x0000ffff) in me_dio_insn_bits() 214 if (s->io_bits & 0xffff0000) in me_dio_insn_bits()
|
D | ni_daq_700.c | 117 s->io_bits = 0x00ff; in daq700_dio_insn_config() 244 s->io_bits = 0x00ff; in daq700_auto_attach()
|
D | me4000.c | 1078 if (s->io_bits & 0x000000ff) in me4000_dio_insn_config() 1080 if (s->io_bits & 0x0000ff00) in me4000_dio_insn_config() 1082 if (s->io_bits & 0x00ff0000) in me4000_dio_insn_config() 1084 if (s->io_bits & 0xff000000) in me4000_dio_insn_config() 1093 s->io_bits |= 0x000000ff; in me4000_dio_insn_config() 1094 s->io_bits &= ~0x0000ff00; in me4000_dio_insn_config() 1209 s->io_bits |= 0xFF; in me4000_auto_attach()
|
D | amplc_dio200_common.c | 624 if (!(s->io_bits & 0x0000ff)) in dio200_subdev_8255_set_dir() 626 if (!(s->io_bits & 0x00ff00)) in dio200_subdev_8255_set_dir() 628 if (!(s->io_bits & 0x0f0000)) in dio200_subdev_8255_set_dir() 630 if (!(s->io_bits & 0xf00000)) in dio200_subdev_8255_set_dir()
|
D | ni_at_ao.c | 194 if (s->io_bits & 0x0f) in atao_dio_insn_config() 198 if (s->io_bits & 0xf0) in atao_dio_insn_config()
|
D | cb_das16_cs.c | 285 if (s->io_bits & 0xf0) in das16cs_dio_insn_config() 289 if (s->io_bits & 0x0f) in das16cs_dio_insn_config()
|
D | addi_apci_3xxx.c | 701 outl((s->io_bits >> 24) & 0xff, dev->iobase + 224); in apci3xxx_dio_insn_config() 724 if (s->io_bits & 0xff0000) in apci3xxx_dio_insn_bits() 896 s->io_bits = 0xff; /* channels 0-7 are always outputs */ in apci3xxx_auto_attach()
|
D | s526.c | 546 if (s->io_bits & 0x0f) in s526_dio_insn_config() 550 if (s->io_bits & 0xf0) in s526_dio_insn_config()
|
D | pcmuio.c | 243 val &= s->io_bits; in pcmuio_dio_insn_bits() 270 pcmuio_write(dev, s->io_bits, asic, 0, port); in pcmuio_dio_insn_config()
|
D | ni_670x.c | 137 writel(s->io_bits, dev->mmio + DIO_PORT0_DIR_OFFSET); in ni_670x_dio_insn_config()
|
D | comedi_parport.c | 107 if (s->io_bits) in parport_data_reg_insn_config()
|
D | gsc_hpdi.c | 293 if (s->io_bits) in gsc_hpdi_cmd() 364 if (s->io_bits) in gsc_hpdi_cmd_test()
|
D | pcmmio.c | 273 val &= s->io_bits; in pcmmio_dio_insn_bits() 300 pcmmio_dio_write(dev, s->io_bits, 0, port); in pcmmio_dio_insn_config()
|
D | dt3000.c | 581 dt3k_dio_config(dev, (s->io_bits & 0x01) | ((s->io_bits & 0x10) >> 3)); in dt3k_dio_insn_config()
|
D | ni_atmio16d.c | 580 if (s->io_bits & 0x0f) in atmio16d_dio_insn_config() 582 if (s->io_bits & 0xf0) in atmio16d_dio_insn_config()
|
D | usbduxsigma.c | 971 devpriv->dux_commands[1] = s->io_bits & 0xff; in usbduxsigma_dio_insn_bits() 973 devpriv->dux_commands[2] = (s->io_bits >> 8) & 0xff; in usbduxsigma_dio_insn_bits() 975 devpriv->dux_commands[3] = (s->io_bits >> 16) & 0xff; in usbduxsigma_dio_insn_bits()
|
/drivers/staging/comedi/ |
D | drivers.c | 342 s->io_bits &= ~mask; in comedi_dio_insn_config() 346 s->io_bits |= mask; in comedi_dio_insn_config() 350 data[1] = (s->io_bits & mask) ? COMEDI_OUTPUT : COMEDI_INPUT; in comedi_dio_insn_config() 672 s->io_bits = (1 << s->n_chan) - 1; in __comedi_device_postconfig() 674 s->io_bits = 0xffffffff; in __comedi_device_postconfig()
|
D | comedidev.h | 179 unsigned int io_bits; member
|