Home
last modified time | relevance | path

Searched refs:audmode (Results 1 – 25 of 57) sorted by relevance

123

/linux-6.6.21/drivers/media/pci/bt8xx/
Dbttv-audio-hook.c61 t->audmode = V4L2_TUNER_MODE_LANG1; in gvbctv3pci_audio()
71 switch (t->audmode) { in gvbctv3pci_audio()
95 switch (t->audmode) { in gvbctv5pci_audio()
115 t->audmode = V4L2_TUNER_MODE_LANG1_LANG2; in gvbctv5pci_audio()
119 t->audmode = V4L2_TUNER_MODE_LANG1_LANG2; in gvbctv5pci_audio()
123 t->audmode = V4L2_TUNER_MODE_LANG1_LANG2; in gvbctv5pci_audio()
127 t->audmode = V4L2_TUNER_MODE_STEREO; in gvbctv5pci_audio()
131 t->audmode = V4L2_TUNER_MODE_MONO; in gvbctv5pci_audio()
138 t->audmode = V4L2_TUNER_MODE_LANG1; in gvbctv5pci_audio()
163 t->audmode = V4L2_TUNER_MODE_LANG1; in avermedia_tvphone_audio()
[all …]
/linux-6.6.21/drivers/media/i2c/
Dvp27smpx.c30 u32 audmode; member
38 static void vp27smpx_set_audmode(struct v4l2_subdev *sd, u32 audmode) in vp27smpx_set_audmode() argument
44 switch (audmode) { in vp27smpx_set_audmode()
60 state->audmode = audmode; in vp27smpx_set_audmode()
84 vp27smpx_set_audmode(sd, vt->audmode); in vp27smpx_s_tuner()
94 vt->audmode = state->audmode; in vp27smpx_g_tuner()
105 v4l2_info(sd, "Audio Mode: %u%s\n", state->audmode, in vp27smpx_log_status()
158 state->audmode = V4L2_TUNER_MODE_STEREO; in vp27smpx_probe()
161 vp27smpx_set_audmode(sd, state->audmode); in vp27smpx_probe()
Dsony-btf-mpx.c39 u32 audmode; member
177 if (t->audmode != V4L2_TUNER_MODE_MONO) in mpx_setup()
181 switch (t->audmode) { in mpx_setup()
224 t->audmode == V4L2_TUNER_MODE_MONO ? 0x07f0 : 0x0190); in mpx_setup()
298 vt->audmode = t->audmode; in sony_btf_mpx_g_tuner()
309 if (vt->audmode != t->audmode) { in sony_btf_mpx_s_tuner()
310 t->audmode = vt->audmode; in sony_btf_mpx_s_tuner()
354 t->audmode = V4L2_TUNER_MODE_STEREO; in sony_btf_mpx_probe()
Dmsp3400-kthreads.c246 char *modestr = (state->audmode >= 0 && state->audmode < 5) ? in msp3400c_set_audmode()
247 strmode[state->audmode] : "unknown"; in msp3400c_set_audmode()
249 int audmode = state->audmode; in msp3400c_set_audmode() local
257 state->audmode); in msp3400c_set_audmode()
268 audmode = V4L2_TUNER_MODE_MONO; in msp3400c_set_audmode()
272 if (audmode == V4L2_TUNER_MODE_MONO || in msp3400c_set_audmode()
273 audmode == V4L2_TUNER_MODE_STEREO) in msp3400c_set_audmode()
274 audmode = V4L2_TUNER_MODE_LANG1; in msp3400c_set_audmode()
277 else if (audmode != V4L2_TUNER_MODE_MONO) in msp3400c_set_audmode()
278 audmode = V4L2_TUNER_MODE_STEREO; in msp3400c_set_audmode()
[all …]
Dmsp3400-driver.c518 vt->audmode = state->audmode; in msp_g_tuner()
531 if (state->audmode == vt->audmode) in msp_s_tuner()
533 state->audmode = vt->audmode; in msp_s_tuner()
598 dev_info(&client->dev, "Audmode: 0x%04x\n", state->audmode); in msp_log_status()
712 state->audmode = V4L2_TUNER_MODE_STEREO; in msp_probe()
Dtda9840.c93 byte = (t->audmode == V4L2_TUNER_MODE_MONO) ? in tda9840_s_tuner()
96 switch (t->audmode) { in tda9840_s_tuner()
Dtvaudio.c137 int audmode; member
359 switch (chip->audmode) { in chip_thread()
1823 switch (vt->audmode) { in tvaudio_s_tuner()
1833 chip->audmode = vt->audmode; in tvaudio_s_tuner()
1838 desc->setaudmode(chip, vt->audmode); in tvaudio_s_tuner()
1853 vt->audmode = chip->audmode; in tvaudio_g_tuner()
1989 chip->audmode = V4L2_TUNER_MODE_LANG1; in tvaudio_probe()
Dsaa717x.c1108 switch (vt->audmode) { in saa717x_s_tuner()
1152 if (vt->audmode == V4L2_TUNER_MODE_STEREO || in saa717x_g_tuner()
1153 vt->audmode == V4L2_TUNER_MODE_LANG1) { in saa717x_g_tuner()
1164 if (vt->audmode == V4L2_TUNER_MODE_LANG2) { in saa717x_g_tuner()
Dmsp3400-driver.h97 int audmode; member
/linux-6.6.21/drivers/media/radio/
Dradio-miropcm20.c75 u32 audmode; member
82 .audmode = V4L2_TUNER_MODE_STEREO,
246 v->audmode = dev->audmode; in vidioc_g_tuner()
260 if (v->audmode > V4L2_TUNER_MODE_STEREO) in vidioc_s_tuner()
261 dev->audmode = V4L2_TUNER_MODE_STEREO; in vidioc_s_tuner()
263 dev->audmode = v->audmode; in vidioc_s_tuner()
265 dev->audmode == V4L2_TUNER_MODE_MONO, -1); in vidioc_s_tuner()
486 dev->audmode == V4L2_TUNER_MODE_MONO, -1); in pcm20_init()
Dradio-tea5777.c192 if (tea->audmode == V4L2_TUNER_MODE_MONO) in radio_tea5777_set_freq()
310 v->audmode = tea->audmode; in vidioc_g_tuner()
325 u32 orig_audmode = tea->audmode; in vidioc_s_tuner()
330 tea->audmode = v->audmode; in vidioc_s_tuner()
331 if (tea->audmode > V4L2_TUNER_MODE_STEREO) in vidioc_s_tuner()
332 tea->audmode = V4L2_TUNER_MODE_STEREO; in vidioc_s_tuner()
334 if (tea->audmode != orig_audmode && tea->band == BAND_FM) in vidioc_s_tuner()
540 tea->audmode = V4L2_TUNER_MODE_STEREO; in radio_tea5777_init()
Dradio-tea5764.c238 static void tea5764_set_audout_mode(struct tea5764_device *radio, int audmode) in tea5764_set_audout_mode() argument
243 if (audmode == V4L2_TUNER_MODE_MONO) in tea5764_set_audout_mode()
307 v->audmode = tea5764_get_audout_mode(radio); in vidioc_g_tuner()
322 tea5764_set_audout_mode(radio, v->audmode); in vidioc_s_tuner()
Dradio-tea5777.h59 u32 audmode; /* last set audmode */ member
Dradio-si476x.c312 u32 audmode; member
430 tuner->audmode = radio->audmode; in si476x_radio_g_tuner()
459 if (tuner->audmode == V4L2_TUNER_MODE_MONO || in si476x_radio_s_tuner()
460 tuner->audmode == V4L2_TUNER_MODE_STEREO) in si476x_radio_s_tuner()
461 radio->audmode = tuner->audmode; in si476x_radio_s_tuner()
463 radio->audmode = V4L2_TUNER_MODE_STEREO; in si476x_radio_s_tuner()
Dradio-ma901.c220 v->audmode = radio->stereo ? in vidioc_g_tuner()
235 switch (v->audmode) { in vidioc_s_tuner()
Dtef6862.c80 v->audmode = V4L2_TUNER_MODE_STEREO; in tef6862_g_tuner()
/linux-6.6.21/drivers/media/v4l2-core/
Dtuner-core.c159 unsigned int audmode; member
643 t->audmode = V4L2_TUNER_MODE_STEREO; in tuner_probe()
895 .audmode = t->audmode, in set_tv_freq()
1036 .audmode = t->audmode, in set_radio_freq()
1070 t->audmode = params.audmode; in set_radio_freq()
1266 vt->audmode = t->audmode; in tuner_g_tuner()
1292 t->audmode = vt->audmode; in tuner_s_tuner()
1299 if (t->audmode != V4L2_TUNER_MODE_MONO && in tuner_s_tuner()
1300 t->audmode != V4L2_TUNER_MODE_STEREO) in tuner_s_tuner()
1301 t->audmode = V4L2_TUNER_MODE_STEREO; in tuner_s_tuner()
/linux-6.6.21/drivers/media/pci/cx88/
Dcx88-tvaudio.c829 t->audmode = V4L2_TUNER_MODE_MONO; in cx88_get_stereo()
833 t->audmode = V4L2_TUNER_MODE_STEREO; in cx88_get_stereo()
836 t->audmode = V4L2_TUNER_MODE_LANG2; in cx88_get_stereo()
839 t->audmode = V4L2_TUNER_MODE_MONO; in cx88_get_stereo()
842 t->audmode = V4L2_TUNER_MODE_SAP; in cx88_get_stereo()
874 if (t->audmode == V4L2_TUNER_MODE_STEREO) in cx88_get_stereo()
/linux-6.6.21/drivers/media/tuners/
Dtda9887.c38 unsigned int audmode; member
409 if (priv->audmode == V4L2_TUNER_MODE_MONO) in tda9887_set_tvnorm()
634 priv->audmode = params->audmode; in tda9887_set_params()
/linux-6.6.21/drivers/media/pci/cx18/
Dcx18-av-core.c791 vt->audmode = state->audmode; in cx18_av_g_tuner()
807 switch (vt->audmode) { in cx18_av_s_tuner()
836 state->audmode = vt->audmode; in cx18_av_s_tuner()
1310 state->audmode = V4L2_TUNER_MODE_LANG1; in cx18_av_probe()
/linux-6.6.21/drivers/media/test-drivers/vivid/
Dvivid-radio-rx.c266 vt->audmode = dev->radio_rx_audmode; in vivid_radio_rx_g_tuner()
276 dev->radio_rx_audmode = vt->audmode >= V4L2_TUNER_MODE_STEREO; in vivid_radio_rx_s_tuner()
/linux-6.6.21/drivers/media/radio/si470x/
Dradio-si470x-common.c637 tuner->audmode = V4L2_TUNER_MODE_STEREO; in si470x_vidioc_g_tuner()
639 tuner->audmode = V4L2_TUNER_MODE_MONO; in si470x_vidioc_g_tuner()
669 switch (tuner->audmode) { in si470x_vidioc_s_tuner()
/linux-6.6.21/Documentation/userspace-api/media/v4l/
Dvidioc-g-tuner.rst48 ``index``, ``audmode`` and ``reserved`` fields and call the
56 ``V4L2_TUNER_RF``. For SDR devices ``audmode`` field must be initialized
155 - ``audmode``
158 The selected audio mode, see :ref:`tuner-audmode` for valid
339 .. _tuner-audmode:
/linux-6.6.21/drivers/media/i2c/cx25840/
Dcx25840-core.h88 int audmode; member
/linux-6.6.21/Documentation/userspace-api/media/
Dvideodev2.h.rst.exceptions424 replace define V4L2_TUNER_MODE_MONO tuner-audmode
425 replace define V4L2_TUNER_MODE_STEREO tuner-audmode
426 replace define V4L2_TUNER_MODE_LANG2 tuner-audmode
427 replace define V4L2_TUNER_MODE_SAP tuner-audmode
428 replace define V4L2_TUNER_MODE_LANG1 tuner-audmode
429 replace define V4L2_TUNER_MODE_LANG1_LANG2 tuner-audmode

123