Lines Matching defs:mode
125 static void set_audio_start(struct cx88_core *core, u32 mode)
131 cx_write(AUD_INIT, mode);
148 /* 'pass-thru mode': this enables the i2s output to the mpeg encoder */
172 u32 mode)
266 mode |= EN_FMRADIO_EN_RDS;
272 set_audio_finish(core, mode);
277 set_audio_finish(core, mode);
281 static void set_audio_standard_NICAM(struct cx88_core *core, u32 mode)
370 mode |= EN_DMTRX_LR | EN_DMTRX_BYPASS;
371 set_audio_finish(core, mode);
374 static void set_audio_standard_A2(struct cx88_core *core, u32 mode)
630 mode |= EN_FMRADIO_EN_RDS | EN_DMTRX_SUMDIFF;
631 set_audio_finish(core, mode);
755 /* set nicam mode - otherwise
777 /* Switch to "I2S ADC mode" */
783 printk("%s/0: unknown tv audio mode [%d]\n",
800 u32 reg, mode, pilot;
803 mode = reg & 0x03;
808 reg, m[mode], p[pilot],
817 switch (mode) {
859 void cx88_set_stereo(struct cx88_core *core, u32 mode, int manual)
865 core->audiomode_manual = mode;
870 core->audiomode_current = mode;
874 switch (mode) {
896 switch (mode) {
919 switch (mode) {
936 switch (mode) {
966 u32 mode = 0;
995 mode = V4L2_TUNER_MODE_STEREO;
997 mode = V4L2_TUNER_MODE_MONO;
998 if (mode == core->audiomode_current)
1000 /* automatically switch to best available mode */
1001 cx88_set_stereo(core, mode, 0);