Home
last modified time | relevance | path

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

/openbmc/linux/drivers/power/supply/
H A Dadp5061.c278 int vmax_index; in adp5061_set_max_voltage() local
285 vmax_index = adp5061_get_array_index(adp5061_vmax, in adp5061_set_max_voltage()
287 if (vmax_index < 0) in adp5061_set_max_voltage()
288 return vmax_index; in adp5061_set_max_voltage()
290 vmax_index += 0x0F; in adp5061_set_max_voltage()
294 ADP5061_TERM_SET_VTRM_MODE(vmax_index)); in adp5061_set_max_voltage()