Home
last modified time | relevance | path

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

12

/drivers/staging/comedi/drivers/
Dme4000.c759 if ((cmd->start_src == TRIG_EXT && in ai_prepare()
762 (cmd->start_src == TRIG_EXT && in ai_prepare()
768 } else if (cmd->start_src == TRIG_EXT && in ai_prepare()
774 } else if (cmd->start_src == TRIG_EXT && in ai_prepare()
859 err |= cfc_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in me4000_ai_do_cmd_test()
872 err |= cfc_check_trigger_is_unique(cmd->start_src); in me4000_ai_do_cmd_test()
880 if (cmd->start_src == TRIG_NOW && in me4000_ai_do_cmd_test()
883 } else if (cmd->start_src == TRIG_NOW && in me4000_ai_do_cmd_test()
886 } else if (cmd->start_src == TRIG_EXT && in me4000_ai_do_cmd_test()
889 } else if (cmd->start_src == TRIG_EXT && in me4000_ai_do_cmd_test()
[all …]
Dni_tiocmd.c141 if (cmd->start_src == TRIG_INT) { in ni_tio_input_cmd()
147 if (cmd->start_src == TRIG_NOW) in ni_tio_input_cmd()
149 else if (cmd->start_src == TRIG_EXT) in ni_tio_input_cmd()
238 err |= cfc_check_trigger_src(&cmd->start_src, sources); in ni_tio_cmdtest()
252 err |= cfc_check_trigger_is_unique(cmd->start_src); in ni_tio_cmdtest()
266 switch (cmd->start_src) { in ni_tio_cmdtest()
Dusbduxfast.c371 err |= cfc_check_trigger_src(&cmd->start_src, in usbduxfast_ai_cmdtest()
384 err |= cfc_check_trigger_is_unique(cmd->start_src); in usbduxfast_ai_cmdtest()
392 if (cmd->start_src == TRIG_EXT && cmd->stop_src == TRIG_EXT) in usbduxfast_ai_cmdtest()
548 if ((cmd->start_src == TRIG_EXT) && (cmd->chanlist_len != 1) in usbduxfast_ai_cmd()
573 if (cmd->start_src == TRIG_EXT) { in usbduxfast_ai_cmd()
756 if (cmd->start_src == TRIG_EXT) { in usbduxfast_ai_cmd()
818 if ((cmd->start_src == TRIG_NOW) || (cmd->start_src == TRIG_EXT)) { in usbduxfast_ai_cmd()
Dni_at_a2150.c445 err |= cfc_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in a2150_ai_cmdtest()
456 err |= cfc_check_trigger_is_unique(cmd->start_src); in a2150_ai_cmdtest()
583 if (cmd->start_src == TRIG_NOW && in a2150_ai_cmd()
593 if (cmd->start_src == TRIG_EXT) { in a2150_ai_cmd()
595 } else if (cmd->start_src == TRIG_OTHER) { in a2150_ai_cmd()
603 if (cmd->start_src == TRIG_NOW) in a2150_ai_cmd()
Damplc_pci224.c689 err |= cfc_check_trigger_src(&cmd->start_src, TRIG_INT | TRIG_EXT); in pci224_ao_cmdtest()
702 err |= cfc_check_trigger_is_unique(cmd->start_src); in pci224_ao_cmdtest()
713 if (cmd->start_src & TRIG_EXT) in pci224_ao_cmdtest()
727 switch (cmd->start_src) { in pci224_ao_cmdtest()
920 if (cmd->start_src == TRIG_INT) { in pci224_ao_cmd()
1002 if (cmd->start_src == TRIG_EXT) in pci224_interrupt()
Dadl_pci9118.c936 if (cmd->start_src == TRIG_EXT) in pci9118_ai_cmd()
1140 if (cmd->start_src == TRIG_NOW) in pci9118_ai_cmd()
1142 else if (cmd->start_src == TRIG_INT) in pci9118_ai_cmd()
1146 if (cmd->start_src == TRIG_EXT || cmd->stop_src == TRIG_EXT) in pci9118_ai_cmd()
1164 err |= cfc_check_trigger_src(&cmd->start_src, in pci9118_ai_cmdtest()
1186 err |= cfc_check_trigger_is_unique(cmd->start_src); in pci9118_ai_cmdtest()
1193 if (cmd->start_src == TRIG_EXT && cmd->scan_begin_src == TRIG_EXT) in pci9118_ai_cmdtest()
1196 if (cmd->start_src == TRIG_INT && cmd->scan_begin_src == TRIG_INT) in pci9118_ai_cmdtest()
1215 switch (cmd->start_src) { in pci9118_ai_cmdtest()
Ddas16m1.c189 err |= cfc_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in das16m1_cmd_test()
200 err |= cfc_check_trigger_is_unique(cmd->start_src); in das16m1_cmd_test()
310 if (cmd->start_src == TRIG_EXT && cmd->convert_src != TRIG_EXT) in das16m1_cmd_exec()
Dpcmuio.c493 if (cmd->start_src == TRIG_INT) in pcmuio_cmd()
511 err |= cfc_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_INT); in pcmuio_cmdtest()
522 err |= cfc_check_trigger_is_unique(cmd->start_src); in pcmuio_cmdtest()
Dusbduxsigma.c508 err |= cfc_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_INT); in usbduxsigma_ai_cmdtest()
519 err |= cfc_check_trigger_is_unique(cmd->start_src); in usbduxsigma_ai_cmdtest()
719 if (cmd->start_src == TRIG_NOW) { in usbduxsigma_ai_cmd()
886 err |= cfc_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_INT); in usbduxsigma_ao_cmdtest()
911 err |= cfc_check_trigger_is_unique(cmd->start_src); in usbduxsigma_ao_cmdtest()
999 if (cmd->start_src == TRIG_NOW) { in usbduxsigma_ao_cmd()
Dusbdux.c563 err |= cfc_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_INT); in usbdux_ai_cmdtest()
574 err |= cfc_check_trigger_is_unique(cmd->start_src); in usbdux_ai_cmdtest()
776 if (cmd->start_src == TRIG_NOW) { in usbdux_ai_cmd()
945 err |= cfc_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_INT); in usbdux_ao_cmdtest()
979 err |= cfc_check_trigger_is_unique(cmd->start_src); in usbdux_ao_cmdtest()
1065 if (cmd->start_src == TRIG_NOW) { in usbdux_ao_cmd()
Dpcmmio.c487 if (cmd->start_src == TRIG_INT) in pcmmio_cmd()
505 err |= cfc_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_INT); in pcmmio_cmdtest()
516 err |= cfc_check_trigger_is_unique(cmd->start_src); in pcmmio_cmdtest()
Ddas800.c335 err |= cfc_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in das800_ai_do_cmdtest()
346 err |= cfc_check_trigger_is_unique(cmd->start_src); in das800_ai_do_cmdtest()
435 if (cmd->start_src == TRIG_EXT) in das800_ai_do_cmd()
Dni_labpc_common.c555 err |= cfc_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in labpc_ai_cmdtest()
571 err |= cfc_check_trigger_is_unique(cmd->start_src); in labpc_ai_cmdtest()
579 if (cmd->start_src == TRIG_EXT && cmd->stop_src == TRIG_EXT) in labpc_ai_cmdtest()
587 switch (cmd->start_src) { in labpc_ai_cmdtest()
786 if (cmd->start_src == TRIG_EXT) in labpc_ai_cmd()
Dcb_pcidas.c827 err |= cfc_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in cb_pcidas_ai_cmdtest()
840 err |= cfc_check_trigger_is_unique(cmd->start_src); in cb_pcidas_ai_cmdtest()
851 if (cmd->start_src == TRIG_EXT && in cb_pcidas_ai_cmdtest()
860 switch (cmd->start_src) { in cb_pcidas_ai_cmdtest()
1006 if (cmd->start_src == TRIG_NOW) { in cb_pcidas_ai_cmd()
1054 err |= cfc_check_trigger_src(&cmd->start_src, TRIG_INT); in cb_pcidas_ao_cmdtest()
Damplc_pc236_common.c85 err |= cfc_check_trigger_src(&cmd->start_src, TRIG_NOW); in pc236_intr_cmdtest()
Dcb_pcidas64.c2104 err |= cfc_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in ai_cmdtest()
2128 err |= cfc_check_trigger_is_unique(cmd->start_src); in ai_cmdtest()
2143 switch (cmd->start_src) { in ai_cmdtest()
2633 if (cmd->start_src == TRIG_EXT && CR_CHAN(cmd->start_arg)) in ai_cmd()
2647 if (cmd->start_src == TRIG_EXT) { in ai_cmd()
2651 } else if (cmd->start_src == TRIG_NOW) in ai_cmd()
2662 if (cmd->start_src == TRIG_NOW) in ai_cmd()
3142 if (cmd->start_src == TRIG_EXT) { in set_dac_control0_reg()
3285 if (cmd->start_src == TRIG_INT) in ao_inttrig()
3348 err |= cfc_check_trigger_src(&cmd->start_src, TRIG_INT | TRIG_EXT); in ao_cmdtest()
[all …]
Ds626.c1359 cmd->start_src == TRIG_EXT) { in s626_handle_dio_interrupt()
2078 if (cmd->start_src != TRIG_EXT) in s626_ai_cmd()
2100 cmd->start_src == TRIG_EXT) in s626_ai_cmd()
2109 switch (cmd->start_src) { in s626_ai_cmd()
2142 err |= cfc_check_trigger_src(&cmd->start_src, in s626_ai_cmdtest()
2156 err |= cfc_check_trigger_is_unique(cmd->start_src); in s626_ai_cmdtest()
2168 switch (cmd->start_src) { in s626_ai_cmdtest()
Damplc_dio200_common.c388 err |= cfc_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_INT); in dio200_subdev_intr_cmdtest()
399 err |= cfc_check_trigger_is_unique(cmd->start_src); in dio200_subdev_intr_cmdtest()
441 if (cmd->start_src == TRIG_INT) in dio200_subdev_intr_cmd()
Dadv_pci1710.c942 if (cmd->start_src == TRIG_EXT) { in pci171x_ai_cmd()
953 if (cmd->start_src == TRIG_NOW) in pci171x_ai_cmd()
977 err |= cfc_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in pci171x_ai_cmdtest()
988 err |= cfc_check_trigger_is_unique(cmd->start_src); in pci171x_ai_cmdtest()
Dni_pcidio.c558 err |= cfc_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_INT); in ni_pcidio_cmdtest()
570 err |= cfc_check_trigger_is_unique(cmd->start_src); in ni_pcidio_cmdtest()
739 if (cmd->start_src == TRIG_NOW) { in ni_pcidio_cmd()
Ddt2814.c133 err |= cfc_check_trigger_src(&cmd->start_src, TRIG_NOW); in dt2814_ai_cmdtest()
Dcomedi_parport.c164 err |= cfc_check_trigger_src(&cmd->start_src, TRIG_NOW); in parport_intr_cmdtest()
Damplc_pci230.c904 err |= cfc_check_trigger_src(&cmd->start_src, TRIG_INT); in pci230_ao_cmdtest()
1333 if (trig_num != cmd->start_src) in pci230_ao_inttrig_start()
1558 err |= cfc_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_INT); in pci230_ai_cmdtest()
1581 err |= cfc_check_trigger_is_unique(cmd->start_src); in pci230_ai_cmdtest()
2337 if (cmd->start_src == TRIG_INT) in pci230_ai_cmd()
Ddt282x.c691 err |= cfc_check_trigger_src(&cmd->start_src, TRIG_NOW); in dt282x_ai_cmdtest()
867 err |= cfc_check_trigger_src(&cmd->start_src, TRIG_INT); in dt282x_ao_cmdtest()
921 if (trig_num != cmd->start_src) in dt282x_ao_inttrig()
/drivers/staging/comedi/
Dcomedi_compat32.c55 unsigned int start_src; member
180 err |= __get_user(temp.uint, &cmd32->start_src); in get_compat_cmd()
181 err |= __put_user(temp.uint, &cmd->start_src); in get_compat_cmd()
231 err |= __get_user(temp, &cmd->start_src); in put_compat_cmd()
232 err |= __put_user(temp, &cmd32->start_src); in put_compat_cmd()

12