Home
last modified time | relevance | path

Searched refs:tuner (Results 1 - 25 of 330) sorted by relevance

12345678910>>...14

/kernel/linux/linux-5.10/drivers/media/radio/si470x/
H A Dradio-si470x-common.c598 * si470x_vidioc_g_tuner - get tuner attributes
601 struct v4l2_tuner *tuner) in si470x_vidioc_g_tuner()
606 if (tuner->index != 0) in si470x_vidioc_g_tuner()
616 strscpy(tuner->name, "FM", sizeof(tuner->name)); in si470x_vidioc_g_tuner()
617 tuner->type = V4L2_TUNER_RADIO; in si470x_vidioc_g_tuner()
618 tuner->capability = V4L2_TUNER_CAP_LOW | V4L2_TUNER_CAP_STEREO | in si470x_vidioc_g_tuner()
622 tuner->rangelow = 76 * FREQ_MUL; in si470x_vidioc_g_tuner()
623 tuner->rangehigh = 108 * FREQ_MUL; in si470x_vidioc_g_tuner()
627 tuner in si470x_vidioc_g_tuner()
600 si470x_vidioc_g_tuner(struct file *file, void *priv, struct v4l2_tuner *tuner) si470x_vidioc_g_tuner() argument
660 si470x_vidioc_s_tuner(struct file *file, void *priv, const struct v4l2_tuner *tuner) si470x_vidioc_s_tuner() argument
[all...]
/kernel/linux/linux-6.6/drivers/media/radio/si470x/
H A Dradio-si470x-common.c598 * si470x_vidioc_g_tuner - get tuner attributes
601 struct v4l2_tuner *tuner) in si470x_vidioc_g_tuner()
606 if (tuner->index != 0) in si470x_vidioc_g_tuner()
616 strscpy(tuner->name, "FM", sizeof(tuner->name)); in si470x_vidioc_g_tuner()
617 tuner->type = V4L2_TUNER_RADIO; in si470x_vidioc_g_tuner()
618 tuner->capability = V4L2_TUNER_CAP_LOW | V4L2_TUNER_CAP_STEREO | in si470x_vidioc_g_tuner()
622 tuner->rangelow = 76 * FREQ_MUL; in si470x_vidioc_g_tuner()
623 tuner->rangehigh = 108 * FREQ_MUL; in si470x_vidioc_g_tuner()
627 tuner in si470x_vidioc_g_tuner()
600 si470x_vidioc_g_tuner(struct file *file, void *priv, struct v4l2_tuner *tuner) si470x_vidioc_g_tuner() argument
660 si470x_vidioc_s_tuner(struct file *file, void *priv, const struct v4l2_tuner *tuner) si470x_vidioc_s_tuner() argument
[all...]
/kernel/linux/linux-5.10/drivers/media/pci/ivtv/
H A Divtv-cards.c33 /* usual i2c tuner addresses to probe */
40 /* as above, but with possible radio tuner */
146 /* PVR-350 V1 boards have a different audio tuner input and use a
244 .gpio_audio_input = { .mask = 0x8040, .tuner = 0x8000, .linein = 0x0000 },
252 /* As far as we know all M179 cards use this tuner */
253 { .std = V4L2_STD_ALL, .tuner = TUNER_PHILIPS_NTSC },
287 .gpio_audio_input = { .mask = 0x3000, .tuner = 0x0000, .linein = 0x2000 },
293 /* The PAL tuner is confirmed */
294 { .std = V4L2_STD_PAL_SECAM, .tuner = TUNER_PHILIPS_FQ1216ME },
295 { .std = V4L2_STD_ALL, .tuner
[all...]
/kernel/linux/linux-6.6/drivers/media/pci/ivtv/
H A Divtv-cards.c33 /* usual i2c tuner addresses to probe */
40 /* as above, but with possible radio tuner */
146 /* PVR-350 V1 boards have a different audio tuner input and use a
244 .gpio_audio_input = { .mask = 0x8040, .tuner = 0x8000, .linein = 0x0000 },
252 /* As far as we know all M179 cards use this tuner */
253 { .std = V4L2_STD_ALL, .tuner = TUNER_PHILIPS_NTSC },
287 .gpio_audio_input = { .mask = 0x3000, .tuner = 0x0000, .linein = 0x2000 },
293 /* The PAL tuner is confirmed */
294 { .std = V4L2_STD_PAL_SECAM, .tuner = TUNER_PHILIPS_FQ1216ME },
295 { .std = V4L2_STD_ALL, .tuner
[all...]
/kernel/linux/linux-5.10/drivers/media/pci/ddbridge/
H A Dddbridge-max.c208 int tuner = 0; in max_set_tone() local
224 tuner |= 2; in max_set_tone()
226 tuner |= 1; in max_set_tone()
229 tuner |= 1; in max_set_tone()
231 tuner |= 2; in max_set_tone()
233 res = max_set_input_unlocked(fe, tuner); in max_set_tone()
246 int tuner = 0; in max_set_voltage() local
282 tuner |= 2; in max_set_voltage()
284 tuner |= 1; in max_set_voltage()
287 tuner | in max_set_voltage()
416 int demod, tuner; ddb_fe_attach_mxl5xx() local
466 int demod, tuner; ddb_fe_attach_mci() local
[all...]
H A Dddbridge-sx8.c133 static int mci_set_tuner(struct dvb_frontend *fe, u32 tuner, u32 on) in mci_set_tuner() argument
141 cmd.tuner = state->mci.tuner; in mci_set_tuner()
143 cmd.sx8_input_enable.flags = sx8_base->gain_mode[state->mci.tuner]; in mci_set_tuner()
153 u32 input = state->mci.tuner; in stop()
192 u32 input = state->mci.tuner; in start()
286 dev_dbg(mci_base->dev, "MCI-%d: tuner=%d demod=%d\n", in start()
287 state->mci.nr, state->mci.tuner, state->mci.demod); in start()
298 cmd.tuner = state->mci.tuner; in start()
[all...]
/kernel/linux/linux-6.6/drivers/media/pci/ddbridge/
H A Dddbridge-max.c199 int tuner = 0; in max_set_tone() local
215 tuner |= 2; in max_set_tone()
217 tuner |= 1; in max_set_tone()
220 tuner |= 1; in max_set_tone()
222 tuner |= 2; in max_set_tone()
224 res = max_set_input_unlocked(fe, tuner); in max_set_tone()
237 int tuner = 0; in max_set_voltage() local
273 tuner |= 2; in max_set_voltage()
275 tuner |= 1; in max_set_voltage()
278 tuner | in max_set_voltage()
407 int demod, tuner; ddb_fe_attach_mxl5xx() local
457 int demod, tuner; ddb_fe_attach_mci() local
[all...]
H A Dddbridge-sx8.c124 static int mci_set_tuner(struct dvb_frontend *fe, u32 tuner, u32 on) in mci_set_tuner() argument
132 cmd.tuner = state->mci.tuner; in mci_set_tuner()
134 cmd.sx8_input_enable.flags = sx8_base->gain_mode[state->mci.tuner]; in mci_set_tuner()
144 u32 input = state->mci.tuner; in stop()
183 u32 input = state->mci.tuner; in start()
277 dev_dbg(mci_base->dev, "MCI-%d: tuner=%d demod=%d\n", in start()
278 state->mci.nr, state->mci.tuner, state->mci.demod); in start()
289 cmd.tuner = state->mci.tuner; in start()
[all...]
/kernel/linux/linux-5.10/drivers/media/v4l2-core/
H A Dtuner-core.c3 * i2c tv tuner chip device driver
9 * - Added support for a separate Radio tuner
30 #include <media/tuner.h>
31 #include <media/tuner-types.h>
38 #include "tuner-xc2028.h"
39 #include "tuner-simple.h"
102 * enum tuner_pad_index - tuner pad index for MEDIA_ENT_F_TUNER
107 * tuner video output source pad. Contains the video chrominance
118 * incorporated at the tuner. On such case, the output of this pad
121 * Number of pads of the tuner
148 struct tuner { global() struct
[all...]
H A Dv4l2-mc.c27 struct media_entity *tuner = NULL, *decoder = NULL; in v4l2_mc_create_media_graph() local
45 tuner = entity; in v4l2_mc_create_media_graph()
105 /* Link the tuner and IF video output pads */ in v4l2_mc_create_media_graph()
106 if (tuner) { in v4l2_mc_create_media_graph()
108 pad_source = media_get_pad_index(tuner, false, in v4l2_mc_create_media_graph()
113 dev_warn(mdev->dev, "Couldn't get tuner and/or PLL pad(s): (%d, %d)\n", in v4l2_mc_create_media_graph()
117 ret = media_create_pad_link(tuner, pad_source, in v4l2_mc_create_media_graph()
121 dev_warn(mdev->dev, "Couldn't create tuner->PLL link)\n"); in v4l2_mc_create_media_graph()
142 pad_source = media_get_pad_index(tuner, false, in v4l2_mc_create_media_graph()
147 dev_warn(mdev->dev, "couldn't get tuner an in v4l2_mc_create_media_graph()
[all...]
/kernel/linux/linux-6.6/drivers/media/v4l2-core/
H A Dtuner-core.c3 * i2c tv tuner chip device driver
9 * - Added support for a separate Radio tuner
30 #include <media/tuner.h>
31 #include <media/tuner-types.h>
39 #include "tuner-simple.h"
102 * enum tuner_pad_index - tuner pad index for MEDIA_ENT_F_TUNER
107 * tuner video output source pad. Contains the video chrominance
118 * incorporated at the tuner. On such case, the output of this pad
121 * Number of pads of the tuner.
148 struct tuner { struct
[all...]
H A Dv4l2-mc.c27 struct media_entity *tuner = NULL, *decoder = NULL; in v4l2_mc_create_media_graph() local
45 tuner = entity; in v4l2_mc_create_media_graph()
105 /* Link the tuner and IF video output pads */ in v4l2_mc_create_media_graph()
106 if (tuner) { in v4l2_mc_create_media_graph()
108 pad_source = media_get_pad_index(tuner, in v4l2_mc_create_media_graph()
115 dev_warn(mdev->dev, "Couldn't get tuner and/or PLL pad(s): (%d, %d)\n", in v4l2_mc_create_media_graph()
119 ret = media_create_pad_link(tuner, pad_source, in v4l2_mc_create_media_graph()
123 dev_warn(mdev->dev, "Couldn't create tuner->PLL link)\n"); in v4l2_mc_create_media_graph()
146 pad_source = media_get_pad_index(tuner, in v4l2_mc_create_media_graph()
153 dev_warn(mdev->dev, "couldn't get tuner an in v4l2_mc_create_media_graph()
[all...]
/kernel/linux/linux-5.10/drivers/media/radio/wl128x/
H A Dfmdrv_v4l2.c251 /* Get tuner attributes. If current mode is NOT RX, return error */
253 struct v4l2_tuner *tuner) in fm_v4l2_vidioc_g_tuner()
262 if (tuner->index != 0) in fm_v4l2_vidioc_g_tuner()
280 strscpy(tuner->name, "FM", sizeof(tuner->name)); in fm_v4l2_vidioc_g_tuner()
281 tuner->type = V4L2_TUNER_RADIO; in fm_v4l2_vidioc_g_tuner()
283 tuner->rangelow = bottom_freq * 16; in fm_v4l2_vidioc_g_tuner()
284 tuner->rangehigh = top_freq * 16; in fm_v4l2_vidioc_g_tuner()
285 tuner->rxsubchans = V4L2_TUNER_SUB_MONO | V4L2_TUNER_SUB_STEREO | in fm_v4l2_vidioc_g_tuner()
287 tuner in fm_v4l2_vidioc_g_tuner()
252 fm_v4l2_vidioc_g_tuner(struct file *file, void *priv, struct v4l2_tuner *tuner) fm_v4l2_vidioc_g_tuner() argument
315 fm_v4l2_vidioc_s_tuner(struct file *file, void *priv, const struct v4l2_tuner *tuner) fm_v4l2_vidioc_s_tuner() argument
[all...]
/kernel/linux/linux-6.6/drivers/media/radio/wl128x/
H A Dfmdrv_v4l2.c251 /* Get tuner attributes. If current mode is NOT RX, return error */
253 struct v4l2_tuner *tuner) in fm_v4l2_vidioc_g_tuner()
262 if (tuner->index != 0) in fm_v4l2_vidioc_g_tuner()
280 strscpy(tuner->name, "FM", sizeof(tuner->name)); in fm_v4l2_vidioc_g_tuner()
281 tuner->type = V4L2_TUNER_RADIO; in fm_v4l2_vidioc_g_tuner()
283 tuner->rangelow = bottom_freq * 16; in fm_v4l2_vidioc_g_tuner()
284 tuner->rangehigh = top_freq * 16; in fm_v4l2_vidioc_g_tuner()
285 tuner->rxsubchans = V4L2_TUNER_SUB_MONO | V4L2_TUNER_SUB_STEREO | in fm_v4l2_vidioc_g_tuner()
287 tuner in fm_v4l2_vidioc_g_tuner()
252 fm_v4l2_vidioc_g_tuner(struct file *file, void *priv, struct v4l2_tuner *tuner) fm_v4l2_vidioc_g_tuner() argument
315 fm_v4l2_vidioc_s_tuner(struct file *file, void *priv, const struct v4l2_tuner *tuner) fm_v4l2_vidioc_s_tuner() argument
[all...]
/kernel/linux/linux-5.10/drivers/media/radio/
H A Dradio-si476x.c214 * on, primary tuner's antenna is the main one.
216 * off, primary tuner's antenna is the main one.
218 * off, secondary tuner's antenna is the main one.
220 * on, secondary tuner's antenna is the main one.
254 * struct si476x_radio_ops - vtable of tuner functions
257 * operations depending on the mode in which the tuner chip was
265 * @phase_diversity: Change phase diversity mode of the tuner
349 if (band->tuner != 0) in si476x_radio_enum_freq_bands()
363 /* FM companion tuner chips -- only FM bands are in si476x_radio_enum_freq_bands()
381 struct v4l2_tuner *tuner) in si476x_radio_g_tuner()
380 si476x_radio_g_tuner(struct file *file, void *priv, struct v4l2_tuner *tuner) si476x_radio_g_tuner() argument
457 si476x_radio_s_tuner(struct file *file, void *priv, const struct v4l2_tuner *tuner) si476x_radio_s_tuner() argument
[all...]
/kernel/linux/linux-6.6/drivers/media/radio/
H A Dradio-si476x.c214 * on, primary tuner's antenna is the main one.
216 * off, primary tuner's antenna is the main one.
218 * off, secondary tuner's antenna is the main one.
220 * on, secondary tuner's antenna is the main one.
254 * struct si476x_radio_ops - vtable of tuner functions
257 * operations depending on the mode in which the tuner chip was
265 * @phase_diversity: Change phase diversity mode of the tuner
343 if (band->tuner != 0) in si476x_radio_enum_freq_bands()
357 /* FM companion tuner chips -- only FM bands are in si476x_radio_enum_freq_bands()
375 struct v4l2_tuner *tuner) in si476x_radio_g_tuner()
374 si476x_radio_g_tuner(struct file *file, void *priv, struct v4l2_tuner *tuner) si476x_radio_g_tuner() argument
451 si476x_radio_s_tuner(struct file *file, void *priv, const struct v4l2_tuner *tuner) si476x_radio_s_tuner() argument
[all...]
/kernel/linux/linux-5.10/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 */ in cxusb_medion_field_order()
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 */ in cxusb_medion_set_norm()
1165 ret = v4l2_subdev_call(cxdev->tuner, video, s_std, norm); in cxusb_medion_set_norm()
1168 "tuner norm setup failed (%d)\n", in cxusb_medion_set_norm()
1216 struct v4l2_tuner *tuner) in cxusb_medion_g_tuner()
1223 if (tuner->index != 0) in cxusb_medion_g_tuner()
1227 tuner in cxusb_medion_g_tuner()
1215 cxusb_medion_g_tuner(struct file *file, void *fh, struct v4l2_tuner *tuner) cxusb_medion_g_tuner() argument
1272 cxusb_medion_s_tuner(struct file *file, void *fh, const struct v4l2_tuner *tuner) cxusb_medion_s_tuner() argument
[all...]
/kernel/linux/linux-6.6/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 */ in cxusb_medion_field_order()
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 */ in cxusb_medion_set_norm()
1165 ret = v4l2_subdev_call(cxdev->tuner, video, s_std, norm); in cxusb_medion_set_norm()
1168 "tuner norm setup failed (%d)\n", in cxusb_medion_set_norm()
1216 struct v4l2_tuner *tuner) in cxusb_medion_g_tuner()
1223 if (tuner->index != 0) in cxusb_medion_g_tuner()
1227 tuner in cxusb_medion_g_tuner()
1215 cxusb_medion_g_tuner(struct file *file, void *fh, struct v4l2_tuner *tuner) cxusb_medion_g_tuner() argument
1272 cxusb_medion_s_tuner(struct file *file, void *fh, const struct v4l2_tuner *tuner) cxusb_medion_s_tuner() argument
[all...]
/kernel/linux/linux-5.10/drivers/media/pci/cx18/
H A Dcx18-cards.c21 /* usual i2c tuner addresses to probe */
29 * usual i2c tuner addresses to probe with additional demod address for
219 { .std = V4L2_STD_ALL, .tuner = TUNER_XC2028 },
269 /* XC3028 tuner */
270 { .std = V4L2_STD_ALL, .tuner = TUNER_XC2028 },
287 .tuner = 0x1,
329 /* XC3028 tuner */
330 { .std = V4L2_STD_ALL, .tuner = TUNER_XC2028 },
347 .tuner = 0x1,
387 { .std = V4L2_STD_PAL_SECAM, .tuner
[all...]
H A Dcx18-gpio.c15 #include "tuner-xc2028.h"
129 data = cx->card->gpio_audio_input.tuner; in gpiomux_s_std()
137 data = cx->card->gpio_audio_input.tuner; in gpiomux_s_std()
152 data = cx->card->gpio_audio_input.tuner; in gpiomux_s_audio_routing()
185 .tuner = &gpiomux_tuner_ops,
234 if (cx->card->tuners[0].tuner == TUNER_XC2028) in resetctrl_reset()
260 if (cx->card->tuners[0].tuner == TUNER_XC2028) { in cx18_gpio_init()
323 /* Xceive tuner reset function */
331 cx->card->tuners[0].tuner != TUNER_XC2028) in cx18_reset_tuner_gpio()
334 CX18_DEBUG_INFO("Resetting XCeive tuner\ in cx18_reset_tuner_gpio()
[all...]
/kernel/linux/linux-6.6/drivers/media/pci/cx18/
H A Dcx18-cards.c21 /* usual i2c tuner addresses to probe */
29 * usual i2c tuner addresses to probe with additional demod address for
219 { .std = V4L2_STD_ALL, .tuner = TUNER_XC2028 },
269 /* XC3028 tuner */
270 { .std = V4L2_STD_ALL, .tuner = TUNER_XC2028 },
287 .tuner = 0x1,
329 /* XC3028 tuner */
330 { .std = V4L2_STD_ALL, .tuner = TUNER_XC2028 },
347 .tuner = 0x1,
387 { .std = V4L2_STD_PAL_SECAM, .tuner
[all...]
H A Dcx18-gpio.c129 data = cx->card->gpio_audio_input.tuner; in gpiomux_s_std()
137 data = cx->card->gpio_audio_input.tuner; in gpiomux_s_std()
152 data = cx->card->gpio_audio_input.tuner; in gpiomux_s_audio_routing()
185 .tuner = &gpiomux_tuner_ops,
234 if (cx->card->tuners[0].tuner == TUNER_XC2028) in resetctrl_reset()
260 if (cx->card->tuners[0].tuner == TUNER_XC2028) { in cx18_gpio_init()
323 /* Xceive tuner reset function */
331 cx->card->tuners[0].tuner != TUNER_XC2028) in cx18_reset_tuner_gpio()
334 CX18_DEBUG_INFO("Resetting XCeive tuner\n"); in cx18_reset_tuner_gpio()
/kernel/linux/linux-5.10/drivers/media/usb/dvb-usb-v2/
H A Drtl28xxu.c305 /* tuner probes */ in rtl2831u_read_config()
314 * GPIO0 | tuner#0 | 0 off | 1 on | MXL5005S (?) in rtl2831u_read_config()
316 * GPIO4 | tuner#1 | 0 on | 1 off | MT2060 in rtl2831u_read_config()
330 * Probe used tuner. We need to know used tuner before demod attach in rtl2831u_read_config()
331 * since there is some demod params needed to set according to tuner. in rtl2831u_read_config()
347 dev->tuner = TUNER_RTL2830_QT1010; in rtl2831u_read_config()
360 dev->tuner = TUNER_RTL2830_MT2060; in rtl2831u_read_config()
366 dev->tuner = TUNER_RTL2830_MXL5005S; in rtl2831u_read_config()
371 dev_dbg(&d->intf->dev, "tuner in rtl2831u_read_config()
[all...]
/kernel/linux/linux-6.6/drivers/media/usb/dvb-usb-v2/
H A Drtl28xxu.c305 /* tuner probes */ in rtl2831u_read_config()
314 * GPIO0 | tuner#0 | 0 off | 1 on | MXL5005S (?) in rtl2831u_read_config()
316 * GPIO4 | tuner#1 | 0 on | 1 off | MT2060 in rtl2831u_read_config()
330 * Probe used tuner. We need to know used tuner before demod attach in rtl2831u_read_config()
331 * since there is some demod params needed to set according to tuner. in rtl2831u_read_config()
347 dev->tuner = TUNER_RTL2830_QT1010; in rtl2831u_read_config()
360 dev->tuner = TUNER_RTL2830_MT2060; in rtl2831u_read_config()
366 dev->tuner = TUNER_RTL2830_MXL5005S; in rtl2831u_read_config()
371 dev_dbg(&d->intf->dev, "tuner in rtl2831u_read_config()
[all...]
/kernel/linux/linux-5.10/drivers/media/pci/saa7146/
H A Dmxb.c17 #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; member
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); in mxb_update_audmode()
254 mxb->tuner = v4l2_i2c_new_subdev(&dev->v4l2_dev, &mxb->i2c_adapter, in mxb_probe()
255 "tuner", I2C_TUNER, NULL); in mxb_probe()
259 !mxb->tda9840 || !mxb->saa7111a || !mxb->tuner) { in mxb_probe()
[all...]

Completed in 22 milliseconds

12345678910>>...14