Home
last modified time | relevance | path

Searched refs:voltage_mv (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.10/drivers/power/supply/
Dcw2015_battery.c71 int voltage_mv; member
307 int ret, i, voltage_mv; in cw_get_voltage() local
325 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() local
381 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 …]
/Linux-v5.10/drivers/regulator/
Dcros-ec-regulator.c119 return resp.voltage_mv * 1000; in cros_ec_regulator_get_voltage()
/Linux-v5.10/include/linux/platform_data/
Dcros_ec_commands.h5528 uint32_t voltage_mv; member