Home
last modified time | relevance | path

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

12

/Linux-v5.10/drivers/staging/comedi/drivers/
Dpcm3724.c66 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()
Ddt2817.c56 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()
Dcomedi_8255.c103 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()
Dadv_pci1723.c110 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()
Daddi_apci_16xx.c70 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()
Dii_pci20kc.c261 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()
Dme_daq.c168 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()
Dni_65xx.c449 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()
Dni_daq_700.c108 s->io_bits = 0x00ff; in daq700_dio_insn_config()
235 s->io_bits = 0x00ff; in daq700_auto_attach()
Dme4000.c1069 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()
Damplc_dio200_common.c603 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()
Dni_at_ao.c185 if (s->io_bits & 0x0f) in atao_dio_insn_config()
189 if (s->io_bits & 0xf0) in atao_dio_insn_config()
Dcb_das16_cs.c276 if (s->io_bits & 0xf0) in das16cs_dio_insn_config()
280 if (s->io_bits & 0x0f) in das16cs_dio_insn_config()
Daddi_apci_3xxx.c692 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()
Dpcmuio.c234 val &= s->io_bits; in pcmuio_dio_insn_bits()
261 pcmuio_write(dev, s->io_bits, asic, 0, port); in pcmuio_dio_insn_config()
Ds526.c536 if (s->io_bits & 0x0f) in s526_dio_insn_config()
540 if (s->io_bits & 0xf0) in s526_dio_insn_config()
Dni_670x.c128 writel(s->io_bits, dev->mmio + DIO_PORT0_DIR_OFFSET); in ni_670x_dio_insn_config()
Dcomedi_parport.c98 if (s->io_bits) in parport_data_reg_insn_config()
Ddt3000.c570 dt3k_dio_config(dev, (s->io_bits & 0x01) | ((s->io_bits & 0x10) >> 3)); in dt3k_dio_insn_config()
Dpcmmio.c264 val &= s->io_bits; in pcmmio_dio_insn_bits()
291 pcmmio_dio_write(dev, s->io_bits, 0, port); in pcmmio_dio_insn_config()
Dgsc_hpdi.c284 if (s->io_bits) in gsc_hpdi_cmd()
355 if (s->io_bits) in gsc_hpdi_cmd_test()
Dni_atmio16d.c561 if (s->io_bits & 0x0f) in atmio16d_dio_insn_config()
563 if (s->io_bits & 0xf0) in atmio16d_dio_insn_config()
Dusbduxsigma.c962 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/
Ddrivers.c349 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()
Dcomedidev.h170 unsigned int io_bits; member

12