Home
last modified time | relevance | path

Searched refs:last_chan (Results 1 – 11 of 11) sorted by relevance

/linux-6.1.9/drivers/i2c/muxes/
Di2c-mux-pca954x.c82 u8 last_chan; /* last register value */ member
243 if (data->last_chan != regval) { in pca954x_select_chan()
245 data->last_chan = ret < 0 ? 0 : regval; in pca954x_select_chan()
264 data->last_chan = 0; in pca954x_deselect_mux()
266 data->last_chan); in pca954x_deselect_mux()
310 if (data->last_chan || val != MUX_IDLE_DISCONNECT) in idle_state_store()
400 data->last_chan = pca954x_regval(data, data->idle_state); in pca954x_init()
402 data->last_chan = 0; /* Disconnect multiplexer */ in pca954x_init()
404 ret = i2c_smbus_write_byte(client, data->last_chan); in pca954x_init()
406 data->last_chan = 0; in pca954x_init()
/linux-6.1.9/drivers/comedi/drivers/
Dpcl816.c144 unsigned int last_chan) in pcl816_ai_set_chan_scan() argument
146 outb(PCL816_MUX_SCAN(first_chan, last_chan), in pcl816_ai_set_chan_scan()
155 unsigned int last_chan; in pcl816_ai_setup_chanlist() local
161 last_chan = CR_CHAN(chanlist[i]); in pcl816_ai_setup_chanlist()
164 pcl816_ai_set_chan_range(dev, last_chan, range); in pcl816_ai_setup_chanlist()
169 pcl816_ai_set_chan_scan(dev, first_chan, last_chan); in pcl816_ai_setup_chanlist()
Dpcl818.c333 unsigned int last_chan) in pcl818_ai_set_chan_scan() argument
335 outb(PCL818_MUX_SCAN(first_chan, last_chan), in pcl818_ai_set_chan_scan()
345 unsigned int last_chan; in pcl818_ai_setup_chanlist() local
354 last_chan = CR_CHAN(chanlist[i]); in pcl818_ai_setup_chanlist()
357 devpriv->act_chanlist[i] = last_chan; in pcl818_ai_setup_chanlist()
359 pcl818_ai_set_chan_range(dev, last_chan, range); in pcl818_ai_setup_chanlist()
364 pcl818_ai_set_chan_scan(dev, first_chan, last_chan); in pcl818_ai_setup_chanlist()
Ddas16.c534 unsigned int last_chan, in das16_ai_set_mux_range() argument
540 outb(first_chan | (last_chan << 4), dev->iobase + DAS16_MUX_REG); in das16_ai_set_mux_range()
700 unsigned int last_chan = CR_CHAN(cmd->chanlist[cmd->chanlist_len - 1]); in das16_cmd_exec() local
715 das16_ai_set_mux_range(dev, first_chan, last_chan, range); in das16_cmd_exec()
Ddmm32at.c164 unsigned int last_chan = (chan + nchan - 1) % s->n_chan; in dmm32at_ai_set_chanspec() local
173 outb(last_chan, dev->iobase + DMM32AT_AI_HI_CHAN_REG); in dmm32at_ai_set_chanspec()
Dadl_pci9111.c340 unsigned int last_chan = CR_CHAN(cmd->chanlist[cmd->chanlist_len - 1]); in pci9111_ai_do_cmd() local
351 outb(last_chan, dev->iobase + PCI9111_AI_CHANNEL_REG); in pci9111_ai_do_cmd()
Dadv_pci1710.c254 unsigned int last_chan = CR_CHAN(chanlist[seglen - 1]); in pci1710_ai_setup_chanlist() local
282 PCI171X_MUX_CHANH(last_chan); in pci1710_ai_setup_chanlist()
/linux-6.1.9/drivers/iio/adc/
Drockchip_saradc.c56 const struct iio_chan_spec *last_chan; member
74 info->last_chan = chan; in rockchip_saradc_conversion()
124 info->last_val &= GENMASK(info->last_chan->scan_type.realbits - 1, 0); in rockchip_saradc_isr()
/linux-6.1.9/drivers/crypto/
Dtalitos.h145 atomic_t last_chan ____cacheline_aligned;
Dtalitos.c3057 ctx->ch = atomic_inc_return(&priv->last_chan) & in talitos_init_common()
/linux-6.1.9/drivers/net/wireless/realtek/rtw89/
Dmac.c3834 u32 last_chan = rtwdev->scan_info.last_chan_idx; in rtw89_mac_c2h_scanofld_rsp() local
3859 last_chan < rtwvif->scan_req->n_channels) { in rtw89_mac_c2h_scanofld_rsp()