Home
last modified time | relevance | path

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

/openbmc/linux/drivers/power/supply/
H A D88pm860x_battery.c125 static int array_soc[][2] = { variable
387 count = ARRAY_SIZE(array_soc); in calc_soc()
388 if (ocv < array_soc[count - 1][0]) { in calc_soc()
394 if (ocv >= array_soc[i][0]) { in calc_soc()
395 *soc = array_soc[i][1]; in calc_soc()