Searched refs:gdiv28 (Results 1 – 1 of 1) sorted by relevance
194 u32 f3db, gdiv28; in ts2020_set_params() local255 gdiv28 = (TS2020_XTAL_FREQ / 1000 * 1694 + 500) / 1000; in ts2020_set_params()256 ret |= regmap_write(priv->regmap, 0x04, gdiv28 & 0xff); in ts2020_set_params()277 gdiv28 = gdiv28 * 207 / (value * 2 + 151); in ts2020_set_params()278 mlpf_max = gdiv28 * 135 / 100; in ts2020_set_params()279 mlpf_min = gdiv28 * 78 / 100; in ts2020_set_params()283 nlpf = (f3db * gdiv28 * 2 / lpf_coeff / in ts2020_set_params()