Lines Matching refs:tuner
17 #include <media/tuner.h>
40 /* initial frequence the tuner will be tuned to.
45 MODULE_PARM_DESC(freq, "initial frequency the tuner will be tuned to while setup");
151 struct v4l2_subdev *tuner;
159 struct v4l2_frequency cur_freq; /* current frequency the tuner is tuned to */
169 v4l2_subdev_call(mxb->tuner, o, f, ##args)
179 tda9840_call(mxb, tuner, s_tuner, &t);
254 mxb->tuner = v4l2_i2c_new_subdev(&dev->v4l2_dev, &mxb->i2c_adapter,
255 "tuner", I2C_TUNER, NULL);
259 !mxb->tda9840 || !mxb->saa7111a || !mxb->tuner) {
351 /* select tuner-output on saa7111a */
356 /* select a tuner type */
360 tuner_call(mxb, tuner, s_type_addr, &tun_setup);
361 /* tune in some frequency on tuner */
362 mxb->cur_freq.tuner = 0;
365 tuner_call(mxb, tuner, s_frequency, &mxb->cur_freq);
374 /* switch to tuner-channel on tea6415c */
377 /* select tuner-output on multicable on tea6415c */
493 /* connect tuner-output always to multicable */
536 DEB_D("VIDIOC_G_TUNER: channel %d does not have a tuner attached\n",
549 return call_all(dev, tuner, g_tuner, t);
558 DEB_D("VIDIOC_S_TUNER: channel %d does not have a tuner attached\n",
564 return call_all(dev, tuner, s_tuner, t);
579 if (f->tuner)
593 if (f->tuner)
602 tuner_call(mxb, tuner, s_frequency, f);
603 /* let the tuner subdev clamp the frequency to the tuner range */
605 tuner_call(mxb, tuner, g_frequency, &mxb->cur_freq);