Home
last modified time | relevance | path

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

12

/drivers/media/video/bt8xx/
Dbttv-audio-hook.c61 if (t->audmode & V4L2_TUNER_MODE_LANG1) in gvbctv3pci_audio()
63 if (t->audmode & V4L2_TUNER_MODE_LANG2) in gvbctv3pci_audio()
65 if (t->audmode & V4L2_TUNER_MODE_STEREO) in gvbctv3pci_audio()
71 t->audmode = V4L2_TUNER_MODE_STEREO | in gvbctv3pci_audio()
86 if (t->audmode & V4L2_TUNER_MODE_LANG2) { in gvbctv5pci_audio()
87 if (t->audmode & V4L2_TUNER_MODE_LANG1) { in gvbctv5pci_audio()
124 t->audmode = V4L2_TUNER_MODE_STEREO | in gvbctv5pci_audio()
148 if (t->audmode & V4L2_TUNER_MODE_LANG2) /* SAP */ in avermedia_tvphone_audio()
150 if (t->audmode & V4L2_TUNER_MODE_STEREO) in avermedia_tvphone_audio()
158 t->audmode = V4L2_TUNER_MODE_MONO | V4L2_TUNER_MODE_STEREO | in avermedia_tvphone_audio()
[all …]
/drivers/media/video/
Dvp27smpx.c45 u32 audmode; member
53 static void vp27smpx_set_audmode(struct v4l2_subdev *sd, u32 audmode) in vp27smpx_set_audmode() argument
59 switch (audmode) { in vp27smpx_set_audmode()
75 state->audmode = audmode; in vp27smpx_set_audmode()
99 vp27smpx_set_audmode(sd, vt->audmode); in vp27smpx_s_tuner()
109 vt->audmode = state->audmode; in vp27smpx_g_tuner()
127 v4l2_info(sd, "Audio Mode: %u%s\n", state->audmode, in vp27smpx_log_status()
183 state->audmode = V4L2_TUNER_MODE_STEREO; in vp27smpx_probe()
186 vp27smpx_set_audmode(sd, state->audmode); in vp27smpx_probe()
Dmsp3400-kthreads.c231 char *modestr = (state->audmode >= 0 && state->audmode < 5) ? in msp3400c_set_audmode()
232 strmode[state->audmode] : "unknown"; in msp3400c_set_audmode()
234 int audmode = state->audmode; in msp3400c_set_audmode() local
242 state->audmode); in msp3400c_set_audmode()
253 audmode = V4L2_TUNER_MODE_MONO; in msp3400c_set_audmode()
257 if (audmode == V4L2_TUNER_MODE_MONO || in msp3400c_set_audmode()
258 audmode == V4L2_TUNER_MODE_STEREO) in msp3400c_set_audmode()
259 audmode = V4L2_TUNER_MODE_LANG1; in msp3400c_set_audmode()
262 else if (audmode != V4L2_TUNER_MODE_MONO) in msp3400c_set_audmode()
263 audmode = V4L2_TUNER_MODE_STEREO; in msp3400c_set_audmode()
[all …]
Dmsp3400-driver.c370 static int msp_mode_v4l2_to_v4l1(int rxsubchans, int audmode) in msp_mode_v4l2_to_v4l1() argument
376 if (audmode == V4L2_TUNER_MODE_LANG2) in msp_mode_v4l2_to_v4l1()
515 va->mode = msp_mode_v4l2_to_v4l1(state->rxsubchans, state->audmode); in msp_ioctl()
531 state->audmode != msp_mode_v4l1_to_v4l2(va->mode)) { in msp_ioctl()
532 state->audmode = msp_mode_v4l1_to_v4l2(va->mode); in msp_ioctl()
669 vt->audmode = state->audmode; in msp_g_tuner()
683 if (state->audmode == vt->audmode) in msp_s_tuner()
685 state->audmode = vt->audmode; in msp_s_tuner()
789 v4l_info(client, "Audmode: 0x%04x\n", state->audmode); in msp_log_status()
876 state->audmode = V4L2_TUNER_MODE_STEREO; in msp_probe()
Dtuner-core.c89 unsigned int audmode; member
238 .audmode = t->audmode, in set_tv_freq()
273 .audmode = t->audmode, in set_radio_freq()
1047 vt->audmode = t->audmode; in tuner_g_tuner()
1066 t->audmode = vt->audmode; in tuner_s_tuner()
1188 t->audmode = V4L2_TUNER_MODE_STEREO; in tuner_probe()
Dtvaudio.c131 int audmode; member
1680 switch (vt->audmode) { in tvaudio_s_tuner()
1685 mode = vt->audmode; in tvaudio_s_tuner()
1693 chip->audmode = vt->audmode; in tvaudio_s_tuner()
1712 vt->audmode = chip->audmode; in tvaudio_g_tuner()
1860 chip->audmode = V4L2_TUNER_MODE_LANG1; in tvaudio_probe()
Dsaa717x.c1316 switch (vt->audmode) { in saa717x_s_tuner()
1360 if (vt->audmode == V4L2_TUNER_MODE_STEREO || in saa717x_g_tuner()
1361 vt->audmode == V4L2_TUNER_MODE_LANG1) { in saa717x_g_tuner()
1372 if (vt->audmode == V4L2_TUNER_MODE_LANG2) { in saa717x_g_tuner()
Dmsp3400-driver.h86 int audmode; member
Dtda9840.c81 switch (t->audmode) { in tda9840_s_tuner()
/drivers/staging/go7007/
Dwis-sony-tuner.c73 u32 audmode; member
240 switch (t->audmode) { in mpx_setup()
283 t->audmode == V4L2_TUNER_MODE_MONO ? 0x07f0 : 0x0190); in mpx_setup()
628 tun->audmode = t->audmode;
637 if (tun->audmode != t->audmode) {
638 t->audmode = tun->audmode;
686 t->audmode = V4L2_TUNER_MODE_STEREO;
/drivers/media/common/tuners/
Dtda9887.c38 unsigned int audmode; member
407 if (priv->audmode == V4L2_TUNER_MODE_MONO) in tda9887_set_tvnorm()
631 priv->audmode = params->audmode; in tda9887_set_params()
/drivers/media/radio/
Dradio-tea5764.c251 static void tea5764_set_audout_mode(struct tea5764_device *radio, int audmode) in tea5764_set_audout_mode() argument
256 if (audmode == V4L2_TUNER_MODE_MONO) in tea5764_set_audout_mode()
325 v->audmode = tea5764_get_audout_mode(radio); in vidioc_g_tuner()
340 tea5764_set_audout_mode(radio, v->audmode); in vidioc_s_tuner()
Dradio-cadet.c395 v->audmode = V4L2_TUNER_MODE_MONO; in vidioc_g_tuner()
398 v->audmode = V4L2_TUNER_MODE_STEREO; in vidioc_g_tuner()
409 v->audmode = V4L2_TUNER_MODE_MONO; in vidioc_g_tuner()
Dradio-aztech.c212 v->audmode = V4L2_TUNER_MODE_STEREO; in vidioc_g_tuner()
214 v->audmode = V4L2_TUNER_MODE_MONO; in vidioc_g_tuner()
Dradio-trust.c221 v->audmode = V4L2_TUNER_MODE_STEREO; in vidioc_g_tuner()
223 v->audmode = V4L2_TUNER_MODE_MONO; in vidioc_g_tuner()
Dradio-maxiradio.c244 v->audmode = V4L2_TUNER_MODE_STEREO; in vidioc_g_tuner()
246 v->audmode = V4L2_TUNER_MODE_MONO; in vidioc_g_tuner()
Dradio-zoltrix.c264 v->audmode = V4L2_TUNER_MODE_STEREO; in vidioc_g_tuner()
266 v->audmode = V4L2_TUNER_MODE_MONO; in vidioc_g_tuner()
Dradio-maestro.c223 v->audmode = V4L2_TUNER_MODE_STEREO; in vidioc_g_tuner()
225 v->audmode = V4L2_TUNER_MODE_MONO; in vidioc_g_tuner()
Dradio-gemtek.c438 v->audmode = V4L2_TUNER_MODE_STEREO; in vidioc_g_tuner()
441 v->audmode = V4L2_TUNER_MODE_MONO; in vidioc_g_tuner()
Dradio-mr800.c348 v->audmode = V4L2_TUNER_MODE_STEREO; in vidioc_g_tuner()
350 v->audmode = V4L2_TUNER_MODE_MONO; in vidioc_g_tuner()
Ddsbr100.c421 v->audmode = V4L2_TUNER_MODE_STEREO; in vidioc_g_tuner()
423 v->audmode = V4L2_TUNER_MODE_MONO; in vidioc_g_tuner()
/drivers/media/video/cx18/
Dcx18-av-core.c826 vt->audmode = state->audmode; in cx18_av_cmd()
840 switch (vt->audmode) { in cx18_av_cmd()
869 state->audmode = vt->audmode; in cx18_av_cmd()
/drivers/media/video/cx25840/
Dcx25840-core.c1305 vt->audmode = state->audmode; in cx25840_g_tuner()
1317 switch (vt->audmode) { in cx25840_s_tuner()
1346 state->audmode = vt->audmode; in cx25840_s_tuner()
1497 state->audmode = V4L2_TUNER_MODE_LANG1; in cx25840_probe()
Dcx25840-core.h45 int audmode; member
/drivers/media/dvb/ttpci/
Dav7110_v4l.c358 t->audmode = V4L2_TUNER_MODE_STEREO; in av7110_ioctl()
363 t->audmode = V4L2_TUNER_MODE_LANG1; in av7110_ioctl()
379 switch (t->audmode) { in av7110_ioctl()

12