Home
last modified time | relevance | path

Searched refs:maxdata (Results 1 – 25 of 109) sorted by relevance

12345

/drivers/staging/comedi/drivers/
Dpcm3730.c70 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()
Dadl_pci9111.c577 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 …]
Dcomedi_test.c94 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()
Dpcl730.c81 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()
Dadl_pci8164.c95 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()
Daddi_apci_3120.c137 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()
Ddas800.c517 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()
Dadl_pci7x3x.c198 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()
Dmultiq3.c251 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()
Dacl7225b.c94 s->maxdata = 1; in acl7225b_attach()
104 s->maxdata = 1; in acl7225b_attach()
114 s->maxdata = 1; in acl7225b_attach()
Ddyna_pci10xx.c212 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()
Ddas08.c370 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()
Dcomedi_parport.c296 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()
Daddi_apci_3501.c373 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()
Ddt9812.c884 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()
Dadq12b.c257 s->maxdata = 0xfff; in adq12b_attach()
268 s->maxdata = 1; in adq12b_attach()
277 s->maxdata = 1; in adq12b_attach()
Drti800.c326 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()
Dpcl725.c62 s->maxdata = 1; in pcl725_attach()
71 s->maxdata = 1; in pcl725_attach()
Daio_iiro_16.c95 s->maxdata = 1; in aio_iiro_16_attach()
103 s->maxdata = 1; in aio_iiro_16_attach()
Daio_aio12_8.c144 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()
Dadl_pci6208.c198 s->maxdata = 0xffff; in pci6208_auto_attach()
208 s->maxdata = 1; in pci6208_auto_attach()
217 s->maxdata = 1; in pci6208_auto_attach()
Dme_daq.c367 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()
Dicp_multi.c534 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/
Daddi_common.c190 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()
Dhwdrv_APCI1710.c130 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()

12345