Searched refs:adc_chan (Results 1 – 4 of 4) sorted by relevance
303 int x1 = adc->adc_info[adc_chan].x1; in palmas_gpadc_calibrate()304 int x2 = adc->adc_info[adc_chan].x2; in palmas_gpadc_calibrate()305 int v1 = adc->adc_info[adc_chan].v1; in palmas_gpadc_calibrate()306 int v2 = adc->adc_info[adc_chan].v2; in palmas_gpadc_calibrate()328 adc->adc_info[adc_chan].gain_error = k; in palmas_gpadc_calibrate()329 adc->adc_info[adc_chan].gain = gain; in palmas_gpadc_calibrate()372 int adc_chan, int val) in palmas_gpadc_get_calibrated_code() argument393 int adc_chan = chan->channel; in palmas_gpadc_read_raw() local396 if (adc_chan > PALMAS_ADC_CH_MAX) in palmas_gpadc_read_raw()417 adc, adc_chan, ret); in palmas_gpadc_read_raw()[all …]
816 const struct adc5_channels *adc_chan; in adc5_get_fw_data() local853 adc_chan = &adc->data->adc_chans[prop.channel]; in adc5_get_fw_data()858 iio_chan->info_mask_separate = adc_chan->info_mask; in adc5_get_fw_data()859 iio_chan->type = adc_chan->type; in adc5_get_fw_data()
70 struct iio_channel *adc_chan; member179 ret = iio_convert_raw_to_processed(data->adc_chan, in lmp91000_read_raw()193 return iio_read_channel_offset(data->adc_chan, val, val2); in lmp91000_read_raw()195 return iio_read_channel_scale(data->adc_chan, val, val2); in lmp91000_read_raw()366 data->adc_chan = iio_channel_cb_get_channels(data->cb_buffer); in lmp91000_probe()
43 int adc_chan = chan->channel; in tsc2007_read_raw() local46 if (adc_chan >= ARRAY_SIZE(tsc2007_iio_channel)) in tsc2007_read_raw()
Completed in 11 milliseconds