/linux/drivers/media/pci/bt8xx/ |
H A D | bttv-audio-hook.c | 61 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/drivers/media/i2c/ |
H A D | vp27smpx.c | 30 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()
|
H A D | sony-btf-mpx.c | 39 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()
|
H A D | msp3400-kthreads.c | 246 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 …]
|
H A D | msp3400-driver.c | 510 vt->audmode = state->audmode; in msp_g_tuner() 523 if (state->audmode == vt->audmode) in msp_s_tuner() 525 state->audmode = vt->audmode; in msp_s_tuner() 590 dev_info(&client->dev, "Audmode: 0x%04x\n", state->audmode); in msp_log_status() 704 state->audmode = V4L2_TUNER_MODE_STEREO; in msp_probe()
|
H A D | tda9840.c | 93 byte = (t->audmode == V4L2_TUNER_MODE_MONO) ? in tda9840_s_tuner() 96 switch (t->audmode) { in tda9840_s_tuner()
|
H A D | tvaudio.c | 137 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()
|
H A D | saa717x.c | 1108 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()
|
H A D | msp3400-driver.h | 97 int audmode; member
|
/linux/drivers/media/radio/ |
H A D | radio-tea5777.c | 192 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()
|
H A D | radio-tea5764.c | 238 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()
|
H A D | radio-tea5777.h | 59 u32 audmode; /* last set audmode */ member
|
H A D | radio-ma901.c | 220 v->audmode = radio->stereo ? in vidioc_g_tuner() 235 switch (v->audmode) { in vidioc_s_tuner()
|
H A D | tef6862.c | 80 v->audmode = V4L2_TUNER_MODE_STEREO; in tef6862_g_tuner()
|
/linux/drivers/media/v4l2-core/ |
H A D | tuner-core.c | 159 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/drivers/media/pci/cx88/ |
H A D | cx88-tvaudio.c | 829 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/drivers/media/tuners/ |
H A D | tda9887.c | 38 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/drivers/media/pci/cx18/ |
H A D | cx18-av-core.c | 791 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/drivers/media/test-drivers/vivid/ |
H A D | vivid-radio-rx.c | 266 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/Documentation/userspace-api/media/v4l/ |
H A D | vidioc-g-tuner.rst | 48 ``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/drivers/media/radio/si470x/ |
H A D | radio-si470x-common.c | 637 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/Documentation/userspace-api/media/ |
H A D | videodev2.h.rst.exceptions | 427 replace define V4L2_TUNER_MODE_MONO tuner-audmode 428 replace define V4L2_TUNER_MODE_STEREO tuner-audmode 429 replace define V4L2_TUNER_MODE_LANG2 tuner-audmode 430 replace define V4L2_TUNER_MODE_SAP tuner-audmode 431 replace define V4L2_TUNER_MODE_LANG1 tuner-audmode 432 replace define V4L2_TUNER_MODE_LANG1_LANG2 tuner-audmode
|
/linux/drivers/media/i2c/cx25840/ |
H A D | cx25840-core.h | 88 int audmode; member
|
/linux/drivers/media/pci/saa7146/ |
H A D | mxb.c | 177 .audmode = mxb->cur_mode, in mxb_update_audmode() 551 t->audmode = mxb->cur_mode; in vidioc_g_tuner() 566 mxb->cur_mode = t->audmode; in vidioc_s_tuner()
|
/linux/drivers/media/radio/wl128x/ |
H A D | fmdrv_v4l2.c | 291 tuner->audmode = (stereo_mono_mode ? in fm_v4l2_vidioc_g_tuner() 326 aud_mode = (tuner->audmode == V4L2_TUNER_MODE_STEREO) ? in fm_v4l2_vidioc_s_tuner()
|