Home
last modified time | relevance | path

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

/openbmc/linux/drivers/power/supply/
H A Dbq25980_charger.c325 unsigned int busovp_step; in bq25980_get_input_volt_lim() local
329 busovp_step = bq->chip_info->busovp_byp_step; in bq25980_get_input_volt_lim()
332 busovp_step = bq->chip_info->busovp_sc_step; in bq25980_get_input_volt_lim()
340 return (busovp_reg_code * busovp_step) + busovp_offset; in bq25980_get_input_volt_lim()
346 unsigned int busovp_step; in bq25980_set_input_volt_lim() local
351 busovp_step = bq->chip_info->busovp_byp_step; in bq25980_set_input_volt_lim()
358 busovp_step = bq->chip_info->busovp_sc_step; in bq25980_set_input_volt_lim()
366 busovp_reg_code = (busovp - busovp_offset) / busovp_step; in bq25980_set_input_volt_lim()