Searched refs:nlpf (Results 1 – 1 of 1) sorted by relevance
196 u8 buf[3], reg10, lpf_mxdiv, mlpf_max, mlpf_min, nlpf; in ts2020_set_params() local283 nlpf = (f3db * gdiv28 * 2 / lpf_coeff / in ts2020_set_params()285 if (nlpf > 23) in ts2020_set_params()286 nlpf = 23; in ts2020_set_params()287 if (nlpf < 1) in ts2020_set_params()288 nlpf = 1; in ts2020_set_params()290 lpf_mxdiv = (nlpf * (TS2020_XTAL_FREQ / 1000) in ts2020_set_params()294 nlpf++; in ts2020_set_params()295 lpf_mxdiv = (nlpf * (TS2020_XTAL_FREQ / 1000) in ts2020_set_params()303 ret |= regmap_write(priv->regmap, 0x06, nlpf); in ts2020_set_params()