/linux-6.1.9/drivers/comedi/drivers/ |
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()
|
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 …]
|
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()
|
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()
|
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()
|
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()
|
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()
|
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()
|
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()
|
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()
|
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()
|
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()
|
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()
|
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()
|
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()
|
D | ni_labpc_common.c | 507 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in labpc_ai_cmdtest() 524 err |= comedi_check_trigger_is_unique(cmd->start_src); in labpc_ai_cmdtest() 532 if (cmd->start_src == TRIG_EXT && cmd->stop_src == TRIG_EXT) in labpc_ai_cmdtest() 540 switch (cmd->start_src) { in labpc_ai_cmdtest() 751 if (cmd->start_src == TRIG_EXT) in labpc_ai_cmd()
|
D | amplc_dio200_common.c | 354 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_INT); in dio200_subdev_intr_cmdtest() 365 err |= comedi_check_trigger_is_unique(cmd->start_src); in dio200_subdev_intr_cmdtest() 407 if (cmd->start_src == TRIG_INT) in dio200_subdev_intr_cmd()
|
D | amplc_pc236_common.c | 74 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW); in pc236_intr_cmdtest()
|
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()
|
D | aio_iiro_16.c | 107 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW); in aio_iiro_16_cos_cmdtest()
|
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()
|
D | cb_pcidas64.c | 2107 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in ai_cmdtest() 2131 err |= comedi_check_trigger_is_unique(cmd->start_src); in ai_cmdtest() 2146 switch (cmd->start_src) { in ai_cmdtest() 2635 if (cmd->start_src == TRIG_EXT && CR_CHAN(cmd->start_arg)) in ai_cmd() 2649 if (cmd->start_src == TRIG_EXT) { in ai_cmd() 2653 } else if (cmd->start_src == TRIG_NOW) { in ai_cmd() 2665 if (cmd->start_src == TRIG_NOW) in ai_cmd() 3134 if (cmd->start_src == TRIG_EXT) { in set_dac_control0_reg() 3280 if (cmd->start_src == TRIG_INT) in ao_inttrig() 3342 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_INT | TRIG_EXT); in ao_cmdtest() [all …]
|
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()
|
D | comedi_parport.c | 152 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW); in parport_intr_cmdtest()
|
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()
|