/drivers/staging/comedi/drivers/ |
D | pcm3730.c | 70 s->maxdata = 1; in pcm3730_attach() 79 s->maxdata = 1; in pcm3730_attach() 88 s->maxdata = 1; in pcm3730_attach() 97 s->maxdata = 1; in pcm3730_attach() 106 s->maxdata = 1; in pcm3730_attach() 115 s->maxdata = 1; in pcm3730_attach()
|
D | adl_pci9111.c | 577 unsigned int maxdata = s->maxdata; in pci9111_ai_munge() local 578 unsigned int invert = (maxdata + 1) >> 1; in pci9111_ai_munge() 579 unsigned int shift = (maxdata == 0xffff) ? 0 : 4; in pci9111_ai_munge() 584 array[i] = ((array[i] >> shift) & maxdata) ^ invert; in pci9111_ai_munge() 728 unsigned int maxdata = s->maxdata; in pci9111_ai_insn_read() local 729 unsigned int invert = (maxdata + 1) >> 1; in pci9111_ai_insn_read() 730 unsigned int shift = (maxdata == 0xffff) ? 0 : 4; in pci9111_ai_insn_read() 766 data[i] = ((data[i] >> shift) & maxdata) ^ invert; in pci9111_ai_insn_read() 892 s->maxdata = 0xffff; in pci9111_auto_attach() 905 s->maxdata = 0x0fff; in pci9111_auto_attach() [all …]
|
D | comedi_test.c | 94 unsigned int offset = s->maxdata / 2; in fake_sawtooth() 100 binary_amplitude = s->maxdata; in fake_sawtooth() 119 unsigned int offset = s->maxdata / 2; in fake_squarewave() 125 value = s->maxdata; in fake_squarewave() 139 return dev->read_subdev->maxdata / 2; in fake_flatline() 411 s->maxdata = 0xffff; in waveform_attach() 425 s->maxdata = 0xffff; in waveform_attach() 435 devpriv->ao_loopbacks[i] = s->maxdata / 2; in waveform_attach()
|
D | pcl730.c | 81 s->maxdata = 1; in pcl730_attach() 91 s->maxdata = 1; in pcl730_attach() 101 s->maxdata = 1; in pcl730_attach() 111 s->maxdata = 1; in pcl730_attach()
|
D | adl_pci8164.c | 95 s->maxdata = 0xffff; in adl_pci8164_auto_attach() 106 s->maxdata = 0xffff; in adl_pci8164_auto_attach() 117 s->maxdata = 0xffff; in adl_pci8164_auto_attach() 128 s->maxdata = 0xffff; in adl_pci8164_auto_attach()
|
D | addi_apci_3120.c | 137 s->maxdata = this_board->i_AiMaxdata; in apci3120_auto_attach() 156 s->maxdata = this_board->i_AoMaxdata; in apci3120_auto_attach() 169 s->maxdata = 1; in apci3120_auto_attach() 181 s->maxdata = this_board->i_DoMaxdata; in apci3120_auto_attach() 192 s->maxdata = 0; in apci3120_auto_attach()
|
D | das800.c | 517 if (s->maxdata == 0x0fff) { in das800_interrupt() 529 if (s->maxdata == 0x0fff) in das800_interrupt() 535 cfc_write_to_buffer(s, val & s->maxdata); in das800_interrupt() 599 if (s->maxdata == 0x0fff && range) in das800_ai_insn_read() 615 if (s->maxdata == 0x0fff) in das800_ai_insn_read() 617 data[i] = val & s->maxdata; in das800_ai_insn_read() 744 s->maxdata = (1 << thisboard->resolution) - 1; in das800_attach() 760 s->maxdata = 1; in das800_attach() 769 s->maxdata = 1; in das800_attach()
|
D | adl_pci7x3x.c | 198 s->maxdata = 1; in adl_pci7x3x_auto_attach() 213 s->maxdata = 1; in adl_pci7x3x_auto_attach() 231 s->maxdata = 1; in adl_pci7x3x_auto_attach() 246 s->maxdata = 1; in adl_pci7x3x_auto_attach()
|
D | multiq3.c | 251 s->maxdata = 0x1fff; in multiq3_attach() 261 s->maxdata = 0xfff; in multiq3_attach() 270 s->maxdata = 1; in multiq3_attach() 279 s->maxdata = 1; in multiq3_attach() 289 s->maxdata = 0xffffff; in multiq3_attach()
|
D | acl7225b.c | 94 s->maxdata = 1; in acl7225b_attach() 104 s->maxdata = 1; in acl7225b_attach() 114 s->maxdata = 1; in acl7225b_attach()
|
D | dyna_pci10xx.c | 212 s->maxdata = 0x0FFF; in dyna_pci10xx_auto_attach() 222 s->maxdata = 0x0FFF; in dyna_pci10xx_auto_attach() 232 s->maxdata = 1; in dyna_pci10xx_auto_attach() 242 s->maxdata = 1; in dyna_pci10xx_auto_attach()
|
D | das08.c | 370 data = s->maxdata / 2; /* should be about 0 volts */ in das08_ao_initialize() 489 s->maxdata = (1 << thisboard->ai_nbits) - 1; in das08_common_attach() 503 s->maxdata = (1 << thisboard->ao_nbits) - 1; in das08_common_attach() 518 s->maxdata = 1; in das08_common_attach() 532 s->maxdata = 1; in das08_common_attach() 556 s->maxdata = 0xFFFF; in das08_common_attach()
|
D | comedi_parport.c | 296 s->maxdata = 1; in parport_attach() 305 s->maxdata = 1; in parport_attach() 313 s->maxdata = 1; in parport_attach() 323 s->maxdata = 1; in parport_attach()
|
D | addi_apci_3501.c | 373 s->maxdata = 0x3fff; in apci3501_auto_attach() 385 s->maxdata = 1; in apci3501_auto_attach() 394 s->maxdata = 1; in apci3501_auto_attach() 403 s->maxdata = 0; in apci3501_auto_attach() 415 s->maxdata = 0xffff; in apci3501_auto_attach()
|
D | dt9812.c | 884 s->maxdata = 1; in dt9812_comedi_open() 888 s->maxdata = 1; in dt9812_comedi_open() 894 s->maxdata = 4095; in dt9812_comedi_open() 899 s->maxdata = 4095; in dt9812_comedi_open() 909 s->maxdata = 4095; in dt9812_comedi_open() 914 s->maxdata = 4095; in dt9812_comedi_open() 1037 s->maxdata = 1; in dt9812_attach() 1046 s->maxdata = 1; in dt9812_attach() 1055 s->maxdata = 1; in dt9812_attach() 1064 s->maxdata = 1; in dt9812_attach()
|
D | adq12b.c | 257 s->maxdata = 0xfff; in adq12b_attach() 268 s->maxdata = 1; in adq12b_attach() 277 s->maxdata = 1; in adq12b_attach()
|
D | rti800.c | 326 s->maxdata = 0x0fff; in rti800_attach() 339 s->maxdata = 0x0fff; in rti800_attach() 359 s->maxdata = 1; in rti800_attach() 368 s->maxdata = 1; in rti800_attach()
|
D | pcl725.c | 62 s->maxdata = 1; in pcl725_attach() 71 s->maxdata = 1; in pcl725_attach()
|
D | aio_iiro_16.c | 95 s->maxdata = 1; in aio_iiro_16_attach() 103 s->maxdata = 1; in aio_iiro_16_attach()
|
D | aio_aio12_8.c | 144 data[n] = inw(dev->iobase + AIO12_8_ADC_REG) & s->maxdata; in aio_aio12_8_ai_read() 224 s->maxdata = 0x0fff; in aio_aio12_8_attach() 237 s->maxdata = 0x0fff; in aio_aio12_8_attach()
|
D | adl_pci6208.c | 198 s->maxdata = 0xffff; in pci6208_auto_attach() 208 s->maxdata = 1; in pci6208_auto_attach() 217 s->maxdata = 1; in pci6208_auto_attach()
|
D | me_daq.c | 367 writew((data[0] & s->maxdata), in me_ao_insn_write() 369 dev_private->ao_readback[chan] = (data[0] & s->maxdata); in me_ao_insn_write() 546 s->maxdata = 0x0fff; in me_auto_attach() 556 s->maxdata = 0x0fff; in me_auto_attach() 569 s->maxdata = 1; in me_auto_attach()
|
D | icp_multi.c | 534 s->maxdata = 0x0fff; in icp_multi_auto_attach() 543 s->maxdata = 0x0fff; in icp_multi_auto_attach() 553 s->maxdata = 1; in icp_multi_auto_attach() 563 s->maxdata = 1; in icp_multi_auto_attach() 574 s->maxdata = 0xffff; in icp_multi_auto_attach()
|
/drivers/staging/comedi/drivers/addi-data/ |
D | addi_common.c | 190 s->maxdata = devpriv->s_EeParameters.i_AiMaxdata; in addi_auto_attach() 215 s->maxdata = devpriv->s_EeParameters.i_AoMaxdata; in addi_auto_attach() 230 s->maxdata = 1; in addi_auto_attach() 249 s->maxdata = devpriv->s_EeParameters.i_DoMaxdata; in addi_auto_attach() 270 s->maxdata = 0; in addi_auto_attach() 289 s->maxdata = 1; in addi_auto_attach() 307 s->maxdata = 0xffff; in addi_auto_attach()
|
D | hwdrv_APCI1710.c | 130 s->maxdata = 0; in i_ADDI_AttachPCI1710() 145 s->maxdata = 1; in i_ADDI_AttachPCI1710() 159 s->maxdata = 0; in i_ADDI_AttachPCI1710() 173 s->maxdata = 1; in i_ADDI_AttachPCI1710() 188 s->maxdata = 1; in i_ADDI_AttachPCI1710() 202 s->maxdata = 1; in i_ADDI_AttachPCI1710() 217 s->maxdata = 1; in i_ADDI_AttachPCI1710() 230 s->maxdata = 1; in i_ADDI_AttachPCI1710() 244 s->maxdata = 1; in i_ADDI_AttachPCI1710()
|