Searched refs:tuner (Results 1 - 25 of 163) sorted by last modified time

1234567

/linux-master/include/uapi/linux/
H A Dvideodev2.h494 #define V4L2_CAP_TUNER 0x00010000 /* has a tuner */
1729 __u32 tuner; /* Tuner index */ member in struct:v4l2_input
2049 __u32 tuner; member in struct:v4l2_frequency
2060 __u32 tuner; member in struct:v4l2_frequency_band
2071 __u32 tuner; member in struct:v4l2_hw_freq_seek
/linux-master/include/media/
H A Dv4l2-common.h108 * enum v4l2_i2c_tuner_type - specifies the range of tuner address that
111 * @ADDRS_RADIO: Radio tuner addresses.
115 * @ADDRS_DEMOD: Demod tuner addresses.
118 * @ADDRS_TV: TV tuner addresses.
122 * @ADDRS_TV_WITH_DEMOD: TV tuner addresses if demod is present, this
207 * v4l2_i2c_tuner_addrs - Return a list of I2C tuner addresses to probe.
209 * @type: type of the tuner to seek, as defined by
212 * NOTE: Use only if the tuner addresses are unknown.
329 * are still used in tuner-simple.c (TUNER_SET_CONFIG) and cx18/ivtv (RESET).
338 int tuner; member in struct:v4l2_priv_tun_config
[all...]
H A Dv4l2-subdev.h70 * a few categories: core ops, audio ops, video ops and tuner ops.
226 * @standby: puts the tuner in standby mode. It will be woken up
229 * @s_radio: callback that switches the tuner to radio mode.
230 * drivers should explicitly call it when a tuner ops should
252 * @s_type_addr: sets tuner type and its I2C addr.
259 * to explicitly call s_radio when the tuner should be switched to
267 * v4l2_device_call_all(v4l2_dev, 0, tuner, s_radio);
269 * v4l2_device_call_all(v4l2_dev, 0, tuner, s_frequency);
898 * @tuner: pointer to &struct v4l2_subdev_tuner_ops. Can be %NULL
908 const struct v4l2_subdev_tuner_ops *tuner; member in struct:v4l2_subdev_ops
[all...]
/linux-master/drivers/media/v4l2-core/
H A Dv4l2-mc.c27 struct media_entity *tuner = NULL, *decoder = NULL; local
45 tuner = entity;
105 /* Link the tuner and IF video output pads */
106 if (tuner) {
108 pad_source = media_get_pad_index(tuner,
115 dev_warn(mdev->dev, "Couldn't get tuner and/or PLL pad(s): (%d, %d)\n",
119 ret = media_create_pad_link(tuner, pad_source,
123 dev_warn(mdev->dev, "Couldn't create tuner->PLL link)\n");
146 pad_source = media_get_pad_index(tuner,
153 dev_warn(mdev->dev, "couldn't get tuner an
[all...]
H A Dv4l2-ioctl.c221 pr_cont("index=%u, name=%.*s, type=%u, audioset=0x%x, tuner=%u, std=0x%08Lx, status=0x%x, capabilities=0x%x\n",
223 p->tuner, (unsigned long long)p->std, p->status,
397 pr_cont("tuner=%u, type=%u, frequency=%u\n",
398 p->tuner, p->type, p->frequency);
422 pr_cont("tuner=%u, type=%u, seek_upward=%u, wrap_around=%u, spacing=%u, rangelow=%u, rangehigh=%u\n",
423 p->tuner, p->type, p->seek_upward, p->wrap_around, p->spacing,
837 pr_cont("tuner=%u, type=%u, index=%u, capability=0x%x, rangelow=%u, rangehigh=%u, modulation=0x%x\n",
838 p->tuner, p->type, p->index,
2726 .index = p->tuner,
2744 .index = p->tuner,
[all...]
H A Dv4l2-compat-ioctl32.c624 __u32 tuner; /* Associated tuner */ member in struct:v4l2_input32
/linux-master/drivers/media/usb/go7007/
H A Dgo7007-usb.c19 #include <media/tuner.h>
217 .type = "tuner",
221 .type = "tuner",
1088 name = "Plextor PX-TV402U (unknown tuner)";
1222 /* Probe the tuner model on the TV402U */
1224 /* Board strapping indicates tuner model */
1251 pr_debug("unable to detect tuner type!\n");
1254 /* Configure tuner mode selection inputs connected
H A Dgo7007-driver.c21 #include <media/tuner.h>
297 v4l2_device_call_all(&go->v4l2_dev, 0, tuner,
/linux-master/drivers/media/usb/em28xx/
H A Dem28xx-cards.c20 #include <media/tuner.h>
31 static int tuner = -1; variable
32 module_param(tuner, int, 0444);
33 MODULE_PARM_DESC(tuner, "tuner type");
59 unsigned int tuner; member in struct:em28xx_hash_table
178 * EM_GPIO_4 - TDA18271HD/C1 tuner (1 = active, 0 = in reset)
521 * GPIO_0: Yellow LED tuner 1, 0=on, 1=off
522 * GPIO_1: Green LED tuner 1, 0=on, 1=off
523 * GPIO_2: Yellow LED tuner
[all...]
H A Dem28xx-video.c33 #include <media/tuner.h>
908 * This will find the tuner that is connected into the decoder.
910 * using an analog input instead of the tuner. However, as we can't
1117 /* Ask tuner to go to analog or radio mode */
1126 0, tuner, s_frequency, &f);
1834 v4l2_device_call_all(&dev->v4l2->v4l2_dev, 0, tuner, g_tuner, t);
1846 v4l2_device_call_all(&dev->v4l2->v4l2_dev, 0, tuner, s_tuner, t);
1856 if (f->tuner != 0)
1870 if (f->tuner != 0)
1873 v4l2_device_call_all(&v4l2->v4l2_dev, 0, tuner, s_frequenc
[all...]
/linux-master/drivers/media/usb/cx231xx/
H A Dcx231xx-417.c29 #include <media/tuner.h>
H A Dcx231xx-video.c28 #include <media/tuner.h>
102 * This will find the tuner that is connected into the decoder.
104 * using an analog input instead of the tuner. However, as we can't
1081 /* There's a tuner, so reset the standard and put it on the
1103 call_all(dev, tuner, g_tuner, t);
1120 if (f->tuner)
1140 if (0 != f->tuner)
1158 call_all(dev, tuner, s_frequency, f);
1159 call_all(dev, tuner, g_frequency, &new_freq);
1476 call_all(dev, tuner, g_tune
[all...]
H A Dcx231xx-core.c18 #include <media/tuner.h>
1371 /* reset the Tuner, if it is a Xceive tuner */
/linux-master/drivers/media/pci/cx23885/
H A Dcx23885-video.c916 call_all(dev, tuner, g_tuner, t);
939 call_all(dev, tuner, s_tuner, t);
963 call_all(dev, tuner, g_frequency, f);
984 if (unlikely(f->tuner != 0))
997 call_all(dev, tuner, s_frequency, f);
1035 dprintk(1, "%s() frequency=%d tuner=%d std=0x%llx\n", __func__,
1036 params.frequency, f->tuner, params.std);
1059 pr_err("%s() No analog tuner, aborting\n", __func__);
1270 "tuner", dev->tuner_addr, NULL);
1274 "tuner",
[all...]
/linux-master/drivers/media/pci/bt8xx/
H A Dbttvp.h322 unsigned int tuner_type; /* tuner chip type */
336 void (*audio_mode_gpio)(struct bttv *btv, struct v4l2_tuner *tuner, int set);
397 philips matchbox (tea5757 radio tuner) support */
/linux-master/drivers/media/i2c/
H A Dtvp5150.c1736 .tuner = &tvp5150_tuner_ops,
H A Dmsp3400-driver.c10 * Support for Hauppauge cards added (decoding handled by tuner) added by
467 int tuner = (input >> 3) & 1; local
479 /* check if the tuner input is used */
492 msp_write_dem(client, reg, (val & ~0x100) | (tuner << 8));
645 .tuner = &msp_tuner_ops,
H A Dmax2175.c3 * Maxim Integrated MAX2175 RF to Bits tuner driver
219 .tuner = 0,
228 .tuner = 0,
1104 if (vf->tuner != 0)
1129 if (vf->tuner != 0)
1144 if (band->tuner != 0 || band->index != 0)
1170 /* Check tuner index is valid */
1186 .tuner = &max2175_tuner_ops,
1226 * Rx modes below are a set of preset configurations that decides the tuner's
1289 master = false; /* Slave tuner */
[all...]
/linux-master/drivers/media/dvb-core/
H A Ddvbdev.c27 #include <media/tuner.h>
432 * DVB FE intf -> tuner
664 struct media_entity *entity, *tuner = NULL, *demod = NULL, *conn; local
680 tuner = entity;
700 * NOTE: if both tuner and demod have multiple instances, it is up
704 tuner = NULL;
740 pad_sink = media_get_pad_index(tuner, MEDIA_PAD_FL_SINK,
748 tuner, pad_sink,
757 /* NOTE: first found tuner source pad presumed correct */
758 pad_source = media_get_pad_index(tuner, MEDIA_PAD_FL_SOURC
[all...]
/linux-master/drivers/media/usb/msi2500/
H A Dmsi2500.c58 .tuner = 0,
680 /* set tuner, subdev, filters according to sampling rate */
839 /* wake-up tuner */
875 /* sleep tuner */
982 ret = v4l2_subdev_call(dev->v4l2_subdev, tuner, s_tuner, v);
1004 ret = v4l2_subdev_call(dev->v4l2_subdev, tuner, g_tuner, v);
1018 dev_dbg(dev->dev, "tuner=%d type=%d\n", f->tuner, f->type);
1020 if (f->tuner == 0) {
1023 } else if (f->tuner
[all...]
/linux-master/drivers/media/usb/hackrf/
H A Dhackrf.c51 .tuner = 0,
62 .tuner = 1,
1095 dev_dbg(&intf->dev, "tuner=%d type=%d frequency=%u\n",
1096 f->tuner, f->type, f->frequency);
1098 if (f->tuner == 0) {
1108 } else if (f->tuner == 1) {
1141 dev_dbg(dev->dev, "tuner=%d type=%d\n", f->tuner, f->type);
1143 if (f->tuner == 0) {
1149 } else if (f->tuner
[all...]
/linux-master/drivers/media/usb/dvb-usb/
H A Dcxusb-analog.c31 #include <media/tuner.h>
748 /* TV tuner is PAL-only so it is always TB */
1072 { .input = { .name = "TV tuner", .type = V4L2_INPUT_TYPE_TUNER,
1073 .tuner = 0, .std = V4L2_STD_PAL },
1153 /* TV tuner is only able to demodulate PAL */
1165 ret = v4l2_subdev_call(cxdev->tuner, video, s_std, norm);
1168 "tuner norm setup failed (%d)\n",
1216 struct v4l2_tuner *tuner)
1223 if (tuner->index != 0)
1227 tuner
1215 cxusb_medion_g_tuner(struct file *file, void *fh, struct v4l2_tuner *tuner) argument
1272 cxusb_medion_s_tuner(struct file *file, void *fh, const struct v4l2_tuner *tuner) argument
[all...]
/linux-master/drivers/media/usb/airspy/
H A Dairspy.c52 .tuner = 0,
63 .tuner = 1,
734 if (f->tuner == 0) {
739 } else if (f->tuner == 1) {
758 if (f->tuner == 0) {
764 } else if (f->tuner == 1) {
786 if (band->tuner == 0) {
793 } else if (band->tuner == 1) {
/linux-master/drivers/media/test-drivers/vivid/
H A Dvivid-vid-cap.c1261 if (vf->tuner != 0)
1271 if (vf->tuner != 0)
/linux-master/drivers/media/platform/renesas/
H A Drcar_drif.c26 * Interface that receives digital samples from a tuner device. Hence the
28 * a V4L2 SDR device, it should possess a tuner interface as mandated by the
29 * framework. This driver expects a tuner driver (sub-device) to bind
32 * tuner vendor.
221 struct v4l2_async_notifier notifier; /* For subdev (tuner) */
986 return v4l2_subdev_call(sdr->ep.subdev, tuner, enum_freq_bands, band);
994 return v4l2_subdev_call(sdr->ep.subdev, tuner, g_frequency, f);
1002 return v4l2_subdev_call(sdr->ep.subdev, tuner, s_frequency, f);
1010 return v4l2_subdev_call(sdr->ep.subdev, tuner, g_tuner, vt);
1018 return v4l2_subdev_call(sdr->ep.subdev, tuner, s_tune
[all...]

Completed in 333 milliseconds

1234567