Home
last modified time | relevance | path

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

/openbmc/linux/drivers/power/supply/
H A Dbq25980_charger.c388 static int bq25980_set_const_charge_curr(struct bq25980_device *bq, int batocp) in bq25980_set_const_charge_curr() argument
393 batocp = max(batocp, BQ25980_BATOCP_MIN_uA); in bq25980_set_const_charge_curr()
394 batocp = min(batocp, bq->chip_info->batocp_max); in bq25980_set_const_charge_curr()
396 batocp_reg_code = batocp / BQ25980_BATOCP_STEP_uA; in bq25980_set_const_charge_curr()