Home
last modified time | relevance | path

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

/openbmc/linux/drivers/power/supply/
H A Dmax17040_battery.c149 u32 low_soc_alert; member
234 chip->low_soc_alert = MAX17040_ATHD_DEFAULT_POWER_UP; in max17040_get_of_data()
237 &chip->low_soc_alert); in max17040_get_of_data()
239 if (chip->low_soc_alert <= 0 || in max17040_get_of_data()
240 chip->low_soc_alert > (chip->quirk_double_soc ? 16 : 32)) { in max17040_get_of_data()
331 max17040_set_low_soc_alert(chip, chip->low_soc_alert); in max17040_thread_handler()
375 chip->low_soc_alert = val->intval; in max17040_set_property()
401 val->intval = chip->low_soc_alert; in max17040_get_property()
485 ret = max17040_set_low_soc_alert(chip, chip->low_soc_alert); in max17040_probe()