Home
last modified time | relevance | path

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

/openbmc/linux/drivers/power/supply/
H A Drk817_charger.c868 u32 tmp, max_chg_vol_mv, max_chg_cur_ma; in rk817_battery_init() local
924 max_chg_cur_ma = bat_info->constant_charge_current_max_ua / 1000; in rk817_battery_init()
937 if (max_chg_cur_ma < 500) { in rk817_battery_init()
940 max_chg_cur_ma * 1000); in rk817_battery_init()
942 if (max_chg_cur_ma > 3500) in rk817_battery_init()
954 max_chg_cur_reg = rk817_chg_cur_to_reg(max_chg_cur_ma); in rk817_battery_init()
964 max_chg_cur_ma * 1000); in rk817_battery_init()