Searched refs:BQ2515X_VBAT_STEP_UV (Results 1 – 1 of 1) sorted by relevance
81 #define BQ2515X_VBAT_STEP_UV 10000 macro640 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()