Home
last modified time | relevance | path

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

/openbmc/linux/drivers/power/supply/
H A Dbq2515x_charger.c81 #define BQ2515X_VBAT_STEP_UV 10000 macro
640 return BQ2515X_VBAT_BASE_VOLT + vbat_reg_code * BQ2515X_VBAT_STEP_UV; in bq2515x_get_batt_reg()
650 vbat_reg_code = (val - BQ2515X_VBAT_BASE_VOLT) / BQ2515X_VBAT_STEP_UV; in bq2515x_set_batt_reg()