Searched refs:cur_chan (Results 1 – 14 of 14) sorted by relevance
645 devpriv->act_chanlist[s->async->cur_chan]) { in interrupt_pci1710_every_sample()651 async->cur_chan] & 0xf000) >> in interrupt_pci1710_every_sample()660 s->async->cur_chan, s->async->buf_int_count); in interrupt_pci1710_every_sample()666 ++s->async->cur_chan; in interrupt_pci1710_every_sample()668 if (s->async->cur_chan >= devpriv->ai_n_chan) in interrupt_pci1710_every_sample()669 s->async->cur_chan = 0; in interrupt_pci1710_every_sample()672 if (s->async->cur_chan == 0) { /* one scan done */ in interrupt_pci1710_every_sample()706 j = s->async->cur_chan; in move_block_from_fifo()735 s->async->cur_chan = j; in move_block_from_fifo()863 s->async->cur_chan = 0; in pci171x_ai_docmd_and_mode()[all …]
576 s->async->cur_chan++; in interrupt_pcl818_ai_mode13_int()577 if (s->async->cur_chan >= devpriv->ai_n_chan) { in interrupt_pcl818_ai_mode13_int()579 s->async->cur_chan = 0; in interrupt_pcl818_ai_mode13_int()650 s->async->cur_chan++; in interrupt_pcl818_ai_mode13_dma()651 if (s->async->cur_chan >= devpriv->ai_n_chan) { in interrupt_pcl818_ai_mode13_dma()652 s->async->cur_chan = 0; in interrupt_pcl818_ai_mode13_dma()747 s->async->cur_chan++; in interrupt_pcl818_ai_mode13_dma_rtc()748 if (s->async->cur_chan >= devpriv->ai_n_chan) { in interrupt_pcl818_ai_mode13_dma_rtc()749 s->async->cur_chan = 0; in interrupt_pcl818_ai_mode13_dma_rtc()831 s->async->cur_chan++; in interrupt_pcl818_ai_mode13_fifo()[all …]
342 s->async->cur_chan++; in interrupt_pcl816_ai_mode13_int()343 if (s->async->cur_chan >= devpriv->ai_n_chan) { in interrupt_pcl816_ai_mode13_int()344 s->async->cur_chan = 0; in interrupt_pcl816_ai_mode13_int()380 s->async->cur_chan++; in transfer_from_dma_buf()381 if (s->async->cur_chan >= devpriv->ai_n_chan) { in transfer_from_dma_buf()382 s->async->cur_chan = 0; in transfer_from_dma_buf()689 s->async->cur_chan = 0; in pcl816_ai_cmd()
895 s->async->cur_chan = 0; in pcl812_ai_cmd()1036 next_chan = s->async->cur_chan + 1; in interrupt_pcl812_ai_int()1039 if (devpriv->ai_chanlist[s->async->cur_chan] != in interrupt_pcl812_ai_int()1045 s->async->cur_chan = next_chan; in interrupt_pcl812_ai_int()1074 s->async->cur_chan++; in transfer_from_dma_buf()1075 if (s->async->cur_chan >= devpriv->ai_n_chan) { in transfer_from_dma_buf()1076 s->async->cur_chan = 0; in transfer_from_dma_buf()
647 (s->async->cur_chan + num_samples) / devpriv->ai_n_scanlen; in move_block_from_dma()648 s->async->cur_chan += num_samples; in move_block_from_dma()649 s->async->cur_chan %= devpriv->ai_n_scanlen; in move_block_from_dma()732 if ((sampl & 0x000f) != devpriv->chanlist[s->async->cur_chan]) { in interrupt_pci9118_ai_onesample()738 devpriv->chanlist[s->async->cur_chan]); in interrupt_pci9118_ai_onesample()747 s->async->cur_chan++; in interrupt_pci9118_ai_onesample()748 if (s->async->cur_chan >= devpriv->ai_n_scanlen) { in interrupt_pci9118_ai_onesample()750 s->async->cur_chan %= devpriv->ai_n_scanlen; in interrupt_pci9118_ai_onesample()1764 s->async->cur_chan = 0; in pci9118_ai_cmd()2118 s->async->cur_chan = 0; in pci9118_ai_cancel()
1381 if (CHAN_ARRAY_TEST(devpriv->chanBipolar, s->async->cur_chan)) in ai_read_n()1409 if (CHAN_ARRAY_TEST(devpriv->chanBipolar, s->async->cur_chan)) in ai_read_dregs()1497 if (CHAN_ARRAY_TEST(devpriv->chanBipolar, s->async->cur_chan)) {1504 if (++s->async->cur_chan >= s->async->cmd.chanlist_len)1505 s->async->cur_chan = 0;
419 s->async->cur_chan = 0; in atmio16d_ai_cmd()
1226 s->async->cur_chan = 0; in usbdux_ai_cmd()1650 s->async->cur_chan = 0; in usbdux_ao_cmd()
1197 s->async->cur_chan = 0; in usbdux_ai_cmd()1714 s->async->cur_chan = 0; in usbdux_ao_cmd()
779 s->async->cur_chan = 0; in usbduxfast_ai_cmd()
1269 chan = async->cur_chan; in ni_ao_fifo_load()1295 async->cur_chan = chan; in ni_ao_fifo_load()
447 s->async->cur_chan = 0; in i_APCI3120_StopCyclicAcquisition()780 s->async->cur_chan = 0; in i_APCI3120_CyclicAnalogInput()1872 (s->async->cur_chan + num_samples) / devpriv->ui_AiScanLength; in v_APCI3120_InterruptDmaMoveBlock16bit()1873 s->async->cur_chan += num_samples; in v_APCI3120_InterruptDmaMoveBlock16bit()1874 s->async->cur_chan %= devpriv->ui_AiScanLength; in v_APCI3120_InterruptDmaMoveBlock16bit()
158 unsigned int cur_chan; /* useless channel marker for interrupt */ member
808 async->cur_chan = 0; in comedi_reset_async_buf()