Home
last modified time | relevance | path

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

123

/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 …]
/drivers/media/i2c/
Dvp27smpx.c43 u32 audmode; member
51 static void vp27smpx_set_audmode(struct v4l2_subdev *sd, u32 audmode) in vp27smpx_set_audmode() argument
57 switch (audmode) { in vp27smpx_set_audmode()
73 state->audmode = audmode; in vp27smpx_set_audmode()
97 vp27smpx_set_audmode(sd, vt->audmode); in vp27smpx_s_tuner()
107 vt->audmode = state->audmode; in vp27smpx_g_tuner()
118 v4l2_info(sd, "Audio Mode: %u%s\n", state->audmode, in vp27smpx_log_status()
172 state->audmode = V4L2_TUNER_MODE_STEREO; in vp27smpx_probe()
175 vp27smpx_set_audmode(sd, state->audmode); in vp27smpx_probe()
Dsony-btf-mpx.c51 u32 audmode; member
189 if (t->audmode != V4L2_TUNER_MODE_MONO) in mpx_setup()
193 switch (t->audmode) { in mpx_setup()
236 t->audmode == V4L2_TUNER_MODE_MONO ? 0x07f0 : 0x0190); in mpx_setup()
310 vt->audmode = t->audmode; in sony_btf_mpx_g_tuner()
321 if (vt->audmode != t->audmode) { in sony_btf_mpx_s_tuner()
322 t->audmode = vt->audmode; in sony_btf_mpx_s_tuner()
367 t->audmode = V4L2_TUNER_MODE_STEREO; in sony_btf_mpx_probe()
Dmsp3400-kthreads.c260 char *modestr = (state->audmode >= 0 && state->audmode < 5) ? in msp3400c_set_audmode()
261 strmode[state->audmode] : "unknown"; in msp3400c_set_audmode()
263 int audmode = state->audmode; in msp3400c_set_audmode() local
271 state->audmode); in msp3400c_set_audmode()
282 audmode = V4L2_TUNER_MODE_MONO; in msp3400c_set_audmode()
286 if (audmode == V4L2_TUNER_MODE_MONO || in msp3400c_set_audmode()
287 audmode == V4L2_TUNER_MODE_STEREO) in msp3400c_set_audmode()
288 audmode = V4L2_TUNER_MODE_LANG1; in msp3400c_set_audmode()
291 else if (audmode != V4L2_TUNER_MODE_MONO) in msp3400c_set_audmode()
292 audmode = V4L2_TUNER_MODE_STEREO; in msp3400c_set_audmode()
[all …]
Dmsp3400-driver.c532 vt->audmode = state->audmode; in msp_g_tuner()
545 if (state->audmode == vt->audmode) in msp_s_tuner()
547 state->audmode = vt->audmode; in msp_s_tuner()
612 v4l_info(client, "Audmode: 0x%04x\n", state->audmode); in msp_log_status()
709 state->audmode = V4L2_TUNER_MODE_STEREO; in msp_probe()
Dtda9840.c101 byte = (t->audmode == V4L2_TUNER_MODE_MONO) ? in tda9840_s_tuner()
104 switch (t->audmode) { in tda9840_s_tuner()
Dtvaudio.c139 int audmode; member
343 switch (chip->audmode) { in chip_thread()
1773 switch (vt->audmode) { in tvaudio_s_tuner()
1783 chip->audmode = vt->audmode; in tvaudio_s_tuner()
1788 desc->setaudmode(chip, vt->audmode); in tvaudio_s_tuner()
1803 vt->audmode = chip->audmode; in tvaudio_g_tuner()
1944 chip->audmode = V4L2_TUNER_MODE_LANG1; in tvaudio_probe()
Dsaa717x.c1121 switch (vt->audmode) { in saa717x_s_tuner()
1165 if (vt->audmode == V4L2_TUNER_MODE_STEREO || in saa717x_g_tuner()
1166 vt->audmode == V4L2_TUNER_MODE_LANG1) { in saa717x_g_tuner()
1177 if (vt->audmode == V4L2_TUNER_MODE_LANG2) { in saa717x_g_tuner()
Dmsp3400-driver.h89 int audmode; member
/drivers/media/radio/
Dradio-miropcm20.c74 u32 audmode; member
81 .audmode = V4L2_TUNER_MODE_STEREO,
247 v->audmode = dev->audmode; in vidioc_g_tuner()
261 if (v->audmode > V4L2_TUNER_MODE_STEREO) in vidioc_s_tuner()
262 dev->audmode = V4L2_TUNER_MODE_STEREO; in vidioc_s_tuner()
264 dev->audmode = v->audmode; in vidioc_s_tuner()
266 dev->audmode == V4L2_TUNER_MODE_MONO, -1); in vidioc_s_tuner()
485 dev->audmode == V4L2_TUNER_MODE_MONO, -1); in pcm20_init()
Dradio-tea5777.c206 if (tea->audmode == V4L2_TUNER_MODE_MONO) in radio_tea5777_set_freq()
327 v->audmode = tea->audmode; in vidioc_g_tuner()
342 u32 orig_audmode = tea->audmode; in vidioc_s_tuner()
347 tea->audmode = v->audmode; in vidioc_s_tuner()
348 if (tea->audmode > V4L2_TUNER_MODE_STEREO) in vidioc_s_tuner()
349 tea->audmode = V4L2_TUNER_MODE_STEREO; in vidioc_s_tuner()
351 if (tea->audmode != orig_audmode && tea->band == BAND_FM) in vidioc_s_tuner()
557 tea->audmode = V4L2_TUNER_MODE_STEREO; in radio_tea5777_init()
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()
322 v->audmode = tea5764_get_audout_mode(radio); in vidioc_g_tuner()
337 tea5764_set_audout_mode(radio, v->audmode); in vidioc_s_tuner()
Dradio-si476x.c316 u32 audmode; member
453 tuner->audmode = radio->audmode; in si476x_radio_g_tuner()
482 if (tuner->audmode == V4L2_TUNER_MODE_MONO || in si476x_radio_s_tuner()
483 tuner->audmode == V4L2_TUNER_MODE_STEREO) in si476x_radio_s_tuner()
484 radio->audmode = tuner->audmode; in si476x_radio_s_tuner()
486 radio->audmode = V4L2_TUNER_MODE_STEREO; in si476x_radio_s_tuner()
Dradio-tea5777.h73 u32 audmode; /* last set audmode */ member
Dradio-ma901.c235 v->audmode = radio->stereo ? in vidioc_g_tuner()
250 switch (v->audmode) { in vidioc_s_tuner()
Dradio-isa.c80 v->audmode = isa->stereo ? V4L2_TUNER_MODE_STEREO : V4L2_TUNER_MODE_MONO; in radio_isa_g_tuner()
98 isa->stereo = (v->audmode == V4L2_TUNER_MODE_STEREO); in radio_isa_s_tuner()
Dtef6862.c92 v->audmode = V4L2_TUNER_MODE_STEREO; in tef6862_g_tuner()
/drivers/media/v4l2-core/
Dtuner-core.c127 unsigned int audmode; member
613 t->audmode = V4L2_TUNER_MODE_STEREO; in tuner_probe()
844 .audmode = t->audmode, in set_tv_freq()
985 .audmode = t->audmode, in set_radio_freq()
1019 t->audmode = params.audmode; in set_radio_freq()
1224 vt->audmode = t->audmode; in tuner_g_tuner()
1250 t->audmode = vt->audmode; in tuner_s_tuner()
1257 if (t->audmode != V4L2_TUNER_MODE_MONO && in tuner_s_tuner()
1258 t->audmode != V4L2_TUNER_MODE_STEREO) in tuner_s_tuner()
1259 t->audmode = V4L2_TUNER_MODE_STEREO; in tuner_s_tuner()
/drivers/media/pci/cx88/
Dcx88-tvaudio.c833 t->audmode = V4L2_TUNER_MODE_MONO; in cx88_get_stereo()
837 t->audmode = V4L2_TUNER_MODE_STEREO; in cx88_get_stereo()
840 t->audmode = V4L2_TUNER_MODE_LANG2; in cx88_get_stereo()
843 t->audmode = V4L2_TUNER_MODE_MONO; in cx88_get_stereo()
846 t->audmode = V4L2_TUNER_MODE_SAP; in cx88_get_stereo()
876 if (V4L2_TUNER_MODE_STEREO == t->audmode) in cx88_get_stereo()
/drivers/media/tuners/
Dtda9887.c37 unsigned int audmode; member
408 if (priv->audmode == V4L2_TUNER_MODE_MONO) in tda9887_set_tvnorm()
633 priv->audmode = params->audmode; in tda9887_set_params()
/drivers/media/pci/cx18/
Dcx18-av-core.c807 vt->audmode = state->audmode; in cx18_av_g_tuner()
823 switch (vt->audmode) { in cx18_av_s_tuner()
852 state->audmode = vt->audmode; in cx18_av_s_tuner()
1327 state->audmode = V4L2_TUNER_MODE_LANG1; in cx18_av_probe()
/drivers/media/radio/si470x/
Dradio-si470x-common.c617 tuner->audmode = V4L2_TUNER_MODE_STEREO; in si470x_vidioc_g_tuner()
619 tuner->audmode = V4L2_TUNER_MODE_MONO; in si470x_vidioc_g_tuner()
649 switch (tuner->audmode) { in si470x_vidioc_s_tuner()
/drivers/media/platform/vivid/
Dvivid-radio-rx.c277 vt->audmode = dev->radio_rx_audmode; in vivid_radio_rx_g_tuner()
287 dev->radio_rx_audmode = vt->audmode >= V4L2_TUNER_MODE_STEREO; in vivid_radio_rx_s_tuner()
/drivers/media/i2c/cx25840/
Dcx25840-core.h67 int audmode; member
/drivers/media/pci/saa7146/
Dmxb.c187 .audmode = mxb->cur_mode, in mxb_update_audmode()
559 t->audmode = mxb->cur_mode; in vidioc_g_tuner()
574 mxb->cur_mode = t->audmode; in vidioc_s_tuner()

123