Searched refs:raw_volt (Results 1 – 1 of 1) sorted by relevance
323 static int twl4030battery_temperature(int raw_volt) in twl4030battery_temperature() argument328 volt = (raw_volt * TEMP_STEP_SIZE) / TEMP_PSR_R; in twl4030battery_temperature()348 static int twl4030battery_current(int raw_volt) in twl4030battery_current() argument358 return (raw_volt * CURR_STEP_SIZE) / CURR_PSR_R1; in twl4030battery_current()360 return (raw_volt * CURR_STEP_SIZE) / CURR_PSR_R2; in twl4030battery_current()