Searched refs:vbat_uv (Results 1 – 4 of 4) sorted by relevance
/Linux-v6.1/drivers/power/supply/ |
D | samsung-sdi-battery.c | 29 { .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 …]
|
D | ab8500_fg.c | 204 int vbat_uv; member 874 di->vbat_uv = ab8500_fg_bat_voltage(di); in ab8500_fg_uncomp_volt_to_capacity() 875 return ab8500_fg_volt_to_capacity(di, di->vbat_uv); in ab8500_fg_uncomp_volt_to_capacity() 940 int vbat_uv = 0; in ab8500_load_comp_fg_bat_voltage() local 947 vbat_uv += ab8500_fg_bat_voltage(di); in ab8500_load_comp_fg_bat_voltage() 956 di->vbat_uv = vbat_uv / i; in ab8500_load_comp_fg_bat_voltage() 957 return di->vbat_uv; in ab8500_load_comp_fg_bat_voltage() 970 vbat_uv = vbat_uv / i; in ab8500_load_comp_fg_bat_voltage() 973 rcomp = ab8500_fg_battery_resistance(di, vbat_uv); in ab8500_load_comp_fg_bat_voltage() 974 vbat_uv = vbat_uv - (di->inst_curr_ua * rcomp) / 1000; in ab8500_load_comp_fg_bat_voltage() [all …]
|
D | power_supply_core.c | 884 int vbat_uv, bool charging) in power_supply_vbat2ri() argument 907 if (!vbat2ri || (table_len <= 0) || (vbat_uv > vbat2ri[0].vbat_uv)) { in power_supply_vbat2ri() 916 if (vbat_uv > vbat2ri[i].vbat_uv) in power_supply_vbat2ri() 926 return fixp_linear_interpolate(vbat2ri[low].vbat_uv, in power_supply_vbat2ri() 928 vbat2ri[high].vbat_uv, in power_supply_vbat2ri() 930 vbat_uv); in power_supply_vbat2ri()
|
/Linux-v6.1/include/linux/ |
D | power_supply.h | 353 int vbat_uv; /* Battery voltage in microvolt */ member 809 int vbat_uv, bool charging);
|