Home
last modified time | relevance | path

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

/openbmc/linux/drivers/power/supply/
H A Dsc2731_charger.c51 #define SC2731_CURRENT_PRECHG 450 macro
117 else if (cur < SC2731_CURRENT_PRECHG) in sc2731_charger_set_current()
118 cur = SC2731_CURRENT_PRECHG; in sc2731_charger_set_current()
121 val = (cur - SC2731_CURRENT_PRECHG) / SC2731_CURRENT_STEP; in sc2731_charger_set_current()
160 *cur = val * SC2731_CURRENT_STEP + SC2731_CURRENT_PRECHG; in sc2731_charger_get_current()