/linux/drivers/power/supply/ |
H A D | samsung-sdi-battery.c | 446 * Capacity tables for different Open Circuit Voltages (OCV). 447 * These must be sorted by falling OCV value. 451 { .ocv = 4330000, .capacity = 100}, 452 { .ocv = 4320000, .capacity = 99}, 453 { .ocv = 4283000, .capacity = 95}, 454 { .ocv = 4246000, .capacity = 92}, 455 { .ocv = 4211000, .capacity = 89}, 456 { .ocv = 4167000, .capacity = 85}, 457 { .ocv = 4146000, .capacity = 83}, 458 { .ocv = 4124000, .capacity = 81}, [all …]
|
H A D | ab8500_bmdata.c | 20 { .ocv = 4186000, .capacity = 100}, 21 { .ocv = 4163000, .capacity = 99}, 22 { .ocv = 4114000, .capacity = 95}, 23 { .ocv = 4068000, .capacity = 90}, 24 { .ocv = 3990000, .capacity = 80}, 25 { .ocv = 3926000, .capacity = 70}, 26 { .ocv = 3898000, .capacity = 65}, 27 { .ocv = 3866000, .capacity = 60}, 28 { .ocv = 3833000, .capacity = 55}, 29 { .ocv = 3812000, .capacity = 50}, [all …]
|
H A D | power_supply_core.c | 727 len = fwnode_property_count_u32(fwnode, "ocv-capacity-celsius"); in power_supply_get_battery_info() 736 fwnode_property_read_u32_array(fwnode, "ocv-capacity-celsius", in power_supply_get_battery_info() 744 char *propname __free(kfree) = kasprintf(GFP_KERNEL, "ocv-capacity-table-%d", in power_supply_get_battery_info() 784 table[i].ocv = propdata[i*2]; in power_supply_get_battery_info() 1098 * @table: Pointer to battery OCV lookup table 1099 * @table_len: OCV table length 1100 * @ocv: Current OCV value 1103 * current OCV value from one OCV table, and the OCV table must be ordered 1109 int table_len, int ocv) in power_supply_ocv2cap_simple() argument 1114 if (ocv > table[i].ocv) in power_supply_ocv2cap_simple() [all …]
|
H A D | ug3105_battery.c | 22 * energy_full attributes. Guess boot + resume energy_now value based on ocv 76 int ocv[UG3105_MOV_AVG_WINDOW]; /* micro-volt */ member 149 chip->ocv[chip->ocv_avg_index] = in ug3105_work() 175 chip->ocv_avg += chip->ocv[i]; in ug3105_work() 197 * Assuming that the OCV voltage does not change significantly in ug3105_work()
|
H A D | axp288_fuel_gauge.c | 136 int ocv; member 251 info->ocv = ret; in fuel_gauge_update_registers() 328 int vocv = VOLTAGE_FROM_ADC(info->ocv); in fuel_gauge_battery_health() 365 value = VOLTAGE_FROM_ADC(info->ocv); in fuel_gauge_get_property()
|
H A D | rk817_charger.c | 768 * If the battery is uninitialized, use the poweron voltage and an ocv in rk817_read_or_set_full_charge_on_boot() 780 * 20C for OCV lookup. If lookup fails, report error with OCV in rk817_read_or_set_full_charge_on_boot() 818 * counting at 2550 (0xFF) minutes. BSP kernel used OCV, but in rk817_read_or_set_full_charge_on_boot() 917 * Set OCV Threshold Voltage to 127.5mV. This was hard coded like this in rk817_battery_init()
|
H A D | axp288_charger.c | 757 /* Disable OCV-SOC curve calibration */ in charger_init_hw_regs()
|
/linux/Documentation/devicetree/bindings/power/supply/ |
H A D | battery.yaml | 99 ocv-capacity-celsius: 126 '^ocv-capacity-table-[0-9]+$': 129 An array providing the open circuit voltage (OCV) 131 to look up battery capacity according to current OCV value. And the open 136 - description: open circuit voltage (OCV) in microvolts 162 ocv-capacity-celsius = <(-10) 0 10>; 164 ocv-capacity-table-0 = <4185000 100>, <4113000 95>, <4066000 90>; 166 ocv-capacity-table-1 = <4200000 100>, <4185000 95>, <4113000 90>; 168 ocv-capacity-table-2 = <4250000 100>, <4200000 95>, <4185000 90>;
|
H A D | qcom,pm8916-bms-vm.yaml | 30 - description: OCV measured in S3 mode 31 - description: OCV below threshold
|
/linux/drivers/platform/x86/x86-android-tablets/ |
H A D | shared-psy-info.c | 103 PROPERTY_ENTRY_U32_ARRAY("ocv-capacity-celsius", 105 PROPERTY_ENTRY_U32_ARRAY("ocv-capacity-table-0", 123 PROPERTY_ENTRY_U32_ARRAY("ocv-capacity-celsius", 125 PROPERTY_ENTRY_U32_ARRAY("ocv-capacity-table-0",
|
/linux/arch/arm64/boot/dts/rockchip/ |
H A D | rk3326-odroid-go2.dts | 50 ocv-capacity-celsius = <20>; 51 ocv-capacity-table-0 = <4046950 100>, <4001920 95>, <3967900 90>, <3919950 85>,
|
H A D | rk3326-odroid-go2-v11.dts | 54 ocv-capacity-celsius = <20>; 55 ocv-capacity-table-0 = <4046950 100>, <4001920 95>, <3967900 90>, <3919950 85>,
|
H A D | rk3326-odroid-go3.dts | 87 ocv-capacity-celsius = <20>; 88 ocv-capacity-table-0 = <4046950 100>, <4001920 95>, <3967900 90>, <3919950 85>,
|
H A D | rk3568-photonicat.dts | 30 ocv-capacity-celsius = <25>; 31 ocv-capacity-table-0 = <4100000 100>, <4040000 90>,
|
H A D | rk3566-powkiddy-rk2023.dtsi | 92 ocv-capacity-celsius = <20>; 93 ocv-capacity-table-0 = <4172000 100>, <4092000 95>, <4035000 90>, <3990000 85>,
|
H A D | rk3326-gameforce-chi.dts | 85 ocv-capacity-celsius = <20>; 86 ocv-capacity-table-0 = <4106000 100>, <4071000 95>, <4018000 90>, <3975000 85>,
|
H A D | rk3566-pinetab2.dtsi | 62 ocv-capacity-celsius = <20>; 63 ocv-capacity-table-0 = <4322000 100>, <4250000 95>, <4192000 90>, <4136000 85>,
|
/linux/include/linux/ |
H A D | power_supply.h | 374 int ocv; /* microVolts */ member 543 * @ocv_temp: array indicating the open circuit voltage (OCV) capacity 575 * circuit voltage (OCV) that is then used with the ocv_table to calculate 717 * | V | | OCV | | 724 * VBAT = OCV and this assumption is sometimes made even under load, assuming 735 * OCV = VBAT - (IBAT * Ri) 740 * some batteries. This gives the compensated open circuit voltage (OCV) for 827 int table_len, int ocv); 832 int ocv, int temp);
|
/linux/arch/arm64/boot/dts/qcom/ |
H A D | msm8916-wingtech-wt865x8.dtsi | 46 ocv-capacity-celsius = <25>; 47 ocv-capacity-table-0 = <4328000 100>, <4266000 95>, <4208000 90>,
|
H A D | msm8916-lg-m216.dts | 32 ocv-capacity-celsius = <25>; 33 ocv-capacity-table-0 = <4342000 100>, <4266000 95>, <4206000 90>,
|
H A D | msm8916-gplus-fl8005a.dts | 35 ocv-capacity-celsius = <25>; 36 ocv-capacity-table-0 =
|
H A D | msm8916-longcheer-l8150.dts | 59 ocv-capacity-celsius = <25>; 60 ocv-capacity-table-0 = <4330000 100>, <4265000 95>,
|
/linux/Documentation/devicetree/bindings/mfd/ |
H A D | rockchip,rk817.yaml | 132 and a valid ocv-capacity table.
|
/linux/include/uapi/linux/ |
H A D | nl80211.h | 6580 * Channel Validation (OCV) when using driver's SME for RSNA handshakes.
|