Home
last modified time | relevance | path

Searched refs:CR_CHAN (Results 1 – 25 of 98) sorted by relevance

1234

/linux/drivers/comedi/drivers/
A Dni_660x.c536 unsigned int shift = CR_CHAN(insn->chanspec); in ni_660x_dio_insn_bits()
699 unsigned int chan = CR_CHAN(insn->chanspec); in ni_660x_dio_insn_config()
833 if (current_src == CR_CHAN(src)) in connect_route()
840 if (channel_is_pfi(CR_CHAN(dest))) { in connect_route()
847 } else if (channel_is_rtsi(CR_CHAN(dest))) { in connect_route()
874 } else if (channel_is_ctr(CR_CHAN(dest))) { in connect_route()
880 reg | (src & ~CR_CHAN(-1))); in connect_route()
891 s8 reg = ni_route_to_register(CR_CHAN(src), CR_CHAN(dest), in disconnect_route()
902 if (channel_is_pfi(CR_CHAN(dest))) { in disconnect_route()
910 } else if (channel_is_rtsi(CR_CHAN(dest))) { in disconnect_route()
[all …]
A Dpcl816.c156 unsigned int first_chan = CR_CHAN(chanlist[0]); in pcl816_ai_setup_chanlist()
163 last_chan = CR_CHAN(chanlist[i]); in pcl816_ai_setup_chanlist()
301 (CR_CHAN(chansegment[i - 1]) + 1) % chanlen; in check_channel_list()
302 if (nowmustbechan != CR_CHAN(chanlist[i])) { in check_channel_list()
306 i, CR_CHAN(chanlist[i]), nowmustbechan, in check_channel_list()
307 CR_CHAN(chanlist[0])); in check_channel_list()
319 i, CR_CHAN(chansegment[i]), in check_channel_list()
322 CR_CHAN(chanlist[i % seglen]), in check_channel_list()
507 unsigned int chan = CR_CHAN(insn->chanspec); in pcl816_ai_insn_read()
A Ddas6402.c228 unsigned int chan_lo = CR_CHAN(cmd->chanlist[0]); in das6402_ai_cmd()
229 unsigned int chan_hi = CR_CHAN(cmd->chanlist[cmd->chanlist_len - 1]); in das6402_ai_cmd()
252 unsigned int chan0 = CR_CHAN(cmd->chanlist[0]); in das6402_ai_check_chanlist()
258 unsigned int chan = CR_CHAN(cmd->chanlist[i]); in das6402_ai_check_chanlist()
383 unsigned int chan = CR_CHAN(insn->chanspec); in das6402_ai_insn_read()
422 unsigned int chan = CR_CHAN(insn->chanspec); in das6402_ao_insn_write()
481 unsigned int chan = CR_CHAN(insn->chanspec); in das6402_ao_insn_read()
A Dpcl818.c346 unsigned int first_chan = CR_CHAN(chanlist[0]); in pcl818_ai_setup_chanlist()
356 last_chan = CR_CHAN(chanlist[i]); in pcl818_ai_setup_chanlist()
594 (CR_CHAN(chansegment[i - 1]) + 1) % s->n_chan; in check_channel_list()
595 if (nowmustbechan != CR_CHAN(chanlist[i])) { in check_channel_list()
599 i, CR_CHAN(chanlist[i]), nowmustbechan, in check_channel_list()
600 CR_CHAN(chanlist[0])); in check_channel_list()
612 i, CR_CHAN(chansegment[i]), in check_channel_list()
615 CR_CHAN(chanlist[i % seglen]), in check_channel_list()
805 unsigned int chan = CR_CHAN(insn->chanspec); in pcl818_ai_insn_read()
835 unsigned int chan = CR_CHAN(insn->chanspec); in pcl818_ao_insn_write()
A Dcb_pcidas.c330 unsigned int chan = CR_CHAN(insn->chanspec); in cb_pcidas_ai_insn_read()
409 unsigned int chan = CR_CHAN(insn->chanspec); in cb_pcidas_ao_nofifo_insn_write()
440 unsigned int chan = CR_CHAN(insn->chanspec); in cb_pcidas_ao_fifo_insn_write()
488 unsigned int chan = CR_CHAN(insn->chanspec); in cb_pcidas_eeprom_insn_read()
564 unsigned int chan = CR_CHAN(insn->chanspec); in cb_pcidas_caldac_insn_write()
601 unsigned int chan = CR_CHAN(insn->chanspec); in cb_pcidas_dac08_insn_write()
634 unsigned int chan = CR_CHAN(insn->chanspec); in cb_pcidas_trimpot_insn_write()
652 unsigned int chan0 = CR_CHAN(cmd->chanlist[0]); in cb_pcidas_ai_check_chanlist()
657 unsigned int chan = CR_CHAN(cmd->chanlist[i]); in cb_pcidas_ai_check_chanlist()
874 unsigned int chan0 = CR_CHAN(cmd->chanlist[0]); in cb_pcidas_ao_check_chanlist()
[all …]
A Dmultiq3.c99 unsigned int chan = CR_CHAN(insn->chanspec); in multiq3_ai_insn_read()
136 unsigned int chan = CR_CHAN(insn->chanspec); in multiq3_ao_insn_write()
179 unsigned int chan = CR_CHAN(insn->chanspec); in multiq3_encoder_insn_read()
238 unsigned int chan = CR_CHAN(insn->chanspec); in multiq3_encoder_insn_config()
A Dni_tiocmd.c135 int reg = CR_CHAN(cmd->start_arg); in ni_tio_input_cmd()
179 if (CR_CHAN(gate_source) >= NI_NAMES_BASE) { in ni_tio_cmd_setup()
181 int reg = ni_get_reg_value(CR_CHAN(gate_source), in ni_tio_cmd_setup()
308 err |= ni_check_trigger_arg(CR_CHAN(cmd->scan_begin_arg), in ni_tio_cmdtest()
314 err |= ni_check_trigger_arg(CR_CHAN(cmd->convert_arg), in ni_tio_cmdtest()
A Ds526.c200 unsigned int chan = CR_CHAN(insn->chanspec); in s526_gpct_rinsn()
215 unsigned int chan = CR_CHAN(insn->chanspec); in s526_gpct_insn_config()
386 unsigned int chan = CR_CHAN(insn->chanspec); in s526_gpct_winsn()
438 unsigned int chan = CR_CHAN(insn->chanspec); in s526_ai_insn_read()
477 unsigned int chan = CR_CHAN(insn->chanspec); in s526_ao_insn_write()
519 unsigned int chan = CR_CHAN(insn->chanspec); in s526_dio_insn_config()
A Dadv_pci1710.c186 unsigned int chan0 = CR_CHAN(cmd->chanlist[0]); in pci1710_ai_check_chanlist()
202 unsigned int chan = CR_CHAN(cmd->chanlist[i]); in pci1710_ai_check_chanlist()
233 i, CR_CHAN(chansegment[i]), in pci1710_ai_check_chanlist()
236 CR_CHAN(cmd->chanlist[i % seglen]), in pci1710_ai_check_chanlist()
254 unsigned int first_chan = CR_CHAN(chanlist[0]); in pci1710_ai_setup_chanlist()
255 unsigned int last_chan = CR_CHAN(chanlist[seglen - 1]); in pci1710_ai_setup_chanlist()
259 unsigned int chan = CR_CHAN(chanlist[i]); in pci1710_ai_setup_chanlist()
279 devpriv->act_chanlist[i] = CR_CHAN(chanlist[i]); in pci1710_ai_setup_chanlist()
641 unsigned int chan = CR_CHAN(insn->chanspec); in pci1710_ao_insn_write()
A Daio_aio12_8.c117 unsigned int chan = CR_CHAN(insn->chanspec); in aio_aio12_8_ai_read()
160 unsigned int chan = CR_CHAN(insn->chanspec); in aio_aio12_8_ao_insn_write()
181 unsigned int chan = CR_CHAN(insn->chanspec); in aio_aio12_8_counter_insn_config()
A Dni_mio_common.c1621 chan = CR_CHAN(list[0]); in ni_m_series_load_channelgain_list()
1640 chan = CR_CHAN(list[i]); in ni_m_series_load_channelgain_list()
1764 chan = CR_CHAN(list[i]); in ni_load_channelgain_list()
2202 CR_CHAN(cmd->start_arg), in ni_ai_cmd()
2349 CR_CHAN(cmd->convert_arg), in ni_ai_cmd()
2575 chan = CR_CHAN(chanspec[i]); in ni_m_series_ao_config_chanlist()
2638 chan = CR_CHAN(chanspec[i]); in ni_old_ao_config_chanlist()
2977 CR_CHAN(cmd->start_arg), in ni_ao_cmd_set_trigger()
3199 CR_CHAN(cmd->chanlist[0])); in ni_ao_cmd_set_channels()
4698 chan = CR_CHAN(insn->chanspec); in ni_pfi_insn_config()
[all …]
A Dc6xdigio.c154 unsigned int chan = CR_CHAN(insn->chanspec); in c6xdigio_pwm_insn_write()
180 unsigned int chan = CR_CHAN(insn->chanspec); in c6xdigio_pwm_insn_read()
197 unsigned int chan = CR_CHAN(insn->chanspec); in c6xdigio_encoder_insn_read()
A Dcb_pcimdda.c89 unsigned int chan = CR_CHAN(insn->chanspec); in cb_pcimdda_ao_insn_write()
119 unsigned int chan = CR_CHAN(insn->chanspec); in cb_pcimdda_ao_insn_read()
A Dfl512.c55 unsigned int chan = CR_CHAN(insn->chanspec); in fl512_ai_insn_read()
82 unsigned int chan = CR_CHAN(insn->chanspec); in fl512_ao_insn_write()
A Dvmk80xx.c246 chan = CR_CHAN(insn->chanspec); in vmk80xx_ai_insn_read()
295 chan = CR_CHAN(insn->chanspec); in vmk80xx_ao_insn_write()
335 chan = CR_CHAN(insn->chanspec); in vmk80xx_ao_insn_read()
447 chan = CR_CHAN(insn->chanspec); in vmk80xx_cnt_insn_read()
486 unsigned int chan = CR_CHAN(insn->chanspec); in vmk80xx_cnt_insn_config()
530 chan = CR_CHAN(insn->chanspec); in vmk80xx_cnt_insn_write()
A Dcb_pcidas64.c1757 channel = CR_CHAN(insn->chanspec); in ai_rinsn()
2326 if (CR_CHAN(chanspec)) in select_master_clock_4020()
2400 if (CR_CHAN(cmd->chanlist[i + 1]) != in use_internal_queue_6xxx()
2401 CR_CHAN(cmd->chanlist[i]) + 1) in use_internal_queue_6xxx()
2465 bits |= adc_chan_bits(CR_CHAN(chanspec)); in setup_channel_queue()
2603 adc_hi_chan_4020_bits(CR_CHAN(cmd->chanlist in ai_cmd()
3095 unsigned int chan = CR_CHAN(insn->chanspec); in ao_winsn()
3159 channel = CR_CHAN(cmd->chanlist[i]); in set_dac_control1_reg()
3176 first_channel = CR_CHAN(cmd->chanlist[0]); in set_dac_select_reg()
3628 unsigned int chan = CR_CHAN(insn->chanspec); in cb_pcidas64_calib_insn_write()
[all …]
A Dadl_pci8164.c37 unsigned int chan = CR_CHAN(insn->chanspec); in adl_pci8164_insn_read()
52 unsigned int chan = CR_CHAN(insn->chanspec); in adl_pci8164_insn_write()
A Ddt2815.c77 int chan = CR_CHAN(insn->chanspec); in dt2815_ao_insn_read()
90 int chan = CR_CHAN(insn->chanspec); in dt2815_ao_insn()
A Dni_labpc_common.c231 unsigned int chan = CR_CHAN(insn->chanspec); in labpc_ai_insn_read()
428 chan0 = CR_CHAN(cmd->chanlist[0]); in labpc_ai_scan_mode()
429 chan1 = CR_CHAN(cmd->chanlist[1]); in labpc_ai_scan_mode()
445 unsigned int chan0 = CR_CHAN(cmd->chanlist[0]); in labpc_ai_check_chanlist()
451 unsigned int chan = CR_CHAN(cmd->chanlist[i]); in labpc_ai_check_chanlist()
622 unsigned int chan = CR_CHAN(chanspec); in labpc_ai_cmd()
913 channel = CR_CHAN(insn->chanspec); in labpc_ao_insn_write()
1125 unsigned int chan = CR_CHAN(insn->chanspec); in labpc_calib_insn_write()
1162 unsigned int chan = CR_CHAN(insn->chanspec); in labpc_eeprom_insn_write()
A Dni_at_ao.c131 unsigned int chan = CR_CHAN(insn->chanspec); in atao_ao_insn_write()
172 unsigned int chan = CR_CHAN(insn->chanspec); in atao_dio_insn_config()
237 unsigned int chan = CR_CHAN(insn->chanspec); in atao_calib_insn_write()
A Ddt3000.c462 chan = CR_CHAN(cmd->chanlist[i]); in dt3k_ai_cmd()
512 chan = CR_CHAN(insn->chanspec); in dt3k_ai_insn_read()
527 unsigned int chan = CR_CHAN(insn->chanspec); in dt3k_ao_insn_write()
557 unsigned int chan = CR_CHAN(insn->chanspec); in dt3k_dio_insn_config()
593 unsigned int addr = CR_CHAN(insn->chanspec); in dt3k_mem_insn_read()
A Dpcm3724.c132 mask = 1 << CR_CHAN(chanspec); in enable_chan()
165 unsigned int chan = CR_CHAN(insn->chanspec); in subdev_3724_insn_config()
A Ddmm32at.c163 unsigned int chan = CR_CHAN(chanspec); in dmm32at_ai_set_chanspec()
237 unsigned int chan0 = CR_CHAN(cmd->chanlist[0]); in dmm32at_ai_check_chanlist()
242 unsigned int chan = CR_CHAN(cmd->chanlist[i]); in dmm32at_ai_check_chanlist()
456 unsigned int chan = CR_CHAN(insn->chanspec); in dmm32at_ao_insn_write()
A Dni_tio.c846 if (CR_CHAN(src) & NI_GPCT_DISABLED_GATE_SELECT) { in ni_tio_set_gate_mode()
883 if (CR_CHAN(src) & NI_GPCT_DISABLED_GATE_SELECT) in ni_tio_set_gate2_mode()
898 unsigned int chan = CR_CHAN(gate_source); in ni_660x_set_gate()
937 unsigned int chan = CR_CHAN(gate_source); in ni_m_set_gate()
977 unsigned int chan = CR_CHAN(gate_source); in ni_660x_set_gate2()
1066 int chan = CR_CHAN(src) & (~NI_GPCT_DISABLED_GATE_SELECT); in ni_tio_set_gate_src()
1639 unsigned int channel = CR_CHAN(insn->chanspec); in ni_tio_insn_read()
1680 unsigned int channel = CR_CHAN(insn->chanspec); in ni_tio_insn_write()
A Dadv_pci1723.c83 unsigned int chan = CR_CHAN(insn->chanspec); in pci1723_ao_insn_write()
101 unsigned int chan = CR_CHAN(insn->chanspec); in pci1723_dio_insn_config()

Completed in 60 milliseconds

1234