Lines Matching +full:threshold +full:- +full:detector
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * bsru6.h - ALPS BSRU6 tuner support (moved from budget-ci.c)
27 0x15, 0xc9, // lock detector threshold
39 0x29, 0x1e, // 1/2 threshold
40 0x2a, 0x14, // 2/3 threshold
41 0x2b, 0x0f, // 3/4 threshold
42 0x2c, 0x09, // 5/6 threshold
43 0x2d, 0x05, // 7/8 threshold
89 struct dtv_frontend_properties *p = &fe->dtv_property_cache; in alps_bsru6_tuner_set_params()
93 struct i2c_adapter *i2c = fe->tuner_priv; in alps_bsru6_tuner_set_params()
95 if ((p->frequency < 950000) || (p->frequency > 2150000)) in alps_bsru6_tuner_set_params()
96 return -EINVAL; in alps_bsru6_tuner_set_params()
98 div = (p->frequency + (125 - 1)) / 125; /* round correctly */ in alps_bsru6_tuner_set_params()
104 if (p->frequency > 1530000) in alps_bsru6_tuner_set_params()
107 if (fe->ops.i2c_gate_ctrl) in alps_bsru6_tuner_set_params()
108 fe->ops.i2c_gate_ctrl(fe, 1); in alps_bsru6_tuner_set_params()
110 return -EIO; in alps_bsru6_tuner_set_params()