/drivers/staging/comedi/drivers/ |
D | pcm_common.c | 16 tmp = cmd->start_src; in comedi_pcm_cmdtest() 17 cmd->start_src &= (TRIG_NOW | TRIG_INT); in comedi_pcm_cmdtest() 18 if (!cmd->start_src || tmp != cmd->start_src) in comedi_pcm_cmdtest() 48 if ((cmd->start_src & (cmd->start_src - 1)) != 0) in comedi_pcm_cmdtest()
|
D | ni_tiocmd.c | 148 switch (cmd->start_src) { in ni_tio_input_cmd() 245 tmp = cmd->start_src; in ni_tio_cmdtest() 249 cmd->start_src &= sources; in ni_tio_cmdtest() 250 if (!cmd->start_src || tmp != cmd->start_src) in ni_tio_cmdtest() 279 if (cmd->start_src != TRIG_NOW && in ni_tio_cmdtest() 280 cmd->start_src != TRIG_INT && in ni_tio_cmdtest() 281 cmd->start_src != TRIG_EXT && cmd->start_src != TRIG_OTHER) in ni_tio_cmdtest() 300 if (cmd->start_src != TRIG_EXT) { in ni_tio_cmdtest()
|
D | ni_at_a2150.c | 514 tmp = cmd->start_src; in a2150_ai_cmdtest() 515 cmd->start_src &= TRIG_NOW | TRIG_EXT; in a2150_ai_cmdtest() 516 if (!cmd->start_src || tmp != cmd->start_src) in a2150_ai_cmdtest() 544 if (cmd->start_src != TRIG_NOW && cmd->start_src != TRIG_EXT) in a2150_ai_cmdtest() 714 if (cmd->start_src == TRIG_NOW && in a2150_ai_cmd() 724 if (cmd->start_src == TRIG_EXT) { in a2150_ai_cmd() 726 } else if (cmd->start_src == TRIG_OTHER) { in a2150_ai_cmd() 734 if (cmd->start_src == TRIG_NOW) in a2150_ai_cmd()
|
D | usbduxfast.c | 574 tmp = cmd->start_src; in usbduxfast_ai_cmdtest() 575 cmd->start_src &= TRIG_NOW | TRIG_EXT | TRIG_INT; in usbduxfast_ai_cmdtest() 576 if (!cmd->start_src || tmp != cmd->start_src) in usbduxfast_ai_cmdtest() 607 if (cmd->start_src != TRIG_NOW && in usbduxfast_ai_cmdtest() 608 cmd->start_src != TRIG_EXT && cmd->start_src != TRIG_INT) in usbduxfast_ai_cmdtest() 621 if (cmd->start_src == TRIG_EXT && cmd->stop_src == TRIG_EXT) in usbduxfast_ai_cmdtest() 629 if (cmd->start_src == TRIG_NOW && cmd->start_arg != 0) { in usbduxfast_ai_cmdtest() 836 if ((cmd->start_src == TRIG_EXT) && (cmd->chanlist_len != 1) in usbduxfast_ai_cmd() 865 if (cmd->start_src == TRIG_EXT) { in usbduxfast_ai_cmd() 1095 if (cmd->start_src == TRIG_EXT) { in usbduxfast_ai_cmd() [all …]
|
D | me4000.c | 1277 if ((cmd->start_src == TRIG_EXT && in ai_prepare() 1280 (cmd->start_src == TRIG_EXT && in ai_prepare() 1286 } else if (cmd->start_src == TRIG_EXT && in ai_prepare() 1292 } else if (cmd->start_src == TRIG_EXT && in ai_prepare() 1426 cmd->start_src); in me4000_ai_do_cmd_test() 1458 switch (cmd->start_src) { in me4000_ai_do_cmd_test() 1463 cmd->start_src &= TRIG_NOW | TRIG_EXT; in me4000_ai_do_cmd_test() 1470 cmd->start_src = TRIG_NOW; in me4000_ai_do_cmd_test() 1540 if (cmd->start_src == TRIG_NOW && in me4000_ai_do_cmd_test() 1543 } else if (cmd->start_src == TRIG_NOW && in me4000_ai_do_cmd_test() [all …]
|
D | das16m1.c | 225 tmp = cmd->start_src; in das16m1_cmd_test() 226 cmd->start_src &= TRIG_NOW | TRIG_EXT; in das16m1_cmd_test() 227 if (!cmd->start_src || tmp != cmd->start_src) in das16m1_cmd_test() 256 if (cmd->start_src != TRIG_NOW && cmd->start_src != TRIG_EXT) in das16m1_cmd_test() 387 if (cmd->start_src == TRIG_EXT && cmd->convert_src != TRIG_EXT) in das16m1_cmd_exec()
|
D | comedi_parport.c | 204 tmp = cmd->start_src; in parport_intr_cmdtest() 205 cmd->start_src &= TRIG_NOW; in parport_intr_cmdtest() 206 if (!cmd->start_src || tmp != cmd->start_src) in parport_intr_cmdtest()
|
D | 8255.c | 251 tmp = cmd->start_src; in subdev_8255_cmdtest() 252 cmd->start_src &= TRIG_NOW; in subdev_8255_cmdtest() 253 if (!cmd->start_src || tmp != cmd->start_src) in subdev_8255_cmdtest()
|
D | dt2814.c | 159 tmp = cmd->start_src; in dt2814_ai_cmdtest() 160 cmd->start_src &= TRIG_NOW; in dt2814_ai_cmdtest() 161 if (!cmd->start_src || tmp != cmd->start_src) in dt2814_ai_cmdtest()
|
D | das800.c | 615 tmp = cmd->start_src; in das800_ai_do_cmdtest() 616 cmd->start_src &= TRIG_NOW | TRIG_EXT; in das800_ai_do_cmdtest() 617 if (!cmd->start_src || tmp != cmd->start_src) in das800_ai_do_cmdtest() 645 if (cmd->start_src != TRIG_NOW && cmd->start_src != TRIG_EXT) in das800_ai_do_cmdtest() 782 if (async->cmd.start_src == TRIG_EXT) in das800_ai_do_cmd()
|
D | amplc_pci224.c | 803 tmp = cmd->start_src; in pci224_ao_cmdtest() 804 cmd->start_src &= TRIG_INT | TRIG_EXT; in pci224_ao_cmdtest() 805 if (!cmd->start_src || tmp != cmd->start_src) in pci224_ao_cmdtest() 835 if ((cmd->start_src & (cmd->start_src - 1)) != 0) in pci224_ao_cmdtest() 849 if (cmd->start_src & TRIG_EXT) in pci224_ao_cmdtest() 863 switch (cmd->start_src) { in pci224_ao_cmdtest() 1205 switch (cmd->start_src) { in pci224_ao_cmd() 1292 if (cmd->start_src == TRIG_EXT) in pci224_interrupt()
|
D | cb_pcidas.c | 1087 tmp = cmd->start_src; in cb_pcidas_ai_cmdtest() 1088 cmd->start_src &= TRIG_NOW | TRIG_EXT; in cb_pcidas_ai_cmdtest() 1089 if (!cmd->start_src || tmp != cmd->start_src) in cb_pcidas_ai_cmdtest() 1117 if (cmd->start_src != TRIG_NOW && cmd->start_src != TRIG_EXT) in cb_pcidas_ai_cmdtest() 1134 if (cmd->start_src == TRIG_EXT && in cb_pcidas_ai_cmdtest() 1143 switch (cmd->start_src) { in cb_pcidas_ai_cmdtest() 1317 if (cmd->start_src == TRIG_NOW) in cb_pcidas_ai_cmd() 1319 else if (cmd->start_src == TRIG_EXT) { in cb_pcidas_ai_cmd() 1356 tmp = cmd->start_src; in cb_pcidas_ao_cmdtest() 1357 cmd->start_src &= TRIG_INT; in cb_pcidas_ao_cmdtest() [all …]
|
D | skel.c | 372 tmp = cmd->start_src; in skel_ai_cmdtest() 373 cmd->start_src &= TRIG_NOW; in skel_ai_cmdtest() 374 if (!cmd->start_src || tmp != cmd->start_src) in skel_ai_cmdtest()
|
D | ni_daq_700.c | 218 tmp = cmd->start_src; in subdev_700_cmdtest() 219 cmd->start_src &= TRIG_NOW; in subdev_700_cmdtest() 220 if (!cmd->start_src || tmp != cmd->start_src) in subdev_700_cmdtest()
|
D | adl_pci9118.c | 965 tmp = cmd->start_src; in pci9118_ai_cmdtest() 966 cmd->start_src &= TRIG_NOW | TRIG_EXT | TRIG_INT; in pci9118_ai_cmdtest() 967 if (!cmd->start_src || tmp != cmd->start_src) in pci9118_ai_cmdtest() 1007 if (cmd->start_src != TRIG_NOW && in pci9118_ai_cmdtest() 1008 cmd->start_src != TRIG_INT && cmd->start_src != TRIG_EXT) { in pci9118_ai_cmdtest() 1009 cmd->start_src = TRIG_NOW; in pci9118_ai_cmdtest() 1039 if (cmd->start_src == TRIG_EXT && cmd->scan_begin_src == TRIG_EXT) { in pci9118_ai_cmdtest() 1040 cmd->start_src = TRIG_NOW; in pci9118_ai_cmdtest() 1044 if (cmd->start_src == TRIG_INT && cmd->scan_begin_src == TRIG_INT) { in pci9118_ai_cmdtest() 1045 cmd->start_src = TRIG_NOW; in pci9118_ai_cmdtest() [all …]
|
D | cb_pcidda.c | 429 printk("start_src: %d\n", cmd->start_src); 459 tmp = cmd->start_src; 460 cmd->start_src &= TRIG_NOW; 461 if (!cmd->start_src || tmp != cmd->start_src)
|
D | ni_6527.c | 247 tmp = cmd->start_src; in ni6527_intr_cmdtest() 248 cmd->start_src &= TRIG_NOW; in ni6527_intr_cmdtest() 249 if (!cmd->start_src || tmp != cmd->start_src) in ni6527_intr_cmdtest()
|
D | pcl816.c | 488 cmd->start_src, cmd->scan_begin_src, cmd->convert_src); in pcl816_cmdtest_out() 511 tmp = cmd->start_src; in pcl816_ai_cmdtest() 512 cmd->start_src &= TRIG_NOW; in pcl816_ai_cmdtest() 513 if (!cmd->start_src || tmp != cmd->start_src) in pcl816_ai_cmdtest() 545 if (cmd->start_src != TRIG_NOW) { in pcl816_ai_cmdtest() 546 cmd->start_src = TRIG_NOW; in pcl816_ai_cmdtest() 648 if (cmd->start_src != TRIG_NOW) in pcl816_ai_cmd()
|
D | amplc_dio200.c | 864 tmp = cmd->start_src; in dio200_subdev_intr_cmdtest() 865 cmd->start_src &= (TRIG_NOW | TRIG_INT); in dio200_subdev_intr_cmdtest() 866 if (!cmd->start_src || tmp != cmd->start_src) in dio200_subdev_intr_cmdtest() 896 if ((cmd->start_src & (cmd->start_src - 1)) != 0) in dio200_subdev_intr_cmdtest() 988 switch (cmd->start_src) { in dio200_subdev_intr_cmd()
|
D | amplc_pc236.c | 608 tmp = cmd->start_src; in pc236_intr_cmdtest() 609 cmd->start_src &= TRIG_NOW; in pc236_intr_cmdtest() 610 if (!cmd->start_src || tmp != cmd->start_src) in pc236_intr_cmdtest()
|
D | pcl711.c | 303 tmp = cmd->start_src; in pcl711_ai_cmdtest() 304 cmd->start_src &= TRIG_NOW; in pcl711_ai_cmdtest() 305 if (!cmd->start_src || tmp != cmd->start_src) in pcl711_ai_cmdtest()
|
D | comedi_test.c | 307 tmp = cmd->start_src; in waveform_ai_cmdtest() 308 cmd->start_src &= TRIG_NOW; in waveform_ai_cmdtest() 309 if (!cmd->start_src || tmp != cmd->start_src) in waveform_ai_cmdtest()
|
D | dt282x.c | 746 tmp = cmd->start_src; in dt282x_ai_cmdtest() 747 cmd->start_src &= TRIG_NOW; in dt282x_ai_cmdtest() 748 if (!cmd->start_src || tmp != cmd->start_src) in dt282x_ai_cmdtest() 1023 tmp = cmd->start_src; in dt282x_ao_cmdtest() 1024 cmd->start_src &= TRIG_INT; in dt282x_ao_cmdtest() 1025 if (!cmd->start_src || tmp != cmd->start_src) in dt282x_ao_cmdtest()
|
D | adv_pci1710.c | 929 cmd->start_src, cmd->scan_begin_src, cmd->convert_src); in pci171x_cmdtest_out() 956 tmp = cmd->start_src; in pci171x_ai_cmdtest() 957 cmd->start_src &= TRIG_NOW | TRIG_EXT; in pci171x_ai_cmdtest() 958 if (!cmd->start_src || tmp != cmd->start_src) in pci171x_ai_cmdtest() 993 if (cmd->start_src != TRIG_NOW && cmd->start_src != TRIG_EXT) { in pci171x_ai_cmdtest() 994 cmd->start_src = TRIG_NOW; in pci171x_ai_cmdtest() 1131 return pci171x_ai_docmd_and_mode(cmd->start_src == in pci171x_ai_cmd()
|
/drivers/staging/comedi/ |
D | comedi_compat32.c | 61 unsigned int start_src; member 189 err |= __get_user(temp.uint, &cmd32->start_src); in get_compat_cmd() 190 err |= __put_user(temp.uint, &cmd->start_src); in get_compat_cmd() 240 err |= __get_user(temp, &cmd->start_src); in put_compat_cmd() 241 err |= __put_user(temp, &cmd32->start_src); in put_compat_cmd()
|