Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/power/supply/
Dda9052-battery.c52 static u32 const vc_tbl[3][68][2] = { variable
376 if (bat_voltage >= vc_tbl[i][0][0]) { in da9052_bat_read_capacity()
380 if (bat_voltage <= vc_tbl[i][DA9052_VC_TBL_SZ - 1][0]) { in da9052_bat_read_capacity()
387 if ((bat_voltage <= vc_tbl[i][j][0]) && in da9052_bat_read_capacity()
388 (bat_voltage >= vc_tbl[i][j + 1][0])) { in da9052_bat_read_capacity()
389 vbat_upper = vc_tbl[i][j][0]; in da9052_bat_read_capacity()
390 vbat_lower = vc_tbl[i][j + 1][0]; in da9052_bat_read_capacity()
391 level_upper = vc_tbl[i][j][1]; in da9052_bat_read_capacity()
392 level_lower = vc_tbl[i][j + 1][1]; in da9052_bat_read_capacity()