v_agc             336 drivers/media/dvb-frontends/ts2020.c static int ts2020_read_tuner_gain(struct dvb_frontend *fe, unsigned v_agc,
v_agc             360 drivers/media/dvb-frontends/ts2020.c 		v_agc = clamp_t(long, v_agc, 400, 1100);
v_agc             364 drivers/media/dvb-frontends/ts2020.c 			   v_agc * 24 / 10 * 10 +
v_agc             378 drivers/media/dvb-frontends/ts2020.c 		v_agc = clamp_t(long, v_agc, 600, 1600);
v_agc             383 drivers/media/dvb-frontends/ts2020.c 			   v_agc * 176 / 100 * 10 -
v_agc             399 drivers/media/dvb-frontends/ts2020.c 	int v_agc = 0, ret;
v_agc             410 drivers/media/dvb-frontends/ts2020.c 			v_agc = (int)agc_pwm * 20 - 1166;
v_agc             413 drivers/media/dvb-frontends/ts2020.c 			v_agc = (int)agc_pwm * 16 - 670;
v_agc             417 drivers/media/dvb-frontends/ts2020.c 		if (v_agc < 0)
v_agc             418 drivers/media/dvb-frontends/ts2020.c 			v_agc = 0;
v_agc             421 drivers/media/dvb-frontends/ts2020.c 	return ts2020_read_tuner_gain(fe, v_agc, _gain);