Lines Matching +full:threshold +full:- +full:detector
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * bsbe1.h - ALPS BSBE1 tuner support
26 0x15, 0xc9, /* lock detector threshold */
57 struct dtv_frontend_properties *p = &fe->dtv_property_cache; in alps_bsbe1_tuner_set_params()
62 struct i2c_adapter *i2c = fe->tuner_priv; in alps_bsbe1_tuner_set_params()
64 if ((p->frequency < 950000) || (p->frequency > 2150000)) in alps_bsbe1_tuner_set_params()
65 return -EINVAL; in alps_bsbe1_tuner_set_params()
67 div = p->frequency / 1000; in alps_bsbe1_tuner_set_params()
73 if (fe->ops.i2c_gate_ctrl) in alps_bsbe1_tuner_set_params()
74 fe->ops.i2c_gate_ctrl(fe, 1); in alps_bsbe1_tuner_set_params()
76 return (ret != 1) ? -EIO : 0; in alps_bsbe1_tuner_set_params()