Home
last modified time | relevance | path

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

1234

/linux/drivers/comedi/drivers/
H A Dni_660x.c535 unsigned int shift = CR_CHAN(insn->chanspec); in ni_660x_dio_insn_bits()
698 unsigned int chan = CR_CHAN(insn->chanspec); in ni_660x_dio_insn_config()
792 return ni_find_route_source(CR_CHAN(reg), dest, in get_output_select_source()
808 s8 reg = ni_route_to_register(CR_CHAN(src), dest, in test_route()
813 if (get_output_select_source(dest, dev) != CR_CHAN(src)) in test_route()
823 s8 reg = ni_route_to_register(CR_CHAN(src), dest, in connect_route()
832 if (current_src == CR_CHAN(src)) in connect_route()
839 if (channel_is_pfi(CR_CHAN(dest))) { in connect_route()
846 } else if (channel_is_rtsi(CR_CHAN(dest))) { in connect_route()
873 } else if (channel_is_ctr(CR_CHAN(dest))) { in connect_route()
[all …]
H A Dpcl816.c154 unsigned int first_chan = CR_CHAN(chanlist[0]); in pcl816_ai_setup_chanlist()
161 last_chan = CR_CHAN(chanlist[i]); in pcl816_ai_setup_chanlist()
299 (CR_CHAN(chansegment[i - 1]) + 1) % chanlen; in check_channel_list()
300 if (nowmustbechan != CR_CHAN(chanlist[i])) { in check_channel_list()
304 i, CR_CHAN(chanlist[i]), nowmustbechan, in check_channel_list()
305 CR_CHAN(chanlist[0])); in check_channel_list()
317 i, CR_CHAN(chansegment[i]), in check_channel_list()
320 CR_CHAN(chanlist[i % seglen]), in check_channel_list()
505 unsigned int chan = CR_CHAN(insn->chanspec); in pcl816_ai_insn_read()
H A Ddas6402.c226 unsigned int chan_lo = CR_CHAN(cmd->chanlist[0]); in das6402_ai_cmd()
227 unsigned int chan_hi = CR_CHAN(cmd->chanlist[cmd->chanlist_len - 1]); in das6402_ai_cmd()
250 unsigned int chan0 = CR_CHAN(cmd->chanlist[0]); in das6402_ai_check_chanlist()
256 unsigned int chan = CR_CHAN(cmd->chanlist[i]); in das6402_ai_check_chanlist()
381 unsigned int chan = CR_CHAN(insn->chanspec); in das6402_ai_insn_read()
420 unsigned int chan = CR_CHAN(insn->chanspec); in das6402_ao_insn_write()
479 unsigned int chan = CR_CHAN(insn->chanspec); in das6402_ao_insn_read()
H A Dpcl818.c344 unsigned int first_chan = CR_CHAN(chanlist[0]); in pcl818_ai_setup_chanlist()
354 last_chan = CR_CHAN(chanlist[i]); in pcl818_ai_setup_chanlist()
592 (CR_CHAN(chansegment[i - 1]) + 1) % s->n_chan; in check_channel_list()
593 if (nowmustbechan != CR_CHAN(chanlist[i])) { in check_channel_list()
597 i, CR_CHAN(chanlist[i]), nowmustbechan, in check_channel_list()
598 CR_CHAN(chanlist[0])); in check_channel_list()
610 i, CR_CHAN(chansegment[i]), in check_channel_list()
613 CR_CHAN(chanlist[i % seglen]), in check_channel_list()
803 unsigned int chan = CR_CHAN(insn->chanspec); in pcl818_ai_insn_read()
833 unsigned int chan = CR_CHAN(insn->chanspec); in pcl818_ao_insn_write()
H A Dmultiq3.c98 unsigned int chan = CR_CHAN(insn->chanspec); in multiq3_ai_insn_read()
135 unsigned int chan = CR_CHAN(insn->chanspec); in multiq3_ao_insn_write()
178 unsigned int chan = CR_CHAN(insn->chanspec); in multiq3_encoder_insn_read()
237 unsigned int chan = CR_CHAN(insn->chanspec); in multiq3_encoder_insn_config()
H A Dcb_pcidas.c329 unsigned int chan = CR_CHAN(insn->chanspec); in cb_pcidas_ai_insn_read()
408 unsigned int chan = CR_CHAN(insn->chanspec); in cb_pcidas_ao_nofifo_insn_write()
439 unsigned int chan = CR_CHAN(insn->chanspec); in cb_pcidas_ao_fifo_insn_write()
487 unsigned int chan = CR_CHAN(insn->chanspec); in cb_pcidas_eeprom_insn_read()
563 unsigned int chan = CR_CHAN(insn->chanspec); in cb_pcidas_caldac_insn_write()
600 unsigned int chan = CR_CHAN(insn->chanspec); in cb_pcidas_dac08_insn_write()
633 unsigned int chan = CR_CHAN(insn->chanspec); in cb_pcidas_trimpot_insn_write()
651 unsigned int chan0 = CR_CHAN(cmd->chanlist[0]); in cb_pcidas_ai_check_chanlist()
656 unsigned int chan = CR_CHAN(cmd->chanlist[i]); in cb_pcidas_ai_check_chanlist()
803 bits = PCIDAS_AI_FIRST(CR_CHAN(cmd->chanlist[0])) | in cb_pcidas_ai_cmd()
[all …]
H 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()
H 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()
H A Dadv_pci1710.c185 unsigned int chan0 = CR_CHAN(cmd->chanlist[0]); in pci1710_ai_check_chanlist()
201 unsigned int chan = CR_CHAN(cmd->chanlist[i]); in pci1710_ai_check_chanlist()
232 i, CR_CHAN(chansegment[i]), in pci1710_ai_check_chanlist()
235 CR_CHAN(cmd->chanlist[i % seglen]), in pci1710_ai_check_chanlist()
253 unsigned int first_chan = CR_CHAN(chanlist[0]); in pci1710_ai_setup_chanlist()
254 unsigned int last_chan = CR_CHAN(chanlist[seglen - 1]); in pci1710_ai_setup_chanlist()
258 unsigned int chan = CR_CHAN(chanlist[i]); in pci1710_ai_setup_chanlist()
278 devpriv->act_chanlist[i] = CR_CHAN(chanlist[i]); in pci1710_ai_setup_chanlist()
640 unsigned int chan = CR_CHAN(insn->chanspec); in pci1710_ao_insn_write()
H A Daio_aio12_8.c116 unsigned int chan = CR_CHAN(insn->chanspec); in aio_aio12_8_ai_read()
159 unsigned int chan = CR_CHAN(insn->chanspec); in aio_aio12_8_ao_insn_write()
180 unsigned int chan = CR_CHAN(insn->chanspec); in aio_aio12_8_counter_insn_config()
H A Dni_mio_common.c1636 chan = CR_CHAN(list[0]); in ni_m_series_load_channelgain_list()
1655 chan = CR_CHAN(list[i]); in ni_m_series_load_channelgain_list()
1779 chan = CR_CHAN(list[i]); in ni_load_channelgain_list()
1794 ni_writew(dev, CR_CHAN(list[i]) & 0x0003, in ni_load_channelgain_list()
2063 err |= ni_check_trigger_arg_roffs(CR_CHAN(cmd->start_arg), in ni_ai_cmdtest()
2077 err |= ni_check_trigger_arg_roffs(CR_CHAN(cmd->scan_begin_arg), in ni_ai_cmdtest()
2097 err |= ni_check_trigger_arg_roffs(CR_CHAN(cmd->convert_arg), in ni_ai_cmdtest()
2217 CR_CHAN(cmd->start_arg), in ni_ai_cmd()
2332 CR_CHAN(cmd->scan_begin_arg), in ni_ai_cmd()
2364 CR_CHAN(cmd->convert_arg), in ni_ai_cmd()
[all …]
H A Dc6xdigio.c153 unsigned int chan = CR_CHAN(insn->chanspec); in c6xdigio_pwm_insn_write()
179 unsigned int chan = CR_CHAN(insn->chanspec); in c6xdigio_pwm_insn_read()
196 unsigned int chan = CR_CHAN(insn->chanspec); in c6xdigio_encoder_insn_read()
H A Dcb_pcimdda.c87 unsigned int chan = CR_CHAN(insn->chanspec); in cb_pcimdda_ao_insn_write()
117 unsigned int chan = CR_CHAN(insn->chanspec); in cb_pcimdda_ao_insn_read()
H A Dfl512.c54 unsigned int chan = CR_CHAN(insn->chanspec); in fl512_ai_insn_read()
81 unsigned int chan = CR_CHAN(insn->chanspec); in fl512_ao_insn_write()
H A Dvmk80xx.c245 chan = CR_CHAN(insn->chanspec); in vmk80xx_ai_insn_read()
294 chan = CR_CHAN(insn->chanspec); in vmk80xx_ao_insn_write()
334 chan = CR_CHAN(insn->chanspec); in vmk80xx_ao_insn_read()
446 chan = CR_CHAN(insn->chanspec); in vmk80xx_cnt_insn_read()
485 unsigned int chan = CR_CHAN(insn->chanspec); in vmk80xx_cnt_insn_config()
529 chan = CR_CHAN(insn->chanspec); in vmk80xx_cnt_insn_write()
H A Dadl_pci8164.c36 unsigned int chan = CR_CHAN(insn->chanspec); in adl_pci8164_insn_read()
51 unsigned int chan = CR_CHAN(insn->chanspec); in adl_pci8164_insn_write()
H A Ddt2815.c76 int chan = CR_CHAN(insn->chanspec); in dt2815_ao_insn_read()
89 int chan = CR_CHAN(insn->chanspec); in dt2815_ao_insn()
H A Dni_at_ao.c129 unsigned int chan = CR_CHAN(insn->chanspec); in atao_ao_insn_write()
170 unsigned int chan = CR_CHAN(insn->chanspec); in atao_dio_insn_config()
235 unsigned int chan = CR_CHAN(insn->chanspec); in atao_calib_insn_write()
H A Dni_labpc_common.c235 unsigned int chan = CR_CHAN(insn->chanspec); in labpc_ai_insn_read()
432 chan0 = CR_CHAN(cmd->chanlist[0]); in labpc_ai_scan_mode()
433 chan1 = CR_CHAN(cmd->chanlist[1]); in labpc_ai_scan_mode()
449 unsigned int chan0 = CR_CHAN(cmd->chanlist[0]); in labpc_ai_check_chanlist()
455 unsigned int chan = CR_CHAN(cmd->chanlist[i]); in labpc_ai_check_chanlist()
626 unsigned int chan = CR_CHAN(chanspec); in labpc_ai_cmd()
917 channel = CR_CHAN(insn->chanspec); in labpc_ao_insn_write()
1129 unsigned int chan = CR_CHAN(insn->chanspec); in labpc_calib_insn_write()
1166 unsigned int chan = CR_CHAN(insn->chanspec); in labpc_eeprom_insn_write()
H A Ddt3000.c461 chan = CR_CHAN(cmd->chanlist[i]); in dt3k_ai_cmd()
511 chan = CR_CHAN(insn->chanspec); in dt3k_ai_insn_read()
526 unsigned int chan = CR_CHAN(insn->chanspec); in dt3k_ao_insn_write()
556 unsigned int chan = CR_CHAN(insn->chanspec); in dt3k_dio_insn_config()
592 unsigned int addr = CR_CHAN(insn->chanspec); in dt3k_mem_insn_read()
H A Dpcm3724.c130 mask = 1 << CR_CHAN(chanspec); in enable_chan()
163 unsigned int chan = CR_CHAN(insn->chanspec); in subdev_3724_insn_config()
H A Ddmm32at.c162 unsigned int chan = CR_CHAN(chanspec); in dmm32at_ai_set_chanspec()
236 unsigned int chan0 = CR_CHAN(cmd->chanlist[0]); in dmm32at_ai_check_chanlist()
241 unsigned int chan = CR_CHAN(cmd->chanlist[i]); in dmm32at_ai_check_chanlist()
455 unsigned int chan = CR_CHAN(insn->chanspec); in dmm32at_ao_insn_write()
H A Dadv_pci1723.c82 unsigned int chan = CR_CHAN(insn->chanspec); in pci1723_ao_insn_write()
100 unsigned int chan = CR_CHAN(insn->chanspec); in pci1723_dio_insn_config()
H A Dke_counter.c45 unsigned int chan = CR_CHAN(insn->chanspec); in ke_counter_insn_write()
67 unsigned int chan = CR_CHAN(insn->chanspec); in ke_counter_insn_read()
H 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()

1234