Lines Matching refs:bq27xxx_device_info

1012 	struct bq27xxx_device_info *di;  in poll_interval_param_set()
1044 static inline int bq27xxx_read(struct bq27xxx_device_info *di, int reg_index, in bq27xxx_read()
1060 static inline int bq27xxx_write(struct bq27xxx_device_info *di, int reg_index, in bq27xxx_write()
1079 static inline int bq27xxx_read_block(struct bq27xxx_device_info *di, int reg_index, in bq27xxx_read_block()
1098 static inline int bq27xxx_write_block(struct bq27xxx_device_info *di, int reg_index, in bq27xxx_write_block()
1117 static int bq27xxx_battery_seal(struct bq27xxx_device_info *di) in bq27xxx_battery_seal()
1130 static int bq27xxx_battery_unseal(struct bq27xxx_device_info *di) in bq27xxx_battery_unseal()
1166 static int bq27xxx_battery_read_dm_block(struct bq27xxx_device_info *di, in bq27xxx_battery_read_dm_block()
1206 static void bq27xxx_battery_update_dm_block(struct bq27xxx_device_info *di,
1255 static int bq27xxx_battery_cfgupdate_priv(struct bq27xxx_device_info *di, bool active)
1283 static inline int bq27xxx_battery_set_cfgupdate(struct bq27xxx_device_info *di)
1292 static inline int bq27xxx_battery_soft_reset(struct bq27xxx_device_info *di)
1301 static int bq27xxx_battery_write_dm_block(struct bq27xxx_device_info *di,
1365 static void bq27xxx_battery_set_config(struct bq27xxx_device_info *di,
1410 static void bq27xxx_battery_settings(struct bq27xxx_device_info *di)
1466 static int bq27xxx_battery_read_soc(struct bq27xxx_device_info *di)
1485 static int bq27xxx_battery_read_charge(struct bq27xxx_device_info *di, u8 reg)
1508 static inline int bq27xxx_battery_read_nac(struct bq27xxx_device_info *di)
1525 static inline int bq27xxx_battery_read_fcc(struct bq27xxx_device_info *di)
1534 static int bq27xxx_battery_read_dcap(struct bq27xxx_device_info *di)
1560 static int bq27xxx_battery_read_energy(struct bq27xxx_device_info *di)
1582 static int bq27xxx_battery_read_temperature(struct bq27xxx_device_info *di)
1602 static int bq27xxx_battery_read_cyct(struct bq27xxx_device_info *di)
1617 static int bq27xxx_battery_read_time(struct bq27xxx_device_info *di, u8 reg)
1638 static int bq27xxx_battery_read_pwr_avg(struct bq27xxx_device_info *di)
1658 static bool bq27xxx_battery_overtemp(struct bq27xxx_device_info *di, u16 flags)
1671 static bool bq27xxx_battery_undertemp(struct bq27xxx_device_info *di, u16 flags)
1682 static bool bq27xxx_battery_dead(struct bq27xxx_device_info *di, u16 flags)
1692 static int bq27xxx_battery_read_health(struct bq27xxx_device_info *di)
1705 void bq27xxx_battery_update(struct bq27xxx_device_info *di)
1763 struct bq27xxx_device_info *di =
1764 container_of(work, struct bq27xxx_device_info,
1778 static int bq27xxx_battery_current(struct bq27xxx_device_info *di,
1806 static int bq27xxx_battery_status(struct bq27xxx_device_info *di,
1843 static int bq27xxx_battery_capacity_level(struct bq27xxx_device_info *di,
1884 static int bq27xxx_battery_voltage(struct bq27xxx_device_info *di,
1916 struct bq27xxx_device_info *di = power_supply_get_drvdata(psy);
2007 struct bq27xxx_device_info *di = power_supply_get_drvdata(psy);
2013 int bq27xxx_battery_setup(struct bq27xxx_device_info *di)
2056 void bq27xxx_battery_teardown(struct bq27xxx_device_info *di)