Searched refs:v_agc (Results 1 – 1 of 1) sorted by relevance
336 static int ts2020_read_tuner_gain(struct dvb_frontend *fe, unsigned v_agc, in ts2020_read_tuner_gain() argument360 v_agc = clamp_t(long, v_agc, 400, 1100); in ts2020_read_tuner_gain()364 v_agc * 24 / 10 * 10 + in ts2020_read_tuner_gain()378 v_agc = clamp_t(long, v_agc, 600, 1600); in ts2020_read_tuner_gain()383 v_agc * 176 / 100 * 10 - in ts2020_read_tuner_gain()399 int v_agc = 0, ret; in ts2020_get_tuner_gain() local410 v_agc = (int)agc_pwm * 20 - 1166; in ts2020_get_tuner_gain()413 v_agc = (int)agc_pwm * 16 - 670; in ts2020_get_tuner_gain()417 if (v_agc < 0) in ts2020_get_tuner_gain()418 v_agc = 0; in ts2020_get_tuner_gain()[all …]