/drivers/staging/comedi/drivers/ |
D | ni_tiocmd.c | 140 else if (cmd->start_src == TRIG_EXT) in ni_tio_input_cmd() 164 if (cmd->scan_begin_src == TRIG_EXT) { in ni_tio_cmd_setup() 167 } else if (cmd->convert_src == TRIG_EXT) { in ni_tio_cmd_setup() 222 sources |= TRIG_EXT; in ni_tio_cmdtest() 226 TRIG_FOLLOW | TRIG_EXT | TRIG_OTHER); in ni_tio_cmdtest() 228 TRIG_NOW | TRIG_EXT | TRIG_OTHER); in ni_tio_cmdtest() 257 case TRIG_EXT: in ni_tio_cmdtest() 262 if (cmd->scan_begin_src != TRIG_EXT) in ni_tio_cmdtest() 265 if (cmd->convert_src != TRIG_EXT) in ni_tio_cmdtest()
|
D | adl_pci9118.c | 930 if (cmd->start_src == TRIG_EXT) in pci9118_ai_cmd() 932 if (cmd->stop_src == TRIG_EXT) { in pci9118_ai_cmd() 1035 if (cmd->scan_begin_src == TRIG_EXT) in pci9118_ai_cmd() 1052 if (cmd->scan_begin_src == TRIG_EXT) { in pci9118_ai_cmd() 1064 cmd->convert_src != TRIG_EXT) { in pci9118_ai_cmd() 1091 cmd->convert_src == TRIG_EXT) { in pci9118_ai_cmd() 1135 if (cmd->start_src == TRIG_EXT || cmd->stop_src == TRIG_EXT) in pci9118_ai_cmd() 1153 TRIG_NOW | TRIG_EXT | TRIG_INT); in pci9118_ai_cmdtest() 1157 flags |= TRIG_TIMER | TRIG_EXT; in pci9118_ai_cmdtest() 1160 flags = TRIG_TIMER | TRIG_EXT; in pci9118_ai_cmdtest() [all …]
|
D | me4000.c | 722 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in me4000_ai_do_cmd_test() 724 TRIG_FOLLOW | TRIG_TIMER | TRIG_EXT); in me4000_ai_do_cmd_test() 726 TRIG_TIMER | TRIG_EXT); in me4000_ai_do_cmd_test() 752 } else if (cmd->start_src == TRIG_EXT && in me4000_ai_do_cmd_test() 756 } else if (cmd->start_src == TRIG_EXT && in me4000_ai_do_cmd_test() 760 } else if (cmd->start_src == TRIG_EXT && in me4000_ai_do_cmd_test() 761 cmd->scan_begin_src == TRIG_EXT && in me4000_ai_do_cmd_test() 764 } else if (cmd->start_src == TRIG_EXT && in me4000_ai_do_cmd_test() 765 cmd->scan_begin_src == TRIG_EXT && in me4000_ai_do_cmd_test() 766 cmd->convert_src == TRIG_EXT) { in me4000_ai_do_cmd_test() [all …]
|
D | amplc_pci224.c | 496 if (cmd->stop_src == TRIG_EXT) in pci224_ao_start() 673 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_INT | TRIG_EXT); in pci224_ao_cmdtest() 675 TRIG_EXT | TRIG_TIMER); in pci224_ao_cmdtest() 679 TRIG_COUNT | TRIG_EXT | TRIG_NONE); in pci224_ao_cmdtest() 697 if (cmd->start_src & TRIG_EXT) in pci224_ao_cmdtest() 699 if (cmd->scan_begin_src & TRIG_EXT) in pci224_ao_cmdtest() 701 if (cmd->stop_src & TRIG_EXT) in pci224_ao_cmdtest() 715 case TRIG_EXT: in pci224_ao_cmdtest() 741 case TRIG_EXT: in pci224_ao_cmdtest() 767 case TRIG_EXT: in pci224_ao_cmdtest() [all …]
|
D | ni_labpc_common.c | 517 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in labpc_ai_cmdtest() 519 TRIG_TIMER | TRIG_FOLLOW | TRIG_EXT); in labpc_ai_cmdtest() 521 TRIG_TIMER | TRIG_EXT); in labpc_ai_cmdtest() 526 stop_mask |= TRIG_EXT; in labpc_ai_cmdtest() 542 if (cmd->start_src == TRIG_EXT && cmd->stop_src == TRIG_EXT) in labpc_ai_cmdtest() 554 case TRIG_EXT: in labpc_ai_cmdtest() 646 if (cmd->stop_src == TRIG_EXT) { in labpc_ai_cmd() 684 (cmd->stop_src == TRIG_EXT)); in labpc_ai_cmd() 738 if (cmd->convert_src != TRIG_EXT) in labpc_ai_cmd() 746 if (cmd->scan_begin_src == TRIG_EXT) in labpc_ai_cmd() [all …]
|
D | s626.c | 1076 cmd->start_src == TRIG_EXT) { in s626_handle_dio_interrupt() 1080 if (cmd->scan_begin_src == TRIG_EXT) in s626_handle_dio_interrupt() 1084 cmd->scan_begin_src == TRIG_EXT) { in s626_handle_dio_interrupt() 1088 if (cmd->convert_src == TRIG_EXT) { in s626_handle_dio_interrupt() 1100 cmd->convert_src == TRIG_EXT) { in s626_handle_dio_interrupt() 1222 if (devpriv->ai_cmd_running && cmd->scan_begin_src == TRIG_EXT) in s626_handle_eos_interrupt() 1736 case TRIG_EXT: in s626_ai_cmd() 1738 if (cmd->start_src != TRIG_EXT) in s626_ai_cmd() 1757 case TRIG_EXT: in s626_ai_cmd() 1759 if (cmd->scan_begin_src != TRIG_EXT && in s626_ai_cmd() [all …]
|
D | das1800.c | 652 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in das1800_ai_cmdtest() 654 TRIG_FOLLOW | TRIG_TIMER | TRIG_EXT); in das1800_ai_cmdtest() 656 TRIG_TIMER | TRIG_EXT); in das1800_ai_cmdtest() 659 TRIG_COUNT | TRIG_EXT | TRIG_NONE); in das1800_ai_cmdtest() 679 if (cmd->start_src == TRIG_EXT && cmd->stop_src == TRIG_EXT) in das1800_ai_cmdtest() 875 if (cmd->stop_src == TRIG_EXT) in das1800_ai_cmd() 877 if (cmd->start_src == TRIG_EXT) in das1800_ai_cmd() 916 if (cmd->stop_src == TRIG_EXT) in das1800_ai_cmd()
|
D | cb_pcidas.c | 694 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in cb_pcidas_ai_cmdtest() 696 TRIG_FOLLOW | TRIG_TIMER | TRIG_EXT); in cb_pcidas_ai_cmdtest() 698 TRIG_TIMER | TRIG_NOW | TRIG_EXT); in cb_pcidas_ai_cmdtest() 718 if (cmd->start_src == TRIG_EXT && in cb_pcidas_ai_cmdtest() 719 (cmd->convert_src == TRIG_EXT || cmd->scan_begin_src == TRIG_EXT)) in cb_pcidas_ai_cmdtest() 731 case TRIG_EXT: in cb_pcidas_ai_cmdtest() 823 if (cmd->convert_src == TRIG_EXT || cmd->scan_begin_src == TRIG_EXT) in cb_pcidas_ai_cmd() 910 TRIG_TIMER | TRIG_EXT); in cb_pcidas_ao_cmdtest() 1079 case TRIG_EXT: in cb_pcidas_ao_cmd()
|
D | dt2811.c | 409 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in dt2811_ai_cmdtest() 412 TRIG_TIMER | TRIG_EXT); in dt2811_ai_cmdtest() 427 if (cmd->convert_src == TRIG_EXT && cmd->start_src != TRIG_EXT) in dt2811_ai_cmdtest()
|
D | das16m1.c | 184 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in das16m1_ai_cmdtest() 187 TRIG_TIMER | TRIG_EXT); in das16m1_ai_cmdtest() 291 if (cmd->start_src == TRIG_EXT && cmd->convert_src != TRIG_EXT) in das16m1_ai_cmd()
|
D | usbduxfast.c | 368 TRIG_NOW | TRIG_EXT | TRIG_INT); in usbduxfast_ai_cmdtest() 395 if (cmd->start_src == TRIG_EXT && in usbduxfast_ai_cmdtest() 506 if (cmd->start_src == TRIG_EXT) { in usbduxfast_ai_cmd() 689 if (cmd->start_src == TRIG_EXT) { in usbduxfast_ai_cmd() 739 if ((cmd->start_src == TRIG_NOW) || (cmd->start_src == TRIG_EXT)) { in usbduxfast_ai_cmd()
|
D | cb_pcidas64.c | 2125 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in ai_cmdtest() 2138 triggers |= TRIG_EXT; in ai_cmdtest() 2142 TRIG_COUNT | TRIG_EXT | TRIG_NONE); in ai_cmdtest() 2156 if (cmd->convert_src == TRIG_EXT && cmd->scan_begin_src == TRIG_TIMER) in ai_cmdtest() 2168 case TRIG_EXT: in ai_cmdtest() 2201 case TRIG_EXT: in ai_cmdtest() 2602 if (cmd->convert_src == TRIG_EXT) in ai_cmd() 2652 if (cmd->start_src == TRIG_EXT && CR_CHAN(cmd->start_arg)) in ai_cmd() 2654 if (cmd->stop_src == TRIG_EXT && CR_CHAN(cmd->stop_arg)) in ai_cmd() 2666 if (cmd->start_src == TRIG_EXT) { in ai_cmd() [all …]
|
D | amplc_pci230.c | 916 tmp |= TRIG_EXT; in pci230_ao_cmdtest() 955 case TRIG_EXT: in pci230_ao_cmdtest() 1243 case TRIG_EXT: in pci230_ao_start() 1533 tmp |= TRIG_EXT; in pci230_ai_cmdtest() 1537 TRIG_TIMER | TRIG_INT | TRIG_EXT); in pci230_ai_cmdtest() 1605 } else if (cmd->convert_src == TRIG_EXT) { in pci230_ai_cmdtest() 1654 if (cmd->scan_begin_src == TRIG_EXT) { in pci230_ai_cmdtest() 1895 case TRIG_EXT: in pci230_ai_start() 1957 case TRIG_EXT: in pci230_ai_start()
|
D | das800.c | 311 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in das800_ai_do_cmdtest() 314 TRIG_TIMER | TRIG_EXT); in das800_ai_do_cmdtest() 406 if (cmd->start_src == TRIG_EXT) in das800_ai_do_cmd()
|
D | rtd520.c | 707 TRIG_TIMER | TRIG_EXT); in rtd_ai_cmdtest() 709 TRIG_TIMER | TRIG_EXT); in rtd_ai_cmdtest() 946 case TRIG_EXT: in rtd_ai_cmd() 965 case TRIG_EXT: /* external */ in rtd_ai_cmd()
|
D | pcl711.c | 291 TRIG_TIMER | TRIG_EXT); in pcl711_ai_cmdtest() 313 if (cmd->scan_begin_src == TRIG_EXT) { in pcl711_ai_cmdtest()
|
D | ni_mio_common.c | 2022 TRIG_NOW | TRIG_INT | TRIG_EXT); in ni_ai_cmdtest() 2024 TRIG_TIMER | TRIG_EXT); in ni_ai_cmdtest() 2026 sources = TRIG_TIMER | TRIG_EXT; in ni_ai_cmdtest() 2056 case TRIG_EXT: in ni_ai_cmdtest() 2072 } else if (cmd->scan_begin_src == TRIG_EXT) { in ni_ai_cmdtest() 2095 } else if (cmd->convert_src == TRIG_EXT) { in ni_ai_cmdtest() 2215 case TRIG_EXT: in ni_ai_cmd() 2318 case TRIG_EXT: in ni_ai_cmd() 2355 case TRIG_EXT: in ni_ai_cmd() 2438 case TRIG_EXT: in ni_ai_cmd() [all …]
|
D | amplc_pc236_common.c | 85 err |= comedi_check_trigger_src(&cmd->scan_begin_src, TRIG_EXT); in pc236_intr_cmdtest()
|
D | aio_iiro_16.c | 118 err |= comedi_check_trigger_src(&cmd->scan_begin_src, TRIG_EXT); in aio_iiro_16_cos_cmdtest()
|
D | adv_pci1710.c | 540 if (cmd->start_src == TRIG_EXT) { in pci1710_ai_cmd() 570 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in pci1710_ai_cmdtest() 573 TRIG_TIMER | TRIG_EXT); in pci1710_ai_cmdtest()
|
D | das16.c | 608 trig_mask |= TRIG_TIMER | TRIG_EXT; in das16_cmd_test() 611 trig_mask = TRIG_TIMER | TRIG_EXT; in das16_cmd_test() 757 if (cmd->convert_src == TRIG_EXT) in das16_cmd_exec()
|
D | comedi_parport.c | 163 err |= comedi_check_trigger_src(&cmd->scan_begin_src, TRIG_EXT); in parport_intr_cmdtest()
|
D | adl_pci9111.c | 256 TRIG_TIMER | TRIG_FOLLOW | TRIG_EXT); in pci9111_ai_do_cmd_test() 258 TRIG_TIMER | TRIG_EXT); in pci9111_ai_do_cmd_test()
|
D | ni_at_a2150.c | 412 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in a2150_ai_cmdtest() 555 if (cmd->start_src == TRIG_EXT) { in a2150_ai_cmd()
|
D | addi_apci_1032.c | 199 err |= comedi_check_trigger_src(&cmd->scan_begin_src, TRIG_EXT); in apci1032_cos_cmdtest()
|