Home
last modified time | relevance | path

Searched refs:TRIG_NOW (Results 1 – 25 of 50) sorted by relevance

12

/drivers/staging/comedi/drivers/
Dni_tiocmd.c145 if (cmd->start_src == TRIG_NOW) in ni_tio_input_cmd()
227 sources = TRIG_NOW | TRIG_INT | TRIG_OTHER; in ni_tio_cmdtest()
235 TRIG_NOW | TRIG_EXT | TRIG_OTHER); in ni_tio_cmdtest()
250 if (cmd->convert_src != TRIG_NOW && cmd->scan_begin_src != TRIG_FOLLOW) in ni_tio_cmdtest()
259 case TRIG_NOW: in ni_tio_cmdtest()
Dcomedi_test.c237 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW); in waveform_ai_cmdtest()
241 TRIG_NOW | TRIG_TIMER); in waveform_ai_cmdtest()
255 if (cmd->scan_begin_src == TRIG_FOLLOW && cmd->convert_src == TRIG_NOW) in waveform_ai_cmdtest()
265 if (cmd->convert_src == TRIG_NOW) { in waveform_ai_cmdtest()
343 if (cmd->convert_src == TRIG_NOW) in waveform_ai_cmd()
519 err |= comedi_check_trigger_src(&cmd->convert_src, TRIG_NOW); in waveform_ao_cmdtest()
Dadl_pci9118.c546 if (cmd->convert_src == TRIG_NOW && !chnsshfront) { in pci9118_calc_divisors()
950 if (cmd->convert_src == TRIG_NOW) in pci9118_ai_cmd()
983 if (cmd->convert_src == TRIG_NOW && devpriv->softsshdelay) { in pci9118_ai_cmd()
1083 if (cmd->convert_src == TRIG_NOW && !devpriv->softsshdelay) in pci9118_ai_cmd()
1128 if (cmd->start_src == TRIG_NOW) in pci9118_ai_cmd()
1152 TRIG_NOW | TRIG_EXT | TRIG_INT); in pci9118_ai_cmdtest()
1161 flags |= TRIG_NOW; in pci9118_ai_cmdtest()
1184 (!(cmd->convert_src & (TRIG_TIMER | TRIG_NOW)))) in pci9118_ai_cmdtest()
1200 case TRIG_NOW: in pci9118_ai_cmdtest()
1233 if (cmd->convert_src & (TRIG_TIMER | TRIG_NOW)) { in pci9118_ai_cmdtest()
[all …]
Dcb_pcidas.c694 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in cb_pcidas_ai_cmdtest()
698 TRIG_TIMER | TRIG_NOW | TRIG_EXT); in cb_pcidas_ai_cmdtest()
714 if (cmd->scan_begin_src == TRIG_FOLLOW && cmd->convert_src == TRIG_NOW) in cb_pcidas_ai_cmdtest()
716 if (cmd->scan_begin_src != TRIG_FOLLOW && cmd->convert_src != TRIG_NOW) in cb_pcidas_ai_cmdtest()
728 case TRIG_NOW: in cb_pcidas_ai_cmdtest()
841 if (cmd->convert_src == TRIG_NOW && cmd->chanlist_len > 1) { in cb_pcidas_ai_cmd()
861 if (cmd->start_src == TRIG_NOW) { in cb_pcidas_ai_cmd()
872 if (cmd->convert_src == TRIG_NOW && cmd->chanlist_len > 1) in cb_pcidas_ai_cmd()
911 err |= comedi_check_trigger_src(&cmd->convert_src, TRIG_NOW); in cb_pcidas_ao_cmdtest()
Ddt2814.c130 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW); in dt2814_ai_cmdtest()
132 err |= comedi_check_trigger_src(&cmd->convert_src, TRIG_NOW); in dt2814_ai_cmdtest()
Dni_at_a2150.c422 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in a2150_ai_cmdtest()
424 err |= comedi_check_trigger_src(&cmd->convert_src, TRIG_NOW); in a2150_ai_cmdtest()
553 if (cmd->start_src == TRIG_NOW && in a2150_ai_cmd()
573 if (cmd->start_src == TRIG_NOW) in a2150_ai_cmd()
Ddas16.c601 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW); in das16_cmd_test()
610 trig_mask |= TRIG_NOW; in das16_cmd_test()
628 if (cmd->scan_begin_src == TRIG_FOLLOW && cmd->convert_src == TRIG_NOW) in das16_cmd_test()
630 if (cmd->scan_begin_src != TRIG_FOLLOW && cmd->convert_src != TRIG_NOW) in das16_cmd_test()
730 if (cmd->convert_src == TRIG_NOW) { in das16_cmd_exec()
Dusbduxsigma.c489 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_INT); in usbduxsigma_ai_cmdtest()
491 err |= comedi_check_trigger_src(&cmd->convert_src, TRIG_NOW); in usbduxsigma_ai_cmdtest()
682 if (cmd->start_src == TRIG_NOW) { in usbduxsigma_ai_cmd()
843 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_INT); in usbduxsigma_ao_cmdtest()
854 err |= comedi_check_trigger_src(&cmd->convert_src, TRIG_NOW); in usbduxsigma_ao_cmdtest()
920 if (cmd->start_src == TRIG_NOW) { in usbduxsigma_ao_cmd()
Daddi_apci_2032.c94 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW); in apci2032_int_cmdtest()
96 err |= comedi_check_trigger_src(&cmd->convert_src, TRIG_NOW); in apci2032_int_cmdtest()
Dusbdux.c524 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_INT); in usbdux_ai_cmdtest()
526 err |= comedi_check_trigger_src(&cmd->convert_src, TRIG_NOW); in usbdux_ai_cmdtest()
720 if (cmd->start_src == TRIG_NOW) { in usbdux_ai_cmd()
885 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_INT); in usbdux_ao_cmdtest()
907 flags = TRIG_NOW; in usbdux_ao_cmdtest()
986 if (cmd->start_src == TRIG_NOW) { in usbdux_ao_cmd()
Dme4000.c722 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in me4000_ai_do_cmd_test()
744 if (cmd->start_src == TRIG_NOW && in me4000_ai_do_cmd_test()
748 } else if (cmd->start_src == TRIG_NOW && in me4000_ai_do_cmd_test()
812 if (cmd->start_src == TRIG_NOW && in me4000_ai_do_cmd_test()
834 } else if (cmd->start_src == TRIG_NOW && in me4000_ai_do_cmd_test()
Dpcl711.c289 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW); in pcl711_ai_cmdtest()
292 err |= comedi_check_trigger_src(&cmd->convert_src, TRIG_NOW); in pcl711_ai_cmdtest()
Damplc_pc236_common.c84 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW); in pc236_intr_cmdtest()
Daio_iiro_16.c117 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW); in aio_iiro_16_cos_cmdtest()
Dpcmuio.c487 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_INT); in pcmuio_cmdtest()
489 err |= comedi_check_trigger_src(&cmd->convert_src, TRIG_NOW); in pcmuio_cmdtest()
Dni_pcidio.c550 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_INT); in ni_pcidio_cmdtest()
553 err |= comedi_check_trigger_src(&cmd->convert_src, TRIG_NOW); in ni_pcidio_cmdtest()
732 if (cmd->start_src == TRIG_NOW) { in ni_pcidio_cmd()
Ds626.c1666 if (cmd->convert_src != TRIG_NOW) { in s626_reset_adc()
2061 case TRIG_NOW: in s626_ai_cmd()
2085 case TRIG_NOW: in s626_ai_cmd()
2118 TRIG_NOW | TRIG_INT | TRIG_EXT); in s626_ai_cmdtest()
2122 TRIG_TIMER | TRIG_EXT | TRIG_NOW); in s626_ai_cmdtest()
2144 case TRIG_NOW: in s626_ai_cmdtest()
Dcomedi_parport.c162 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW); in parport_intr_cmdtest()
Dquatech_daqp_cs.c380 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW); in daqp_ai_cmdtest()
384 TRIG_TIMER | TRIG_NOW); in daqp_ai_cmdtest()
Dgsc_hpdi.c371 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW); in gsc_hpdi_cmd_test()
373 err |= comedi_check_trigger_src(&cmd->convert_src, TRIG_NOW); in gsc_hpdi_cmd_test()
Dpcmmio.c484 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_INT); in pcmmio_cmdtest()
486 err |= comedi_check_trigger_src(&cmd->convert_src, TRIG_NOW); in pcmmio_cmdtest()
Dusbduxfast.c370 TRIG_NOW | TRIG_EXT | TRIG_INT); in usbduxfast_ai_cmdtest()
746 if ((cmd->start_src == TRIG_NOW) || (cmd->start_src == TRIG_EXT)) { in usbduxfast_ai_cmd()
Damplc_dio200_common.c376 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_INT); in dio200_subdev_intr_cmdtest()
378 err |= comedi_check_trigger_src(&cmd->convert_src, TRIG_NOW); in dio200_subdev_intr_cmdtest()
Daddi_apci_1032.c206 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW); in apci1032_cos_cmdtest()
Dni_mio_common.c2084 TRIG_NOW | TRIG_INT | TRIG_EXT); in ni_ai_cmdtest()
2090 sources |= TRIG_NOW; in ni_ai_cmdtest()
2114 case TRIG_NOW: in ni_ai_cmdtest()
2165 } else if (cmd->convert_src == TRIG_NOW) { in ni_ai_cmdtest()
2271 case TRIG_NOW: in ni_ai_cmd()
2392 case TRIG_NOW: in ni_ai_cmd()
2393 if (cmd->convert_arg == 0 || cmd->convert_src == TRIG_NOW) in ni_ai_cmd()
2512 if (cmd->start_src == TRIG_NOW) { in ni_ai_cmd()
2950 case TRIG_NOW: in ni_ao_cmd()
3131 err |= comedi_check_trigger_src(&cmd->convert_src, TRIG_NOW); in ni_ao_cmdtest()
[all …]

12