Home
last modified time | relevance | path

Searched refs:gain_error (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.6/drivers/iio/adc/
Dpalmas_gpadc.c41 int gain_error; /* calculated from above (after reading trim regs) */ member
53 .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() argument
466 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()
Dtwl6030-gpadc.c80 s32 gain_error; member
457 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()
/Linux-v6.6/include/linux/mfd/
Dpalmas.h403 s32 gain_error; member