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