Searched refs:calib_graph (Results 1 – 3 of 3) sorted by relevance
/linux-6.3-rc2/drivers/iio/adc/ |
A D | qcom-vadc-common.c | 398 *scale_voltage = (adc_code - calib_graph->gnd); in qcom_vadc_scale_calib() 399 *scale_voltage *= calib_graph->dx; in qcom_vadc_scale_calib() 400 *scale_voltage = div64_s64(*scale_voltage, calib_graph->dy); in qcom_vadc_scale_calib() 402 *scale_voltage += calib_graph->dx; in qcom_vadc_scale_calib() 415 qcom_vadc_scale_calib(calib_graph, adc_code, absolute, &voltage); in qcom_vadc_scale_volt() 432 qcom_vadc_scale_calib(calib_graph, adc_code, absolute, &voltage); in qcom_vadc_scale_therm() 638 const struct vadc_linear_graph *calib_graph, in qcom_vadc_scale() argument 645 return qcom_vadc_scale_volt(calib_graph, prescale, in qcom_vadc_scale() 650 return qcom_vadc_scale_therm(calib_graph, prescale, in qcom_vadc_scale() 654 return qcom_vadc_scale_die_temp(calib_graph, prescale, in qcom_vadc_scale() [all …]
|
A D | sc27xx_adc.c | 196 const struct sc27xx_adc_linear_graph *calib_graph; in sc27xx_adc_scale_calibration() local 202 calib_graph = data->var_data->bscale_cal; in sc27xx_adc_scale_calibration() 206 calib_graph = data->var_data->sscale_cal; in sc27xx_adc_scale_calibration() 214 graph->adc0 = sc27xx_adc_get_calib_data(calib_data, calib_graph->adc0); in sc27xx_adc_scale_calibration() 216 calib_graph->adc1); in sc27xx_adc_scale_calibration()
|
/linux-6.3-rc2/include/linux/iio/adc/ |
A D | qcom-vadc-common.h | 137 const struct vadc_linear_graph *calib_graph,
|
Completed in 137 milliseconds