Home
last modified time | relevance | path

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

/linux/drivers/power/supply/
H A Dsamsung-sdi-battery.c29 { .vbat_uv = 4240000, .ri_uohm = 160000 },
30 { .vbat_uv = 4210000, .ri_uohm = 179000 },
31 { .vbat_uv = 4180000, .ri_uohm = 183000 },
32 { .vbat_uv = 4160000, .ri_uohm = 184000 },
33 { .vbat_uv = 4140000, .ri_uohm = 191000 },
34 { .vbat_uv = 4120000, .ri_uohm = 204000 },
35 { .vbat_uv = 4076000, .ri_uohm = 220000 },
36 { .vbat_uv = 4030000, .ri_uohm = 227000 },
37 { .vbat_uv = 3986000, .ri_uohm = 215000 },
38 { .vbat_uv = 3916000, .ri_uohm = 221000 },
[all …]
H A Dab8500_fg.c199 int vbat_uv; member
869 di->vbat_uv = ab8500_fg_bat_voltage(di); in ab8500_fg_uncomp_volt_to_capacity()
870 return ab8500_fg_volt_to_capacity(di, di->vbat_uv); in ab8500_fg_uncomp_volt_to_capacity()
935 int vbat_uv = 0; in ab8500_load_comp_fg_bat_voltage() local
942 vbat_uv += ab8500_fg_bat_voltage(di); in ab8500_load_comp_fg_bat_voltage()
951 di->vbat_uv = vbat_uv / i; in ab8500_load_comp_fg_bat_voltage()
952 return di->vbat_uv; in ab8500_load_comp_fg_bat_voltage()
965 vbat_uv = vbat_uv / i; in ab8500_load_comp_fg_bat_voltage()
968 rcomp = ab8500_fg_battery_resistance(di, vbat_uv); in ab8500_load_comp_fg_bat_voltage()
969 vbat_uv = vbat_uv - (di->inst_curr_ua * rcomp) / 1000; in ab8500_load_comp_fg_bat_voltage()
[all …]
H A Dpower_supply_core.c1024 int vbat_uv, bool charging) in power_supply_vbat2ri() argument
1047 if (!vbat2ri || (table_len <= 0) || (vbat_uv > vbat2ri[0].vbat_uv)) { in power_supply_vbat2ri()
1056 if (vbat_uv > vbat2ri[i].vbat_uv) in power_supply_vbat2ri()
1066 return fixp_linear_interpolate(vbat2ri[low].vbat_uv, in power_supply_vbat2ri()
1068 vbat2ri[high].vbat_uv, in power_supply_vbat2ri()
1070 vbat_uv); in power_supply_vbat2ri()
/linux/include/linux/
H A Dpower_supply.h349 int vbat_uv; /* Battery voltage in microvolt */ member
811 int vbat_uv, bool charging);