/drivers/staging/comedi/drivers/ |
D | me4000.c | 759 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 …]
|
D | ni_tiocmd.c | 141 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()
|
D | usbduxfast.c | 371 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()
|
D | ni_at_a2150.c | 445 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()
|
D | amplc_pci224.c | 689 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()
|
D | adl_pci9118.c | 936 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()
|
D | das16m1.c | 189 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()
|
D | pcmuio.c | 493 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()
|
D | usbduxsigma.c | 508 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()
|
D | usbdux.c | 563 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()
|
D | pcmmio.c | 487 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()
|
D | das800.c | 335 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()
|
D | ni_labpc_common.c | 555 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()
|
D | cb_pcidas.c | 827 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()
|
D | amplc_pc236_common.c | 85 err |= cfc_check_trigger_src(&cmd->start_src, TRIG_NOW); in pc236_intr_cmdtest()
|
D | cb_pcidas64.c | 2104 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 …]
|
D | s626.c | 1359 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()
|
D | amplc_dio200_common.c | 388 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()
|
D | adv_pci1710.c | 942 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()
|
D | ni_pcidio.c | 558 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()
|
D | dt2814.c | 133 err |= cfc_check_trigger_src(&cmd->start_src, TRIG_NOW); in dt2814_ai_cmdtest()
|
D | comedi_parport.c | 164 err |= cfc_check_trigger_src(&cmd->start_src, TRIG_NOW); in parport_intr_cmdtest()
|
D | amplc_pci230.c | 904 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()
|
D | dt282x.c | 691 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/ |
D | comedi_compat32.c | 55 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()
|