Lines Matching refs:sbs_info
204 struct sbs_info { struct
221 static char *sbs_get_string_buf(struct sbs_info *chip, in sbs_get_string_buf() argument
233 static void sbs_invalidate_cached_props(struct sbs_info *chip) in sbs_invalidate_cached_props()
248 static void sbs_disable_charger_broadcasts(struct sbs_info *chip) in sbs_disable_charger_broadcasts()
266 static int sbs_update_presence(struct sbs_info *chip, bool is_present) in sbs_update_presence()
336 struct sbs_info *chip = i2c_get_clientdata(client); in sbs_read_word_data()
359 struct sbs_info *chip = i2c_get_clientdata(client); in sbs_read_string_data_fallback()
427 struct sbs_info *chip = i2c_get_clientdata(client); in sbs_read_string_data()
460 struct sbs_info *chip = i2c_get_clientdata(client); in sbs_write_word_data()
579 struct sbs_info *chip = i2c_get_clientdata(client); in sbs_get_battery_presence_and_health()
614 struct sbs_info *chip = i2c_get_clientdata(client); in sbs_get_battery_property()
692 static const char *sbs_get_constant_string(struct sbs_info *chip, in sbs_get_constant_string()
839 static int sbs_get_chemistry(struct sbs_info *chip, in sbs_get_chemistry()
910 struct sbs_info *chip = power_supply_get_drvdata(psy); in sbs_get_property()
1037 static void sbs_supply_changed(struct sbs_info *chip) in sbs_supply_changed()
1063 struct sbs_info *chip = power_supply_get_drvdata(psy); in sbs_external_power_changed()
1074 struct sbs_info *chip; in sbs_delayed_work()
1077 chip = container_of(work, struct sbs_info, work.work); in sbs_delayed_work()
1117 struct sbs_info *chip; in sbs_probe()
1134 chip = devm_kzalloc(&client->dev, sizeof(struct sbs_info), GFP_KERNEL); in sbs_probe()
1230 struct sbs_info *chip = i2c_get_clientdata(client); in sbs_suspend()