Home
last modified time | relevance | path

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

/linux/drivers/power/supply/
H A Dbq25980_charger.c324 unsigned int busovp_offset; in bq25980_get_input_volt_lim() local
330 busovp_offset = bq->chip_info->busovp_byp_offset; in bq25980_get_input_volt_lim()
333 busovp_offset = bq->chip_info->busovp_sc_offset; in bq25980_get_input_volt_lim()
340 return (busovp_reg_code * busovp_step) + busovp_offset; in bq25980_get_input_volt_lim()
347 unsigned int busovp_offset; in bq25980_set_input_volt_lim() local
352 busovp_offset = bq->chip_info->busovp_byp_offset; in bq25980_set_input_volt_lim()
359 busovp_offset = bq->chip_info->busovp_sc_offset; in bq25980_set_input_volt_lim()
366 busovp_reg_code = (busovp - busovp_offset) / busovp_step; in bq25980_set_input_volt_lim()