/Linux-v4.19/drivers/staging/comedi/drivers/ |
D | ni_tiocmd.c | 131 else if (cmd->start_src == TRIG_EXT) in ni_tio_input_cmd() 155 if (cmd->scan_begin_src == TRIG_EXT) { in ni_tio_cmd_setup() 158 } else if (cmd->convert_src == TRIG_EXT) { in ni_tio_cmd_setup() 213 sources |= TRIG_EXT; in ni_tio_cmdtest() 217 TRIG_FOLLOW | TRIG_EXT | TRIG_OTHER); in ni_tio_cmdtest() 219 TRIG_NOW | TRIG_EXT | TRIG_OTHER); in ni_tio_cmdtest() 248 case TRIG_EXT: in ni_tio_cmdtest() 253 if (cmd->scan_begin_src != TRIG_EXT) in ni_tio_cmdtest() 256 if (cmd->convert_src != TRIG_EXT) in ni_tio_cmdtest()
|
D | me4000.c | 713 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in me4000_ai_do_cmd_test() 715 TRIG_FOLLOW | TRIG_TIMER | TRIG_EXT); in me4000_ai_do_cmd_test() 717 TRIG_TIMER | TRIG_EXT); in me4000_ai_do_cmd_test() 743 } else if (cmd->start_src == TRIG_EXT && in me4000_ai_do_cmd_test() 747 } else if (cmd->start_src == TRIG_EXT && in me4000_ai_do_cmd_test() 751 } else if (cmd->start_src == TRIG_EXT && in me4000_ai_do_cmd_test() 752 cmd->scan_begin_src == TRIG_EXT && in me4000_ai_do_cmd_test() 755 } else if (cmd->start_src == TRIG_EXT && in me4000_ai_do_cmd_test() 756 cmd->scan_begin_src == TRIG_EXT && in me4000_ai_do_cmd_test() 757 cmd->convert_src == TRIG_EXT) { in me4000_ai_do_cmd_test() [all …]
|
D | adl_pci9118.c | 931 if (cmd->start_src == TRIG_EXT) in pci9118_ai_cmd() 933 if (cmd->stop_src == TRIG_EXT) { in pci9118_ai_cmd() 1036 if (cmd->scan_begin_src == TRIG_EXT) in pci9118_ai_cmd() 1053 if (cmd->scan_begin_src == TRIG_EXT) { in pci9118_ai_cmd() 1065 cmd->convert_src != TRIG_EXT) { in pci9118_ai_cmd() 1092 cmd->convert_src == TRIG_EXT) { in pci9118_ai_cmd() 1136 if (cmd->start_src == TRIG_EXT || cmd->stop_src == TRIG_EXT) in pci9118_ai_cmd() 1154 TRIG_NOW | TRIG_EXT | TRIG_INT); in pci9118_ai_cmdtest() 1158 flags |= TRIG_TIMER | TRIG_EXT; in pci9118_ai_cmdtest() 1161 flags = TRIG_TIMER | TRIG_EXT; in pci9118_ai_cmdtest() [all …]
|
D | amplc_pci224.c | 493 if (cmd->stop_src == TRIG_EXT) in pci224_ao_start() 670 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_INT | TRIG_EXT); in pci224_ao_cmdtest() 672 TRIG_EXT | TRIG_TIMER); in pci224_ao_cmdtest() 676 TRIG_COUNT | TRIG_EXT | TRIG_NONE); in pci224_ao_cmdtest() 694 if (cmd->start_src & TRIG_EXT) in pci224_ao_cmdtest() 696 if (cmd->scan_begin_src & TRIG_EXT) in pci224_ao_cmdtest() 698 if (cmd->stop_src & TRIG_EXT) in pci224_ao_cmdtest() 712 case TRIG_EXT: in pci224_ao_cmdtest() 738 case TRIG_EXT: in pci224_ao_cmdtest() 764 case TRIG_EXT: in pci224_ao_cmdtest() [all …]
|
D | ni_labpc_common.c | 508 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in labpc_ai_cmdtest() 510 TRIG_TIMER | TRIG_FOLLOW | TRIG_EXT); in labpc_ai_cmdtest() 512 TRIG_TIMER | TRIG_EXT); in labpc_ai_cmdtest() 517 stop_mask |= TRIG_EXT; in labpc_ai_cmdtest() 533 if (cmd->start_src == TRIG_EXT && cmd->stop_src == TRIG_EXT) in labpc_ai_cmdtest() 545 case TRIG_EXT: in labpc_ai_cmdtest() 637 if (cmd->stop_src == TRIG_EXT) { in labpc_ai_cmd() 675 (cmd->stop_src == TRIG_EXT)); in labpc_ai_cmd() 729 if (cmd->convert_src != TRIG_EXT) in labpc_ai_cmd() 737 if (cmd->scan_begin_src == TRIG_EXT) in labpc_ai_cmd() [all …]
|
D | s626.c | 1078 cmd->start_src == TRIG_EXT) { in s626_handle_dio_interrupt() 1082 if (cmd->scan_begin_src == TRIG_EXT) in s626_handle_dio_interrupt() 1086 cmd->scan_begin_src == TRIG_EXT) { in s626_handle_dio_interrupt() 1090 if (cmd->convert_src == TRIG_EXT) { in s626_handle_dio_interrupt() 1102 cmd->convert_src == TRIG_EXT) { in s626_handle_dio_interrupt() 1224 if (devpriv->ai_cmd_running && cmd->scan_begin_src == TRIG_EXT) in s626_handle_eos_interrupt() 1737 case TRIG_EXT: in s626_ai_cmd() 1739 if (cmd->start_src != TRIG_EXT) in s626_ai_cmd() 1758 case TRIG_EXT: in s626_ai_cmd() 1760 if (cmd->scan_begin_src != TRIG_EXT && in s626_ai_cmd() [all …]
|
D | das1800.c | 643 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in das1800_ai_cmdtest() 645 TRIG_FOLLOW | TRIG_TIMER | TRIG_EXT); in das1800_ai_cmdtest() 647 TRIG_TIMER | TRIG_EXT); in das1800_ai_cmdtest() 650 TRIG_COUNT | TRIG_EXT | TRIG_NONE); in das1800_ai_cmdtest() 670 if (cmd->start_src == TRIG_EXT && cmd->stop_src == TRIG_EXT) in das1800_ai_cmdtest() 866 if (cmd->stop_src == TRIG_EXT) in das1800_ai_cmd() 868 if (cmd->start_src == TRIG_EXT) in das1800_ai_cmd() 907 if (cmd->stop_src == TRIG_EXT) in das1800_ai_cmd()
|
D | cb_pcidas.c | 685 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in cb_pcidas_ai_cmdtest() 687 TRIG_FOLLOW | TRIG_TIMER | TRIG_EXT); in cb_pcidas_ai_cmdtest() 689 TRIG_TIMER | TRIG_NOW | TRIG_EXT); in cb_pcidas_ai_cmdtest() 709 if (cmd->start_src == TRIG_EXT && in cb_pcidas_ai_cmdtest() 710 (cmd->convert_src == TRIG_EXT || cmd->scan_begin_src == TRIG_EXT)) in cb_pcidas_ai_cmdtest() 722 case TRIG_EXT: in cb_pcidas_ai_cmdtest() 814 if (cmd->convert_src == TRIG_EXT || cmd->scan_begin_src == TRIG_EXT) in cb_pcidas_ai_cmd() 901 TRIG_TIMER | TRIG_EXT); in cb_pcidas_ao_cmdtest() 1070 case TRIG_EXT: in cb_pcidas_ao_cmd()
|
D | dt2811.c | 400 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in dt2811_ai_cmdtest() 403 TRIG_TIMER | TRIG_EXT); in dt2811_ai_cmdtest() 418 if (cmd->convert_src == TRIG_EXT && cmd->start_src != TRIG_EXT) in dt2811_ai_cmdtest()
|
D | das16m1.c | 175 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in das16m1_ai_cmdtest() 178 TRIG_TIMER | TRIG_EXT); in das16m1_ai_cmdtest() 282 if (cmd->start_src == TRIG_EXT && cmd->convert_src != TRIG_EXT) in das16m1_ai_cmd()
|
D | usbduxfast.c | 359 TRIG_NOW | TRIG_EXT | TRIG_INT); in usbduxfast_ai_cmdtest() 386 if (cmd->start_src == TRIG_EXT && in usbduxfast_ai_cmdtest() 497 if (cmd->start_src == TRIG_EXT) { in usbduxfast_ai_cmd() 680 if (cmd->start_src == TRIG_EXT) { in usbduxfast_ai_cmd() 730 if ((cmd->start_src == TRIG_NOW) || (cmd->start_src == TRIG_EXT)) { in usbduxfast_ai_cmd()
|
D | cb_pcidas64.c | 2113 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in ai_cmdtest() 2126 triggers |= TRIG_EXT; in ai_cmdtest() 2130 TRIG_COUNT | TRIG_EXT | TRIG_NONE); in ai_cmdtest() 2144 if (cmd->convert_src == TRIG_EXT && cmd->scan_begin_src == TRIG_TIMER) in ai_cmdtest() 2156 case TRIG_EXT: in ai_cmdtest() 2189 case TRIG_EXT: in ai_cmdtest() 2591 if (cmd->convert_src == TRIG_EXT) in ai_cmd() 2641 if (cmd->start_src == TRIG_EXT && CR_CHAN(cmd->start_arg)) in ai_cmd() 2643 if (cmd->stop_src == TRIG_EXT && CR_CHAN(cmd->stop_arg)) in ai_cmd() 2655 if (cmd->start_src == TRIG_EXT) { in ai_cmd() [all …]
|
D | amplc_pci230.c | 909 tmp |= TRIG_EXT; in pci230_ao_cmdtest() 948 case TRIG_EXT: in pci230_ao_cmdtest() 1236 case TRIG_EXT: in pci230_ao_start() 1526 tmp |= TRIG_EXT; in pci230_ai_cmdtest() 1530 TRIG_TIMER | TRIG_INT | TRIG_EXT); in pci230_ai_cmdtest() 1598 } else if (cmd->convert_src == TRIG_EXT) { in pci230_ai_cmdtest() 1647 if (cmd->scan_begin_src == TRIG_EXT) { in pci230_ai_cmdtest() 1888 case TRIG_EXT: in pci230_ai_start() 1950 case TRIG_EXT: in pci230_ai_start()
|
D | das800.c | 302 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in das800_ai_do_cmdtest() 305 TRIG_TIMER | TRIG_EXT); in das800_ai_do_cmdtest() 397 if (cmd->start_src == TRIG_EXT) in das800_ai_do_cmd()
|
D | amplc_pc236_common.c | 76 err |= comedi_check_trigger_src(&cmd->scan_begin_src, TRIG_EXT); in pc236_intr_cmdtest()
|
D | pcl711.c | 282 TRIG_TIMER | TRIG_EXT); in pcl711_ai_cmdtest() 304 if (cmd->scan_begin_src == TRIG_EXT) { in pcl711_ai_cmdtest()
|
D | rtd520.c | 698 TRIG_TIMER | TRIG_EXT); in rtd_ai_cmdtest() 700 TRIG_TIMER | TRIG_EXT); in rtd_ai_cmdtest() 937 case TRIG_EXT: in rtd_ai_cmd() 956 case TRIG_EXT: /* external */ in rtd_ai_cmd()
|
D | aio_iiro_16.c | 109 err |= comedi_check_trigger_src(&cmd->scan_begin_src, TRIG_EXT); in aio_iiro_16_cos_cmdtest()
|
D | adv_pci1710.c | 541 if (cmd->start_src == TRIG_EXT) { in pci1710_ai_cmd() 571 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in pci1710_ai_cmdtest() 574 TRIG_TIMER | TRIG_EXT); in pci1710_ai_cmdtest()
|
D | ni_mio_common.c | 2015 TRIG_NOW | TRIG_INT | TRIG_EXT); in ni_ai_cmdtest() 2017 TRIG_TIMER | TRIG_EXT); in ni_ai_cmdtest() 2019 sources = TRIG_TIMER | TRIG_EXT; in ni_ai_cmdtest() 2049 case TRIG_EXT: in ni_ai_cmdtest() 2065 } else if (cmd->scan_begin_src == TRIG_EXT) { in ni_ai_cmdtest() 2088 } else if (cmd->convert_src == TRIG_EXT) { in ni_ai_cmdtest() 2208 case TRIG_EXT: in ni_ai_cmd() 2311 case TRIG_EXT: in ni_ai_cmd() 2348 case TRIG_EXT: in ni_ai_cmd() 2431 case TRIG_EXT: in ni_ai_cmd() [all …]
|
D | comedi_parport.c | 154 err |= comedi_check_trigger_src(&cmd->scan_begin_src, TRIG_EXT); in parport_intr_cmdtest()
|
D | adl_pci9111.c | 247 TRIG_TIMER | TRIG_FOLLOW | TRIG_EXT); in pci9111_ai_do_cmd_test() 249 TRIG_TIMER | TRIG_EXT); in pci9111_ai_do_cmd_test()
|
D | ni_at_a2150.c | 403 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in a2150_ai_cmdtest() 546 if (cmd->start_src == TRIG_EXT) { in a2150_ai_cmd()
|
D | das16.c | 600 trig_mask |= TRIG_TIMER | TRIG_EXT; in das16_cmd_test() 603 trig_mask = TRIG_TIMER | TRIG_EXT; in das16_cmd_test() 749 if (cmd->convert_src == TRIG_EXT) in das16_cmd_exec()
|
D | addi_apci_1032.c | 190 err |= comedi_check_trigger_src(&cmd->scan_begin_src, TRIG_EXT); in apci1032_cos_cmdtest()
|