Home
last modified time | relevance | path

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

/openbmc/linux/drivers/power/supply/
H A Dsc2731_charger.c372 u32 term_currrent, term_voltage, cur_val, vol_val; in sc2731_charger_hw_init() local
391 vol_val = 0x1; in sc2731_charger_hw_init()
408 vol_val = (term_voltage - 4200) / 100; in sc2731_charger_hw_init()
410 vol_val = 0; in sc2731_charger_hw_init()
425 (vol_val << SC2731_TERMINATION_VOL_SHIFT) | in sc2731_charger_hw_init()