Lines Matching +full:threshold +full:- +full:detector
2 * bsru6.h - ALPS BSRU6 tuner support (moved from budget-ci.c)
41 0x15, 0xc9, // lock detector threshold
53 0x29, 0x1e, // 1/2 threshold
54 0x2a, 0x14, // 2/3 threshold
55 0x2b, 0x0f, // 3/4 threshold
56 0x2c, 0x09, // 5/6 threshold
57 0x2d, 0x05, // 7/8 threshold
103 struct dtv_frontend_properties *p = &fe->dtv_property_cache; in alps_bsru6_tuner_set_params()
107 struct i2c_adapter *i2c = fe->tuner_priv; in alps_bsru6_tuner_set_params()
109 if ((p->frequency < 950000) || (p->frequency > 2150000)) in alps_bsru6_tuner_set_params()
110 return -EINVAL; in alps_bsru6_tuner_set_params()
112 div = (p->frequency + (125 - 1)) / 125; /* round correctly */ in alps_bsru6_tuner_set_params()
118 if (p->frequency > 1530000) in alps_bsru6_tuner_set_params()
121 if (fe->ops.i2c_gate_ctrl) in alps_bsru6_tuner_set_params()
122 fe->ops.i2c_gate_ctrl(fe, 1); in alps_bsru6_tuner_set_params()
124 return -EIO; in alps_bsru6_tuner_set_params()