/Linux-v5.4/drivers/staging/comedi/drivers/ |
D | comedi_test.c | 232 if (cmd->stop_src == TRIG_COUNT && async->scans_done >= cmd->stop_arg) { in waveform_ai_timer() 262 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in waveform_ai_cmdtest() 270 err |= comedi_check_trigger_is_unique(cmd->stop_src); in waveform_ai_cmdtest() 304 if (cmd->stop_src == TRIG_COUNT) in waveform_ai_cmdtest() 490 if (cmd->stop_src == TRIG_COUNT && async->scans_done >= cmd->stop_arg) { in waveform_ao_timer() 540 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in waveform_ao_cmdtest() 547 err |= comedi_check_trigger_is_unique(cmd->stop_src); in waveform_ao_cmdtest() 562 if (cmd->stop_src == TRIG_COUNT) in waveform_ao_cmdtest()
|
D | addi_apci_2032.c | 89 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in apci2032_int_cmdtest() 95 err |= comedi_check_trigger_is_unique(cmd->stop_src); in apci2032_int_cmdtest() 109 if (cmd->stop_src == TRIG_COUNT) in apci2032_int_cmdtest() 204 if (cmd->stop_src == TRIG_COUNT && in apci2032_interrupt()
|
D | ni_labpc_common.c | 518 err |= comedi_check_trigger_src(&cmd->stop_src, stop_mask); in labpc_ai_cmdtest() 528 err |= comedi_check_trigger_is_unique(cmd->stop_src); in labpc_ai_cmdtest() 533 if (cmd->start_src == TRIG_EXT && cmd->stop_src == TRIG_EXT) in labpc_ai_cmdtest() 573 switch (cmd->stop_src) { in labpc_ai_cmdtest() 633 if (cmd->stop_src == TRIG_COUNT) in labpc_ai_cmd() 637 if (cmd->stop_src == TRIG_EXT) { in labpc_ai_cmd() 660 (cmd->stop_src != TRIG_COUNT || devpriv->count > 256)) { in labpc_ai_cmd() 675 (cmd->stop_src == TRIG_EXT)); in labpc_ai_cmd() 757 if (cmd->stop_src == TRIG_EXT) in labpc_ai_cmd() 782 if (cmd->stop_src == TRIG_COUNT) { in labpc_drain_fifo() [all …]
|
D | dt2814.c | 125 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in dt2814_ai_cmdtest() 132 err |= comedi_check_trigger_is_unique(cmd->stop_src); in dt2814_ai_cmdtest() 150 if (cmd->stop_src == TRIG_COUNT) in dt2814_ai_cmdtest()
|
D | amplc_pci224.c | 493 if (cmd->stop_src == TRIG_EXT) in pci224_ao_start() 520 if (cmd->stop_src == TRIG_COUNT && in pci224_ao_handle_fifo() 562 if (cmd->stop_src == TRIG_COUNT && in pci224_ao_handle_fifo() 675 err |= comedi_check_trigger_src(&cmd->stop_src, in pci224_ao_cmdtest() 685 err |= comedi_check_trigger_is_unique(cmd->stop_src); in pci224_ao_cmdtest() 698 if (cmd->stop_src & TRIG_EXT) in pci224_ao_cmdtest() 760 switch (cmd->stop_src) { in pci224_ao_cmdtest() 973 else if (cmd->stop_src == TRIG_EXT) in pci224_interrupt()
|
D | ni_at_a2150.c | 175 if (devpriv->count < num_points && cmd->stop_src == TRIG_COUNT) in a2150_interrupt() 180 if (cmd->stop_src == TRIG_NONE) { in a2150_interrupt() 201 if (cmd->stop_src == TRIG_COUNT) { in a2150_interrupt() 407 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in a2150_ai_cmdtest() 415 err |= comedi_check_trigger_is_unique(cmd->stop_src); in a2150_ai_cmdtest() 435 if (cmd->stop_src == TRIG_COUNT) in a2150_ai_cmdtest()
|
D | das16m1.c | 180 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in das16m1_ai_cmdtest() 189 err |= comedi_check_trigger_is_unique(cmd->stop_src); in das16m1_ai_cmdtest() 209 if (cmd->stop_src == TRIG_COUNT) in das16m1_ai_cmdtest() 406 if (cmd->stop_src == TRIG_COUNT) { in das16m1_handler() 417 if (cmd->stop_src == TRIG_COUNT) { in das16m1_handler()
|
D | dmm32at.c | 273 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in dmm32at_ai_cmdtest() 280 err |= comedi_check_trigger_is_unique(cmd->stop_src); in dmm32at_ai_cmdtest() 306 if (cmd->stop_src == TRIG_COUNT) in dmm32at_ai_cmdtest() 383 if (cmd->stop_src == TRIG_NONE || cmd->stop_arg > 1) { in dmm32at_ai_cmd() 426 if (cmd->stop_src == TRIG_COUNT && in dmm32at_isr()
|
D | ni_labpc_isadma.c | 61 if (cmd->stop_src == TRIG_COUNT && in labpc_setup_dma() 96 if (cmd->stop_src == TRIG_COUNT) { in labpc_drain_dma()
|
D | pcl711.c | 200 if (cmd->stop_src == TRIG_COUNT && in pcl711_interrupt() 285 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in pcl711_ai_cmdtest() 293 err |= comedi_check_trigger_is_unique(cmd->stop_src); in pcl711_ai_cmdtest() 316 if (cmd->stop_src == TRIG_COUNT) in pcl711_ai_cmdtest()
|
D | dt2811.c | 220 if (cmd->stop_src == TRIG_COUNT && async->scans_done >= cmd->stop_arg) in dt2811_interrupt() 405 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in dt2811_ai_cmdtest() 414 err |= comedi_check_trigger_is_unique(cmd->stop_src); in dt2811_ai_cmdtest() 432 if (cmd->stop_src == TRIG_COUNT) in dt2811_ai_cmdtest()
|
D | gsc_hpdi.c | 161 if (cmd->stop_src == TRIG_COUNT) { in gsc_hpdi_drain_dma() 314 if (cmd->stop_src == TRIG_COUNT) in gsc_hpdi_cmd() 364 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in gsc_hpdi_cmd_test() 371 err |= comedi_check_trigger_is_unique(cmd->stop_src); in gsc_hpdi_cmd_test() 389 if (cmd->stop_src == TRIG_COUNT) in gsc_hpdi_cmd_test()
|
D | quatech_daqp_cs.c | 238 if (cmd->stop_src == TRIG_COUNT && in daqp_interrupt() 387 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in daqp_ai_cmdtest() 396 err |= comedi_check_trigger_is_unique(cmd->stop_src); in daqp_ai_cmdtest() 436 if (cmd->stop_src == TRIG_COUNT) in daqp_ai_cmdtest() 571 if (cmd->stop_src == TRIG_COUNT) { in daqp_ai_cmd()
|
D | das1800.c | 359 if (cmd->stop_src == TRIG_COUNT && in das1800_handle_fifo_not_empty() 486 } else if (cmd->stop_src == TRIG_COUNT && in das1800_ai_handler() 649 err |= comedi_check_trigger_src(&cmd->stop_src, in das1800_ai_cmdtest() 660 err |= comedi_check_trigger_is_unique(cmd->stop_src); in das1800_ai_cmdtest() 670 if (cmd->start_src == TRIG_EXT && cmd->stop_src == TRIG_EXT) in das1800_ai_cmdtest() 691 switch (cmd->stop_src) { in das1800_ai_cmdtest() 866 if (cmd->stop_src == TRIG_EXT) in das1800_ai_cmd() 907 if (cmd->stop_src == TRIG_EXT) in das1800_ai_cmd()
|
D | pcmuio.c | 328 if (cmd->stop_src == TRIG_COUNT && in pcmuio_handle_intr_subdev() 482 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in pcmuio_cmdtest() 490 err |= comedi_check_trigger_is_unique(cmd->stop_src); in pcmuio_cmdtest() 505 if (cmd->stop_src == TRIG_COUNT) in pcmuio_cmdtest()
|
D | cb_pcidas.c | 691 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in cb_pcidas_ai_cmdtest() 701 err |= comedi_check_trigger_is_unique(cmd->stop_src); in cb_pcidas_ai_cmdtest() 751 if (cmd->stop_src == TRIG_COUNT) in cb_pcidas_ai_cmdtest() 904 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in cb_pcidas_ao_cmdtest() 912 err |= comedi_check_trigger_is_unique(cmd->stop_src); in cb_pcidas_ao_cmdtest() 931 if (cmd->stop_src == TRIG_COUNT) in cb_pcidas_ao_cmdtest() 1118 if (cmd->stop_src == TRIG_COUNT && in cb_pcidas_ao_interrupt() 1158 if (cmd->stop_src == TRIG_COUNT && in cb_pcidas_ai_interrupt() 1177 if (cmd->stop_src == TRIG_COUNT && in cb_pcidas_ai_interrupt()
|
D | usbduxsigma.c | 229 if (cmd->stop_src == TRIG_COUNT && in usbduxsigma_ai_handle_urb() 342 if (cmd->stop_src == TRIG_COUNT && in usbduxsigma_ao_handle_urb() 484 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in usbduxsigma_ai_cmdtest() 492 err |= comedi_check_trigger_is_unique(cmd->stop_src); in usbduxsigma_ai_cmdtest() 522 if (cmd->stop_src == TRIG_COUNT) in usbduxsigma_ai_cmdtest() 847 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in usbduxsigma_ao_cmdtest() 857 err |= comedi_check_trigger_is_unique(cmd->stop_src); in usbduxsigma_ao_cmdtest() 873 if (cmd->stop_src == TRIG_COUNT) in usbduxsigma_ao_cmdtest()
|
D | pcl818.c | 449 if (cmd->stop_src == TRIG_COUNT && in pcl818_ai_write_sample() 647 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in ai_cmdtest() 655 err |= comedi_check_trigger_is_unique(cmd->stop_src); in ai_cmdtest() 677 if (cmd->stop_src == TRIG_COUNT) in ai_cmdtest() 770 if (cmd->stop_src == TRIG_NONE || in pcl818_ai_cancel() 771 (cmd->stop_src == TRIG_COUNT && in pcl818_ai_cancel()
|
D | das6402.c | 194 if (cmd->stop_src == TRIG_COUNT && in das6402_interrupt() 302 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in das6402_ai_cmdtest() 309 err |= comedi_check_trigger_is_unique(cmd->stop_src); in das6402_ai_cmdtest() 325 if (cmd->stop_src == TRIG_COUNT) in das6402_ai_cmdtest()
|
D | das800.c | 307 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in das800_ai_do_cmdtest() 316 err |= comedi_check_trigger_is_unique(cmd->stop_src); in das800_ai_do_cmdtest() 336 if (cmd->stop_src == TRIG_COUNT) in das800_ai_do_cmdtest() 477 if (cmd->stop_src == TRIG_COUNT && in das800_interrupt()
|
D | amplc_pci230.c | 915 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in pci230_ao_cmdtest() 923 err |= comedi_check_trigger_is_unique(cmd->stop_src); in pci230_ao_cmdtest() 978 if (cmd->stop_src == TRIG_COUNT) in pci230_ao_cmdtest() 1070 if (cmd->stop_src == TRIG_COUNT && async->scans_done >= cmd->stop_arg) in pci230_handle_ao_nofifo() 1084 if (cmd->stop_src == TRIG_COUNT && async->scans_done >= cmd->stop_arg) in pci230_handle_ao_nofifo() 1107 if (cmd->stop_src == TRIG_COUNT && num_scans == 0) in pci230_handle_ao_fifo() 1154 if (cmd->stop_src == TRIG_COUNT && in pci230_handle_ao_fifo() 1532 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in pci230_ai_cmdtest() 1542 err |= comedi_check_trigger_is_unique(cmd->stop_src); in pci230_ai_cmdtest() 1642 if (cmd->stop_src == TRIG_COUNT) in pci230_ai_cmdtest() [all …]
|
D | pcl816.c | 215 if (cmd->stop_src == TRIG_COUNT && in pcl816_ai_next_chan() 347 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in pcl816_ai_cmdtest() 355 err |= comedi_check_trigger_is_unique(cmd->stop_src); in pcl816_ai_cmdtest() 375 if (cmd->stop_src == TRIG_COUNT) in pcl816_ai_cmdtest()
|
D | pcmmio.c | 349 if (cmd->stop_src == TRIG_COUNT && in pcmmio_handle_dio_intr() 479 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in pcmmio_cmdtest() 487 err |= comedi_check_trigger_is_unique(cmd->stop_src); in pcmmio_cmdtest() 502 if (cmd->stop_src == TRIG_COUNT) in pcmmio_cmdtest()
|
D | adl_pci9111.c | 251 err |= comedi_check_trigger_src(&cmd->stop_src, in pci9111_ai_do_cmd_test() 261 err |= comedi_check_trigger_is_unique(cmd->stop_src); in pci9111_ai_do_cmd_test() 294 if (cmd->stop_src == TRIG_COUNT) in pci9111_ai_do_cmd_test() 504 if (cmd->stop_src == TRIG_COUNT && async->scans_done >= cmd->stop_arg) in pci9111_interrupt()
|
/Linux-v5.4/drivers/staging/comedi/ |
D | comedi_compat32.c | 58 unsigned int stop_src; member 191 err |= __get_user(temp.uint, &cmd32->stop_src); in get_compat_cmd() 192 err |= __put_user(temp.uint, &cmd->stop_src); in get_compat_cmd() 245 err |= __get_user(temp, &cmd->stop_src); in put_compat_cmd() 246 err |= __put_user(temp, &cmd32->stop_src); in put_compat_cmd()
|