/drivers/staging/comedi/drivers/ |
D | addi_apci_16xx.c | 50 int n_chan; member 56 .n_chan = 48, /* 2 subdevices */ 60 .n_chan = 96, /* 3 subdevices */ 156 n_subdevs = board->n_chan / 32; in apci16xx_auto_attach() 157 if ((n_subdevs * 32) < board->n_chan) { in apci16xx_auto_attach() 158 last = board->n_chan - (n_subdevs * 32); in apci16xx_auto_attach() 173 s->n_chan = ((i * 32) < board->n_chan) ? 32 : last; in apci16xx_auto_attach()
|
D | pcm3730.c | 71 s->n_chan = 8; in pcm3730_attach() 80 s->n_chan = 8; in pcm3730_attach() 89 s->n_chan = 8; in pcm3730_attach() 98 s->n_chan = 8; in pcm3730_attach() 107 s->n_chan = 8; in pcm3730_attach() 116 s->n_chan = 8; in pcm3730_attach()
|
D | icp_multi.c | 133 unsigned int *chanlist, unsigned int n_chan) in setup_channel_list() argument 139 devpriv->act_chanlist_len = n_chan; in setup_channel_list() 142 for (i = 0; i < n_chan; i++) { in setup_channel_list() 429 unsigned int *chanlist, unsigned int n_chan) 434 if (n_chan < 1) { 439 for (i = 0; i < n_chan; i++) { 448 if (CR_CHAN(chanlist[i]) > s->n_chan) { 533 s->n_chan = 16; in icp_multi_auto_attach() 542 s->n_chan = 4; in icp_multi_auto_attach() 552 s->n_chan = 16; in icp_multi_auto_attach() [all …]
|
D | poc.c | 49 int n_chan; member 160 s->n_chan = board->n_chan; in poc_attach() 178 .n_chan = 2, 187 .n_chan = 32, 195 .n_chan = 32,
|
D | addi_apci_3120.c | 131 s->n_chan = this_board->i_NbrAiChannel; in apci3120_auto_attach() 134 s->n_chan = this_board->i_NbrAiChannelDiff; in apci3120_auto_attach() 155 s->n_chan = this_board->i_NbrAoChannel; in apci3120_auto_attach() 168 s->n_chan = this_board->i_NbrDiChannel; in apci3120_auto_attach() 180 s->n_chan = this_board->i_NbrDoChannel; in apci3120_auto_attach() 191 s->n_chan = 1; in apci3120_auto_attach()
|
D | pcl730.c | 82 s->n_chan = 16; in pcl730_attach() 92 s->n_chan = 16; in pcl730_attach() 102 s->n_chan = 16; in pcl730_attach() 112 s->n_chan = 16; in pcl730_attach()
|
D | multiq3.c | 211 for (chan = 0; chan < s->n_chan; chan++) { in encoder_reset() 249 s->n_chan = 8; in multiq3_attach() 258 s->n_chan = 8; in multiq3_attach() 268 s->n_chan = 16; in multiq3_attach() 277 s->n_chan = 16; in multiq3_attach() 287 s->n_chan = it->options[2] * 2; in multiq3_attach()
|
D | adl_pci8164.c | 94 s->n_chan = 4; in adl_pci8164_auto_attach() 105 s->n_chan = 4; in adl_pci8164_auto_attach() 116 s->n_chan = 4; in adl_pci8164_auto_attach() 127 s->n_chan = 4; in adl_pci8164_auto_attach()
|
D | pcl818.c | 309 unsigned int *chanlist, unsigned int n_chan, 313 unsigned int *chanlist, unsigned int n_chan); 891 unsigned int *chanlist, unsigned int n_chan) in check_channel_list() argument 897 if (n_chan < 1) { in check_channel_list() 902 if (n_chan > 1) { in check_channel_list() 906 for (i = 1, seglen = 1; i < n_chan; i++, seglen++) { in check_channel_list() 916 (CR_CHAN(chansegment[i - 1]) + 1) % s->n_chan; in check_channel_list() 929 for (i = 0, segpos = 0; i < n_chan; i++) { in check_channel_list() 952 unsigned int *chanlist, unsigned int n_chan, in setup_channel_list() argument 1331 s->n_chan = board->n_aichan_se; in pcl818_attach() [all …]
|
D | adq12b.c | 246 s->n_chan = 8; in adq12b_attach() 249 s->n_chan = 16; in adq12b_attach() 267 s->n_chan = 5; in adq12b_attach() 276 s->n_chan = 8; in adq12b_attach()
|
D | cb_pcimdas.c | 116 maxchans = s->n_chan / 2; in cb_pcimdas_ai_rinsn() 118 maxchans = s->n_chan; in cb_pcimdas_ai_rinsn() 249 s->n_chan = 16; in cb_pcimdas_auto_attach() 260 s->n_chan = 2; in cb_pcimdas_auto_attach()
|
D | adl_pci7x3x.c | 197 s->n_chan = nchan; in adl_pci7x3x_auto_attach() 212 s->n_chan = nchan; in adl_pci7x3x_auto_attach() 230 s->n_chan = nchan; in adl_pci7x3x_auto_attach() 245 s->n_chan = nchan; in adl_pci7x3x_auto_attach()
|
D | acl7225b.c | 95 s->n_chan = 16; in acl7225b_attach() 105 s->n_chan = 16; in acl7225b_attach() 115 s->n_chan = 16; in acl7225b_attach()
|
D | dyna_pci10xx.c | 211 s->n_chan = 16; in dyna_pci10xx_auto_attach() 221 s->n_chan = 16; in dyna_pci10xx_auto_attach() 231 s->n_chan = 16; in dyna_pci10xx_auto_attach() 241 s->n_chan = 16; in dyna_pci10xx_auto_attach()
|
D | adv_pci1710.c | 340 unsigned int *chanlist, unsigned int n_chan) in check_channel_list() argument 346 if (n_chan < 1) { in check_channel_list() 351 if (n_chan == 1) in check_channel_list() 355 for (i = 1, seglen = 1; i < n_chan; i++, seglen++) { in check_channel_list() 363 nowmustbechan = (CR_CHAN(chansegment[i - 1]) + 1) % s->n_chan; in check_channel_list() 365 nowmustbechan = (nowmustbechan + 1) % s->n_chan; in check_channel_list() 375 for (i = 0, segpos = 0; i < n_chan; i++) { in check_channel_list() 392 unsigned int *chanlist, unsigned int n_chan, in setup_channel_list() argument 415 for ( ; i < n_chan; i++) { /* store remainder of channel list */ in setup_channel_list() 1280 s->n_chan = this_board->n_aichan; in pci1710_auto_attach() [all …]
|
D | das08.c | 371 for (n = 0; n < s->n_chan; n++) in das08_ao_initialize() 488 s->n_chan = 8; in das08_common_attach() 502 s->n_chan = 2; in das08_common_attach() 517 s->n_chan = thisboard->di_nchan; in das08_common_attach() 531 s->n_chan = thisboard->do_nchan; in das08_common_attach() 555 s->n_chan = 3; in das08_common_attach()
|
D | comedi_parport.c | 295 s->n_chan = 8; in parport_attach() 304 s->n_chan = 5; in parport_attach() 312 s->n_chan = 4; in parport_attach() 322 s->n_chan = 1; in parport_attach()
|
D | addi_apci_3501.c | 372 s->n_chan = ao_n_chan; in apci3501_auto_attach() 384 s->n_chan = 2; in apci3501_auto_attach() 393 s->n_chan = 2; in apci3501_auto_attach() 402 s->n_chan = 1; in apci3501_auto_attach() 414 s->n_chan = 256; in apci3501_auto_attach()
|
D | dt2801.c | 642 s->n_chan = n_ai_chans; in dt2801_attach() 645 s->n_chan = board->ad_chan; in dt2801_attach() 647 s->n_chan = board->ad_chan / 2; in dt2801_attach() 657 s->n_chan = 2; in dt2801_attach() 669 s->n_chan = 8; in dt2801_attach() 679 s->n_chan = 8; in dt2801_attach()
|
D | serial2002.c | 364 s->n_chan = chan; in serial2002_setup_subdevice() 367 maxdata_list = kmalloc(sizeof(unsigned int) * s->n_chan, GFP_KERNEL); in serial2002_setup_subdevice() 379 s->n_chan, GFP_KERNEL); in serial2002_setup_subdevice() 743 s->n_chan = 0; in serial2002_attach() 752 s->n_chan = 0; in serial2002_attach() 761 s->n_chan = 0; in serial2002_attach() 770 s->n_chan = 0; in serial2002_attach() 780 s->n_chan = 0; in serial2002_attach()
|
D | pcmmio.c | 263 for (byte_no = 0; byte_no < s->n_chan / CHANS_PER_PORT; ++byte_no) { in pcmmio_dio_insn_bits() 960 if (chan < s->n_chan) in ao_rinsn() 993 if (chan < s->n_chan) { in ao_winsn() 1086 s->n_chan = 16; in pcmmio_attach() 1087 s->len_chanlist = s->n_chan; in pcmmio_attach() 1101 s->n_chan = 8; in pcmmio_attach() 1102 s->len_chanlist = s->n_chan; in pcmmio_attach() 1123 s->n_chan = min(chans_left, MAX_CHANS_PER_SUBDEV); in pcmmio_attach() 1155 s->n_chan - subpriv->dio.intr.first_chan; in pcmmio_attach() 1166 chans_left -= s->n_chan; in pcmmio_attach()
|
D | comedi_test.c | 410 s->n_chan = N_CHANS; in waveform_attach() 413 s->len_chanlist = s->n_chan * 2; in waveform_attach() 424 s->n_chan = N_CHANS; in waveform_attach() 427 s->len_chanlist = s->n_chan * 2; in waveform_attach() 434 for (i = 0; i < s->n_chan; i++) in waveform_attach()
|
/drivers/staging/comedi/drivers/addi-data/ |
D | addi_common.c | 183 s->n_chan = in addi_auto_attach() 187 s->n_chan = this_board->i_NbrAiChannelDiff; in addi_auto_attach() 214 s->n_chan = devpriv->s_EeParameters.i_NbrAoChannel; in addi_auto_attach() 229 s->n_chan = devpriv->s_EeParameters.i_NbrDiChannel; in addi_auto_attach() 248 s->n_chan = devpriv->s_EeParameters.i_NbrDoChannel; in addi_auto_attach() 269 s->n_chan = 1; in addi_auto_attach() 288 s->n_chan = this_board->i_NbrTTLChannel; in addi_auto_attach() 306 s->n_chan = 256; in addi_auto_attach()
|
D | hwdrv_APCI1710.c | 129 s->n_chan = 3; in i_ADDI_AttachPCI1710() 144 s->n_chan = 7; in i_ADDI_AttachPCI1710() 158 s->n_chan = 4; in i_ADDI_AttachPCI1710() 172 s->n_chan = 3; in i_ADDI_AttachPCI1710() 187 s->n_chan = 8; in i_ADDI_AttachPCI1710() 201 s->n_chan = 8; in i_ADDI_AttachPCI1710() 216 s->n_chan = 4; in i_ADDI_AttachPCI1710() 229 s->n_chan = 4; in i_ADDI_AttachPCI1710() 243 s->n_chan = 500; in i_ADDI_AttachPCI1710()
|
/drivers/staging/comedi/ |
D | range.c | 83 if (chan >= s->n_chan) in do_rangeinfo_ioctl() 148 if (CR_CHAN(chanlist[i]) >= s->n_chan || in comedi_check_chanlist() 153 i, chanlist[i], s->n_chan, in comedi_check_chanlist() 160 if (chan >= s->n_chan || in comedi_check_chanlist()
|