Searched refs:sbs_read_word_data (Results 1 – 1 of 1) sorted by relevance
/Linux-v6.6/drivers/power/supply/ |
D | sbs-battery.c | 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() [all …]
|