Lines Matching refs:f_reg
240 u8 f_reg; member
1035 v = bdi->f_reg; in bq24190_charger_get_health()
1512 chrg_fault = bdi->f_reg; in bq24190_battery_get_status()
1564 v = bdi->f_reg; in bq24190_battery_get_health()
1761 u8 ss_reg = 0, f_reg = 0; in bq24190_check_status() local
1774 ret = bq24190_read(bdi, BQ24190_REG_F, &f_reg); in bq24190_check_status()
1779 } while (f_reg && ++i < 2); in bq24190_check_status()
1782 if (f_reg == (1 << BQ24190_REG_F_CHRG_FAULT_SHIFT) && in bq24190_check_status()
1784 f_reg = 0; in bq24190_check_status()
1786 if (f_reg != bdi->f_reg) { in bq24190_check_status()
1789 !!(f_reg & BQ24190_REG_F_BOOST_FAULT_MASK), in bq24190_check_status()
1790 !!(f_reg & BQ24190_REG_F_CHRG_FAULT_MASK), in bq24190_check_status()
1791 !!(f_reg & BQ24190_REG_F_BAT_FAULT_MASK), in bq24190_check_status()
1792 !!(f_reg & bdi->info->ntc_fault_mask)); in bq24190_check_status()
1795 if ((bdi->f_reg & battery_mask_f) != (f_reg & battery_mask_f)) in bq24190_check_status()
1797 if ((bdi->f_reg & ~battery_mask_f) != (f_reg & ~battery_mask_f)) in bq24190_check_status()
1799 bdi->f_reg = f_reg; in bq24190_check_status()
1833 dev_dbg(bdi->dev, "ss_reg: 0x%02x, f_reg: 0x%02x\n", ss_reg, f_reg); in bq24190_check_status()
2058 bdi->f_reg = 0; in bq24190_probe()
2250 bdi->f_reg = 0; in bq24190_pm_resume()