Searched refs:voltage_mv (Results 1 – 3 of 3) sorted by relevance
71 int voltage_mv; member307 int ret, i, voltage_mv; in cw_get_voltage() local325 voltage_mv = avg * 312 / 1024; in cw_get_voltage()328 voltage_mv, reg_val); in cw_get_voltage()329 return voltage_mv; in cw_get_voltage()379 int voltage_mv; in cw_update_voltage() local381 voltage_mv = cw_get_voltage(cw_bat); in cw_update_voltage()382 if (voltage_mv < 0) in cw_update_voltage()384 voltage_mv); in cw_update_voltage()386 cw_bat->voltage_mv = voltage_mv; in cw_update_voltage()[all …]
119 return resp.voltage_mv * 1000; in cros_ec_regulator_get_voltage()
5528 uint32_t voltage_mv; member