/linux-6.1.9/drivers/comedi/drivers/ |
D | pcl730.c | 224 if ((mask & 0xff00) && (s->n_chan > 8)) in pcl730_do_insn_bits() 226 if ((mask & 0xff0000) && (s->n_chan > 16)) in pcl730_do_insn_bits() 228 if ((mask & 0xff000000) && (s->n_chan > 24)) in pcl730_do_insn_bits() 244 if (s->n_chan > 8) in pcl730_get_bits() 246 if (s->n_chan > 16) in pcl730_get_bits() 248 if (s->n_chan > 24) in pcl730_get_bits() 287 s->n_chan = board->n_iso_out_chan; in pcl730_attach() 303 s->n_chan = board->n_iso_in_chan; in pcl730_attach() 317 s->n_chan = board->n_ttl_chan; in pcl730_attach() 327 s->n_chan = board->n_ttl_chan; in pcl730_attach()
|
D | addi_apci_16xx.c | 33 int n_chan; member 39 .n_chan = 48, /* 2 subdevices */ 43 .n_chan = 96, /* 3 subdevices */ 116 n_subdevs = board->n_chan / 32; in apci16xx_auto_attach() 117 if ((n_subdevs * 32) < board->n_chan) { in apci16xx_auto_attach() 118 last = board->n_chan - (n_subdevs * 32); in apci16xx_auto_attach() 133 s->n_chan = ((i * 32) < board->n_chan) ? 32 : last; in apci16xx_auto_attach()
|
D | adv_pci_dio.c | 415 if (s->n_chan > 8) in pci_dio_insn_bits_di_b() 417 if (s->n_chan > 16) in pci_dio_insn_bits_di_b() 419 if (s->n_chan > 24) in pci_dio_insn_bits_di_b() 434 if (s->n_chan > 16) in pci_dio_insn_bits_di_w() 450 if (s->n_chan > 8) in pci_dio_insn_bits_do_b() 452 if (s->n_chan > 16) in pci_dio_insn_bits_do_b() 454 if (s->n_chan > 24) in pci_dio_insn_bits_do_b() 473 if (s->n_chan > 16) in pci_dio_insn_bits_do_w() 598 s->n_chan = d->chans; in pci_dio_auto_attach() 615 s->n_chan = d->chans; in pci_dio_auto_attach() [all …]
|
D | adl_pci8164.c | 80 s->n_chan = 4; in adl_pci8164_auto_attach() 91 s->n_chan = 4; in adl_pci8164_auto_attach() 102 s->n_chan = 4; in adl_pci8164_auto_attach() 113 s->n_chan = 4; in adl_pci8164_auto_attach()
|
D | multiq3.c | 269 s->n_chan = 8; in multiq3_attach() 278 s->n_chan = 8; in multiq3_attach() 291 s->n_chan = 16; in multiq3_attach() 300 s->n_chan = 16; in multiq3_attach() 309 s->n_chan = it->options[2] * 2; in multiq3_attach() 315 for (i = 0; i < s->n_chan; i++) in multiq3_attach()
|
D | adq12b.c | 201 s->n_chan = 8; in adq12b_attach() 204 s->n_chan = 16; in adq12b_attach() 215 s->n_chan = 5; in adq12b_attach() 224 s->n_chan = 8; in adq12b_attach()
|
D | dyna_pci10xx.c | 189 s->n_chan = 16; in dyna_pci10xx_auto_attach() 198 s->n_chan = 1; in dyna_pci10xx_auto_attach() 207 s->n_chan = 16; in dyna_pci10xx_auto_attach() 216 s->n_chan = 16; in dyna_pci10xx_auto_attach()
|
D | pcl818.c | 571 unsigned int *chanlist, unsigned int n_chan) in check_channel_list() argument 577 if (n_chan < 1) { in check_channel_list() 582 if (n_chan > 1) { in check_channel_list() 586 for (i = 1, seglen = 1; i < n_chan; i++, seglen++) { in check_channel_list() 592 (CR_CHAN(chansegment[i - 1]) + 1) % s->n_chan; in check_channel_list() 606 for (i = 0; i < n_chan; i++) { in check_channel_list() 1039 s->n_chan = 16; in pcl818_attach() 1042 s->n_chan = 8; in pcl818_attach() 1053 s->len_chanlist = s->n_chan; in pcl818_attach() 1064 s->n_chan = board->n_aochan; in pcl818_attach() [all …]
|
D | comedi_parport.c | 249 s->n_chan = 8; in parport_attach() 259 s->n_chan = 5; in parport_attach() 268 s->n_chan = 4; in parport_attach() 279 s->n_chan = 1; in parport_attach()
|
D | adl_pci6208.c | 130 s->n_chan = 16; /* Only 8 usable on PCI-6208 */ in pci6208_auto_attach() 143 s->n_chan = 4; in pci6208_auto_attach() 152 s->n_chan = 4; in pci6208_auto_attach()
|
D | dt2801.c | 584 s->n_chan = n_ai_chans; in dt2801_attach() 587 s->n_chan = board->ad_chan; in dt2801_attach() 589 s->n_chan = board->ad_chan / 2; in dt2801_attach() 599 s->n_chan = 2; in dt2801_attach() 614 s->n_chan = 8; in dt2801_attach() 624 s->n_chan = 8; in dt2801_attach()
|
D | adl_pci7x3x.c | 301 if (s->n_chan == 16) { in adl_pci7x3x_do_insn_bits() 402 s->n_chan = nchan; in adl_pci7x3x_auto_attach() 417 s->n_chan = nchan; in adl_pci7x3x_auto_attach() 435 s->n_chan = nchan; in adl_pci7x3x_auto_attach() 450 s->n_chan = nchan; in adl_pci7x3x_auto_attach() 470 s->n_chan = nchan; in adl_pci7x3x_auto_attach()
|
D | adv_pci1724.c | 142 s->n_chan = 32; in adv_pci1724_auto_attach() 156 s->n_chan = 32; in adv_pci1724_auto_attach() 169 s->n_chan = 32; in adv_pci1724_auto_attach()
|
D | cb_pcimdas.c | 383 s->n_chan = 16; in cb_pcimdas_auto_attach() 386 s->n_chan = 8; in cb_pcimdas_auto_attach() 397 s->n_chan = 2; in cb_pcimdas_auto_attach() 416 s->n_chan = 4; in cb_pcimdas_auto_attach() 425 s->n_chan = 4; in cb_pcimdas_auto_attach()
|
D | das08.c | 369 s->n_chan = 8; in das08_common_attach() 383 s->n_chan = 2; in das08_common_attach() 393 for (i = 0; i < s->n_chan; i++) { in das08_common_attach() 406 s->n_chan = board->di_nchan; in das08_common_attach() 420 s->n_chan = board->do_nchan; in das08_common_attach()
|
D | icp_multi.c | 267 s->n_chan = 16; in icp_multi_auto_attach() 276 s->n_chan = 4; in icp_multi_auto_attach() 289 s->n_chan = 16; in icp_multi_auto_attach() 298 s->n_chan = 8; in icp_multi_auto_attach()
|
D | mf6x4.c | 228 s->n_chan = 8; in mf6x4_auto_attach() 237 s->n_chan = 8; in mf6x4_auto_attach() 250 s->n_chan = 8; in mf6x4_auto_attach() 259 s->n_chan = 8; in mf6x4_auto_attach()
|
D | das6402.c | 278 if (aref0 == AREF_DIFF && chan > (s->n_chan / 2)) { in das6402_ai_check_chanlist() 386 if (aref == AREF_DIFF && chan > (s->n_chan / 2)) in das6402_ai_insn_read() 606 s->n_chan = 64; in das6402_attach() 613 s->len_chanlist = s->n_chan; in das6402_attach() 623 s->n_chan = 2; in das6402_attach() 637 s->n_chan = 8; in das6402_attach() 646 s->n_chan = 8; in das6402_attach()
|
D | rti800.c | 286 s->n_chan = (it->options[2] ? 16 : 8); in rti800_attach() 298 s->n_chan = 2; in rti800_attach() 322 s->n_chan = 8; in rti800_attach() 331 s->n_chan = 8; in rti800_attach()
|
D | adv_pci1723.c | 152 s->n_chan = 8; in pci1723_auto_attach() 163 for (i = 0; i < s->n_chan; i++) { in pci1723_auto_attach() 179 s->n_chan = 16; in pci1723_auto_attach()
|
D | contec_pci_dio.c | 70 s->n_chan = 16; in contec_auto_attach() 78 s->n_chan = 16; in contec_auto_attach()
|
D | pcmmio.c | 248 unsigned int chanmask = (1 << s->n_chan) - 1; in pcmmio_dio_insn_bits() 402 bits &= ((1 << s->n_chan) - 1); in pcmmio_start_intr() 705 s->n_chan = 16; in pcmmio_attach() 720 s->n_chan = 8; in pcmmio_attach() 738 s->n_chan = 24; in pcmmio_attach() 747 s->len_chanlist = s->n_chan; in pcmmio_attach() 757 s->n_chan = 24; in pcmmio_attach()
|
D | addi_apci_3501.c | 335 s->n_chan = ao_n_chan; in apci3501_auto_attach() 351 s->n_chan = 2; in apci3501_auto_attach() 360 s->n_chan = 2; in apci3501_auto_attach() 373 s->n_chan = 256; in apci3501_auto_attach()
|
/linux-6.1.9/drivers/comedi/kcomedilib/ |
D | kcomedilib_main.c | 171 unsigned int n_chan; in comedi_dio_bitfield2() local 176 n_chan = comedi_get_n_channels(dev, subdev); in comedi_dio_bitfield2() 177 if (base_channel >= n_chan) in comedi_dio_bitfield2() 193 if (n_chan <= 32) { in comedi_dio_bitfield2() 238 n = dev->subdevices[subdevice].n_chan; in comedi_get_n_channels()
|
/linux-6.1.9/drivers/comedi/ |
D | range.c | 66 if (chan >= s->n_chan) in do_rangeinfo_ioctl() 117 else if (s->range_table_list && chan < s->n_chan) in comedi_check_chanlist() 121 if (chan >= s->n_chan || in comedi_check_chanlist()
|