/linux/drivers/comedi/drivers/ |
H A D | ni_tiocmd.c | 126 if (cmd->start_src == TRIG_INT) { in ni_tio_input_cmd() 132 if (cmd->start_src == TRIG_NOW) in ni_tio_input_cmd() 134 else if (cmd->start_src == TRIG_EXT) { in ni_tio_input_cmd() 249 err |= comedi_check_trigger_src(&cmd->start_src, sources); in ni_tio_cmdtest() 263 err |= comedi_check_trigger_is_unique(cmd->start_src); in ni_tio_cmdtest() 277 switch (cmd->start_src) { in ni_tio_cmdtest()
|
H A D | me4000.c | 712 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in me4000_ai_do_cmd_test() 726 err |= comedi_check_trigger_is_unique(cmd->start_src); in me4000_ai_do_cmd_test() 734 if (cmd->start_src == TRIG_NOW && in me4000_ai_do_cmd_test() 738 } else if (cmd->start_src == TRIG_NOW && in me4000_ai_do_cmd_test() 742 } else if (cmd->start_src == TRIG_EXT && in me4000_ai_do_cmd_test() 746 } else if (cmd->start_src == TRIG_EXT && in me4000_ai_do_cmd_test() 750 } else if (cmd->start_src == TRIG_EXT && in me4000_ai_do_cmd_test() 754 } else if (cmd->start_src == TRIG_EXT && in me4000_ai_do_cmd_test() 802 if (cmd->start_src == TRIG_NOW && in me4000_ai_do_cmd_test() 824 } else if (cmd->start_src == TRIG_NOW && in me4000_ai_do_cmd_test() [all …]
|
H A D | usbduxfast.c | 360 err |= comedi_check_trigger_src(&cmd->start_src, in usbduxfast_ai_cmdtest() 372 err |= comedi_check_trigger_is_unique(cmd->start_src); in usbduxfast_ai_cmdtest() 388 if (cmd->start_src == TRIG_EXT && in usbduxfast_ai_cmdtest() 504 if (cmd->start_src == TRIG_EXT) { in usbduxfast_ai_cmd() 687 if (cmd->start_src == TRIG_EXT) { in usbduxfast_ai_cmd() 737 if ((cmd->start_src == TRIG_NOW) || (cmd->start_src == TRIG_EXT)) { in usbduxfast_ai_cmd()
|
H A D | ni_at_a2150.c | 401 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in a2150_ai_cmdtest() 412 err |= comedi_check_trigger_is_unique(cmd->start_src); in a2150_ai_cmdtest() 534 if (cmd->start_src == TRIG_NOW && in a2150_ai_cmd() 544 if (cmd->start_src == TRIG_EXT) { in a2150_ai_cmd() 546 } else if (cmd->start_src == TRIG_OTHER) { in a2150_ai_cmd() 557 if (cmd->start_src == TRIG_NOW) in a2150_ai_cmd()
|
H A D | dt2811.c | 258 if (cmd->start_src == TRIG_NOW) { in dt2811_ai_cmd() 399 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in dt2811_ai_cmdtest() 411 err |= comedi_check_trigger_is_unique(cmd->start_src); in dt2811_ai_cmdtest() 417 if (cmd->convert_src == TRIG_EXT && cmd->start_src != TRIG_EXT) in dt2811_ai_cmdtest()
|
H A D | amplc_pci224.c | 668 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_INT | TRIG_EXT); in pci224_ao_cmdtest() 681 err |= comedi_check_trigger_is_unique(cmd->start_src); in pci224_ao_cmdtest() 692 if (cmd->start_src & TRIG_EXT) in pci224_ao_cmdtest() 706 switch (cmd->start_src) { in pci224_ao_cmdtest() 887 if (cmd->start_src == TRIG_INT) { in pci224_ao_cmd() 969 if (cmd->start_src == TRIG_EXT) in pci224_interrupt()
|
H A D | adl_pci9118.c | 930 if (cmd->start_src == TRIG_EXT) in pci9118_ai_cmd() 1129 if (cmd->start_src == TRIG_NOW) in pci9118_ai_cmd() 1131 else if (cmd->start_src == TRIG_INT) in pci9118_ai_cmd() 1135 if (cmd->start_src == TRIG_EXT || cmd->stop_src == TRIG_EXT) in pci9118_ai_cmd() 1152 err |= comedi_check_trigger_src(&cmd->start_src, in pci9118_ai_cmdtest() 1174 err |= comedi_check_trigger_is_unique(cmd->start_src); in pci9118_ai_cmdtest() 1181 if (cmd->start_src == TRIG_EXT && cmd->scan_begin_src == TRIG_EXT) in pci9118_ai_cmdtest() 1200 switch (cmd->start_src) { in pci9118_ai_cmdtest()
|
H A D | das16m1.c | 174 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in das16m1_ai_cmdtest() 186 err |= comedi_check_trigger_is_unique(cmd->start_src); in das16m1_ai_cmdtest() 281 if (cmd->start_src == TRIG_EXT && cmd->convert_src != TRIG_EXT) in das16m1_ai_cmd()
|
H A D | pcmuio.c | 459 if (cmd->start_src == TRIG_INT) in pcmuio_cmd() 477 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_INT); in pcmuio_cmdtest() 488 err |= comedi_check_trigger_is_unique(cmd->start_src); in pcmuio_cmdtest()
|
H A D | usbduxsigma.c | 479 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_INT); in usbduxsigma_ai_cmdtest() 490 err |= comedi_check_trigger_is_unique(cmd->start_src); in usbduxsigma_ai_cmdtest() 672 if (cmd->start_src == TRIG_NOW) { in usbduxsigma_ai_cmd() 833 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_INT); in usbduxsigma_ao_cmdtest() 855 err |= comedi_check_trigger_is_unique(cmd->start_src); in usbduxsigma_ao_cmdtest() 910 if (cmd->start_src == TRIG_NOW) { in usbduxsigma_ao_cmd()
|
H A D | das800.c | 300 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in das800_ai_do_cmdtest() 312 err |= comedi_check_trigger_is_unique(cmd->start_src); in das800_ai_do_cmdtest() 395 if (cmd->start_src == TRIG_EXT) in das800_ai_do_cmd()
|
H A D | adv_pci1710.c | 540 if (cmd->start_src == TRIG_EXT) { in pci1710_ai_cmd() 552 if (cmd->start_src == TRIG_NOW) in pci1710_ai_cmd() 570 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in pci1710_ai_cmdtest() 582 err |= comedi_check_trigger_is_unique(cmd->start_src); in pci1710_ai_cmdtest()
|
H A D | cb_pcidas.c | 684 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in cb_pcidas_ai_cmdtest() 697 err |= comedi_check_trigger_is_unique(cmd->start_src); in cb_pcidas_ai_cmdtest() 708 if (cmd->start_src == TRIG_EXT && in cb_pcidas_ai_cmdtest() 717 switch (cmd->start_src) { in cb_pcidas_ai_cmdtest() 851 if (cmd->start_src == TRIG_NOW) { in cb_pcidas_ai_cmd() 898 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_INT); in cb_pcidas_ao_cmdtest()
|
H A D | usbdux.c | 514 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_INT); in usbdux_ai_cmdtest() 525 err |= comedi_check_trigger_is_unique(cmd->start_src); in usbdux_ai_cmdtest() 710 if (cmd->start_src == TRIG_NOW) { in usbdux_ai_cmd() 874 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_INT); in usbdux_ao_cmdtest() 908 err |= comedi_check_trigger_is_unique(cmd->start_src); in usbdux_ao_cmdtest() 975 if (cmd->start_src == TRIG_NOW) { in usbdux_ao_cmd()
|
H A D | pcmmio.c | 456 if (cmd->start_src == TRIG_INT) in pcmmio_cmd() 474 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_INT); in pcmmio_cmdtest() 485 err |= comedi_check_trigger_is_unique(cmd->start_src); in pcmmio_cmdtest()
|
H A D | ni_labpc_common.c | 512 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in labpc_ai_cmdtest() 529 err |= comedi_check_trigger_is_unique(cmd->start_src); in labpc_ai_cmdtest() 537 if (cmd->start_src == TRIG_EXT && cmd->stop_src == TRIG_EXT) in labpc_ai_cmdtest() 545 switch (cmd->start_src) { in labpc_ai_cmdtest() 756 if (cmd->start_src == TRIG_EXT) in labpc_ai_cmd()
|
H A D | amplc_dio200_common.c | 408 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_INT); in dio200_subdev_intr_cmdtest() 419 err |= comedi_check_trigger_is_unique(cmd->start_src); in dio200_subdev_intr_cmdtest() 461 if (cmd->start_src == TRIG_INT) in dio200_subdev_intr_cmd()
|
H A D | s626.c | 1075 cmd->start_src == TRIG_EXT) { in s626_handle_dio_interrupt() 1736 if (cmd->start_src != TRIG_EXT) in s626_ai_cmd() 1758 cmd->start_src == TRIG_EXT) in s626_ai_cmd() 1765 switch (cmd->start_src) { in s626_ai_cmd() 1798 err |= comedi_check_trigger_src(&cmd->start_src, in s626_ai_cmdtest() 1812 err |= comedi_check_trigger_is_unique(cmd->start_src); in s626_ai_cmdtest() 1824 switch (cmd->start_src) { in s626_ai_cmdtest()
|
H A D | amplc_pc236_common.c | 74 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW); in pc236_intr_cmdtest()
|
H A D | das1800.c | 641 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in das1800_ai_cmdtest() 655 err |= comedi_check_trigger_is_unique(cmd->start_src); in das1800_ai_cmdtest() 668 if (cmd->start_src == TRIG_EXT && cmd->stop_src == TRIG_EXT) in das1800_ai_cmdtest() 866 if (cmd->start_src == TRIG_EXT) in das1800_ai_cmd()
|
H A D | aio_iiro_16.c | 107 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW); in aio_iiro_16_cos_cmdtest()
|
H A D | ni_pcidio.c | 535 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_INT); in ni_pcidio_cmdtest() 547 err |= comedi_check_trigger_is_unique(cmd->start_src); in ni_pcidio_cmdtest() 719 if (cmd->start_src == TRIG_NOW) { in ni_pcidio_cmd()
|
H A D | comedi_parport.c | 152 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW); in parport_intr_cmdtest()
|
H A D | dt282x.c | 639 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW); in dt282x_ai_cmdtest() 805 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_INT); in dt282x_ao_cmdtest() 858 if (trig_num != cmd->start_src) in dt282x_ao_inttrig()
|
H A D | addi_apci_3120.c | 555 if (cmd->start_src == TRIG_EXT) in apci3120_ai_cmd() 601 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in apci3120_ai_cmdtest() 613 err |= comedi_check_trigger_is_unique(cmd->start_src); in apci3120_ai_cmdtest()
|