Lines Matching +full:gain +full:- +full:milli
1 /* SPDX-License-Identifier: GPL-2.0 */
17 /* Max ADC code represents full-scale range of 1.8V */
35 /* Default decimation - 1024 for rev2, 840 for pmic5 */
48 #define PMI_CHG_SCALE_1 -138890
69 * struct vadc_linear_graph - Represent ADC characteristics.
70 * @dy: numerator slope to calculate the gain.
71 * @dx: denominator slope to calculate the gain.
74 * Each ADC device has different offset and gain parameters which are
84 * enum vadc_scale_fn_type - Scaling function to convert ADC code to
89 * SCALE_PMIC_THERM: Returns result in milli degree's Centigrade.
100 * SCALE_HW_CALIB_PMIC_THERM: Returns result in milli degree's Centigrade.
102 * SCALE_HW_CALIB_PMIC_THERM: Returns result in milli degree's Centigrade.