Home
last modified time | relevance | path

Searched full:ocv (Results 1 – 24 of 24) sorted by relevance

/linux/drivers/power/supply/
H A Dsamsung-sdi-battery.c446 * 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 Dab8500_bmdata.c20 { .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 Dpower_supply_core.c727 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 Dug3105_battery.c22 * 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 Daxp288_fuel_gauge.c136 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 Drk817_charger.c768 * 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 Daxp288_charger.c757 /* Disable OCV-SOC curve calibration */ in charger_init_hw_regs()
/linux/Documentation/devicetree/bindings/power/supply/
H A Dbattery.yaml99 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 Dqcom,pm8916-bms-vm.yaml30 - description: OCV measured in S3 mode
31 - description: OCV below threshold
/linux/drivers/platform/x86/x86-android-tablets/
H A Dshared-psy-info.c103 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 Drk3326-odroid-go2.dts50 ocv-capacity-celsius = <20>;
51 ocv-capacity-table-0 = <4046950 100>, <4001920 95>, <3967900 90>, <3919950 85>,
H A Drk3326-odroid-go2-v11.dts54 ocv-capacity-celsius = <20>;
55 ocv-capacity-table-0 = <4046950 100>, <4001920 95>, <3967900 90>, <3919950 85>,
H A Drk3326-odroid-go3.dts87 ocv-capacity-celsius = <20>;
88 ocv-capacity-table-0 = <4046950 100>, <4001920 95>, <3967900 90>, <3919950 85>,
H A Drk3568-photonicat.dts30 ocv-capacity-celsius = <25>;
31 ocv-capacity-table-0 = <4100000 100>, <4040000 90>,
H A Drk3566-powkiddy-rk2023.dtsi92 ocv-capacity-celsius = <20>;
93 ocv-capacity-table-0 = <4172000 100>, <4092000 95>, <4035000 90>, <3990000 85>,
H A Drk3326-gameforce-chi.dts85 ocv-capacity-celsius = <20>;
86 ocv-capacity-table-0 = <4106000 100>, <4071000 95>, <4018000 90>, <3975000 85>,
H A Drk3566-pinetab2.dtsi62 ocv-capacity-celsius = <20>;
63 ocv-capacity-table-0 = <4322000 100>, <4250000 95>, <4192000 90>, <4136000 85>,
/linux/include/linux/
H A Dpower_supply.h374 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 Dmsm8916-wingtech-wt865x8.dtsi46 ocv-capacity-celsius = <25>;
47 ocv-capacity-table-0 = <4328000 100>, <4266000 95>, <4208000 90>,
H A Dmsm8916-lg-m216.dts32 ocv-capacity-celsius = <25>;
33 ocv-capacity-table-0 = <4342000 100>, <4266000 95>, <4206000 90>,
H A Dmsm8916-gplus-fl8005a.dts35 ocv-capacity-celsius = <25>;
36 ocv-capacity-table-0 =
H A Dmsm8916-longcheer-l8150.dts59 ocv-capacity-celsius = <25>;
60 ocv-capacity-table-0 = <4330000 100>, <4265000 95>,
/linux/Documentation/devicetree/bindings/mfd/
H A Drockchip,rk817.yaml132 and a valid ocv-capacity table.
/linux/include/uapi/linux/
H A Dnl80211.h6580 * Channel Validation (OCV) when using driver's SME for RSNA handshakes.