/drivers/staging/comedi/drivers/ |
D | amplc_pci224.c | 519 s->async->scans_done >= cmd->stop_arg) { in pci224_ao_handle_fifo() 561 s->async->scans_done >= cmd->stop_arg) { in pci224_ao_handle_fifo() 760 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in pci224_ao_cmdtest() 764 if (cmd->stop_arg & ~CR_FLAGS_MASK) { in pci224_ao_cmdtest() 765 cmd->stop_arg = in pci224_ao_cmdtest() 766 COMBINE(cmd->stop_arg, 0, ~CR_FLAGS_MASK); in pci224_ao_cmdtest() 770 if (cmd->stop_arg & CR_FLAGS_MASK & ~CR_EDGE) { in pci224_ao_cmdtest() 771 cmd->stop_arg = in pci224_ao_cmdtest() 772 COMBINE(cmd->stop_arg, 0, CR_FLAGS_MASK & ~CR_EDGE); in pci224_ao_cmdtest() 776 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in pci224_ao_cmdtest()
|
D | dt2814.c | 160 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 2); in dt2814_ai_cmdtest() 162 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in dt2814_ai_cmdtest() 190 devpriv->ntrig = cmd->stop_arg; in dt2814_ai_cmd()
|
D | comedi_test.c | 213 if (cmd->stop_src == TRIG_COUNT && async->scans_done >= cmd->stop_arg) { in waveform_ai_timer() 286 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in waveform_ai_cmdtest() 288 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in waveform_ai_cmdtest() 471 if (cmd->stop_src == TRIG_COUNT && async->scans_done >= cmd->stop_arg) { in waveform_ao_timer() 544 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in waveform_ao_cmdtest() 546 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in waveform_ao_cmdtest()
|
D | das16m1.c | 219 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in das16m1_cmd_test() 221 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in das16m1_cmd_test() 430 if (num_samples > cmd->stop_arg * cmd->chanlist_len) in das16m1_handler() 431 num_samples = cmd->stop_arg * cmd->chanlist_len; in das16m1_handler() 442 if (devpriv->adc_count >= cmd->stop_arg * cmd->chanlist_len) { in das16m1_handler()
|
D | addi_apci_3120.c | 230 if (dmalen0 > (cmd->stop_arg * scan_bytes)) in apci3120_setup_dma() 231 dmalen0 = cmd->stop_arg * scan_bytes; in apci3120_setup_dma() 232 else if (dmalen1 > (cmd->stop_arg * scan_bytes - dmalen0)) in apci3120_setup_dma() 233 dmalen1 = cmd->stop_arg * scan_bytes - dmalen0; in apci3120_setup_dma() 464 (cmd->stop_src == TRIG_COUNT && async->scans_done >= cmd->stop_arg)) in apci3120_interrupt_dma() 537 if (cmd->stop_src == TRIG_COUNT && async->scans_done >= cmd->stop_arg) in apci3120_interrupt() 648 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in apci3120_ai_cmdtest() 650 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in apci3120_ai_cmdtest()
|
D | addi_apci_2032.c | 119 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in apci2032_int_cmdtest() 121 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in apci2032_int_cmdtest() 214 s->async->scans_done >= cmd->stop_arg) in apci2032_interrupt()
|
D | dmm32at.c | 314 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in dmm32at_ai_cmdtest() 316 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in dmm32at_ai_cmdtest() 390 if (cmd->stop_src == TRIG_NONE || cmd->stop_arg > 1) { in dmm32at_ai_cmd() 434 s->async->scans_done >= cmd->stop_arg) in dmm32at_isr()
|
D | quatech_daqp_cs.c | 238 s->async->scans_done >= cmd->stop_arg) { in daqp_interrupt() 436 err |= comedi_check_trigger_arg_max(&cmd->stop_arg, 0x00ffffff); in daqp_ai_cmdtest() 438 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in daqp_ai_cmdtest() 574 nsamples = (unsigned long long)cmd->stop_arg * in daqp_ai_cmd()
|
D | pcl711.c | 210 s->async->scans_done >= cmd->stop_arg) in pcl711_interrupt() 326 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in pcl711_ai_cmdtest() 328 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in pcl711_ai_cmdtest()
|
D | dt282x.c | 700 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in dt282x_ai_cmdtest() 702 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in dt282x_ai_cmdtest() 741 devpriv->ntrig = cmd->stop_arg * cmd->scan_end_arg; in dt282x_ai_cmd() 863 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in dt282x_ao_cmdtest() 865 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in dt282x_ao_cmdtest() 922 devpriv->ntrig = cmd->stop_arg * cmd->chanlist_len; in dt282x_ao_cmd()
|
D | pcl818.c | 449 s->async->scans_done >= cmd->stop_arg) { in pcl818_ai_write_sample() 552 s->async->scans_done = cmd->stop_arg; in pcl818_interrupt() 677 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in ai_cmdtest() 679 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in ai_cmdtest() 771 s->async->scans_done < cmd->stop_arg)) { in pcl818_ai_cancel()
|
D | cb_pcidas.c | 761 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in cb_pcidas_ai_cmdtest() 763 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in cb_pcidas_ai_cmdtest() 941 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in cb_pcidas_ao_cmdtest() 943 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in cb_pcidas_ao_cmdtest() 1128 async->scans_done >= cmd->stop_arg) { in cb_pcidas_ao_interrupt() 1168 async->scans_done >= cmd->stop_arg) in cb_pcidas_ai_interrupt() 1187 async->scans_done >= cmd->stop_arg) { in cb_pcidas_ai_interrupt()
|
D | pcmuio.c | 338 s->async->scans_done >= cmd->stop_arg) in pcmuio_handle_intr_subdev() 515 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in pcmuio_cmdtest() 517 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in pcmuio_cmdtest()
|
D | amplc_pci230.c | 975 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in pci230_ao_cmdtest() 977 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in pci230_ao_cmdtest() 1066 if (cmd->stop_src == TRIG_COUNT && async->scans_done >= cmd->stop_arg) in pci230_handle_ao_nofifo() 1080 if (cmd->stop_src == TRIG_COUNT && async->scans_done >= cmd->stop_arg) in pci230_handle_ao_nofifo() 1151 async->scans_done >= cmd->stop_arg) { in pci230_handle_ao_fifo() 1637 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in pci230_ai_cmdtest() 1639 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in pci230_ai_cmdtest() 2061 async->scans_done >= cmd->stop_arg) { in pci230_handle_ai()
|
D | usbduxsigma.c | 239 async->scans_done >= cmd->stop_arg) in usbduxsigma_ai_handle_urb() 352 async->scans_done >= cmd->stop_arg) { in usbduxsigma_ao_handle_urb() 532 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in usbduxsigma_ai_cmdtest() 534 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in usbduxsigma_ai_cmdtest() 883 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in usbduxsigma_ao_cmdtest() 885 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in usbduxsigma_ao_cmdtest()
|
D | das6402.c | 202 async->scans_done >= cmd->stop_arg) in das6402_interrupt() 333 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in das6402_ai_cmdtest() 335 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in das6402_ai_cmdtest()
|
D | das800.c | 346 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in das800_ai_do_cmdtest() 348 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in das800_ai_do_cmdtest() 487 async->scans_done >= cmd->stop_arg) { in das800_interrupt()
|
D | usbdux.c | 277 async->scans_done >= cmd->stop_arg) in usbduxsub_ai_handle_urb() 392 async->scans_done >= cmd->stop_arg) { in usbduxsub_ao_handle_urb() 582 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in usbdux_ai_cmdtest() 584 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in usbdux_ai_cmdtest() 947 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in usbdux_ao_cmdtest() 949 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in usbdux_ao_cmdtest()
|
D | gsc_hpdi.c | 326 devpriv->dio_count = cmd->stop_arg; in gsc_hpdi_cmd() 401 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in gsc_hpdi_cmd_test() 403 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in gsc_hpdi_cmd_test()
|
D | pcl816.c | 215 s->async->scans_done >= cmd->stop_arg) { in pcl816_ai_next_chan() 375 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in pcl816_ai_cmdtest() 377 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in pcl816_ai_cmdtest()
|
D | ni_at_a2150.c | 455 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in a2150_ai_cmdtest() 457 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in a2150_ai_cmdtest() 523 devpriv->count = cmd->stop_arg * cmd->chanlist_len; in a2150_ai_cmd()
|
D | pcmmio.c | 359 s->async->scans_done >= cmd->stop_arg) in pcmmio_handle_dio_intr() 512 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in pcmmio_cmdtest() 514 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in pcmmio_cmdtest()
|
D | adl_pci9111.c | 304 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in pci9111_ai_do_cmd_test() 306 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in pci9111_ai_do_cmd_test() 513 if (cmd->stop_src == TRIG_COUNT && async->scans_done >= cmd->stop_arg) in pci9111_interrupt()
|
D | usbduxfast.c | 251 async->scans_done >= cmd->stop_arg) in usbduxfast_ai_handle_urb() 425 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in usbduxfast_ai_cmdtest() 427 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in usbduxfast_ai_cmdtest()
|
/drivers/staging/comedi/ |
D | comedi_compat32.c | 68 unsigned int stop_arg; member 202 err |= __get_user(temp.uint, &cmd32->stop_arg); in get_compat_cmd() 203 err |= __put_user(temp.uint, &cmd->stop_arg); in get_compat_cmd() 256 err |= __get_user(temp, &cmd->stop_arg); in put_compat_cmd() 257 err |= __put_user(temp, &cmd32->stop_arg); in put_compat_cmd()
|