Searched refs:adc_data (Results 1 – 4 of 4) sorted by relevance
295 u16 adc_data; in max9611_read_raw() local304 &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 …]
458 u16 adc_data; in iproc_adc_read_raw() local463 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()
95 u32 adc_data; member247 *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()
2270 u16 adc_data; in s626_initialize()2295 adc_data = data[0]; in s626_initialize()2296 if (adc_data != start_val) in s626_initialize()