Home
last modified time | relevance | path

Searched refs:term_voltage (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
402 term_voltage = bat_info->constant_charge_voltage_max_uv / 1000; in sc2731_charger_hw_init()
404 if (term_voltage > 4500) in sc2731_charger_hw_init()
405 term_voltage = 4500; in sc2731_charger_hw_init()
407 if (term_voltage > 4200) in sc2731_charger_hw_init()
408 vol_val = (term_voltage - 4200) / 100; in sc2731_charger_hw_init()