Searched refs:vbat_msb (Results 1 – 1 of 1) sorted by relevance
335 int vbat_msb; in bq2515x_get_battery_voltage_now() local342 ret = regmap_read(bq2515x->regmap, BQ2515X_ADC_VBAT_M, &vbat_msb); in bq2515x_get_battery_voltage_now()350 vbat_measurement = (vbat_msb << 8) | vbat_lsb; in bq2515x_get_battery_voltage_now()