Home
last modified time | relevance | path

Searched refs:adc_data (Results 1 – 4 of 4) sorted by relevance

/linux-5.19.10/drivers/iio/adc/
Dmax9611.c295 u16 adc_data; in max9611_read_raw() local
304 &adc_data); in max9611_read_raw()
308 *val = MAX9611_TEMP_RAW(adc_data); in max9611_read_raw()
313 &adc_data); in max9611_read_raw()
317 *val = MAX9611_VOLTAGE_RAW(adc_data); in max9611_read_raw()
356 ret = max9611_read_csa_voltage(dev, &adc_data, in max9611_read_raw()
363 adc_data -= csa_gain[CSA_GAIN_OFFS_RAW]; in max9611_read_raw()
364 *val = MAX9611_VOLTAGE_RAW(adc_data) * in max9611_read_raw()
372 ret = max9611_read_csa_voltage(dev, &adc_data, in max9611_read_raw()
379 adc_data -= csa_gain[CSA_GAIN_OFFS_RAW]; in max9611_read_raw()
[all …]
Dbcm_iproc_adc.c458 u16 adc_data; in iproc_adc_read_raw() local
463 err = iproc_adc_do_read(indio_dev, chan->channel, &adc_data); in iproc_adc_read_raw()
466 *val = adc_data; in iproc_adc_read_raw()
Dsun4i-gpadc-iio.c95 u32 adc_data; member
247 *val = info->adc_data; in sun4i_gpadc_read()
375 if (!regmap_read(info->regmap, SUN4I_GPADC_DATA, &info->adc_data)) in sun4i_gpadc_fifo_data_irq_handler()
/linux-5.19.10/drivers/comedi/drivers/
Ds626.c2270 u16 adc_data; in s626_initialize()
2295 adc_data = data[0]; in s626_initialize()
2296 if (adc_data != start_val) in s626_initialize()