/drivers/staging/comedi/drivers/ |
D | das1800.c | 497 if (cmd->stop_src == TRIG_COUNT && devpriv->count < numPoints) in das1800_handle_fifo_half_full() 503 if (cmd->stop_src == TRIG_COUNT) in das1800_handle_fifo_half_full() 519 if (cmd->stop_src == TRIG_COUNT && devpriv->count == 0) in das1800_handle_fifo_not_empty() 527 if (cmd->stop_src == TRIG_COUNT) in das1800_handle_fifo_not_empty() 555 if (cmd->stop_src == TRIG_COUNT && devpriv->count < num_samples) in das1800_flush_dma_channel() 560 if (s->async->cmd.stop_src == TRIG_COUNT) in das1800_flush_dma_channel() 695 } else if (cmd->stop_src == TRIG_COUNT && devpriv->count == 0) { /* stop_src TRIG_COUNT */ in das1800_ai_handler() 794 err |= cfc_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in das1800_ai_do_cmdtest() 796 TRIG_COUNT | TRIG_EXT | TRIG_NONE); in das1800_ai_do_cmdtest() 829 case TRIG_COUNT: in das1800_ai_do_cmdtest() [all …]
|
D | cb_pcidas.c | 821 err |= cfc_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in cb_pcidas_ai_cmdtest() 822 err |= cfc_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in cb_pcidas_ai_cmdtest() 994 if (cmd->stop_src == TRIG_COUNT) in cb_pcidas_ai_cmd() 1056 err |= cfc_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in cb_pcidas_ao_cmdtest() 1057 err |= cfc_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in cb_pcidas_ao_cmdtest() 1156 if (cmd->stop_src == TRIG_COUNT && devpriv->ao_count < num_points) in cb_pcidas_ao_inttrig() 1163 if (cmd->stop_src == TRIG_COUNT) in cb_pcidas_ao_inttrig() 1230 if (cmd->stop_src == TRIG_COUNT) in cb_pcidas_ao_cmd() 1295 (cmd->stop_src == TRIG_COUNT in handle_ao_interrupt() 1308 if (cmd->stop_src == TRIG_COUNT && in handle_ao_interrupt() [all …]
|
D | addi_apci_2032.c | 110 if (cmd->stop_src == TRIG_COUNT && subpriv->stop_count == 0) { in apci2032_int_start() 135 err |= cfc_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in apci2032_int_cmdtest() 136 err |= cfc_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in apci2032_int_cmdtest() 250 if (s->async->cmd.stop_src == TRIG_COUNT && in apci2032_interrupt()
|
D | das16m1.c | 173 err |= cfc_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in das16m1_cmd_test() 174 err |= cfc_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in das16m1_cmd_test() 202 if (cmd->stop_src == TRIG_COUNT) { in das16m1_cmd_test() 452 if (cmd->stop_src == TRIG_COUNT) { in das16m1_handler() 465 if (cmd->stop_src == TRIG_COUNT) { in das16m1_handler()
|
D | comedi_test.c | 195 if (cmd->stop_src == TRIG_COUNT) { in waveform_ai_interrupt() 240 err |= cfc_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in waveform_ai_cmdtest() 241 err |= cfc_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in waveform_ai_cmdtest() 274 if (cmd->stop_src == TRIG_COUNT) in waveform_ai_cmdtest()
|
D | dt2814.c | 137 err |= cfc_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in dt2814_ai_cmdtest() 138 err |= cfc_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in dt2814_ai_cmdtest() 162 if (cmd->stop_src == TRIG_COUNT) in dt2814_ai_cmdtest()
|
D | ni_labpc.c | 759 err |= cfc_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in labpc_ai_cmdtest() 761 stop_mask = TRIG_COUNT | TRIG_NONE; in labpc_ai_cmdtest() 808 case TRIG_COUNT: in labpc_ai_cmdtest() 864 if (cmd->stop_src == TRIG_COUNT) in labpc_ai_cmd() 902 (cmd->stop_src != TRIG_COUNT || devpriv->count > 256)) { in labpc_ai_cmd() 982 if (cmd->stop_src == TRIG_COUNT && in labpc_ai_cmd() 1070 if (devpriv->count < num_points && async->cmd.stop_src == TRIG_COUNT) in labpc_drain_dma() 1075 if (async->cmd.stop_src != TRIG_COUNT) { in labpc_drain_dma() 1087 if (async->cmd.stop_src == TRIG_COUNT) in labpc_drain_dma() 1125 if (async->cmd.stop_src == TRIG_COUNT) { in labpc_drain_fifo() [all …]
|
D | me4000.c | 828 if (cmd->stop_src == TRIG_COUNT) { in ai_prepare() 833 cmd->scan_end_src == TRIG_COUNT) { in ai_prepare() 904 TRIG_NONE | TRIG_COUNT); in me4000_ai_do_cmd_test() 905 err |= cfc_check_trigger_src(&cmd->stop_src, TRIG_NONE | TRIG_COUNT); in me4000_ai_do_cmd_test() 943 } else if (cmd->stop_src == TRIG_COUNT && in me4000_ai_do_cmd_test() 946 cmd->scan_end_src == TRIG_COUNT) { in me4000_ai_do_cmd_test() 947 } else if (cmd->stop_src == TRIG_COUNT && in me4000_ai_do_cmd_test() 948 cmd->scan_end_src == TRIG_COUNT) { in me4000_ai_do_cmd_test() 1081 if (cmd->stop_src == TRIG_COUNT) { in me4000_ai_do_cmd_test() 1088 if (cmd->scan_end_src == TRIG_COUNT) { in me4000_ai_do_cmd_test()
|
D | skel.c | 220 err |= cfc_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in skel_ai_cmdtest() 221 err |= cfc_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in skel_ai_cmdtest() 267 if (cmd->stop_src == TRIG_COUNT) in skel_ai_cmdtest()
|
D | ni_at_a2150.c | 246 if (devpriv->count < num_points && cmd->stop_src == TRIG_COUNT) in a2150_interrupt() 271 if (cmd->stop_src == TRIG_COUNT) { in a2150_interrupt() 328 err |= cfc_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in a2150_ai_cmdtest() 329 err |= cfc_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in a2150_ai_cmdtest() 355 if (cmd->stop_src == TRIG_COUNT) in a2150_ai_cmdtest()
|
D | quatech_daqp_cs.c | 388 err |= cfc_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in daqp_ai_cmdtest() 389 err |= cfc_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in daqp_ai_cmdtest() 430 if (cmd->stop_src == TRIG_COUNT) in daqp_ai_cmdtest() 586 if (cmd->stop_src == TRIG_COUNT) { in daqp_ai_cmd()
|
D | cb_das16_cs.c | 179 err |= cfc_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in das16cs_ai_cmdtest() 180 err |= cfc_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in das16cs_ai_cmdtest() 227 if (cmd->stop_src == TRIG_COUNT) in das16cs_ai_cmdtest()
|
D | gsc_hpdi.c | 617 err |= cfc_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in di_cmd_test() 618 err |= cfc_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in di_cmd_test() 641 case TRIG_COUNT: in di_cmd_test() 734 if (cmd->stop_src == TRIG_COUNT) in di_cmd() 790 if (async->cmd.stop_src == TRIG_COUNT) { in drain_dma_buffers()
|
D | dmm32at.c | 266 err |= cfc_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in dmm32at_ai_cmdtest() 267 err |= cfc_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in dmm32at_ai_cmdtest() 319 if (cmd->stop_src == TRIG_COUNT) { in dmm32at_ai_cmdtest() 447 if (cmd->stop_src == TRIG_COUNT) in dmm32at_ai_cmd()
|
D | das800.c | 323 err |= cfc_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in das800_ai_do_cmdtest() 324 err |= cfc_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in das800_ai_do_cmdtest() 351 if (cmd->stop_src == TRIG_COUNT) in das800_ai_do_cmdtest() 432 case TRIG_COUNT: in das800_ai_do_cmd()
|
D | adl_pci9111.c | 341 error |= cfc_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in pci9111_ai_do_cmd_test() 343 TRIG_COUNT | TRIG_NONE); in pci9111_ai_do_cmd_test() 387 if (cmd->stop_src == TRIG_COUNT) in pci9111_ai_do_cmd_test() 507 case TRIG_COUNT: in pci9111_ai_do_cmd()
|
D | pcl816.c | 440 err |= cfc_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in pcl816_ai_cmdtest() 441 err |= cfc_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in pcl816_ai_cmdtest() 470 if (cmd->stop_src == TRIG_COUNT) in pcl816_ai_cmdtest() 519 if (cmd->scan_end_src != TRIG_COUNT) in pcl816_ai_cmd() 561 if (cmd->stop_src == TRIG_COUNT) { in pcl816_ai_cmd()
|
D | cb_pcidas64.c | 2091 err |= cfc_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in ai_cmdtest() 2093 TRIG_COUNT | TRIG_EXT | TRIG_NONE); in ai_cmdtest() 2109 if (cmd->stop_src != TRIG_COUNT && in ai_cmdtest() 2139 case TRIG_COUNT: in ai_cmdtest() 2209 if (cmd->stop_src == TRIG_COUNT && cmd->stop_arg <= max_counter_value) in use_hw_sample_counter() 2220 if (cmd->stop_src == TRIG_COUNT) { in setup_sample_counters() 2707 if (cmd->stop_src == TRIG_COUNT) { in pio_drain_ai_fifo_16() 2752 if (cmd->stop_src == TRIG_COUNT) { in pio_drain_ai_fifo_32() 2808 if (async->cmd.stop_src == TRIG_COUNT) { in drain_dma_buffers() 2878 if ((cmd->stop_src == TRIG_COUNT && (int)devpriv->ai_count <= 0) || in handle_ai_interrupt() [all …]
|
D | dt282x.c | 598 err |= cfc_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in dt282x_ai_cmdtest() 599 err |= cfc_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in dt282x_ai_cmdtest() 634 if (cmd->stop_src == TRIG_COUNT) { in dt282x_ai_cmdtest() 841 err |= cfc_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in dt282x_ao_cmdtest() 842 err |= cfc_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in dt282x_ao_cmdtest() 863 if (cmd->stop_src == TRIG_COUNT) { in dt282x_ao_cmdtest()
|
D | pcmuio.c | 713 case TRIG_COUNT: in pcmuio_cmd() 753 err |= cfc_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in pcmuio_cmdtest() 754 err |= cfc_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in pcmuio_cmdtest() 777 case TRIG_COUNT: in pcmuio_cmdtest()
|
D | pcmmio.c | 776 case TRIG_COUNT: in pcmmio_cmd() 816 err |= cfc_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in pcmmio_cmdtest() 817 err |= cfc_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in pcmmio_cmdtest() 840 case TRIG_COUNT: in pcmmio_cmdtest()
|
D | das16.c | 426 err |= cfc_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in das16_cmd_test() 427 err |= cfc_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in das16_cmd_test() 561 if (cmd->stop_src == TRIG_COUNT && size > devpriv->adc_byte_count) in das16_suggest_transfer_size() 913 if (cmd->stop_src == TRIG_COUNT && in das16_interrupt() 924 if (cmd->stop_src == TRIG_COUNT && devpriv->timer_mode == 0 && in das16_interrupt()
|
D | pcl812.c | 553 err |= cfc_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in pcl812_ai_cmdtest() 554 err |= cfc_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in pcl812_ai_cmdtest() 583 if (cmd->stop_src == TRIG_COUNT) in pcl812_ai_cmdtest() 631 if (cmd->scan_end_src != TRIG_COUNT) in pcl812_ai_cmd() 669 if (cmd->stop_src == TRIG_COUNT) { in pcl812_ai_cmd()
|
D | ni_6527.c | 231 err |= cfc_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in ni6527_intr_cmdtest() 232 err |= cfc_check_trigger_src(&cmd->stop_src, TRIG_COUNT); in ni6527_intr_cmdtest()
|
D | usbdux.c | 953 err |= cfc_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in usbdux_ai_cmdtest() 954 err |= cfc_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in usbdux_ai_cmdtest() 1013 if (cmd->stop_src == TRIG_COUNT) { in usbdux_ai_cmdtest() 1233 if (cmd->stop_src == TRIG_COUNT) { in usbdux_ai_cmd() 1484 err |= cfc_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in usbdux_ao_cmdtest() 1485 err |= cfc_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in usbdux_ao_cmdtest() 1517 if (cmd->stop_src == TRIG_COUNT) { in usbdux_ao_cmdtest() 1596 if (cmd->stop_src == TRIG_COUNT) { in usbdux_ao_cmd()
|