Searched refs:volt_val (Results 1 – 2 of 2) sorted by relevance
124 static int calc_full_volt(int volt_val, int cur_val, int impedance) in calc_full_volt() argument126 return volt_val + cur_val * impedance / 1000; in calc_full_volt()
1087 int volt_val; in bq25980_hw_init() local1125 volt_val = bq->init_data.bypass_vlim; in bq25980_hw_init()1128 volt_val = bq->init_data.sc_vlim; in bq25980_hw_init()1135 ret = bq25980_set_input_volt_lim(bq, volt_val); in bq25980_hw_init()