Searched refs:vol_1000mv_adc (Results 1 – 1 of 1) sorted by relevance
118 int vol_1000mv_adc; member144 return DIV_S64_ROUND_CLOSEST(adc * 1000, data->vol_1000mv_adc); in sc27xx_fgu_adc_to_voltage()149 return DIV_ROUND_CLOSEST(vol * data->vol_1000mv_adc, 1000); in sc27xx_fgu_voltage_to_adc()983 data->vol_1000mv_adc = DIV_ROUND_CLOSEST(cal_4200mv * 10, 42); in sc27xx_fgu_calibration()985 DIV_ROUND_CLOSEST(data->vol_1000mv_adc * 4 * data->calib_resist, in sc27xx_fgu_calibration()