Home
last modified time | relevance | path

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

/drivers/power/supply/
Dda9052-battery.c56 static u32 const vc_tbl[3][68][2] = { variable
380 if (bat_voltage >= vc_tbl[i][0][0]) { in da9052_bat_read_capacity()
384 if (bat_voltage <= vc_tbl[i][DA9052_VC_TBL_SZ - 1][0]) { in da9052_bat_read_capacity()
391 if ((bat_voltage <= vc_tbl[i][j][0]) && in da9052_bat_read_capacity()
392 (bat_voltage >= vc_tbl[i][j + 1][0])) { in da9052_bat_read_capacity()
393 vbat_upper = vc_tbl[i][j][0]; in da9052_bat_read_capacity()
394 vbat_lower = vc_tbl[i][j + 1][0]; in da9052_bat_read_capacity()
395 level_upper = vc_tbl[i][j][1]; in da9052_bat_read_capacity()
396 level_lower = vc_tbl[i][j + 1][1]; in da9052_bat_read_capacity()