Lines Matching refs:adc_data
295 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()
380 *val = MAX9611_VOLTAGE_RAW(adc_data) * in max9611_read_raw()
392 &adc_data); in max9611_read_raw()
396 adc_data -= MAX9611_CIM_OFFSET_RAW; in max9611_read_raw()
397 *val = MAX9611_VOLTAGE_RAW(adc_data) * in max9611_read_raw()
400 ret = max9611_read_csa_voltage(dev, &adc_data, in max9611_read_raw()
408 adc_data -= csa_gain[CSA_GAIN_OFFS_RAW]; in max9611_read_raw()
409 *val *= MAX9611_VOLTAGE_RAW(adc_data) * in max9611_read_raw()