/drivers/staging/comedi/drivers/ |
D | pcm_common.c | 36 tmp = cmd->stop_src; in comedi_pcm_cmdtest() 37 cmd->stop_src &= (TRIG_COUNT | TRIG_NONE); in comedi_pcm_cmdtest() 38 if (!cmd->stop_src || tmp != cmd->stop_src) in comedi_pcm_cmdtest() 56 if ((cmd->stop_src & (cmd->stop_src - 1)) != 0) in comedi_pcm_cmdtest() 88 switch (cmd->stop_src) { in comedi_pcm_cmdtest()
|
D | dt2814.c | 179 tmp = cmd->stop_src; in dt2814_ai_cmdtest() 180 cmd->stop_src &= TRIG_COUNT | TRIG_NONE; in dt2814_ai_cmdtest() 181 if (!cmd->stop_src || tmp != cmd->stop_src) in dt2814_ai_cmdtest() 191 if (cmd->stop_src != TRIG_TIMER && cmd->stop_src != TRIG_EXT) in dt2814_ai_cmdtest() 215 if (cmd->stop_src == TRIG_COUNT) { in dt2814_ai_cmdtest()
|
D | cb_pcidas.c | 1107 tmp = cmd->stop_src; in cb_pcidas_ai_cmdtest() 1108 cmd->stop_src &= TRIG_COUNT | TRIG_NONE; in cb_pcidas_ai_cmdtest() 1109 if (!cmd->stop_src || tmp != cmd->stop_src) in cb_pcidas_ai_cmdtest() 1126 if (cmd->stop_src != TRIG_COUNT && cmd->stop_src != TRIG_NONE) in cb_pcidas_ai_cmdtest() 1185 if (cmd->stop_src == TRIG_NONE) { in cb_pcidas_ai_cmdtest() 1292 if (cmd->stop_src == TRIG_COUNT) in cb_pcidas_ai_cmd() 1376 tmp = cmd->stop_src; in cb_pcidas_ao_cmdtest() 1377 cmd->stop_src &= TRIG_COUNT | TRIG_NONE; in cb_pcidas_ao_cmdtest() 1378 if (!cmd->stop_src || tmp != cmd->stop_src) in cb_pcidas_ao_cmdtest() 1389 if (cmd->stop_src != TRIG_COUNT && cmd->stop_src != TRIG_NONE) in cb_pcidas_ao_cmdtest() [all …]
|
D | skel.c | 392 tmp = cmd->stop_src; in skel_ai_cmdtest() 393 cmd->stop_src &= TRIG_COUNT | TRIG_NONE; in skel_ai_cmdtest() 394 if (!cmd->stop_src || tmp != cmd->stop_src) in skel_ai_cmdtest() 409 if (cmd->stop_src != TRIG_COUNT && cmd->stop_src != TRIG_NONE) in skel_ai_cmdtest() 464 if (cmd->stop_src == TRIG_COUNT) { in skel_ai_cmdtest()
|
D | comedi_test.c | 202 if (cmd->stop_src == TRIG_COUNT in waveform_ai_interrupt() 327 tmp = cmd->stop_src; in waveform_ai_cmdtest() 328 cmd->stop_src &= TRIG_COUNT | TRIG_NONE; in waveform_ai_cmdtest() 329 if (!cmd->stop_src || tmp != cmd->stop_src) in waveform_ai_cmdtest() 341 if (cmd->stop_src != TRIG_COUNT && cmd->stop_src != TRIG_NONE) in waveform_ai_cmdtest() 385 if (cmd->stop_src == TRIG_COUNT) { in waveform_ai_cmdtest()
|
D | das1800.c | 994 } else if (cmd->stop_src == TRIG_COUNT && devpriv->count == 0) { /* stop_src TRIG_COUNT */ in das1800_ai_handler() 1082 if (cmd->stop_src == TRIG_COUNT && devpriv->count < num_samples) in das1800_flush_dma_channel() 1087 if (s->async->cmd.stop_src == TRIG_COUNT) in das1800_flush_dma_channel() 1134 if (cmd->stop_src == TRIG_COUNT && devpriv->count < numPoints) in das1800_handle_fifo_half_full() 1140 if (cmd->stop_src == TRIG_COUNT) in das1800_handle_fifo_half_full() 1155 if (cmd->stop_src == TRIG_COUNT && devpriv->count == 0) in das1800_handle_fifo_not_empty() 1163 if (cmd->stop_src == TRIG_COUNT) in das1800_handle_fifo_not_empty() 1215 tmp = cmd->stop_src; in das1800_ai_do_cmdtest() 1216 cmd->stop_src &= TRIG_COUNT | TRIG_EXT | TRIG_NONE; in das1800_ai_do_cmdtest() 1217 if (!cmd->stop_src || tmp != cmd->stop_src) in das1800_ai_do_cmdtest() [all …]
|
D | ni_at_a2150.c | 283 if (devpriv->count < num_points && cmd->stop_src == TRIG_COUNT) in a2150_interrupt() 288 if (cmd->stop_src == TRIG_NONE) { in a2150_interrupt() 308 if (cmd->stop_src == TRIG_COUNT) { in a2150_interrupt() 534 tmp = cmd->stop_src; in a2150_ai_cmdtest() 535 cmd->stop_src &= TRIG_COUNT | TRIG_NONE; in a2150_ai_cmdtest() 536 if (!cmd->stop_src || tmp != cmd->stop_src) in a2150_ai_cmdtest() 546 if (cmd->stop_src != TRIG_COUNT && cmd->stop_src != TRIG_NONE) in a2150_ai_cmdtest() 572 if (cmd->stop_src == TRIG_COUNT) { in a2150_ai_cmdtest()
|
D | das16m1.c | 245 tmp = cmd->stop_src; in das16m1_cmd_test() 246 cmd->stop_src &= TRIG_COUNT | TRIG_NONE; in das16m1_cmd_test() 247 if (!cmd->stop_src || tmp != cmd->stop_src) in das16m1_cmd_test() 254 if (cmd->stop_src != TRIG_COUNT && cmd->stop_src != TRIG_NONE) in das16m1_cmd_test() 290 if (cmd->stop_src == TRIG_COUNT) { in das16m1_cmd_test() 567 if (cmd->stop_src == TRIG_COUNT) { in das16m1_handler() 580 if (cmd->stop_src == TRIG_COUNT) { in das16m1_handler()
|
D | pcl711.c | 323 tmp = cmd->stop_src; in pcl711_ai_cmdtest() 324 cmd->stop_src &= TRIG_COUNT | TRIG_NONE; in pcl711_ai_cmdtest() 325 if (!cmd->stop_src || tmp != cmd->stop_src) in pcl711_ai_cmdtest() 336 if (cmd->stop_src != TRIG_COUNT && cmd->stop_src != TRIG_NONE) in pcl711_ai_cmdtest() 369 if (cmd->stop_src == TRIG_NONE) { in pcl711_ai_cmdtest()
|
D | dt282x.c | 766 tmp = cmd->stop_src; in dt282x_ai_cmdtest() 767 cmd->stop_src &= TRIG_COUNT | TRIG_NONE; in dt282x_ai_cmdtest() 768 if (!cmd->stop_src || tmp != cmd->stop_src) in dt282x_ai_cmdtest() 783 if (cmd->stop_src != TRIG_COUNT && cmd->stop_src != TRIG_NONE) in dt282x_ai_cmdtest() 827 if (cmd->stop_src == TRIG_COUNT) { in dt282x_ai_cmdtest() 1043 tmp = cmd->stop_src; in dt282x_ao_cmdtest() 1044 cmd->stop_src &= TRIG_NONE; in dt282x_ao_cmdtest() 1045 if (!cmd->stop_src || tmp != cmd->stop_src) in dt282x_ao_cmdtest() 1057 if (cmd->stop_src != TRIG_COUNT && cmd->stop_src != TRIG_NONE) in dt282x_ao_cmdtest() 1082 if (cmd->stop_src == TRIG_COUNT) { in dt282x_ao_cmdtest()
|
D | cb_pcidda.c | 436 printk("stop_src: %d\n", cmd->stop_src); 479 tmp = cmd->stop_src; 480 cmd->stop_src &= TRIG_COUNT | TRIG_NONE; 481 if (!cmd->stop_src || tmp != cmd->stop_src) 495 if (cmd->stop_src != TRIG_TIMER && cmd->stop_src != TRIG_EXT) 550 if (cmd->stop_src == TRIG_COUNT) {
|
D | ni_labpc.c | 1041 tmp = cmd->stop_src; in labpc_ai_cmdtest() 1045 cmd->stop_src &= stop_mask; in labpc_ai_cmdtest() 1046 if (!cmd->stop_src || tmp != cmd->stop_src) in labpc_ai_cmdtest() 1062 if (cmd->stop_src != TRIG_COUNT && in labpc_ai_cmdtest() 1063 cmd->stop_src != TRIG_EXT && cmd->stop_src != TRIG_NONE) in labpc_ai_cmdtest() 1067 if (cmd->start_src == TRIG_EXT && cmd->stop_src == TRIG_EXT) in labpc_ai_cmdtest() 1111 switch (cmd->stop_src) { in labpc_ai_cmdtest() 1182 if (cmd->stop_src == TRIG_COUNT) in labpc_ai_cmd() 1186 if (cmd->stop_src == TRIG_EXT) { in labpc_ai_cmd() 1222 (cmd->stop_src != TRIG_COUNT || devpriv->count > 256)) { in labpc_ai_cmd() [all …]
|
D | ni_tiocmd.c | 269 tmp = cmd->stop_src; in ni_tio_cmdtest() 270 cmd->stop_src &= TRIG_NONE; in ni_tio_cmdtest() 271 if (!cmd->stop_src || tmp != cmd->stop_src) in ni_tio_cmdtest() 290 if (cmd->stop_src != TRIG_NONE) in ni_tio_cmdtest() 324 if (cmd->stop_src == TRIG_NONE) { in ni_tio_cmdtest()
|
D | quatech_daqp_cs.c | 481 tmp = cmd->stop_src; in daqp_ai_cmdtest() 482 cmd->stop_src &= TRIG_COUNT | TRIG_NONE; in daqp_ai_cmdtest() 483 if (!cmd->stop_src || tmp != cmd->stop_src) in daqp_ai_cmdtest() 502 if (cmd->stop_src != TRIG_COUNT && cmd->stop_src != TRIG_NONE) in daqp_ai_cmdtest() 541 if (cmd->stop_src == TRIG_COUNT) { in daqp_ai_cmdtest() 720 if (cmd->stop_src == TRIG_COUNT) { in daqp_ai_cmd()
|
D | dmm32at.c | 588 tmp = cmd->stop_src; in dmm32at_ai_cmdtest() 589 cmd->stop_src &= TRIG_COUNT | TRIG_NONE; in dmm32at_ai_cmdtest() 590 if (!cmd->stop_src || tmp != cmd->stop_src) in dmm32at_ai_cmdtest() 605 if (cmd->stop_src != TRIG_COUNT && cmd->stop_src != TRIG_NONE) in dmm32at_ai_cmdtest() 661 if (cmd->stop_src == TRIG_COUNT) { in dmm32at_ai_cmdtest() 767 if (cmd->stop_src == TRIG_COUNT) in dmm32at_ai_cmd()
|
D | das800.c | 635 tmp = cmd->stop_src; in das800_ai_do_cmdtest() 636 cmd->stop_src &= TRIG_COUNT | TRIG_NONE; in das800_ai_do_cmdtest() 637 if (!cmd->stop_src || tmp != cmd->stop_src) in das800_ai_do_cmdtest() 649 if (cmd->stop_src != TRIG_COUNT && cmd->stop_src != TRIG_NONE) in das800_ai_do_cmdtest() 675 if (cmd->stop_src == TRIG_COUNT) { in das800_ai_do_cmdtest() 764 switch (async->cmd.stop_src) { in das800_ai_do_cmd()
|
D | amplc_pci224.c | 635 if (cmd->stop_src == TRIG_EXT) in pci224_ao_start() 823 tmp = cmd->stop_src; in pci224_ao_cmdtest() 824 cmd->stop_src &= TRIG_COUNT | TRIG_EXT | TRIG_NONE; in pci224_ao_cmdtest() 825 if (!cmd->stop_src || tmp != cmd->stop_src) in pci224_ao_cmdtest() 843 if ((cmd->stop_src & (cmd->stop_src - 1)) != 0) in pci224_ao_cmdtest() 853 if (cmd->stop_src & TRIG_EXT) in pci224_ao_cmdtest() 932 switch (cmd->stop_src) { in pci224_ao_cmdtest() 1189 switch (cmd->stop_src) { in pci224_ao_cmd() 1294 else if (cmd->stop_src == TRIG_EXT) in pci224_interrupt()
|
D | cb_das16_cs.c | 363 tmp = cmd->stop_src; in das16cs_ai_cmdtest() 364 cmd->stop_src &= TRIG_COUNT | TRIG_NONE; in das16cs_ai_cmdtest() 365 if (!cmd->stop_src || tmp != cmd->stop_src) in das16cs_ai_cmdtest() 380 if (cmd->stop_src != TRIG_COUNT && cmd->stop_src != TRIG_NONE) in das16cs_ai_cmdtest() 435 if (cmd->stop_src == TRIG_COUNT) { in das16cs_ai_cmdtest()
|
D | comedi_parport.c | 224 tmp = cmd->stop_src; in parport_intr_cmdtest() 225 cmd->stop_src &= TRIG_NONE; in parport_intr_cmdtest() 226 if (!cmd->stop_src || tmp != cmd->stop_src) in parport_intr_cmdtest()
|
D | 8255.c | 271 tmp = cmd->stop_src; in subdev_8255_cmdtest() 272 cmd->stop_src &= TRIG_NONE; in subdev_8255_cmdtest() 273 if (!cmd->stop_src || tmp != cmd->stop_src) in subdev_8255_cmdtest()
|
D | gsc_hpdi.c | 809 tmp = cmd->stop_src; in di_cmd_test() 810 cmd->stop_src &= TRIG_COUNT | TRIG_NONE; in di_cmd_test() 811 if (!cmd->stop_src || tmp != cmd->stop_src) in di_cmd_test() 821 if (cmd->stop_src != TRIG_COUNT && cmd->stop_src != TRIG_NONE) in di_cmd_test() 838 switch (cmd->stop_src) { in di_cmd_test() 933 if (cmd->stop_src == TRIG_COUNT) in di_cmd() 986 if (async->cmd.stop_src == TRIG_COUNT) { in drain_dma_buffers()
|
D | cb_pcidas64.c | 2235 tmp = cmd->stop_src; in ai_cmdtest() 2236 cmd->stop_src &= TRIG_COUNT | TRIG_EXT | TRIG_NONE; in ai_cmdtest() 2237 if (!cmd->stop_src || tmp != cmd->stop_src) in ai_cmdtest() 2255 if (cmd->stop_src != TRIG_COUNT && in ai_cmdtest() 2256 cmd->stop_src != TRIG_NONE && cmd->stop_src != TRIG_EXT) in ai_cmdtest() 2262 if (cmd->stop_src != TRIG_COUNT && in ai_cmdtest() 2263 cmd->stop_src != TRIG_NONE && cmd->stop_src != TRIG_EXT) in ai_cmdtest() 2304 switch (cmd->stop_src) { in ai_cmdtest() 2383 if (cmd->stop_src == TRIG_COUNT && cmd->stop_arg <= max_counter_value) in use_hw_sample_counter() 2392 if (cmd->stop_src == TRIG_COUNT) { in setup_sample_counters() [all …]
|
D | adl_pci9118.c | 993 tmp = cmd->stop_src; in pci9118_ai_cmdtest() 994 cmd->stop_src &= TRIG_COUNT | TRIG_NONE | TRIG_EXT; in pci9118_ai_cmdtest() 995 if (!cmd->stop_src || tmp != cmd->stop_src) in pci9118_ai_cmdtest() 1032 if (cmd->stop_src != TRIG_NONE && in pci9118_ai_cmdtest() 1033 cmd->stop_src != TRIG_COUNT && in pci9118_ai_cmdtest() 1034 cmd->stop_src != TRIG_INT && cmd->stop_src != TRIG_EXT) { in pci9118_ai_cmdtest() 1035 cmd->stop_src = TRIG_COUNT; in pci9118_ai_cmdtest() 1061 if (cmd->stop_src == TRIG_EXT && cmd->scan_begin_src == TRIG_EXT) { in pci9118_ai_cmdtest() 1062 cmd->stop_src = TRIG_COUNT; in pci9118_ai_cmdtest() 1118 if (cmd->stop_src == TRIG_COUNT) { in pci9118_ai_cmdtest() [all …]
|
D | ni_atmio16d.c | 332 tmp = cmd->stop_src; in atmio16d_ai_cmdtest() 333 cmd->stop_src &= TRIG_COUNT | TRIG_NONE; in atmio16d_ai_cmdtest() 334 if (!cmd->stop_src || tmp != cmd->stop_src) in atmio16d_ai_cmdtest() 346 if (cmd->stop_src != TRIG_COUNT && cmd->stop_src != TRIG_NONE) in atmio16d_ai_cmdtest() 389 if (cmd->stop_src == TRIG_COUNT) { in atmio16d_ai_cmdtest()
|
D | amplc_dio200.c | 884 tmp = cmd->stop_src; in dio200_subdev_intr_cmdtest() 885 cmd->stop_src &= (TRIG_COUNT | TRIG_NONE); in dio200_subdev_intr_cmdtest() 886 if (!cmd->stop_src || tmp != cmd->stop_src) in dio200_subdev_intr_cmdtest() 904 if ((cmd->stop_src & (cmd->stop_src - 1)) != 0) in dio200_subdev_intr_cmdtest() 936 switch (cmd->stop_src) { in dio200_subdev_intr_cmdtest() 975 switch (cmd->stop_src) { in dio200_subdev_intr_cmd()
|