Searched refs:busovp (Results 1 – 1 of 1) sorted by relevance
343 static int bq25980_set_input_volt_lim(struct bq25980_device *bq, int busovp) in bq25980_set_input_volt_lim() argument353 if (busovp > bq->chip_info->busovp_byp_max) in bq25980_set_input_volt_lim()354 busovp = bq->chip_info->busovp_byp_max; in bq25980_set_input_volt_lim()355 else if (busovp < bq->chip_info->busovp_byp_min) in bq25980_set_input_volt_lim()356 busovp = bq->chip_info->busovp_byp_min; in bq25980_set_input_volt_lim()360 if (busovp > bq->chip_info->busovp_sc_max) in bq25980_set_input_volt_lim()361 busovp = bq->chip_info->busovp_sc_max; in bq25980_set_input_volt_lim()362 else if (busovp < bq->chip_info->busovp_sc_min) in bq25980_set_input_volt_lim()363 busovp = bq->chip_info->busovp_sc_min; in bq25980_set_input_volt_lim()366 busovp_reg_code = (busovp - busovp_offset) / busovp_step; in bq25980_set_input_volt_lim()