Lines Matching defs:client
192 struct i2c_client *client; member
234 struct i2c_client *client = chip->client; in sbs_update_presence() local
299 static int sbs_read_word_data(struct i2c_client *client, u8 address) in sbs_read_word_data()
322 static int sbs_read_string_data_fallback(struct i2c_client *client, u8 address, char *values) in sbs_read_string_data_fallback()
390 static int sbs_read_string_data(struct i2c_client *client, u8 address, char *values) in sbs_read_string_data()
422 static int sbs_write_word_data(struct i2c_client *client, u8 address, in sbs_write_word_data()
446 static int sbs_status_correct(struct i2c_client *client, int *intval) in sbs_status_correct()
471 static bool sbs_bat_needs_calibration(struct i2c_client *client) in sbs_bat_needs_calibration()
483 struct i2c_client *client, enum power_supply_property psp, in sbs_get_ti_battery_presence_and_health()
541 struct i2c_client *client, enum power_supply_property psp, in sbs_get_battery_presence_and_health()
575 static int sbs_get_battery_property(struct i2c_client *client, in sbs_get_battery_property()
642 static int sbs_get_battery_string_property(struct i2c_client *client, in sbs_get_battery_string_property()
655 static void sbs_unit_adjustment(struct i2c_client *client, in sbs_unit_adjustment()
706 static enum sbs_capacity_mode sbs_set_capacity_mode(struct i2c_client *client, in sbs_set_capacity_mode()
732 static int sbs_get_battery_capacity(struct i2c_client *client, in sbs_get_battery_capacity()
760 static int sbs_get_battery_serial_number(struct i2c_client *client, in sbs_get_battery_serial_number()
775 static int sbs_get_property_index(struct i2c_client *client, in sbs_get_property_index()
789 static int sbs_get_chemistry(struct i2c_client *client, in sbs_get_chemistry()
821 static int sbs_get_battery_manufacture_date(struct i2c_client *client, in sbs_get_battery_manufacture_date()
859 struct i2c_client *client = chip->client; in sbs_get_property() local
1012 static void sbs_alert(struct i2c_client *client, enum i2c_alert_protocol prot, in sbs_alert()
1072 static int sbs_probe(struct i2c_client *client) in sbs_probe()
1188 static int sbs_remove(struct i2c_client *client) in sbs_remove()
1201 struct i2c_client *client = to_i2c_client(dev); in sbs_suspend() local