Lines Matching refs:bq27xxx_device_info

1110 	struct bq27xxx_device_info *di;  in poll_interval_param_set()
1140 static inline int bq27xxx_read(struct bq27xxx_device_info *di, int reg_index, in bq27xxx_read()
1156 static inline int bq27xxx_write(struct bq27xxx_device_info *di, int reg_index, in bq27xxx_write()
1175 static inline int bq27xxx_read_block(struct bq27xxx_device_info *di, int reg_index, in bq27xxx_read_block()
1194 static inline int bq27xxx_write_block(struct bq27xxx_device_info *di, int reg_index, in bq27xxx_write_block()
1213 static int bq27xxx_battery_seal(struct bq27xxx_device_info *di) in bq27xxx_battery_seal()
1226 static int bq27xxx_battery_unseal(struct bq27xxx_device_info *di) in bq27xxx_battery_unseal()
1262 static int bq27xxx_battery_read_dm_block(struct bq27xxx_device_info *di, in bq27xxx_battery_read_dm_block()
1302 static void bq27xxx_battery_update_dm_block(struct bq27xxx_device_info *di,
1351 static int bq27xxx_battery_cfgupdate_priv(struct bq27xxx_device_info *di, bool active)
1379 static inline int bq27xxx_battery_set_cfgupdate(struct bq27xxx_device_info *di)
1388 static inline int bq27xxx_battery_soft_reset(struct bq27xxx_device_info *di)
1397 static int bq27xxx_battery_write_dm_block(struct bq27xxx_device_info *di,
1461 static void bq27xxx_battery_set_config(struct bq27xxx_device_info *di,
1506 static void bq27xxx_battery_settings(struct bq27xxx_device_info *di)
1562 static int bq27xxx_battery_read_soc(struct bq27xxx_device_info *di)
1581 static int bq27xxx_battery_read_charge(struct bq27xxx_device_info *di, u8 reg,
1607 static inline int bq27xxx_battery_read_nac(struct bq27xxx_device_info *di,
1617 static inline int bq27xxx_battery_read_rc(struct bq27xxx_device_info *di,
1627 static inline int bq27xxx_battery_read_fcc(struct bq27xxx_device_info *di,
1637 static int bq27xxx_battery_read_dcap(struct bq27xxx_device_info *di,
1675 static int bq27xxx_battery_read_energy(struct bq27xxx_device_info *di,
1700 static int bq27xxx_battery_read_temperature(struct bq27xxx_device_info *di,
1726 static int bq27xxx_battery_read_cyct(struct bq27xxx_device_info *di,
1744 static int bq27xxx_battery_read_time(struct bq27xxx_device_info *di, u8 reg,
1767 static bool bq27xxx_battery_overtemp(struct bq27xxx_device_info *di, u16 flags)
1780 static bool bq27xxx_battery_undertemp(struct bq27xxx_device_info *di, u16 flags)
1791 static bool bq27xxx_battery_dead(struct bq27xxx_device_info *di, u16 flags)
1804 static bool bq27xxx_battery_capacity_inaccurate(struct bq27xxx_device_info *di,
1813 static int bq27xxx_battery_read_health(struct bq27xxx_device_info *di,
1835 static bool bq27xxx_battery_is_full(struct bq27xxx_device_info *di, int flags)
1851 struct bq27xxx_device_info *di,
1905 static void bq27xxx_battery_update_unlocked(struct bq27xxx_device_info *di)
1942 void bq27xxx_battery_update(struct bq27xxx_device_info *di)
1952 struct bq27xxx_device_info *di =
1953 container_of(work, struct bq27xxx_device_info,
1963 static int bq27xxx_battery_pwr_avg(struct bq27xxx_device_info *di,
1985 static int bq27xxx_battery_capacity_level(struct bq27xxx_device_info *di,
2026 static int bq27xxx_battery_voltage(struct bq27xxx_device_info *di,
2058 struct bq27xxx_device_info *di = power_supply_get_drvdata(psy);
2148 struct bq27xxx_device_info *di = power_supply_get_drvdata(psy);
2161 int bq27xxx_battery_setup(struct bq27xxx_device_info *di)
2210 void bq27xxx_battery_teardown(struct bq27xxx_device_info *di)
2228 struct bq27xxx_device_info *di = dev_get_drvdata(dev);
2236 struct bq27xxx_device_info *di = dev_get_drvdata(dev);