/Linux-v4.19/drivers/staging/comedi/drivers/ |
D | ni_tiocmd.c | 123 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()
|
D | me4000.c | 713 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 …]
|
D | usbduxfast.c | 358 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()
|
D | ni_at_a2150.c | 403 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()
|
D | dt2811.c | 259 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()
|
D | amplc_pci224.c | 670 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()
|
D | adl_pci9118.c | 931 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()
|
D | das16m1.c | 175 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()
|
D | pcmuio.c | 460 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()
|
D | usbduxsigma.c | 480 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()
|
D | das800.c | 302 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()
|
D | adv_pci1710.c | 541 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()
|
D | pcmmio.c | 457 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()
|
D | cb_pcidas.c | 685 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()
|
D | usbdux.c | 515 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()
|
D | ni_labpc_common.c | 508 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()
|
D | amplc_pc236_common.c | 75 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW); in pc236_intr_cmdtest()
|
D | amplc_dio200_common.c | 367 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()
|
D | s626.c | 1078 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()
|
D | aio_iiro_16.c | 108 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW); in aio_iiro_16_cos_cmdtest()
|
D | das1800.c | 643 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()
|
D | cb_pcidas64.c | 2113 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 …]
|
D | ni_pcidio.c | 523 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()
|
D | comedi_parport.c | 153 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW); in parport_intr_cmdtest()
|
/Linux-v4.19/drivers/staging/comedi/ |
D | comedi_compat32.c | 50 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()
|