Searched refs:lpf_mxdiv (Results 1 – 1 of 1) sorted by relevance
196 u8 buf[3], reg10, lpf_mxdiv, mlpf_max, mlpf_min, nlpf; in ts2020_set_params() local290 lpf_mxdiv = (nlpf * (TS2020_XTAL_FREQ / 1000) in ts2020_set_params()293 if (lpf_mxdiv < mlpf_min) { in ts2020_set_params()295 lpf_mxdiv = (nlpf * (TS2020_XTAL_FREQ / 1000) in ts2020_set_params()299 if (lpf_mxdiv > mlpf_max) in ts2020_set_params()300 lpf_mxdiv = mlpf_max; in ts2020_set_params()302 ret = regmap_write(priv->regmap, 0x04, lpf_mxdiv); in ts2020_set_params()