Home
last modified time | relevance | path

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

/openbmc/linux/drivers/power/supply/
H A Daxp288_fuel_gauge.c416 int new_low_cap, ret = 0; in fuel_gauge_set_property() local
425 new_low_cap = info->low_cap; in fuel_gauge_set_property()
426 new_low_cap &= 0xf0; in fuel_gauge_set_property()
427 new_low_cap |= (val->intval & 0xf); in fuel_gauge_set_property()
428 ret = fuel_gauge_reg_writeb(info, AXP288_FG_LOW_CAP_REG, new_low_cap); in fuel_gauge_set_property()
430 info->low_cap = new_low_cap; in fuel_gauge_set_property()