/drivers/staging/comedi/drivers/ |
D | ni_tiocmd.c | 132 if (cmd->start_src == TRIG_INT) { in ni_tio_input_cmd() 138 if (cmd->start_src == TRIG_NOW) in ni_tio_input_cmd() 140 else if (cmd->start_src == TRIG_EXT) in ni_tio_input_cmd() 223 err |= comedi_check_trigger_src(&cmd->start_src, sources); in ni_tio_cmdtest() 237 err |= comedi_check_trigger_is_unique(cmd->start_src); in ni_tio_cmdtest() 251 switch (cmd->start_src) { in ni_tio_cmdtest()
|
D | me4000.c | 722 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in me4000_ai_do_cmd_test() 736 err |= comedi_check_trigger_is_unique(cmd->start_src); 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() 752 } else if (cmd->start_src == TRIG_EXT && in me4000_ai_do_cmd_test() 756 } else if (cmd->start_src == TRIG_EXT && in me4000_ai_do_cmd_test() 760 } else if (cmd->start_src == TRIG_EXT && in me4000_ai_do_cmd_test() 764 } else if (cmd->start_src == TRIG_EXT && 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() [all …]
|
D | usbduxfast.c | 367 err |= comedi_check_trigger_src(&cmd->start_src, in usbduxfast_ai_cmdtest() 379 err |= comedi_check_trigger_is_unique(cmd->start_src); in usbduxfast_ai_cmdtest() 395 if (cmd->start_src == TRIG_EXT && in usbduxfast_ai_cmdtest() 506 if (cmd->start_src == TRIG_EXT) { in usbduxfast_ai_cmd() 689 if (cmd->start_src == TRIG_EXT) { in usbduxfast_ai_cmd() 739 if ((cmd->start_src == TRIG_NOW) || (cmd->start_src == TRIG_EXT)) { in usbduxfast_ai_cmd()
|
D | ni_at_a2150.c | 412 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in a2150_ai_cmdtest() 423 err |= comedi_check_trigger_is_unique(cmd->start_src); in a2150_ai_cmdtest() 545 if (cmd->start_src == TRIG_NOW && in a2150_ai_cmd() 555 if (cmd->start_src == TRIG_EXT) { in a2150_ai_cmd() 557 } else if (cmd->start_src == TRIG_OTHER) { in a2150_ai_cmd() 568 if (cmd->start_src == TRIG_NOW) in a2150_ai_cmd()
|
D | dt2811.c | 268 if (cmd->start_src == TRIG_NOW) { in dt2811_ai_cmd() 409 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in dt2811_ai_cmdtest() 421 err |= comedi_check_trigger_is_unique(cmd->start_src); in dt2811_ai_cmdtest() 427 if (cmd->convert_src == TRIG_EXT && cmd->start_src != TRIG_EXT) in dt2811_ai_cmdtest()
|
D | amplc_pci224.c | 673 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_INT | TRIG_EXT); in pci224_ao_cmdtest() 686 err |= comedi_check_trigger_is_unique(cmd->start_src); in pci224_ao_cmdtest() 697 if (cmd->start_src & TRIG_EXT) in pci224_ao_cmdtest() 711 switch (cmd->start_src) { in pci224_ao_cmdtest() 890 if (cmd->start_src == TRIG_INT) { in pci224_ao_cmd() 972 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 | 184 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in das16m1_ai_cmdtest() 196 err |= comedi_check_trigger_is_unique(cmd->start_src); in das16m1_ai_cmdtest() 291 if (cmd->start_src == TRIG_EXT && cmd->convert_src != TRIG_EXT) in das16m1_ai_cmd()
|
D | pcmuio.c | 469 if (cmd->start_src == TRIG_INT) in pcmuio_cmd() 487 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_INT); in pcmuio_cmdtest() 498 err |= comedi_check_trigger_is_unique(cmd->start_src); in pcmuio_cmdtest()
|
D | usbduxsigma.c | 489 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_INT); in usbduxsigma_ai_cmdtest() 500 err |= comedi_check_trigger_is_unique(cmd->start_src); 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() 865 err |= comedi_check_trigger_is_unique(cmd->start_src); in usbduxsigma_ao_cmdtest() 920 if (cmd->start_src == TRIG_NOW) { in usbduxsigma_ao_cmd()
|
D | das800.c | 311 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in das800_ai_do_cmdtest() 323 err |= comedi_check_trigger_is_unique(cmd->start_src); in das800_ai_do_cmdtest() 406 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 | usbdux.c | 524 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_INT); in usbdux_ai_cmdtest() 535 err |= comedi_check_trigger_is_unique(cmd->start_src); 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() 919 err |= comedi_check_trigger_is_unique(cmd->start_src); in usbdux_ao_cmdtest() 986 if (cmd->start_src == TRIG_NOW) { in usbdux_ao_cmd()
|
D | cb_pcidas.c | 694 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in cb_pcidas_ai_cmdtest() 707 err |= comedi_check_trigger_is_unique(cmd->start_src); in cb_pcidas_ai_cmdtest() 718 if (cmd->start_src == TRIG_EXT && in cb_pcidas_ai_cmdtest() 727 switch (cmd->start_src) { in cb_pcidas_ai_cmdtest() 861 if (cmd->start_src == TRIG_NOW) { in cb_pcidas_ai_cmd() 908 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_INT); in cb_pcidas_ao_cmdtest()
|
D | pcmmio.c | 466 if (cmd->start_src == TRIG_INT) in pcmmio_cmd() 484 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_INT); in pcmmio_cmdtest() 495 err |= comedi_check_trigger_is_unique(cmd->start_src); in pcmmio_cmdtest()
|
D | ni_labpc_common.c | 517 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in labpc_ai_cmdtest() 534 err |= comedi_check_trigger_is_unique(cmd->start_src); in labpc_ai_cmdtest() 542 if (cmd->start_src == TRIG_EXT && cmd->stop_src == TRIG_EXT) in labpc_ai_cmdtest() 550 switch (cmd->start_src) { in labpc_ai_cmdtest() 762 if (cmd->start_src == TRIG_EXT) in labpc_ai_cmd()
|
D | s626.c | 1076 cmd->start_src == TRIG_EXT) { in s626_handle_dio_interrupt() 1738 if (cmd->start_src != TRIG_EXT) in s626_ai_cmd() 1760 cmd->start_src == TRIG_EXT) in s626_ai_cmd() 1767 switch (cmd->start_src) { in s626_ai_cmd() 1800 err |= comedi_check_trigger_src(&cmd->start_src, in s626_ai_cmdtest() 1814 err |= comedi_check_trigger_is_unique(cmd->start_src); in s626_ai_cmdtest() 1826 switch (cmd->start_src) { in s626_ai_cmdtest()
|
D | amplc_dio200_common.c | 376 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_INT); in dio200_subdev_intr_cmdtest() 387 err |= comedi_check_trigger_is_unique(cmd->start_src); in dio200_subdev_intr_cmdtest() 429 if (cmd->start_src == TRIG_INT) in dio200_subdev_intr_cmd()
|
D | das1800.c | 652 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in das1800_ai_cmdtest() 666 err |= comedi_check_trigger_is_unique(cmd->start_src); in das1800_ai_cmdtest() 679 if (cmd->start_src == TRIG_EXT && cmd->stop_src == TRIG_EXT) in das1800_ai_cmdtest() 877 if (cmd->start_src == TRIG_EXT) in das1800_ai_cmd()
|
D | amplc_pc236_common.c | 84 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW); in pc236_intr_cmdtest()
|
D | cb_pcidas64.c | 2125 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in ai_cmdtest() 2149 err |= comedi_check_trigger_is_unique(cmd->start_src); in ai_cmdtest() 2164 switch (cmd->start_src) { in ai_cmdtest() 2652 if (cmd->start_src == TRIG_EXT && CR_CHAN(cmd->start_arg)) in ai_cmd() 2666 if (cmd->start_src == TRIG_EXT) { in ai_cmd() 2670 } else if (cmd->start_src == TRIG_NOW) { in ai_cmd() 2682 if (cmd->start_src == TRIG_NOW) in ai_cmd() 3145 if (cmd->start_src == TRIG_EXT) { in set_dac_control0_reg() 3293 if (cmd->start_src == TRIG_INT) in ao_inttrig() 3355 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_INT | TRIG_EXT); in ao_cmdtest() [all …]
|
D | aio_iiro_16.c | 117 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW); in aio_iiro_16_cos_cmdtest()
|
D | ni_pcidio.c | 530 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_INT); in ni_pcidio_cmdtest() 542 err |= comedi_check_trigger_is_unique(cmd->start_src); in ni_pcidio_cmdtest() 714 if (cmd->start_src == TRIG_NOW) { in ni_pcidio_cmd()
|
D | addi_apci_3120.c | 564 if (cmd->start_src == TRIG_EXT) in apci3120_ai_cmd() 610 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in apci3120_ai_cmdtest() 622 err |= comedi_check_trigger_is_unique(cmd->start_src); in apci3120_ai_cmdtest()
|
/drivers/staging/comedi/ |
D | comedi_compat32.c | 59 unsigned int start_src; member 184 err |= __get_user(temp.uint, &cmd32->start_src); in get_compat_cmd() 185 err |= __put_user(temp.uint, &cmd->start_src); in get_compat_cmd() 238 err |= __get_user(temp, &cmd->start_src); in put_compat_cmd() 239 err |= __put_user(temp, &cmd32->start_src); in put_compat_cmd()
|