Home
last modified time | relevance | path

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

/openbmc/linux/drivers/power/supply/
H A Dadp5061.c118 static const int adp5061_const_ichg[24] = { variable
324 index = adp5061_get_array_index(adp5061_const_ichg, in adp5061_set_const_chg_current()
325 ARRAY_SIZE(adp5061_const_ichg), in adp5061_set_const_chg_current()
346 if (regval >= ARRAY_SIZE(adp5061_const_ichg)) in adp5061_get_const_chg_current()
347 regval = ARRAY_SIZE(adp5061_const_ichg) - 1; in adp5061_get_const_chg_current()
349 val->intval = adp5061_const_ichg[regval] * 1000; in adp5061_get_const_chg_current()