Home
last modified time | relevance | path

Searched refs:sbs_data (Results 1 – 1 of 1) sorted by relevance

/Linux-v6.6/drivers/power/supply/
Dsbs-battery.c98 } sbs_data[] = { variable
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()
527 ret = sbs_write_word_data(client, sbs_data[REG_MANUFACTURER_DATA].addr, in sbs_get_ti_battery_presence_and_health()
535 ret = sbs_read_word_data(client, sbs_data[REG_MANUFACTURER_DATA].addr); in sbs_get_ti_battery_presence_and_health()
542 if (ret < sbs_data[REG_MANUFACTURER_DATA].min_value || in sbs_get_ti_battery_presence_and_health()
543 ret > sbs_data[REG_MANUFACTURER_DATA].max_value) { 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()
622 if (sbs_data[reg_offset].min_value < 0) in sbs_get_battery_property()
[all …]