Home
last modified time | relevance | path

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

/openbmc/linux/drivers/power/supply/
H A Dsbs-battery.c98 } sbs_data[] = { variable
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()
622 if (sbs_data[reg_offset].min_value < 0) in sbs_get_battery_property()
625 if (ret >= sbs_data[reg_offset].min_value && in sbs_get_battery_property()
626 ret <= sbs_data[reg_offset].max_value) { in sbs_get_battery_property()
682 for (count = 0; count < ARRAY_SIZE(sbs_data); count++) in sbs_get_property_index()
683 if (psp == sbs_data[count].psp) in sbs_get_property_index()
708 addr = sbs_data[ret].addr; in sbs_get_constant_string()
[all …]