/linux-6.3-rc2/drivers/comedi/drivers/ |
A D | ni_660x.c | 535 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() 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() 879 reg | (src & ~CR_CHAN(-1))); in connect_route() 890 s8 reg = ni_route_to_register(CR_CHAN(src), CR_CHAN(dest), in disconnect_route() 901 if (channel_is_pfi(CR_CHAN(dest))) { in disconnect_route() 909 } else if (channel_is_rtsi(CR_CHAN(dest))) { in disconnect_route() [all …]
|
A D | pcl816.c | 154 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()
|
A D | das6402.c | 226 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()
|
A D | multiq3.c | 98 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()
|
A D | ni_tiocmd.c | 135 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 D | pcl818.c | 344 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()
|
A D | s526.c | 200 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 D | cb_pcidas.c | 329 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() 873 unsigned int chan0 = CR_CHAN(cmd->chanlist[0]); in cb_pcidas_ao_check_chanlist() [all …]
|
A D | adv_pci1710.c | 185 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()
|
A D | aio_aio12_8.c | 116 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()
|
A D | cb_pcimdda.c | 87 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()
|
A D | c6xdigio.c | 153 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()
|
A D | fl512.c | 54 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()
|
A D | ni_mio_common.c | 1621 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 D | dt2815.c | 76 int chan = CR_CHAN(insn->chanspec); in dt2815_ao_insn_read() 89 int chan = CR_CHAN(insn->chanspec); in dt2815_ao_insn()
|
A D | adl_pci8164.c | 36 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()
|
A D | vmk80xx.c | 245 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()
|
A D | ni_at_ao.c | 129 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()
|
A D | pcm3724.c | 130 mask = 1 << CR_CHAN(chanspec); in enable_chan() 163 unsigned int chan = CR_CHAN(insn->chanspec); in subdev_3724_insn_config()
|
A D | cb_pcidas64.c | 1756 channel = CR_CHAN(insn->chanspec); in ai_rinsn() 2325 if (CR_CHAN(chanspec)) in select_master_clock_4020() 2399 if (CR_CHAN(cmd->chanlist[i + 1]) != in use_internal_queue_6xxx() 2400 CR_CHAN(cmd->chanlist[i]) + 1) in use_internal_queue_6xxx() 2464 bits |= adc_chan_bits(CR_CHAN(chanspec)); in setup_channel_queue() 2602 adc_hi_chan_4020_bits(CR_CHAN(cmd->chanlist in ai_cmd() 3094 unsigned int chan = CR_CHAN(insn->chanspec); in ao_winsn() 3158 channel = CR_CHAN(cmd->chanlist[i]); in set_dac_control1_reg() 3175 first_channel = CR_CHAN(cmd->chanlist[0]); in set_dac_select_reg() 3627 unsigned int chan = CR_CHAN(insn->chanspec); in cb_pcidas64_calib_insn_write() [all …]
|
A D | dt3000.c | 461 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()
|
A D | ni_labpc_common.c | 230 unsigned int chan = CR_CHAN(insn->chanspec); in labpc_ai_insn_read() 427 chan0 = CR_CHAN(cmd->chanlist[0]); in labpc_ai_scan_mode() 428 chan1 = CR_CHAN(cmd->chanlist[1]); in labpc_ai_scan_mode() 444 unsigned int chan0 = CR_CHAN(cmd->chanlist[0]); in labpc_ai_check_chanlist() 450 unsigned int chan = CR_CHAN(cmd->chanlist[i]); in labpc_ai_check_chanlist() 621 unsigned int chan = CR_CHAN(chanspec); in labpc_ai_cmd() 912 channel = CR_CHAN(insn->chanspec); in labpc_ao_insn_write() 1124 unsigned int chan = CR_CHAN(insn->chanspec); in labpc_calib_insn_write() 1161 unsigned int chan = CR_CHAN(insn->chanspec); in labpc_eeprom_insn_write()
|
A D | ke_counter.c | 45 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()
|
A D | adv_pci1723.c | 82 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()
|
A D | dmm32at.c | 162 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()
|