Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/power/supply/
Daxp288_fuel_gauge.c401 int new_low_cap, ret = 0; in fuel_gauge_set_property() local
410 new_low_cap = info->low_cap; in fuel_gauge_set_property()
411 new_low_cap &= 0xf0; in fuel_gauge_set_property()
412 new_low_cap |= (val->intval & 0xf); in fuel_gauge_set_property()
413 ret = fuel_gauge_reg_writeb(info, AXP288_FG_LOW_CAP_REG, new_low_cap); in fuel_gauge_set_property()
415 info->low_cap = new_low_cap; in fuel_gauge_set_property()