Searched refs:last_chan (Results 1 – 11 of 11) sorted by relevance
/linux-6.12.1/drivers/i2c/muxes/ |
D | i2c-mux-pca954x.c | 110 u8 last_chan; /* last register value */ member 328 if (data->last_chan != regval) { in pca954x_select_chan() 330 data->last_chan = ret < 0 ? 0 : regval; in pca954x_select_chan() 349 data->last_chan = 0; in pca954x_deselect_mux() 351 data->last_chan); in pca954x_deselect_mux() 395 if (data->last_chan || val != MUX_IDLE_DISCONNECT) in idle_state_store() 487 data->last_chan = pca954x_regval(data, data->idle_state); in pca954x_init() 489 data->last_chan = 0; /* Disconnect multiplexer */ in pca954x_init() 509 ret = i2c_smbus_write_byte_data(client, data->last_chan, conf); in pca954x_init() 513 ret = i2c_smbus_write_byte(client, data->last_chan); in pca954x_init() [all …]
|
/linux-6.12.1/drivers/comedi/drivers/ |
D | pcl816.c | 144 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()
|
D | pcl818.c | 333 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()
|
D | das16.c | 534 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()
|
D | dmm32at.c | 164 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()
|
D | adl_pci9111.c | 340 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()
|
D | adv_pci1710.c | 254 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.12.1/drivers/iio/adc/ |
D | rockchip_saradc.c | 80 const struct iio_chan_spec *last_chan; member 131 offset = SARADC2_DATA_BASE + info->last_chan->channel * 0x4; in rockchip_saradc_read_v2() 157 info->last_chan = chan; in rockchip_saradc_conversion() 202 info->last_val &= GENMASK(info->last_chan->scan_type.realbits - 1, 0); in rockchip_saradc_isr()
|
/linux-6.12.1/drivers/crypto/ |
D | talitos.h | 145 atomic_t last_chan ____cacheline_aligned;
|
D | talitos.c | 3058 ctx->ch = atomic_inc_return(&priv->last_chan) & in talitos_init_common()
|
/linux-6.12.1/drivers/net/wireless/realtek/rtw89/ |
D | mac.c | 4737 u32 last_chan = rtwdev->scan_info.last_chan_idx, report_tsf; in rtw89_mac_c2h_scanofld_rsp() local 4785 last_chan < rtwvif->scan_req->n_channels) { in rtw89_mac_c2h_scanofld_rsp()
|