Searched refs:gain_error (Results 1 – 3 of 3) sorted by relevance
41 int gain_error; /* calculated from above (after reading trim regs) */ member53 .gain_error = PALMAS_TO_BE_CALCULATED, \373 adc->adc_info[adc_chan].gain_error = k; in palmas_gpadc_calibrate()436 adc->adc_info[adc_chan].gain_error; in palmas_gpadc_get_calibrated_code()463 const int gain_error, in palmas_gpadc_threshold_with_tolerance() argument466 val = ((val + INL) * (1000 + gain_error)) / 1000 + offset_error; in palmas_gpadc_threshold_with_tolerance()494 val = (val * adc->adc_info[adc_chan].gain_error + in palmas_gpadc_get_high_threshold_raw()529 val = (val * adc->adc_info[adc_chan].gain_error - in palmas_gpadc_get_low_threshold_raw()
80 s32 gain_error; member457 gpadc->twl6030_cal_tbl[i].gain_error; in twl6030_gpadc_make_correction()594 gpadc->twl6030_cal_tbl[i].gain_error = k; in twl6030_calibrate_channel()
403 s32 gain_error; member