• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/media/video/

Lines Matching refs:tuner

3  * i2c tv tuner chip device driver
21 #include <media/tuner.h>
71 /* Set tuner frequency, freq in Units of 62.5kHz = 1/16MHz */
74 struct tuner *t = i2c_get_clientdata(c);
77 tuner_warn ("tuner type not set\n");
100 struct tuner *t = i2c_get_clientdata(c);
103 tuner_warn ("tuner type not set\n");
107 tuner_warn ("tuner has no way to set radio frequency\n");
127 struct tuner *t = i2c_get_clientdata(c);
150 struct tuner *t = i2c_get_clientdata(c);
154 tuner_dbg ("tuner 0x%02x: Tuner type absent\n",c->addr);
159 tuner_warn ("tuner 0x%02x: Tuner count greater than %d\n",c->addr,tuner_count);
172 tuner_dbg ("tuner 0x%02x: called during i2c_client register by adapter's attach_inform\n", c->addr);
230 * This function apply tuner config to tuner specified
234 * tuner with exactly the same addr.
239 struct tuner *t = i2c_get_clientdata(c);
251 static inline int check_mode(struct tuner *t, char *cmd)
272 static int tuner_fixup_std(struct tuner *t)
389 struct tuner *t = i2c_get_clientdata(client);
429 struct tuner *t;
434 t = kzalloc(sizeof(struct tuner), GFP_KERNEL);
456 /* HACK: This test were added to avoid tuner to probe tda9840 and tea6415c on the MXB card */
526 struct tuner *t = i2c_get_clientdata(client);
541 * Switch tuner to other mode. If tuner support both tv and radio,
543 * tuners to avoid locking). Otherwise, just put second tuner in
547 static inline int set_mode(struct i2c_client *client, struct tuner *t, int mode, char *cmd)
567 static inline int check_v4l2(struct tuner *t)
569 /* bttv still uses both v4l1 and v4l2 calls to the tuner (v4l2 for
578 struct tuner *t = i2c_get_clientdata(client);
755 struct v4l2_tuner *tuner = arg;
761 tuner->type = t->mode;
763 tuner->afc=t->get_afc(client);
765 tuner->capability |= V4L2_TUNER_CAP_NORM;
767 tuner->rangelow = tv_range[0] * 16;
768 tuner->rangehigh = tv_range[1] * 16;
774 tuner->signal = t->has_signal(client);
776 tuner->rxsubchans =
779 tuner->rxsubchans = t->is_stereo(client) ?
783 tuner->capability |=
785 tuner->audmode = t->audmode;
786 tuner->rangelow = radio_range[0] * 16000;
787 tuner->rangehigh = radio_range[1] * 16000;
792 struct v4l2_tuner *tuner = arg;
799 /* do nothing unless we're a radio tuner */
802 t->audmode = tuner->audmode;
817 struct tuner *t = i2c_get_clientdata (c);
825 struct tuner *t = i2c_get_clientdata (c);
848 .name = "tuner",
852 .name = "(tuner unset)",