Home
last modified time | relevance | path

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

12

/linux-6.6.21/drivers/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()
98 if (!(s->io_bits & 0x0000ff)) in do_3724_config()
101 if (!(s->io_bits & 0x00ff00)) in do_3724_config()
104 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.c102 if (!(s->io_bits & 0x0000ff)) in subdev_8255_do_config()
104 if (!(s->io_bits & 0x00ff00)) in subdev_8255_do_config()
106 if (!(s->io_bits & 0x0f0000)) in subdev_8255_do_config()
108 if (!(s->io_bits & 0xf00000)) in subdev_8255_do_config()
Dadv_pci1723.c109 if (!(s->io_bits & 0x00ff)) in pci1723_dio_insn_config()
111 if (!(s->io_bits & 0xff00)) in pci1723_dio_insn_config()
188 s->io_bits |= 0x00ff; /* low byte output */ in pci1723_auto_attach()
190 s->io_bits |= 0xff00; /* high byte output */ in pci1723_auto_attach()
Daddi_apci_16xx.c69 outl(s->io_bits, dev->iobase + APCI16XX_DIR_REG(s->index)); in apci16xx_insn_config()
140 s->io_bits = 0; in apci16xx_auto_attach()
141 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.c167 if (s->io_bits & 0x0000ffff) in me_dio_insn_config()
171 if (s->io_bits & 0xffff0000) in me_dio_insn_config()
199 if (s->io_bits & 0x0000ffff) in me_dio_insn_bits()
204 if (s->io_bits & 0xffff0000) in me_dio_insn_bits()
Dni_65xx.c448 bits ^= s->io_bits; /* invert if necessary */ in ni_65xx_dio_insn_bits()
451 bits ^= s->io_bits; /* invert back */ in ni_65xx_dio_insn_bits()
457 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.c107 s->io_bits = 0x00ff; in daq700_dio_insn_config()
234 s->io_bits = 0x00ff; in daq700_auto_attach()
Dme4000.c1068 if (s->io_bits & 0x000000ff) in me4000_dio_insn_config()
1070 if (s->io_bits & 0x0000ff00) in me4000_dio_insn_config()
1072 if (s->io_bits & 0x00ff0000) in me4000_dio_insn_config()
1074 if (s->io_bits & 0xff000000) in me4000_dio_insn_config()
1083 s->io_bits |= 0x000000ff; in me4000_dio_insn_config()
1084 s->io_bits &= ~0x0000ff00; in me4000_dio_insn_config()
1199 s->io_bits |= 0xFF; in me4000_auto_attach()
Damplc_dio200_common.c602 if (!(s->io_bits & 0x0000ff)) in dio200_subdev_8255_set_dir()
604 if (!(s->io_bits & 0x00ff00)) in dio200_subdev_8255_set_dir()
606 if (!(s->io_bits & 0x0f0000)) in dio200_subdev_8255_set_dir()
608 if (!(s->io_bits & 0xf00000)) in dio200_subdev_8255_set_dir()
Dni_at_ao.c183 if (s->io_bits & 0x0f) in atao_dio_insn_config()
187 if (s->io_bits & 0xf0) in atao_dio_insn_config()
Dcb_das16_cs.c274 if (s->io_bits & 0xf0) in das16cs_dio_insn_config()
278 if (s->io_bits & 0x0f) in das16cs_dio_insn_config()
Daddi_apci_3xxx.c691 outl((s->io_bits >> 24) & 0xff, dev->iobase + 224); in apci3xxx_dio_insn_config()
714 if (s->io_bits & 0xff0000) in apci3xxx_dio_insn_bits()
888 s->io_bits = 0xff; /* channels 0-7 are always outputs */ in apci3xxx_auto_attach()
Dpcmuio.c233 val &= s->io_bits; in pcmuio_dio_insn_bits()
260 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.c127 writel(s->io_bits, dev->mmio + DIO_PORT0_DIR_OFFSET); in ni_670x_dio_insn_config()
Dcomedi_parport.c97 if (s->io_bits) in parport_data_reg_insn_config()
Ddt3000.c569 dt3k_dio_config(dev, (s->io_bits & 0x01) | ((s->io_bits & 0x10) >> 3)); in dt3k_dio_insn_config()
Dgsc_hpdi.c283 if (s->io_bits) in gsc_hpdi_cmd()
354 if (s->io_bits) in gsc_hpdi_cmd_test()
Dpcmmio.c263 val &= s->io_bits; in pcmmio_dio_insn_bits()
290 pcmmio_dio_write(dev, s->io_bits, 0, port); in pcmmio_dio_insn_config()
Dni_atmio16d.c560 if (s->io_bits & 0x0f) in atmio16d_dio_insn_config()
562 if (s->io_bits & 0xf0) in atmio16d_dio_insn_config()
Dusbduxsigma.c961 devpriv->dux_commands[1] = s->io_bits & 0xff; in usbduxsigma_dio_insn_bits()
963 devpriv->dux_commands[2] = (s->io_bits >> 8) & 0xff; in usbduxsigma_dio_insn_bits()
965 devpriv->dux_commands[3] = (s->io_bits >> 16) & 0xff; in usbduxsigma_dio_insn_bits()
/linux-6.6.21/drivers/comedi/
Ddrivers.c348 s->io_bits &= ~mask; in comedi_dio_insn_config()
352 s->io_bits |= mask; in comedi_dio_insn_config()
356 data[1] = (s->io_bits & mask) ? COMEDI_OUTPUT : COMEDI_INPUT; in comedi_dio_insn_config()
711 s->io_bits = (1 << s->n_chan) - 1; in __comedi_device_postconfig()
713 s->io_bits = 0xffffffff; in __comedi_device_postconfig()
/linux-6.6.21/include/linux/comedi/
Dcomedidev.h169 unsigned int io_bits; member

12