Searched +full:calib +full:- +full:resistance +full:- +full:micro +full:- +full:ohms (Results 1 – 2 of 2) sorted by relevance
1 # SPDX-License-Identifier: GPL-2.03 ---4 $id: http://devicetree.org/schemas/power/supply/sc27xx-fg.yaml#5 $schema: http://devicetree.org/meta-schemas/core.yaml#10 - Sebastian Reichel <sre@kernel.org>13 - $ref: power-supply.yaml#18 - sprd,sc2720-fgu19 - sprd,sc2721-fgu20 - sprd,sc2723-fgu21 - sprd,sc2730-fgu[all …]
1 // SPDX-License-Identifier: GPL-2.010 #include <linux/nvmem-consumer.h>68 /* micro Ohms */81 * @internal_resist: the battery internal resistance in mOhm90 * @resist_table_len: the resistance table length93 * @calib_resist: the real resistance of coulomb counter chip in uOhm95 * @resist_table: resistance percent table with corresponding temperature139 return DIV_S64_ROUND_CLOSEST(adc * 1000, data->cur_1000ma_adc); in sc27xx_fgu_adc_to_current()144 return DIV_S64_ROUND_CLOSEST(adc * 1000, data->vol_1000mv_adc); in sc27xx_fgu_adc_to_voltage()149 return DIV_ROUND_CLOSEST(vol * data->vol_1000mv_adc, 1000); in sc27xx_fgu_voltage_to_adc()[all …]