Home
last modified time | relevance | path

Searched refs:start_src (Results 1 – 25 of 53) sorted by relevance

123

/Linux-v4.19/drivers/staging/comedi/drivers/
Dni_tiocmd.c123 if (cmd->start_src == TRIG_INT) { in ni_tio_input_cmd()
129 if (cmd->start_src == TRIG_NOW) in ni_tio_input_cmd()
131 else if (cmd->start_src == TRIG_EXT) in ni_tio_input_cmd()
214 err |= comedi_check_trigger_src(&cmd->start_src, sources); in ni_tio_cmdtest()
228 err |= comedi_check_trigger_is_unique(cmd->start_src); in ni_tio_cmdtest()
242 switch (cmd->start_src) { in ni_tio_cmdtest()
Dme4000.c713 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in me4000_ai_do_cmd_test()
727 err |= comedi_check_trigger_is_unique(cmd->start_src); in me4000_ai_do_cmd_test()
735 if (cmd->start_src == TRIG_NOW && in me4000_ai_do_cmd_test()
739 } else if (cmd->start_src == TRIG_NOW && 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()
755 } else if (cmd->start_src == TRIG_EXT && in me4000_ai_do_cmd_test()
803 if (cmd->start_src == TRIG_NOW && in me4000_ai_do_cmd_test()
825 } else if (cmd->start_src == TRIG_NOW && in me4000_ai_do_cmd_test()
[all …]
Dusbduxfast.c358 err |= comedi_check_trigger_src(&cmd->start_src, in usbduxfast_ai_cmdtest()
370 err |= comedi_check_trigger_is_unique(cmd->start_src); 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()
Dni_at_a2150.c403 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in a2150_ai_cmdtest()
414 err |= comedi_check_trigger_is_unique(cmd->start_src); in a2150_ai_cmdtest()
536 if (cmd->start_src == TRIG_NOW && in a2150_ai_cmd()
546 if (cmd->start_src == TRIG_EXT) { in a2150_ai_cmd()
548 } else if (cmd->start_src == TRIG_OTHER) { in a2150_ai_cmd()
559 if (cmd->start_src == TRIG_NOW) in a2150_ai_cmd()
Ddt2811.c259 if (cmd->start_src == TRIG_NOW) { in dt2811_ai_cmd()
400 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in dt2811_ai_cmdtest()
412 err |= comedi_check_trigger_is_unique(cmd->start_src); in dt2811_ai_cmdtest()
418 if (cmd->convert_src == TRIG_EXT && cmd->start_src != TRIG_EXT) in dt2811_ai_cmdtest()
Damplc_pci224.c670 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_INT | TRIG_EXT); in pci224_ao_cmdtest()
683 err |= comedi_check_trigger_is_unique(cmd->start_src); in pci224_ao_cmdtest()
694 if (cmd->start_src & TRIG_EXT) in pci224_ao_cmdtest()
708 switch (cmd->start_src) { in pci224_ao_cmdtest()
889 if (cmd->start_src == TRIG_INT) { in pci224_ao_cmd()
971 if (cmd->start_src == TRIG_EXT) in pci224_interrupt()
Dadl_pci9118.c931 if (cmd->start_src == TRIG_EXT) in pci9118_ai_cmd()
1130 if (cmd->start_src == TRIG_NOW) in pci9118_ai_cmd()
1132 else if (cmd->start_src == TRIG_INT) in pci9118_ai_cmd()
1136 if (cmd->start_src == TRIG_EXT || cmd->stop_src == TRIG_EXT) in pci9118_ai_cmd()
1153 err |= comedi_check_trigger_src(&cmd->start_src, in pci9118_ai_cmdtest()
1175 err |= comedi_check_trigger_is_unique(cmd->start_src); in pci9118_ai_cmdtest()
1182 if (cmd->start_src == TRIG_EXT && cmd->scan_begin_src == TRIG_EXT) in pci9118_ai_cmdtest()
1201 switch (cmd->start_src) { in pci9118_ai_cmdtest()
Ddas16m1.c175 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in das16m1_ai_cmdtest()
187 err |= comedi_check_trigger_is_unique(cmd->start_src); in das16m1_ai_cmdtest()
282 if (cmd->start_src == TRIG_EXT && cmd->convert_src != TRIG_EXT) in das16m1_ai_cmd()
Dpcmuio.c460 if (cmd->start_src == TRIG_INT) in pcmuio_cmd()
478 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_INT); in pcmuio_cmdtest()
489 err |= comedi_check_trigger_is_unique(cmd->start_src); in pcmuio_cmdtest()
Dusbduxsigma.c480 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_INT); in usbduxsigma_ai_cmdtest()
491 err |= comedi_check_trigger_is_unique(cmd->start_src); in usbduxsigma_ai_cmdtest()
673 if (cmd->start_src == TRIG_NOW) { in usbduxsigma_ai_cmd()
834 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_INT); in usbduxsigma_ao_cmdtest()
856 err |= comedi_check_trigger_is_unique(cmd->start_src); in usbduxsigma_ao_cmdtest()
911 if (cmd->start_src == TRIG_NOW) { in usbduxsigma_ao_cmd()
Ddas800.c302 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in das800_ai_do_cmdtest()
314 err |= comedi_check_trigger_is_unique(cmd->start_src); in das800_ai_do_cmdtest()
397 if (cmd->start_src == TRIG_EXT) in das800_ai_do_cmd()
Dadv_pci1710.c541 if (cmd->start_src == TRIG_EXT) { in pci1710_ai_cmd()
553 if (cmd->start_src == TRIG_NOW) in pci1710_ai_cmd()
571 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in pci1710_ai_cmdtest()
583 err |= comedi_check_trigger_is_unique(cmd->start_src); in pci1710_ai_cmdtest()
Dpcmmio.c457 if (cmd->start_src == TRIG_INT) in pcmmio_cmd()
475 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_INT); in pcmmio_cmdtest()
486 err |= comedi_check_trigger_is_unique(cmd->start_src); in pcmmio_cmdtest()
Dcb_pcidas.c685 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in cb_pcidas_ai_cmdtest()
698 err |= comedi_check_trigger_is_unique(cmd->start_src); in cb_pcidas_ai_cmdtest()
709 if (cmd->start_src == TRIG_EXT && in cb_pcidas_ai_cmdtest()
718 switch (cmd->start_src) { in cb_pcidas_ai_cmdtest()
852 if (cmd->start_src == TRIG_NOW) { in cb_pcidas_ai_cmd()
899 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_INT); in cb_pcidas_ao_cmdtest()
Dusbdux.c515 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_INT); in usbdux_ai_cmdtest()
526 err |= comedi_check_trigger_is_unique(cmd->start_src); in usbdux_ai_cmdtest()
711 if (cmd->start_src == TRIG_NOW) { in usbdux_ai_cmd()
875 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_INT); in usbdux_ao_cmdtest()
909 err |= comedi_check_trigger_is_unique(cmd->start_src); in usbdux_ao_cmdtest()
976 if (cmd->start_src == TRIG_NOW) { in usbdux_ao_cmd()
Dni_labpc_common.c508 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in labpc_ai_cmdtest()
525 err |= comedi_check_trigger_is_unique(cmd->start_src); in labpc_ai_cmdtest()
533 if (cmd->start_src == TRIG_EXT && cmd->stop_src == TRIG_EXT) in labpc_ai_cmdtest()
541 switch (cmd->start_src) { in labpc_ai_cmdtest()
753 if (cmd->start_src == TRIG_EXT) in labpc_ai_cmd()
Damplc_pc236_common.c75 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW); in pc236_intr_cmdtest()
Damplc_dio200_common.c367 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_INT); in dio200_subdev_intr_cmdtest()
378 err |= comedi_check_trigger_is_unique(cmd->start_src); in dio200_subdev_intr_cmdtest()
420 if (cmd->start_src == TRIG_INT) in dio200_subdev_intr_cmd()
Ds626.c1078 cmd->start_src == TRIG_EXT) { in s626_handle_dio_interrupt()
1739 if (cmd->start_src != TRIG_EXT) in s626_ai_cmd()
1761 cmd->start_src == TRIG_EXT) in s626_ai_cmd()
1768 switch (cmd->start_src) { in s626_ai_cmd()
1801 err |= comedi_check_trigger_src(&cmd->start_src, in s626_ai_cmdtest()
1815 err |= comedi_check_trigger_is_unique(cmd->start_src); in s626_ai_cmdtest()
1827 switch (cmd->start_src) { in s626_ai_cmdtest()
Daio_iiro_16.c108 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW); in aio_iiro_16_cos_cmdtest()
Ddas1800.c643 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in das1800_ai_cmdtest()
657 err |= comedi_check_trigger_is_unique(cmd->start_src); in das1800_ai_cmdtest()
670 if (cmd->start_src == TRIG_EXT && cmd->stop_src == TRIG_EXT) in das1800_ai_cmdtest()
868 if (cmd->start_src == TRIG_EXT) in das1800_ai_cmd()
Dcb_pcidas64.c2113 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in ai_cmdtest()
2137 err |= comedi_check_trigger_is_unique(cmd->start_src); in ai_cmdtest()
2152 switch (cmd->start_src) { in ai_cmdtest()
2641 if (cmd->start_src == TRIG_EXT && CR_CHAN(cmd->start_arg)) in ai_cmd()
2655 if (cmd->start_src == TRIG_EXT) { in ai_cmd()
2659 } else if (cmd->start_src == TRIG_NOW) { in ai_cmd()
2671 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 …]
Dni_pcidio.c523 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_INT); in ni_pcidio_cmdtest()
535 err |= comedi_check_trigger_is_unique(cmd->start_src); in ni_pcidio_cmdtest()
707 if (cmd->start_src == TRIG_NOW) { in ni_pcidio_cmd()
Dcomedi_parport.c153 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW); in parport_intr_cmdtest()
/Linux-v4.19/drivers/staging/comedi/
Dcomedi_compat32.c50 unsigned int start_src; member
175 err |= __get_user(temp.uint, &cmd32->start_src); in get_compat_cmd()
176 err |= __put_user(temp.uint, &cmd->start_src); in get_compat_cmd()
229 err |= __get_user(temp, &cmd->start_src); in put_compat_cmd()
230 err |= __put_user(temp, &cmd32->start_src); in put_compat_cmd()

123