Searched refs:chg_ctrl_2 (Results 1 – 1 of 1) sorted by relevance
562 unsigned int chg_ctrl_2; in bq25980_get_state() local586 ret = regmap_read(bq->regmap, BQ25980_CHRGR_CTRL_2, &chg_ctrl_2); in bq25980_get_state()602 state->ce = chg_ctrl_2 & BQ25980_CHG_EN; in bq25980_get_state()603 state->hiz = chg_ctrl_2 & BQ25980_EN_HIZ; in bq25980_get_state()604 state->bypass = chg_ctrl_2 & BQ25980_EN_BYPASS; in bq25980_get_state()