Lines Matching +full:gain +full:- +full:offset
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
93 * voltage (uV) with hardware applied offset/slope values to adc code.
95 * lookup table. The hardware applies offset/slope to adc code.
97 * 100k pullup. The hardware applies offset/slope to adc code.
99 * lookup table for PMIC7. The hardware applies offset/slope to adc code.
101 * The hardware applies offset/slope to adc code.
103 * The hardware applies offset/slope to adc code. This is for PMIC7.