/linux-6.1.9/drivers/comedi/drivers/ |
D | ni_tiocmd.c | 134 else if (cmd->start_src == TRIG_EXT) { in ni_tio_input_cmd() 171 if (cmd->scan_begin_src == TRIG_EXT) { in ni_tio_cmd_setup() 174 } else if (cmd->convert_src == TRIG_EXT) { in ni_tio_cmd_setup() 248 sources |= TRIG_EXT; in ni_tio_cmdtest() 252 TRIG_FOLLOW | TRIG_EXT | TRIG_OTHER); in ni_tio_cmdtest() 254 TRIG_NOW | TRIG_EXT | TRIG_OTHER); in ni_tio_cmdtest() 283 case TRIG_EXT: in ni_tio_cmdtest() 305 if (cmd->scan_begin_src != TRIG_EXT) in ni_tio_cmdtest() 311 if (cmd->convert_src != TRIG_EXT) in ni_tio_cmdtest()
|
D | me4000.c | 712 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in me4000_ai_do_cmd_test() 714 TRIG_FOLLOW | TRIG_TIMER | TRIG_EXT); in me4000_ai_do_cmd_test() 716 TRIG_TIMER | TRIG_EXT); 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() 751 cmd->scan_begin_src == TRIG_EXT && in me4000_ai_do_cmd_test() 754 } else if (cmd->start_src == TRIG_EXT && in me4000_ai_do_cmd_test() 755 cmd->scan_begin_src == TRIG_EXT && in me4000_ai_do_cmd_test() 756 cmd->convert_src == TRIG_EXT) { in me4000_ai_do_cmd_test() [all …]
|
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 | amplc_pci224.c | 491 if (cmd->stop_src == TRIG_EXT) in pci224_ao_start() 668 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_INT | TRIG_EXT); in pci224_ao_cmdtest() 670 TRIG_EXT | TRIG_TIMER); in pci224_ao_cmdtest() 674 TRIG_COUNT | TRIG_EXT | TRIG_NONE); in pci224_ao_cmdtest() 692 if (cmd->start_src & TRIG_EXT) in pci224_ao_cmdtest() 694 if (cmd->scan_begin_src & TRIG_EXT) in pci224_ao_cmdtest() 696 if (cmd->stop_src & TRIG_EXT) in pci224_ao_cmdtest() 710 case TRIG_EXT: in pci224_ao_cmdtest() 736 case TRIG_EXT: in pci224_ao_cmdtest() 762 case TRIG_EXT: in pci224_ao_cmdtest() [all …]
|
D | ni_labpc_common.c | 507 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in labpc_ai_cmdtest() 509 TRIG_TIMER | TRIG_FOLLOW | TRIG_EXT); in labpc_ai_cmdtest() 511 TRIG_TIMER | TRIG_EXT); in labpc_ai_cmdtest() 516 stop_mask |= TRIG_EXT; in labpc_ai_cmdtest() 532 if (cmd->start_src == TRIG_EXT && cmd->stop_src == TRIG_EXT) in labpc_ai_cmdtest() 544 case TRIG_EXT: in labpc_ai_cmdtest() 635 if (cmd->stop_src == TRIG_EXT) { in labpc_ai_cmd() 673 (cmd->stop_src == TRIG_EXT)); in labpc_ai_cmd() 727 if (cmd->convert_src != TRIG_EXT) in labpc_ai_cmd() 735 if (cmd->scan_begin_src == TRIG_EXT) in labpc_ai_cmd() [all …]
|
D | s626.c | 1075 cmd->start_src == TRIG_EXT) { in s626_handle_dio_interrupt() 1079 if (cmd->scan_begin_src == TRIG_EXT) in s626_handle_dio_interrupt() 1083 cmd->scan_begin_src == TRIG_EXT) { in s626_handle_dio_interrupt() 1087 if (cmd->convert_src == TRIG_EXT) { in s626_handle_dio_interrupt() 1099 cmd->convert_src == TRIG_EXT) { in s626_handle_dio_interrupt() 1221 if (devpriv->ai_cmd_running && cmd->scan_begin_src == TRIG_EXT) in s626_handle_eos_interrupt() 1734 case TRIG_EXT: in s626_ai_cmd() 1736 if (cmd->start_src != TRIG_EXT) in s626_ai_cmd() 1755 case TRIG_EXT: in s626_ai_cmd() 1757 if (cmd->scan_begin_src != TRIG_EXT && in s626_ai_cmd() [all …]
|
D | das1800.c | 641 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in das1800_ai_cmdtest() 643 TRIG_FOLLOW | TRIG_TIMER | TRIG_EXT); in das1800_ai_cmdtest() 645 TRIG_TIMER | TRIG_EXT); in das1800_ai_cmdtest() 648 TRIG_COUNT | TRIG_EXT | TRIG_NONE); in das1800_ai_cmdtest() 668 if (cmd->start_src == TRIG_EXT && cmd->stop_src == TRIG_EXT) in das1800_ai_cmdtest() 864 if (cmd->stop_src == TRIG_EXT) in das1800_ai_cmd() 866 if (cmd->start_src == TRIG_EXT) in das1800_ai_cmd() 905 if (cmd->stop_src == TRIG_EXT) in das1800_ai_cmd()
|
D | cb_pcidas.c | 684 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in cb_pcidas_ai_cmdtest() 686 TRIG_FOLLOW | TRIG_TIMER | TRIG_EXT); in cb_pcidas_ai_cmdtest() 688 TRIG_TIMER | TRIG_NOW | TRIG_EXT); in cb_pcidas_ai_cmdtest() 708 if (cmd->start_src == TRIG_EXT && in cb_pcidas_ai_cmdtest() 709 (cmd->convert_src == TRIG_EXT || cmd->scan_begin_src == TRIG_EXT)) in cb_pcidas_ai_cmdtest() 721 case TRIG_EXT: in cb_pcidas_ai_cmdtest() 813 if (cmd->convert_src == TRIG_EXT || cmd->scan_begin_src == TRIG_EXT) in cb_pcidas_ai_cmd() 900 TRIG_TIMER | TRIG_EXT); in cb_pcidas_ao_cmdtest() 1069 case TRIG_EXT: in cb_pcidas_ao_cmd()
|
D | dt2811.c | 399 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in dt2811_ai_cmdtest() 402 TRIG_TIMER | TRIG_EXT); in dt2811_ai_cmdtest() 417 if (cmd->convert_src == TRIG_EXT && cmd->start_src != TRIG_EXT) in dt2811_ai_cmdtest()
|
D | das16m1.c | 174 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in das16m1_ai_cmdtest() 177 TRIG_TIMER | TRIG_EXT); in das16m1_ai_cmdtest() 281 if (cmd->start_src == TRIG_EXT && cmd->convert_src != TRIG_EXT) in das16m1_ai_cmd()
|
D | usbduxfast.c | 361 TRIG_NOW | TRIG_EXT | TRIG_INT); 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()
|
D | cb_pcidas64.c | 2107 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in ai_cmdtest() 2120 triggers |= TRIG_EXT; in ai_cmdtest() 2124 TRIG_COUNT | TRIG_EXT | TRIG_NONE); in ai_cmdtest() 2138 if (cmd->convert_src == TRIG_EXT && cmd->scan_begin_src == TRIG_TIMER) in ai_cmdtest() 2150 case TRIG_EXT: in ai_cmdtest() 2183 case TRIG_EXT: in ai_cmdtest() 2585 if (cmd->convert_src == TRIG_EXT) in ai_cmd() 2635 if (cmd->start_src == TRIG_EXT && CR_CHAN(cmd->start_arg)) in ai_cmd() 2637 if (cmd->stop_src == TRIG_EXT && CR_CHAN(cmd->stop_arg)) in ai_cmd() 2649 if (cmd->start_src == TRIG_EXT) { in ai_cmd() [all …]
|
D | amplc_pci230.c | 907 tmp |= TRIG_EXT; in pci230_ao_cmdtest() 946 case TRIG_EXT: in pci230_ao_cmdtest() 1234 case TRIG_EXT: in pci230_ao_start() 1524 tmp |= TRIG_EXT; in pci230_ai_cmdtest() 1528 TRIG_TIMER | TRIG_INT | TRIG_EXT); in pci230_ai_cmdtest() 1596 } else if (cmd->convert_src == TRIG_EXT) { in pci230_ai_cmdtest() 1645 if (cmd->scan_begin_src == TRIG_EXT) { in pci230_ai_cmdtest() 1886 case TRIG_EXT: in pci230_ai_start() 1948 case TRIG_EXT: in pci230_ai_start()
|
D | das800.c | 300 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in das800_ai_do_cmdtest() 303 TRIG_TIMER | TRIG_EXT); in das800_ai_do_cmdtest() 395 if (cmd->start_src == TRIG_EXT) in das800_ai_do_cmd()
|
D | amplc_pc236_common.c | 75 err |= comedi_check_trigger_src(&cmd->scan_begin_src, TRIG_EXT); in pc236_intr_cmdtest()
|
D | pcl711.c | 280 TRIG_TIMER | TRIG_EXT); in pcl711_ai_cmdtest() 302 if (cmd->scan_begin_src == TRIG_EXT) { in pcl711_ai_cmdtest()
|
D | rtd520.c | 697 TRIG_TIMER | TRIG_EXT); in rtd_ai_cmdtest() 699 TRIG_TIMER | TRIG_EXT); in rtd_ai_cmdtest() 935 case TRIG_EXT: in rtd_ai_cmd() 954 case TRIG_EXT: /* external */ in rtd_ai_cmd()
|
D | aio_iiro_16.c | 108 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 | ni_mio_common.c | 2013 TRIG_NOW | TRIG_INT | TRIG_EXT); in ni_ai_cmdtest() 2015 TRIG_TIMER | TRIG_EXT); in ni_ai_cmdtest() 2017 sources = TRIG_TIMER | TRIG_EXT; in ni_ai_cmdtest() 2047 case TRIG_EXT: in ni_ai_cmdtest() 2060 } else if (cmd->scan_begin_src == TRIG_EXT) { in ni_ai_cmdtest() 2080 } else if (cmd->convert_src == TRIG_EXT) { in ni_ai_cmdtest() 2199 case TRIG_EXT: in ni_ai_cmd() 2305 case TRIG_EXT: in ni_ai_cmd() 2346 case TRIG_EXT: in ni_ai_cmd() 2432 case TRIG_EXT: in ni_ai_cmd() [all …]
|
D | comedi_parport.c | 153 err |= comedi_check_trigger_src(&cmd->scan_begin_src, TRIG_EXT); in parport_intr_cmdtest()
|
D | ni_at_a2150.c | 401 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in a2150_ai_cmdtest() 544 if (cmd->start_src == TRIG_EXT) { in a2150_ai_cmd()
|
D | adl_pci9111.c | 246 TRIG_TIMER | TRIG_FOLLOW | TRIG_EXT); in pci9111_ai_do_cmd_test() 248 TRIG_TIMER | TRIG_EXT); in pci9111_ai_do_cmd_test()
|
D | das16.c | 598 trig_mask |= TRIG_TIMER | TRIG_EXT; in das16_cmd_test() 601 trig_mask = TRIG_TIMER | TRIG_EXT; in das16_cmd_test() 747 if (cmd->convert_src == TRIG_EXT) in das16_cmd_exec()
|
D | addi_apci_1032.c | 198 err |= comedi_check_trigger_src(&cmd->scan_begin_src, TRIG_EXT); in apci1032_cos_cmdtest()
|