/Linux-v5.10/drivers/staging/comedi/drivers/ |
D | pcm3724.c | 66 if (s->io_bits & 0x0000ff) { in compute_buffer() 72 if (s->io_bits & 0x00ff00) { in compute_buffer() 78 if (s->io_bits & 0xff0000) { in compute_buffer() 100 if (!(s->io_bits & 0x0000ff)) in do_3724_config() 103 if (!(s->io_bits & 0x00ff00)) in do_3724_config() 106 if (!(s->io_bits & 0xff0000)) in do_3724_config()
|
D | dt2817.c | 56 if (s->io_bits & 0x000000ff) in dt2817_dio_insn_config() 58 if (s->io_bits & 0x0000ff00) in dt2817_dio_insn_config() 60 if (s->io_bits & 0x00ff0000) in dt2817_dio_insn_config() 62 if (s->io_bits & 0xff000000) in dt2817_dio_insn_config()
|
D | comedi_8255.c | 103 if (!(s->io_bits & 0x0000ff)) in subdev_8255_do_config() 105 if (!(s->io_bits & 0x00ff00)) in subdev_8255_do_config() 107 if (!(s->io_bits & 0x0f0000)) in subdev_8255_do_config() 109 if (!(s->io_bits & 0xf00000)) in subdev_8255_do_config()
|
D | adv_pci1723.c | 110 if (!(s->io_bits & 0x00ff)) in pci1723_dio_insn_config() 112 if (!(s->io_bits & 0xff00)) in pci1723_dio_insn_config() 189 s->io_bits |= 0x00ff; /* low byte output */ in pci1723_auto_attach() 191 s->io_bits |= 0xff00; /* high byte output */ in pci1723_auto_attach()
|
D | addi_apci_16xx.c | 70 outl(s->io_bits, dev->iobase + APCI16XX_DIR_REG(s->index)); in apci16xx_insn_config() 141 s->io_bits = 0; in apci16xx_auto_attach() 142 outl(s->io_bits, dev->iobase + APCI16XX_DIR_REG(i)); in apci16xx_auto_attach()
|
D | ii_pci20kc.c | 261 if (s->io_bits & 0x000000ff) { in ii20k_dio_config() 273 if (s->io_bits & 0x0000ff00) { in ii20k_dio_config() 285 if (s->io_bits & 0x00ff0000) { in ii20k_dio_config() 297 if (s->io_bits & 0xff000000) { in ii20k_dio_config()
|
D | me_daq.c | 168 if (s->io_bits & 0x0000ffff) in me_dio_insn_config() 172 if (s->io_bits & 0xffff0000) in me_dio_insn_config() 200 if (s->io_bits & 0x0000ffff) in me_dio_insn_bits() 205 if (s->io_bits & 0xffff0000) in me_dio_insn_bits()
|
D | ni_65xx.c | 449 bits ^= s->io_bits; /* invert if necessary */ in ni_65xx_dio_insn_bits() 452 bits ^= s->io_bits; /* invert back */ in ni_65xx_dio_insn_bits() 458 bits ^= s->io_bits; /* invert if necessary */ in ni_65xx_dio_insn_bits() 708 s->io_bits = 0xff; in ni_65xx_auto_attach() 712 writeb(s->io_bits, /* inverted if necessary */ in ni_65xx_auto_attach()
|
D | ni_daq_700.c | 108 s->io_bits = 0x00ff; in daq700_dio_insn_config() 235 s->io_bits = 0x00ff; in daq700_auto_attach()
|
D | me4000.c | 1069 if (s->io_bits & 0x000000ff) in me4000_dio_insn_config() 1071 if (s->io_bits & 0x0000ff00) in me4000_dio_insn_config() 1073 if (s->io_bits & 0x00ff0000) in me4000_dio_insn_config() 1075 if (s->io_bits & 0xff000000) in me4000_dio_insn_config() 1084 s->io_bits |= 0x000000ff; in me4000_dio_insn_config() 1085 s->io_bits &= ~0x0000ff00; in me4000_dio_insn_config() 1200 s->io_bits |= 0xFF; in me4000_auto_attach()
|
D | amplc_dio200_common.c | 603 if (!(s->io_bits & 0x0000ff)) in dio200_subdev_8255_set_dir() 605 if (!(s->io_bits & 0x00ff00)) in dio200_subdev_8255_set_dir() 607 if (!(s->io_bits & 0x0f0000)) in dio200_subdev_8255_set_dir() 609 if (!(s->io_bits & 0xf00000)) in dio200_subdev_8255_set_dir()
|
D | ni_at_ao.c | 185 if (s->io_bits & 0x0f) in atao_dio_insn_config() 189 if (s->io_bits & 0xf0) in atao_dio_insn_config()
|
D | cb_das16_cs.c | 276 if (s->io_bits & 0xf0) in das16cs_dio_insn_config() 280 if (s->io_bits & 0x0f) in das16cs_dio_insn_config()
|
D | addi_apci_3xxx.c | 692 outl((s->io_bits >> 24) & 0xff, dev->iobase + 224); in apci3xxx_dio_insn_config() 715 if (s->io_bits & 0xff0000) in apci3xxx_dio_insn_bits() 889 s->io_bits = 0xff; /* channels 0-7 are always outputs */ in apci3xxx_auto_attach()
|
D | pcmuio.c | 234 val &= s->io_bits; in pcmuio_dio_insn_bits() 261 pcmuio_write(dev, s->io_bits, asic, 0, port); in pcmuio_dio_insn_config()
|
D | s526.c | 536 if (s->io_bits & 0x0f) in s526_dio_insn_config() 540 if (s->io_bits & 0xf0) in s526_dio_insn_config()
|
D | ni_670x.c | 128 writel(s->io_bits, dev->mmio + DIO_PORT0_DIR_OFFSET); in ni_670x_dio_insn_config()
|
D | comedi_parport.c | 98 if (s->io_bits) in parport_data_reg_insn_config()
|
D | dt3000.c | 570 dt3k_dio_config(dev, (s->io_bits & 0x01) | ((s->io_bits & 0x10) >> 3)); in dt3k_dio_insn_config()
|
D | pcmmio.c | 264 val &= s->io_bits; in pcmmio_dio_insn_bits() 291 pcmmio_dio_write(dev, s->io_bits, 0, port); in pcmmio_dio_insn_config()
|
D | gsc_hpdi.c | 284 if (s->io_bits) in gsc_hpdi_cmd() 355 if (s->io_bits) in gsc_hpdi_cmd_test()
|
D | ni_atmio16d.c | 561 if (s->io_bits & 0x0f) in atmio16d_dio_insn_config() 563 if (s->io_bits & 0xf0) in atmio16d_dio_insn_config()
|
D | usbduxsigma.c | 962 devpriv->dux_commands[1] = s->io_bits & 0xff; in usbduxsigma_dio_insn_bits() 964 devpriv->dux_commands[2] = (s->io_bits >> 8) & 0xff; in usbduxsigma_dio_insn_bits() 966 devpriv->dux_commands[3] = (s->io_bits >> 16) & 0xff; in usbduxsigma_dio_insn_bits()
|
/Linux-v5.10/drivers/staging/comedi/ |
D | drivers.c | 349 s->io_bits &= ~mask; in comedi_dio_insn_config() 353 s->io_bits |= mask; in comedi_dio_insn_config() 357 data[1] = (s->io_bits & mask) ? COMEDI_OUTPUT : COMEDI_INPUT; in comedi_dio_insn_config() 712 s->io_bits = (1 << s->n_chan) - 1; in __comedi_device_postconfig() 714 s->io_bits = 0xffffffff; in __comedi_device_postconfig()
|
D | comedidev.h | 170 unsigned int io_bits; member
|