Lines Matching refs:adc_data
304 u16 adc_data; in max9611_read_raw() local
313 &adc_data); in max9611_read_raw()
317 *val = MAX9611_TEMP_RAW(adc_data); in max9611_read_raw()
322 &adc_data); in max9611_read_raw()
326 *val = MAX9611_VOLTAGE_RAW(adc_data); in max9611_read_raw()
365 ret = max9611_read_csa_voltage(dev, &adc_data, in max9611_read_raw()
372 adc_data -= csa_gain[CSA_GAIN_OFFS_RAW]; in max9611_read_raw()
373 *val = MAX9611_VOLTAGE_RAW(adc_data) * in max9611_read_raw()
381 ret = max9611_read_csa_voltage(dev, &adc_data, in max9611_read_raw()
388 adc_data -= csa_gain[CSA_GAIN_OFFS_RAW]; in max9611_read_raw()
389 *val = MAX9611_VOLTAGE_RAW(adc_data) * in max9611_read_raw()
401 &adc_data); in max9611_read_raw()
405 adc_data -= MAX9611_CIM_OFFSET_RAW; in max9611_read_raw()
406 *val = MAX9611_VOLTAGE_RAW(adc_data) * in max9611_read_raw()
409 ret = max9611_read_csa_voltage(dev, &adc_data, in max9611_read_raw()
417 adc_data -= csa_gain[CSA_GAIN_OFFS_RAW]; in max9611_read_raw()
418 *val *= MAX9611_VOLTAGE_RAW(adc_data) * in max9611_read_raw()