/drivers/media/v4l2-core/ |
H A D | Makefile | 5 tuner-objs := tuner-core.o 21 obj-$(CONFIG_VIDEO_TUNER) += tuner.o
|
H A D | tuner-core.c | 2 * i2c tv tuner chip device driver 8 * - Added support for a separate Radio tuner 29 #include <media/tuner.h> 30 #include <media/tuner-types.h> 37 #include "tuner-xc2028.h" 38 #include "tuner-simple.h" 116 struct tuner { struct 147 * tuner attach/detach logic 191 static inline struct tuner *to_tuner(struct v4l2_subdev *sd) 193 return container_of(sd, struct tuner, s [all...] |
/drivers/media/dvb-frontends/ |
H A D | rtl2832.h | 41 * tuner 50 u8 tuner; member in struct:rtl2832_config
|
H A D | af9013.h | 34 demod#1-gpio#3 - tuner#1 35 demod#2-gpio#0 - tuner#2 52 * tuner 67 u8 tuner; member in struct:af9013_config
|
H A D | af9033.h | 47 * tuner 63 u8 tuner; member in struct:af9033_config
|
H A D | dib0090.h | 83 extern u16 dib0090_get_wbd_target(struct dvb_frontend *tuner); 119 static inline u16 dib0090_get_wbd_target(struct dvb_frontend *tuner) argument
|
H A D | dib3000mb.c | 117 static int dib3000mb_set_frontend(struct dvb_frontend *fe, int tuner) argument 124 if (tuner && fe->ops.tuner_ops.set_params) {
|
H A D | rtl2832_priv.h | 38 u8 tuner; member in struct:rtl2832_priv
|
/drivers/media/pci/cx88/ |
H A D | cx88-cards.c | 33 static unsigned int tuner[] = {[0 ... (CX88_MAXBOARDS - 1)] = UNSET }; variable 37 module_param_array(tuner, int, NULL, 0444); 41 MODULE_PARM_DESC(tuner,"tuner type"); 42 MODULE_PARM_DESC(radio,"radio tuner type"); 109 .gpio0 = 0xff01, // mono from tuner chip 458 .tuner_type = TUNER_ABSENT, /* No analog tuner */ 486 .gpio0 = 0x07f9, // mono from tuner chip 517 GPIO[3] selects RF input connector on tuner module 582 .tuner_type = TUNER_ABSENT, /* No analog tuner */ [all...] |
/drivers/media/radio/si470x/ |
H A D | radio-si470x-common.c | 576 * si470x_vidioc_g_tuner - get tuner attributes 579 struct v4l2_tuner *tuner) 584 if (tuner->index != 0) 594 strcpy(tuner->name, "FM"); 595 tuner->type = V4L2_TUNER_RADIO; 596 tuner->capability = V4L2_TUNER_CAP_LOW | V4L2_TUNER_CAP_STEREO | 600 tuner->rangelow = 76 * FREQ_MUL; 601 tuner->rangehigh = 108 * FREQ_MUL; 605 tuner->rxsubchans = V4L2_TUNER_SUB_MONO; 607 tuner 578 si470x_vidioc_g_tuner(struct file *file, void *priv, struct v4l2_tuner *tuner) argument 638 si470x_vidioc_s_tuner(struct file *file, void *priv, const struct v4l2_tuner *tuner) argument [all...] |
/drivers/media/radio/wl128x/ |
H A D | fmdrv_v4l2.c | 269 /* Get tuner attributes. If current mode is NOT RX, return error */ 271 struct v4l2_tuner *tuner) 280 if (tuner->index != 0) 298 strcpy(tuner->name, "FM"); 299 tuner->type = V4L2_TUNER_RADIO; 301 tuner->rangelow = bottom_freq * 16; 302 tuner->rangehigh = top_freq * 16; 303 tuner->rxsubchans = V4L2_TUNER_SUB_MONO | V4L2_TUNER_SUB_STEREO | 305 tuner->capability = V4L2_TUNER_CAP_STEREO | V4L2_TUNER_CAP_RDS | 309 tuner 270 fm_v4l2_vidioc_g_tuner(struct file *file, void *priv, struct v4l2_tuner *tuner) argument 333 fm_v4l2_vidioc_s_tuner(struct file *file, void *priv, const struct v4l2_tuner *tuner) argument [all...] |
/drivers/media/usb/cx231xx/ |
H A D | cx231xx-cards.c | 29 #include <media/tuner.h> 40 static int tuner = -1; variable 41 module_param(tuner, int, 0444); 42 MODULE_PARM_DESC(tuner, "tuner type"); 854 * will be used to reset XC5000 tuner using GPIO pin 865 ("Tuner CB: RESET: cmd %d : tuner type %d \n", 958 tuner_call(dev, tuner, s_type_addr, &tun_setup); 968 .tuner = dev->tuner_type, 971 tuner_call(dev, tuner, s_confi [all...] |
/drivers/media/i2c/ |
H A D | msp3400-kthreads.c | 220 int tuner = (state->route_in >> 3) & 1; local 227 msp_write_dem(client, 0x00bb, data->ad_cv | (tuner ? 0x100 : 0)); 365 /* AM mono decoding is handled by tuner, not MSP chip */ 544 /* wait for tuner to settle down after a channel change */ 738 /* wait for tuner to settle down after a channel change */ 954 int tuner = (state->route_in >> 3) & 1; local 968 modus |= tuner ? 0x100 : 0;
|
H A D | msp3400-driver.c | 9 * Support for Hauppauge cards added (decoding handled by tuner) added by 489 int tuner = (input >> 3) & 1; local 501 /* check if the tuner input is used */ 514 msp_write_dem(client, reg, (val & ~0x100) | (tuner << 8)); 674 .tuner = &msp_tuner_ops,
|
/drivers/media/pci/cx18/ |
H A D | cx18-cards.h | 98 struct cx18_gpio_audio_input { /* select tuner/line in input */ 100 u32 tuner; member in struct:cx18_gpio_audio_input 106 v4l2_std_id std; /* standard for which the tuner is suitable */ 107 int tuner; /* tuner ID (from tuner.h) */ member in struct:cx18_card_tuner 111 unsigned short radio[2];/* radio tuner i2c address to probe */ 113 unsigned short tv[4]; /* tv tuner i2c addresses to probe */ 140 u8 xceive_pin; /* XCeive tuner GPIO reset pin */
|
H A D | cx18-driver.c | 40 #include "tuner-xc2028.h" 68 static int tuner[CX18_MAX_CARDS] = { -1, -1, -1, -1, -1, -1, -1, -1, variable 112 module_param_array(tuner, int, &tuner_c, 0644); 144 MODULE_PARM_DESC(tuner, "Tuner type selection,\n" 145 "\t\t\tsee tuner.h for values"); 421 CX18_ERR("tveeprom cannot autodetect tuner!\n"); 423 if (cx->options.tuner == -1) 424 cx->options.tuner = tv.tuner_type; 429 /* user specified tuner standard */ 432 /* autodetect tuner standar [all...] |
/drivers/media/pci/ivtv/ |
H A D | ivtv-driver.c | 61 #include "tuner-xc2028.h" 90 static int tuner[IVTV_MAX_CARDS] = { -1, -1, -1, -1, -1, -1, -1, -1, variable 144 module_param_array(tuner, int, &tuner_c, 0644); 171 MODULE_PARM_DESC(tuner, "Tuner type selection,\n" 172 "\t\t\tsee tuner.h for values"); 213 "Specify tuner type:\n" 214 "\t\t\t 0 = tuner for PAL-B/G/H/D/K/I, SECAM-B/G/H/D/K/L/Lc\n" 215 "\t\t\t 1 = tuner for NTSC-M/J/K, PAL-M/N/Nc\n" 453 the tuner. */ 512 IVTV_ERR("tveeprom cannot autodetect tuner!\ [all...] |
H A D | ivtv-cards.h | 160 /* SAA717X needs to mark the tuner input by ORing with this flag */ 215 struct ivtv_gpio_video_input { /* select tuner/line in input */ 217 u16 tuner; member in struct:ivtv_gpio_video_input 222 struct ivtv_gpio_audio_input { /* select tuner/line in input */ 224 u16 tuner; member in struct:ivtv_gpio_audio_input 257 v4l2_std_id std; /* standard for which the tuner is suitable */ 258 int tuner; /* tuner ID (from tuner.h) */ member in struct:ivtv_card_tuner 262 unsigned short radio[2];/* radio tuner i2 [all...] |
/drivers/media/pci/saa7146/ |
H A D | mxb.c | 29 #include <media/tuner.h> 51 /* initial frequence the tuner will be tuned to. 56 MODULE_PARM_DESC(freq, "initial frequency the tuner will be tuned to while setup"); 162 struct v4l2_subdev *tuner; member in struct:mxb 170 struct v4l2_frequency cur_freq; /* current frequency the tuner is tuned to */ 180 v4l2_subdev_call(mxb->tuner, o, f, ##args) 190 tda9840_call(mxb, tuner, s_tuner, &t); 265 mxb->tuner = v4l2_i2c_new_subdev(&dev->v4l2_dev, &mxb->i2c_adapter, 266 "tuner", I2C_TUNER, NULL); 270 !mxb->tda9840 || !mxb->saa7111a || !mxb->tuner) { [all...] |
/drivers/media/usb/em28xx/ |
H A D | em28xx-cards.c | 32 #include <media/tuner.h> 45 static int tuner = -1; variable 46 module_param(tuner, int, 0444); 47 MODULE_PARM_DESC(tuner, "tuner type"); 74 unsigned int tuner; member in struct:em28xx_hash_table 182 * EM_GPIO_4 - TDA18271HD/C1 tuner (1 = active, 0 = in reset) 2629 * unique for a vendor/tuner pair. 2636 dev->tuner_type = em28xx_eeprom_hash[i].tuner; 2669 dev->tuner_type = em28xx_i2c_hash[i].tuner; [all...] |
/drivers/media/pci/saa7134/ |
H A D | saa7134-core.c | 79 static unsigned int tuner[] = {[0 ... (SAA7134_MAXBOARDS - 1)] = UNSET }; variable 86 module_param_array(tuner, int, NULL, 0444); 92 MODULE_PARM_DESC(tuner, "tuner type"); 973 if (UNSET != tuner[dev->nr]) 974 dev->tuner_type = tuner[dev->nr];
|
/drivers/media/radio/ |
H A D | radio-si476x.c | 222 * on, primary tuner's antenna is the main one. 224 * off, primary tuner's antenna is the main one. 226 * off, secondary tuner's antenna is the main one. 228 * on, secondary tuner's antenna is the main one. 262 * struct si476x_radio_ops - vtable of tuner functions 265 * operations depending on the mode in which the tuner chip was 273 * @phase_diversity: Change phase diversity mode of the tuner 366 if (band->tuner != 0) 380 /* FM companion tuner chips -- only FM bands are 398 struct v4l2_tuner *tuner) 397 si476x_radio_g_tuner(struct file *file, void *priv, struct v4l2_tuner *tuner) argument 474 si476x_radio_s_tuner(struct file *file, void *priv, const struct v4l2_tuner *tuner) argument [all...] |
H A D | radio-wl1273.c | 1498 struct v4l2_tuner *tuner) 1507 if (tuner->index > 0) 1510 strlcpy(tuner->name, WL1273_FM_DRIVER_NAME, sizeof(tuner->name)); 1511 tuner->type = V4L2_TUNER_RADIO; 1513 tuner->rangelow = WL1273_FREQ(WL1273_BAND_JAPAN_LOW); 1514 tuner->rangehigh = WL1273_FREQ(WL1273_BAND_OTHER_HIGH); 1516 tuner->capability = V4L2_TUNER_CAP_LOW | V4L2_TUNER_CAP_RDS | 1521 tuner->audmode = V4L2_TUNER_MODE_STEREO; 1523 tuner 1497 wl1273_fm_vidioc_g_tuner(struct file *file, void *priv, struct v4l2_tuner *tuner) argument 1561 wl1273_fm_vidioc_s_tuner(struct file *file, void *priv, const struct v4l2_tuner *tuner) argument [all...] |
/drivers/media/pci/bt8xx/ |
H A D | bttv-cards.c | 101 static unsigned int tuner[BTTV_MAX] = { [ 0 ... (BTTV_MAX-1) ] = UNSET }; variable 123 module_param_array(tuner, int, NULL, 0444); 136 MODULE_PARM_DESC(tuner,"specify installed tuner type"); 627 /* .audio_inputs= 2, tuner, line in */ 1159 options tuner type=5 */ 1391 * tuner, Composit, SVid, Composit-on-Svid-adapter */ 1411 * tuner, Composit, SVid, Composit-on-Svid-adapter */ 1568 .gpiomux = { 0, 0, 4, 4 },/* Yes, this tuner uses the same audio output for TV and FM radio! 1813 0x02: both TV and radio (tuner [all...] |
/drivers/media/usb/dvb-usb-v2/ |
H A D | rtl28xxu.h | 55 u8 tuner; member in struct:rtl28xxu_priv
|