Lines Matching refs:f_reg
176 u8 f_reg; member
850 v = bdi->f_reg; in bq24190_charger_get_health()
1340 chrg_fault = bdi->f_reg; in bq24190_battery_get_status()
1392 v = bdi->f_reg; in bq24190_battery_get_health()
1607 u8 ss_reg = 0, f_reg = 0; in bq24190_check_status() local
1618 ret = bq24190_read(bdi, BQ24190_REG_F, &f_reg); in bq24190_check_status()
1623 } while (f_reg && ++i < 2); in bq24190_check_status()
1626 if (f_reg == (1 << BQ24190_REG_F_CHRG_FAULT_SHIFT) && in bq24190_check_status()
1628 f_reg = 0; in bq24190_check_status()
1630 if (f_reg != bdi->f_reg) { in bq24190_check_status()
1633 !!(f_reg & BQ24190_REG_F_BOOST_FAULT_MASK), in bq24190_check_status()
1634 !!(f_reg & BQ24190_REG_F_CHRG_FAULT_MASK), in bq24190_check_status()
1635 !!(f_reg & BQ24190_REG_F_BAT_FAULT_MASK), in bq24190_check_status()
1636 !!(f_reg & BQ24190_REG_F_NTC_FAULT_MASK)); in bq24190_check_status()
1639 if ((bdi->f_reg & battery_mask_f) != (f_reg & battery_mask_f)) in bq24190_check_status()
1641 if ((bdi->f_reg & ~battery_mask_f) != (f_reg & ~battery_mask_f)) in bq24190_check_status()
1643 bdi->f_reg = f_reg; in bq24190_check_status()
1677 dev_dbg(bdi->dev, "ss_reg: 0x%02x, f_reg: 0x%02x\n", ss_reg, f_reg); in bq24190_check_status()
1809 bdi->f_reg = 0; in bq24190_probe()
2001 bdi->f_reg = 0; in bq24190_pm_resume()