Searched refs:nominal0 (Results 1 – 1 of 1) sorted by relevance
1138 int ret, nominal0, nominal1, value0, value1; in meson_sar_adc_calib() local1141 nominal0 = (1 << priv->param->resolution) / 4; in meson_sar_adc_calib()1167 priv->calibscale = div_s64((nominal1 - nominal0) * (s64)MILLION, in meson_sar_adc_calib()1169 priv->calibbias = nominal0 - div_s64((s64)value0 * priv->calibscale, in meson_sar_adc_calib()