Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/power/supply/
Dmax17042_battery.c690 unsigned int vfSoc; in max17042_reset_vfsoc0_reg() local
693 regmap_read(map, MAX17042_VFSOC, &vfSoc); in max17042_reset_vfsoc0_reg()
695 max17042_write_verify_reg(map, MAX17042_VFSOC0, vfSoc); in max17042_reset_vfsoc0_reg()
701 u32 full_cap0, rep_cap, dq_acc, vfSoc; in max17042_load_new_capacity_params() local
708 regmap_read(map, MAX17042_VFSOC, &vfSoc); in max17042_load_new_capacity_params()
714 rem_cap = ((vfSoc >> 8) * full_cap0) / 100; in max17042_load_new_capacity_params()
732 regmap_write(map, MAX17042_RepSOC, vfSoc); in max17042_load_new_capacity_params()