Home
last modified time | relevance | path

Searched refs:io_bits (Results 1 – 25 of 34) sorted by relevance

12

/drivers/staging/comedi/drivers/
Dpcm3724.c65 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()
Ddt2817.c65 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()
Dcomedi_8255.c112 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()
Dadv_pci1723.c119 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()
Daddi_apci_16xx.c79 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()
Dii_pci20kc.c260 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()
Dni_65xx.c458 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()
Dme_daq.c177 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()
Dni_daq_700.c117 s->io_bits = 0x00ff; in daq700_dio_insn_config()
244 s->io_bits = 0x00ff; in daq700_auto_attach()
Dme4000.c1078 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()
Damplc_dio200_common.c624 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()
Dni_at_ao.c194 if (s->io_bits & 0x0f) in atao_dio_insn_config()
198 if (s->io_bits & 0xf0) in atao_dio_insn_config()
Dcb_das16_cs.c285 if (s->io_bits & 0xf0) in das16cs_dio_insn_config()
289 if (s->io_bits & 0x0f) in das16cs_dio_insn_config()
Daddi_apci_3xxx.c701 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()
Ds526.c546 if (s->io_bits & 0x0f) in s526_dio_insn_config()
550 if (s->io_bits & 0xf0) in s526_dio_insn_config()
Dpcmuio.c243 val &= s->io_bits; in pcmuio_dio_insn_bits()
270 pcmuio_write(dev, s->io_bits, asic, 0, port); in pcmuio_dio_insn_config()
Dni_670x.c137 writel(s->io_bits, dev->mmio + DIO_PORT0_DIR_OFFSET); in ni_670x_dio_insn_config()
Dcomedi_parport.c107 if (s->io_bits) in parport_data_reg_insn_config()
Dgsc_hpdi.c293 if (s->io_bits) in gsc_hpdi_cmd()
364 if (s->io_bits) in gsc_hpdi_cmd_test()
Dpcmmio.c273 val &= s->io_bits; in pcmmio_dio_insn_bits()
300 pcmmio_dio_write(dev, s->io_bits, 0, port); in pcmmio_dio_insn_config()
Ddt3000.c581 dt3k_dio_config(dev, (s->io_bits & 0x01) | ((s->io_bits & 0x10) >> 3)); in dt3k_dio_insn_config()
Dni_atmio16d.c580 if (s->io_bits & 0x0f) in atmio16d_dio_insn_config()
582 if (s->io_bits & 0xf0) in atmio16d_dio_insn_config()
Dusbduxsigma.c971 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/
Ddrivers.c342 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()
Dcomedidev.h179 unsigned int io_bits; member

12