Home
last modified time | relevance | path

Searched refs:channels_cfg (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/drivers/iio/adc/
Dti-ads1119.c99 struct ads1119_channel_config *channels_cfg; member
222 unsigned int datarate = st->channels_cfg[chan->address].datarate; in ads1119_poll_data_ready()
266 int mux = st->channels_cfg[chan->address].mux; in ads1119_single_conversion()
267 int gain = st->channels_cfg[chan->address].gain; in ads1119_single_conversion()
268 int datarate = st->channels_cfg[chan->address].datarate; in ads1119_single_conversion()
354 *val /= st->channels_cfg[index].gain; in ads1119_read_raw()
358 *val = st->channels_cfg[index].datarate; in ads1119_read_raw()
382 st->channels_cfg[index].gain = ret; in ads1119_write_raw()
389 st->channels_cfg[index].datarate = ret; in ads1119_write_raw()
445 st->channels_cfg[index].mux, in ads1119_triggered_buffer_preenable()
[all …]
Dad4695.c129 struct ad4695_channel_config channels_cfg[AD4695_MAX_CHANNELS]; member
625 struct ad4695_channel_config *cfg = &st->channels_cfg[chan->scan_index]; in ad4695_read_raw()
874 chan_cfg = &st->channels_cfg[i]; in ad4695_parse_channel_cfg()
902 chan_cfg = &st->channels_cfg[reg]; in ad4695_parse_channel_cfg()