io_bits 170 drivers/staging/comedi/comedidev.h unsigned int io_bits; io_bits 349 drivers/staging/comedi/drivers.c s->io_bits &= ~mask; io_bits 353 drivers/staging/comedi/drivers.c s->io_bits |= mask; io_bits 357 drivers/staging/comedi/drivers.c data[1] = (s->io_bits & mask) ? COMEDI_OUTPUT : COMEDI_INPUT; io_bits 712 drivers/staging/comedi/drivers.c s->io_bits = (1 << s->n_chan) - 1; io_bits 714 drivers/staging/comedi/drivers.c s->io_bits = 0xffffffff; io_bits 70 drivers/staging/comedi/drivers/addi_apci_16xx.c outl(s->io_bits, dev->iobase + APCI16XX_DIR_REG(s->index)); io_bits 141 drivers/staging/comedi/drivers/addi_apci_16xx.c s->io_bits = 0; io_bits 142 drivers/staging/comedi/drivers/addi_apci_16xx.c outl(s->io_bits, dev->iobase + APCI16XX_DIR_REG(i)); io_bits 692 drivers/staging/comedi/drivers/addi_apci_3xxx.c outl((s->io_bits >> 24) & 0xff, dev->iobase + 224); io_bits 715 drivers/staging/comedi/drivers/addi_apci_3xxx.c if (s->io_bits & 0xff0000) io_bits 889 drivers/staging/comedi/drivers/addi_apci_3xxx.c s->io_bits = 0xff; /* channels 0-7 are always outputs */ io_bits 110 drivers/staging/comedi/drivers/adv_pci1723.c if (!(s->io_bits & 0x00ff)) io_bits 112 drivers/staging/comedi/drivers/adv_pci1723.c if (!(s->io_bits & 0xff00)) io_bits 189 drivers/staging/comedi/drivers/adv_pci1723.c s->io_bits |= 0x00ff; /* low byte output */ io_bits 191 drivers/staging/comedi/drivers/adv_pci1723.c s->io_bits |= 0xff00; /* high byte output */ io_bits 603 drivers/staging/comedi/drivers/amplc_dio200_common.c if (!(s->io_bits & 0x0000ff)) io_bits 605 drivers/staging/comedi/drivers/amplc_dio200_common.c if (!(s->io_bits & 0x00ff00)) io_bits 607 drivers/staging/comedi/drivers/amplc_dio200_common.c if (!(s->io_bits & 0x0f0000)) io_bits 609 drivers/staging/comedi/drivers/amplc_dio200_common.c if (!(s->io_bits & 0xf00000)) io_bits 276 drivers/staging/comedi/drivers/cb_das16_cs.c if (s->io_bits & 0xf0) io_bits 280 drivers/staging/comedi/drivers/cb_das16_cs.c if (s->io_bits & 0x0f) io_bits 3477 drivers/staging/comedi/drivers/cb_pcidas64.c writeb(s->io_bits, dev->mmio + DIO_DIRECTION_60XX_REG); io_bits 103 drivers/staging/comedi/drivers/comedi_8255.c if (!(s->io_bits & 0x0000ff)) io_bits 105 drivers/staging/comedi/drivers/comedi_8255.c if (!(s->io_bits & 0x00ff00)) io_bits 107 drivers/staging/comedi/drivers/comedi_8255.c if (!(s->io_bits & 0x0f0000)) io_bits 109 drivers/staging/comedi/drivers/comedi_8255.c if (!(s->io_bits & 0xf00000)) io_bits 98 drivers/staging/comedi/drivers/comedi_parport.c if (s->io_bits) io_bits 519 drivers/staging/comedi/drivers/dt2801.c dt2801_writecmd(dev, s->io_bits ? DT_C_SET_DIGOUT : DT_C_SET_DIGIN); io_bits 56 drivers/staging/comedi/drivers/dt2817.c if (s->io_bits & 0x000000ff) io_bits 58 drivers/staging/comedi/drivers/dt2817.c if (s->io_bits & 0x0000ff00) io_bits 60 drivers/staging/comedi/drivers/dt2817.c if (s->io_bits & 0x00ff0000) io_bits 62 drivers/staging/comedi/drivers/dt2817.c if (s->io_bits & 0xff000000) io_bits 994 drivers/staging/comedi/drivers/dt282x.c if (s->io_bits & 0x00ff) io_bits 996 drivers/staging/comedi/drivers/dt282x.c if (s->io_bits & 0xff00) io_bits 572 drivers/staging/comedi/drivers/dt3000.c dt3k_dio_config(dev, (s->io_bits & 0x01) | ((s->io_bits & 0x10) >> 3)); io_bits 284 drivers/staging/comedi/drivers/gsc_hpdi.c if (s->io_bits) io_bits 355 drivers/staging/comedi/drivers/gsc_hpdi.c if (s->io_bits) io_bits 261 drivers/staging/comedi/drivers/ii_pci20kc.c if (s->io_bits & 0x000000ff) { io_bits 273 drivers/staging/comedi/drivers/ii_pci20kc.c if (s->io_bits & 0x0000ff00) { io_bits 285 drivers/staging/comedi/drivers/ii_pci20kc.c if (s->io_bits & 0x00ff0000) { io_bits 297 drivers/staging/comedi/drivers/ii_pci20kc.c if (s->io_bits & 0xff000000) { io_bits 1069 drivers/staging/comedi/drivers/me4000.c if (s->io_bits & 0x000000ff) io_bits 1071 drivers/staging/comedi/drivers/me4000.c if (s->io_bits & 0x0000ff00) io_bits 1073 drivers/staging/comedi/drivers/me4000.c if (s->io_bits & 0x00ff0000) io_bits 1075 drivers/staging/comedi/drivers/me4000.c if (s->io_bits & 0xff000000) io_bits 1084 drivers/staging/comedi/drivers/me4000.c s->io_bits |= 0x000000ff; io_bits 1085 drivers/staging/comedi/drivers/me4000.c s->io_bits &= ~0x0000ff00; io_bits 1200 drivers/staging/comedi/drivers/me4000.c s->io_bits |= 0xFF; io_bits 168 drivers/staging/comedi/drivers/me_daq.c if (s->io_bits & 0x0000ffff) io_bits 172 drivers/staging/comedi/drivers/me_daq.c if (s->io_bits & 0xffff0000) io_bits 200 drivers/staging/comedi/drivers/me_daq.c if (s->io_bits & 0x0000ffff) io_bits 205 drivers/staging/comedi/drivers/me_daq.c if (s->io_bits & 0xffff0000) io_bits 449 drivers/staging/comedi/drivers/ni_65xx.c bits ^= s->io_bits; /* invert if necessary */ io_bits 452 drivers/staging/comedi/drivers/ni_65xx.c bits ^= s->io_bits; /* invert back */ io_bits 458 drivers/staging/comedi/drivers/ni_65xx.c bits ^= s->io_bits; /* invert if necessary */ io_bits 708 drivers/staging/comedi/drivers/ni_65xx.c s->io_bits = 0xff; io_bits 712 drivers/staging/comedi/drivers/ni_65xx.c writeb(s->io_bits, /* inverted if necessary */ io_bits 128 drivers/staging/comedi/drivers/ni_670x.c writel(s->io_bits, dev->mmio + DIO_PORT0_DIR_OFFSET); io_bits 185 drivers/staging/comedi/drivers/ni_at_ao.c if (s->io_bits & 0x0f) io_bits 189 drivers/staging/comedi/drivers/ni_at_ao.c if (s->io_bits & 0xf0) io_bits 571 drivers/staging/comedi/drivers/ni_atmio16d.c if (s->io_bits & 0x0f) io_bits 573 drivers/staging/comedi/drivers/ni_atmio16d.c if (s->io_bits & 0xf0) io_bits 108 drivers/staging/comedi/drivers/ni_daq_700.c s->io_bits = 0x00ff; io_bits 235 drivers/staging/comedi/drivers/ni_daq_700.c s->io_bits = 0x00ff; io_bits 3461 drivers/staging/comedi/drivers/ni_mio_common.c devpriv->dio_control |= NISTC_DIO_CTRL_DIR(s->io_bits); io_bits 3511 drivers/staging/comedi/drivers/ni_mio_common.c ni_writel(dev, s->io_bits, NI_M_DIO_DIR_REG); io_bits 3682 drivers/staging/comedi/drivers/ni_mio_common.c if (s->io_bits) { io_bits 3685 drivers/staging/comedi/drivers/ni_mio_common.c ni_writel(dev, s->io_bits, NI_M_CDO_MASK_ENA_REG); io_bits 6120 drivers/staging/comedi/drivers/ni_mio_common.c ni_writel(dev, s->io_bits, NI_M_DIO_DIR_REG); io_bits 6127 drivers/staging/comedi/drivers/ni_mio_common.c devpriv->dio_control = NISTC_DIO_CTRL_DIR(s->io_bits); io_bits 487 drivers/staging/comedi/drivers/ni_pcidio.c writel(s->io_bits, dev->mmio + PORT_PIN_DIRECTIONS(0)); io_bits 348 drivers/staging/comedi/drivers/ni_usb6501.c ret = ni6501_port_command(dev, SET_PORT_DIR, s->io_bits, NULL); io_bits 66 drivers/staging/comedi/drivers/pcm3724.c if (s->io_bits & 0x0000ff) { io_bits 72 drivers/staging/comedi/drivers/pcm3724.c if (s->io_bits & 0x00ff00) { io_bits 78 drivers/staging/comedi/drivers/pcm3724.c if (s->io_bits & 0xff0000) { io_bits 100 drivers/staging/comedi/drivers/pcm3724.c if (!(s->io_bits & 0x0000ff)) io_bits 103 drivers/staging/comedi/drivers/pcm3724.c if (!(s->io_bits & 0x00ff00)) io_bits 106 drivers/staging/comedi/drivers/pcm3724.c if (!(s->io_bits & 0xff0000)) io_bits 264 drivers/staging/comedi/drivers/pcmmio.c val &= s->io_bits; io_bits 291 drivers/staging/comedi/drivers/pcmmio.c pcmmio_dio_write(dev, s->io_bits, 0, port); io_bits 234 drivers/staging/comedi/drivers/pcmuio.c val &= s->io_bits; io_bits 261 drivers/staging/comedi/drivers/pcmuio.c pcmuio_write(dev, s->io_bits, asic, 0, port); io_bits 1076 drivers/staging/comedi/drivers/rtd520.c writew(s->io_bits & 0xff, dev->mmio + LAS0_DIO0_CTRL); io_bits 536 drivers/staging/comedi/drivers/s526.c if (s->io_bits & 0x0f) io_bits 540 drivers/staging/comedi/drivers/s526.c if (s->io_bits & 0xf0) io_bits 2000 drivers/staging/comedi/drivers/s626.c s626_debi_write(dev, S626_LP_WRDOUT(group), s->io_bits); io_bits 2497 drivers/staging/comedi/drivers/s626.c s->io_bits = 0xffff; io_bits 2509 drivers/staging/comedi/drivers/s626.c s->io_bits = 0xffff; io_bits 2521 drivers/staging/comedi/drivers/s626.c s->io_bits = 0xffff; io_bits 1031 drivers/staging/comedi/drivers/usbdux.c devpriv->dux_commands[1] = s->io_bits; io_bits 962 drivers/staging/comedi/drivers/usbduxsigma.c devpriv->dux_commands[1] = s->io_bits & 0xff; io_bits 964 drivers/staging/comedi/drivers/usbduxsigma.c devpriv->dux_commands[2] = (s->io_bits >> 8) & 0xff; io_bits 966 drivers/staging/comedi/drivers/usbduxsigma.c devpriv->dux_commands[3] = (s->io_bits >> 16) & 0xff;