Lines Matching refs:sbs_read_word_data
245 static int sbs_read_word_data(struct i2c_client *client, u8 address);
250 int val = sbs_read_word_data(chip->client, BATTERY_MODE_OFFSET); in sbs_disable_charger_broadcasts()
334 static int sbs_read_word_data(struct i2c_client *client, u8 address) in sbs_read_word_data() function
485 ret = sbs_read_word_data(client, sbs_data[REG_CURRENT_NOW].addr); in sbs_status_correct()
510 ret = sbs_read_word_data(client, sbs_data[REG_BATTERY_MODE].addr); in sbs_bat_needs_calibration()
535 ret = sbs_read_word_data(client, sbs_data[REG_MANUFACTURER_DATA].addr); in sbs_get_ti_battery_presence_and_health()
586 ret = sbs_read_word_data(client, sbs_data[REG_STATUS].addr); in sbs_get_battery_presence_and_health()
617 ret = sbs_read_word_data(client, sbs_data[reg_offset].addr); in sbs_get_battery_property()
775 original_val = sbs_read_word_data(client, BATTERY_MODE_OFFSET); in sbs_set_capacity_mode()
810 ret = sbs_read_word_data(client, sbs_data[reg_offset].addr); in sbs_get_battery_capacity()
829 ret = sbs_read_word_data(client, sbs_data[REG_SERIAL_NUMBER].addr); in sbs_get_battery_serial_number()
880 ret = sbs_read_word_data(client, REG_ADDR_MANUFACTURE_DATE); in sbs_get_battery_manufacture_date()
1079 ret = sbs_read_word_data(chip->client, sbs_data[REG_STATUS].addr); in sbs_delayed_work()