Lines Matching defs:v_agc
331 * @v_agc: The voltage of the AGC from the demodulator (0-2600mV)
336 static int ts2020_read_tuner_gain(struct dvb_frontend *fe, unsigned v_agc,
360 v_agc = clamp_t(long, v_agc, 400, 1100);
364 v_agc * 24 / 10 * 10 +
378 v_agc = clamp_t(long, v_agc, 600, 1600);
383 v_agc * 176 / 100 * 10 -
399 int v_agc = 0, ret;
410 v_agc = (int)agc_pwm * 20 - 1166;
413 v_agc = (int)agc_pwm * 16 - 670;
417 if (v_agc < 0)
418 v_agc = 0;
421 return ts2020_read_tuner_gain(fe, v_agc, _gain);