Searched refs:vol_1000mv_adc (Results 1 – 1 of 1) sorted by relevance
107 int vol_1000mv_adc; member130 return DIV_ROUND_CLOSEST(adc * 1000, data->vol_1000mv_adc); in sc27xx_fgu_adc_to_voltage()135 return DIV_ROUND_CLOSEST(vol * data->vol_1000mv_adc, 1000); in sc27xx_fgu_voltage_to_adc()886 data->vol_1000mv_adc = DIV_ROUND_CLOSEST(cal_4200mv * 10, 42); in sc27xx_fgu_calibration()887 data->cur_1000ma_adc = data->vol_1000mv_adc * 4; in sc27xx_fgu_calibration()