raw_volt 329 drivers/iio/adc/twl4030-madc.c static int twl4030battery_temperature(int raw_volt) raw_volt 334 drivers/iio/adc/twl4030-madc.c volt = (raw_volt * TEMP_STEP_SIZE) / TEMP_PSR_R; raw_volt 354 drivers/iio/adc/twl4030-madc.c static int twl4030battery_current(int raw_volt) raw_volt 364 drivers/iio/adc/twl4030-madc.c return (raw_volt * CURR_STEP_SIZE) / CURR_PSR_R1; raw_volt 366 drivers/iio/adc/twl4030-madc.c return (raw_volt * CURR_STEP_SIZE) / CURR_PSR_R2;