/drivers/staging/comedi/drivers/ |
D | comedi_test.c | 213 if (cmd->stop_src == TRIG_COUNT && async->scans_done >= cmd->stop_arg) { in waveform_ai_timer() 243 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in waveform_ai_cmdtest() 251 err |= comedi_check_trigger_is_unique(cmd->stop_src); in waveform_ai_cmdtest() 285 if (cmd->stop_src == TRIG_COUNT) in waveform_ai_cmdtest() 471 if (cmd->stop_src == TRIG_COUNT && async->scans_done >= cmd->stop_arg) { in waveform_ao_timer() 521 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in waveform_ao_cmdtest() 528 err |= comedi_check_trigger_is_unique(cmd->stop_src); in waveform_ao_cmdtest() 543 if (cmd->stop_src == TRIG_COUNT) in waveform_ao_cmdtest()
|
D | ni_labpc_common.c | 525 err |= comedi_check_trigger_src(&cmd->stop_src, stop_mask); in labpc_ai_cmdtest() 535 err |= comedi_check_trigger_is_unique(cmd->stop_src); in labpc_ai_cmdtest() 540 if (cmd->start_src == TRIG_EXT && cmd->stop_src == TRIG_EXT) in labpc_ai_cmdtest() 580 switch (cmd->stop_src) { in labpc_ai_cmdtest() 640 if (cmd->stop_src == TRIG_COUNT) in labpc_ai_cmd() 644 if (cmd->stop_src == TRIG_EXT) { in labpc_ai_cmd() 668 (cmd->stop_src != TRIG_COUNT || devpriv->count > 256)) in labpc_ai_cmd() 677 (cmd->stop_src == TRIG_EXT)); in labpc_ai_cmd() 755 if (cmd->stop_src == TRIG_EXT) in labpc_ai_cmd() 780 if (cmd->stop_src == TRIG_COUNT) { in labpc_drain_fifo() [all …]
|
D | addi_apci_2032.c | 98 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in apci2032_int_cmdtest() 104 err |= comedi_check_trigger_is_unique(cmd->stop_src); in apci2032_int_cmdtest() 118 if (cmd->stop_src == TRIG_COUNT) in apci2032_int_cmdtest() 213 if (cmd->stop_src == TRIG_COUNT && in apci2032_interrupt()
|
D | amplc_pci224.c | 491 if (cmd->stop_src == TRIG_EXT) in pci224_ao_start() 518 if (cmd->stop_src == TRIG_COUNT && in pci224_ao_handle_fifo() 560 if (cmd->stop_src == TRIG_COUNT && in pci224_ao_handle_fifo() 673 err |= comedi_check_trigger_src(&cmd->stop_src, in pci224_ao_cmdtest() 683 err |= comedi_check_trigger_is_unique(cmd->stop_src); in pci224_ao_cmdtest() 696 if (cmd->stop_src & TRIG_EXT) in pci224_ao_cmdtest() 758 switch (cmd->stop_src) { in pci224_ao_cmdtest() 969 else if (cmd->stop_src == TRIG_EXT) in pci224_interrupt()
|
D | dt2814.c | 134 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in dt2814_ai_cmdtest() 141 err |= comedi_check_trigger_is_unique(cmd->stop_src); in dt2814_ai_cmdtest() 159 if (cmd->stop_src == TRIG_COUNT) in dt2814_ai_cmdtest()
|
D | ni_at_a2150.c | 195 if (devpriv->count < num_points && cmd->stop_src == TRIG_COUNT) in a2150_interrupt() 200 if (cmd->stop_src == TRIG_NONE) { in a2150_interrupt() 220 if (cmd->stop_src == TRIG_COUNT) { in a2150_interrupt() 426 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in a2150_ai_cmdtest() 434 err |= comedi_check_trigger_is_unique(cmd->stop_src); in a2150_ai_cmdtest() 454 if (cmd->stop_src == TRIG_COUNT) in a2150_ai_cmdtest()
|
D | das16m1.c | 189 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in das16m1_cmd_test() 198 err |= comedi_check_trigger_is_unique(cmd->stop_src); in das16m1_cmd_test() 218 if (cmd->stop_src == TRIG_COUNT) in das16m1_cmd_test() 429 if (cmd->stop_src == TRIG_COUNT) { in das16m1_handler() 441 if (cmd->stop_src == TRIG_COUNT) { in das16m1_handler()
|
D | dmm32at.c | 280 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in dmm32at_ai_cmdtest() 287 err |= comedi_check_trigger_is_unique(cmd->stop_src); in dmm32at_ai_cmdtest() 313 if (cmd->stop_src == TRIG_COUNT) in dmm32at_ai_cmdtest() 390 if (cmd->stop_src == TRIG_NONE || cmd->stop_arg > 1) { in dmm32at_ai_cmd() 433 if (cmd->stop_src == TRIG_COUNT && in dmm32at_isr()
|
D | pcl711.c | 209 if (cmd->stop_src == TRIG_COUNT && in pcl711_interrupt() 294 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in pcl711_ai_cmdtest() 302 err |= comedi_check_trigger_is_unique(cmd->stop_src); in pcl711_ai_cmdtest() 325 if (cmd->stop_src == TRIG_COUNT) in pcl711_ai_cmdtest()
|
D | quatech_daqp_cs.c | 237 if (cmd->stop_src == TRIG_COUNT && in daqp_interrupt() 386 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in daqp_ai_cmdtest() 395 err |= comedi_check_trigger_is_unique(cmd->stop_src); in daqp_ai_cmdtest() 435 if (cmd->stop_src == TRIG_COUNT) in daqp_ai_cmdtest() 570 if (cmd->stop_src == TRIG_COUNT) { in daqp_ai_cmd()
|
D | gsc_hpdi.c | 173 if (cmd->stop_src == TRIG_COUNT) { in gsc_hpdi_drain_dma() 325 if (cmd->stop_src == TRIG_COUNT) in gsc_hpdi_cmd() 375 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in gsc_hpdi_cmd_test() 382 err |= comedi_check_trigger_is_unique(cmd->stop_src); in gsc_hpdi_cmd_test() 400 if (cmd->stop_src == TRIG_COUNT) in gsc_hpdi_cmd_test()
|
D | ni_labpc_isadma.c | 70 if (cmd->stop_src == TRIG_COUNT && in labpc_setup_dma() 105 if (cmd->stop_src == TRIG_COUNT) { in labpc_drain_dma()
|
D | amplc_pci230.c | 911 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in pci230_ao_cmdtest() 919 err |= comedi_check_trigger_is_unique(cmd->stop_src); in pci230_ao_cmdtest() 974 if (cmd->stop_src == TRIG_COUNT) 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() 1103 if (cmd->stop_src == TRIG_COUNT && num_scans == 0) in pci230_handle_ao_fifo() 1150 if (cmd->stop_src == TRIG_COUNT && in pci230_handle_ao_fifo() 1526 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in pci230_ai_cmdtest() 1536 err |= comedi_check_trigger_is_unique(cmd->stop_src); in pci230_ai_cmdtest() 1636 if (cmd->stop_src == TRIG_COUNT) in pci230_ai_cmdtest() [all …]
|
D | pcmuio.c | 337 if (cmd->stop_src == TRIG_COUNT && in pcmuio_handle_intr_subdev() 491 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in pcmuio_cmdtest() 499 err |= comedi_check_trigger_is_unique(cmd->stop_src); in pcmuio_cmdtest() 514 if (cmd->stop_src == TRIG_COUNT) in pcmuio_cmdtest()
|
D | cb_pcidas.c | 700 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in cb_pcidas_ai_cmdtest() 710 err |= comedi_check_trigger_is_unique(cmd->stop_src); in cb_pcidas_ai_cmdtest() 760 if (cmd->stop_src == TRIG_COUNT) in cb_pcidas_ai_cmdtest() 913 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in cb_pcidas_ao_cmdtest() 921 err |= comedi_check_trigger_is_unique(cmd->stop_src); in cb_pcidas_ao_cmdtest() 940 if (cmd->stop_src == TRIG_COUNT) in cb_pcidas_ao_cmdtest() 1127 if (cmd->stop_src == TRIG_COUNT && in cb_pcidas_ao_interrupt() 1167 if (cmd->stop_src == TRIG_COUNT && in cb_pcidas_ai_interrupt() 1186 if (cmd->stop_src == TRIG_COUNT && in cb_pcidas_ai_interrupt()
|
D | usbduxsigma.c | 238 if (cmd->stop_src == TRIG_COUNT && in usbduxsigma_ai_handle_urb() 351 if (cmd->stop_src == TRIG_COUNT && in usbduxsigma_ao_handle_urb() 493 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in usbduxsigma_ai_cmdtest() 501 err |= comedi_check_trigger_is_unique(cmd->stop_src); in usbduxsigma_ai_cmdtest() 531 if (cmd->stop_src == TRIG_COUNT) in usbduxsigma_ai_cmdtest() 856 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in usbduxsigma_ao_cmdtest() 866 err |= comedi_check_trigger_is_unique(cmd->stop_src); in usbduxsigma_ao_cmdtest() 882 if (cmd->stop_src == TRIG_COUNT) in usbduxsigma_ao_cmdtest()
|
D | das6402.c | 201 if (cmd->stop_src == TRIG_COUNT && in das6402_interrupt() 309 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in das6402_ai_cmdtest() 316 err |= comedi_check_trigger_is_unique(cmd->stop_src); in das6402_ai_cmdtest() 332 if (cmd->stop_src == TRIG_COUNT) in das6402_ai_cmdtest()
|
D | pcl818.c | 448 if (cmd->stop_src == TRIG_COUNT && in pcl818_ai_write_sample() 646 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in ai_cmdtest() 654 err |= comedi_check_trigger_is_unique(cmd->stop_src); in ai_cmdtest() 676 if (cmd->stop_src == TRIG_COUNT) in ai_cmdtest() 769 if (cmd->stop_src == TRIG_NONE || in pcl818_ai_cancel() 770 (cmd->stop_src == TRIG_COUNT && in pcl818_ai_cancel()
|
D | das800.c | 316 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in das800_ai_do_cmdtest() 325 err |= comedi_check_trigger_is_unique(cmd->stop_src); in das800_ai_do_cmdtest() 345 if (cmd->stop_src == TRIG_COUNT) in das800_ai_do_cmdtest() 486 if (cmd->stop_src == TRIG_COUNT && in das800_interrupt()
|
D | das1800.c | 495 if (cmd->stop_src == TRIG_COUNT && in das1800_handle_fifo_not_empty() 627 } else if (cmd->stop_src == TRIG_COUNT && in das1800_ai_handler() 743 err |= comedi_check_trigger_src(&cmd->stop_src, in das1800_ai_do_cmdtest() 754 err |= comedi_check_trigger_is_unique(cmd->stop_src); in das1800_ai_do_cmdtest() 778 switch (cmd->stop_src) { in das1800_ai_do_cmdtest() 838 if (cmd->stop_src == TRIG_EXT) in control_a_bits() 1031 if (cmd->stop_src == TRIG_EXT) in das1800_ai_do_cmd()
|
D | usbdux.c | 276 if (cmd->stop_src == TRIG_COUNT && in usbduxsub_ai_handle_urb() 391 if (cmd->stop_src == TRIG_COUNT && in usbduxsub_ao_handle_urb() 528 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in usbdux_ai_cmdtest() 536 err |= comedi_check_trigger_is_unique(cmd->stop_src); in usbdux_ai_cmdtest() 581 if (cmd->stop_src == TRIG_COUNT) in usbdux_ai_cmdtest() 912 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in usbdux_ao_cmdtest() 920 err |= comedi_check_trigger_is_unique(cmd->stop_src); in usbdux_ao_cmdtest() 946 if (cmd->stop_src == TRIG_COUNT) in usbdux_ao_cmdtest()
|
D | addi_apci_3120.c | 225 if (cmd->stop_src == TRIG_COUNT) { 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() 615 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in apci3120_ai_cmdtest() 624 err |= comedi_check_trigger_is_unique(cmd->stop_src); in apci3120_ai_cmdtest() 647 if (cmd->stop_src == TRIG_COUNT) in apci3120_ai_cmdtest()
|
D | pcl816.c | 214 if (cmd->stop_src == TRIG_COUNT && in pcl816_ai_next_chan() 346 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in pcl816_ai_cmdtest() 354 err |= comedi_check_trigger_is_unique(cmd->stop_src); in pcl816_ai_cmdtest() 374 if (cmd->stop_src == TRIG_COUNT) in pcl816_ai_cmdtest()
|
D | pcmmio.c | 358 if (cmd->stop_src == TRIG_COUNT && in pcmmio_handle_dio_intr() 488 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in pcmmio_cmdtest() 496 err |= comedi_check_trigger_is_unique(cmd->stop_src); in pcmmio_cmdtest() 511 if (cmd->stop_src == TRIG_COUNT) in pcmmio_cmdtest()
|
/drivers/staging/comedi/ |
D | comedi_compat32.c | 67 unsigned int stop_src; member 200 err |= __get_user(temp.uint, &cmd32->stop_src); in get_compat_cmd() 201 err |= __put_user(temp.uint, &cmd->stop_src); in get_compat_cmd() 254 err |= __get_user(temp, &cmd->stop_src); in put_compat_cmd() 255 err |= __put_user(temp, &cmd32->stop_src); in put_compat_cmd()
|