Home
last modified time | relevance | path

Searched refs:stereo (Results 1 – 25 of 102) sorted by relevance

12345

/kernel/linux/linux-5.10/drivers/media/pci/cx88/
Dcx88-dsp.c159 s32 carrier, stereo, dual, noise; in detect_a2_a2m_eiaj() local
187 stereo = freq_magnitude(x, N, stereo_freq); in detect_a2_a2m_eiaj()
193 carrier, stereo, dual, noise); in detect_a2_a2m_eiaj()
195 if (stereo > dual) in detect_a2_a2m_eiaj()
202 if ((carrier > max(stereo, dual) * 2) && in detect_a2_a2m_eiaj()
203 (carrier < max(stereo, dual) * 6) && in detect_a2_a2m_eiaj()
205 (max(stereo, dual) > min(stereo, dual))) { in detect_a2_a2m_eiaj()
213 if ((carrier > max(stereo, dual) * 2) && in detect_a2_a2m_eiaj()
214 (carrier < max(stereo, dual) * 8) && in detect_a2_a2m_eiaj()
217 (max(stereo, dual) > min(stereo, dual) * 2)) { in detect_a2_a2m_eiaj()
/kernel/linux/linux-5.10/sound/ppc/
Dburgundy.c286 int stereo = (kcontrol->private_value >> 24) & 1; in snd_pmac_burgundy_info_gain() local
288 uinfo->count = stereo + 1; in snd_pmac_burgundy_info_gain()
299 int stereo = (kcontrol->private_value >> 24) & 1; in snd_pmac_burgundy_get_gain() local
307 if (stereo) in snd_pmac_burgundy_get_gain()
317 int stereo = (kcontrol->private_value >> 24) & 1; in snd_pmac_burgundy_put_gain() local
325 if (stereo) in snd_pmac_burgundy_put_gain()
335 #define BURGUNDY_VOLUME_B(xname, xindex, addr, stereo, atten) \ argument
340 .private_value = (ADDR2BASE(addr) | ((stereo) << 24) | ((atten) << 25)) }
348 int stereo = (kcontrol->private_value >> 24) & 1; in snd_pmac_burgundy_info_switch_w() local
350 uinfo->count = stereo + 1; in snd_pmac_burgundy_info_switch_w()
[all …]
/kernel/linux/linux-5.10/Documentation/driver-api/media/drivers/
Dradiotrack.rst93 0xff ==> no stereo detected, 0xfd ==> stereo detected.
129 Default: BASE <-- 0xc8 (current volume, no stereo detect,
132 Card Off: BASE <-- 0x00 (audio mute, no stereo detect,
138 Volume Down: BASE <-- 0x48 (volume down, no stereo detect,
143 Volume Up: BASE <-- 0x88 (volume up, no stereo detect,
148 Check Stereo: BASE <-- 0xd8 (current volume, stereo detect,
154 x=0xff ==> "not stereo", x=0xfd ==> "stereo detected"
160 BASE <-- 0x01 (audio mute, no stereo detect, radio
162 BASE <-- 0x03 (audio mute, no stereo detect, radio
165 BASE <-- 0x05 (audio mute, no stereo detect, radio
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/
Dtlv320aic31xx.txt9 "ti,tlv320aic311x" - Generic TLV320AIC31xx with stereo speaker amp
11 "ti,tlv320aic3110" - TLV320AIC3110 (stereo speaker amp, no MiniDSP)
13 "ti,tlv320aic3111" - TLV320AIC3111 (stereo speaker amp, MiniDSP)
15 "ti,tlv320dac3101" - TLV320DAC3101 (no ADC, stereo speaker amp, no MiniDSP)
45 * SPL, devices with stereo speaker amp
46 * SPR, devices with stereo speaker amp
Dwm8782.txt1 WM8782 stereo ADC
13 wm8782: stereo-adc {
Dwm8741.txt17 0 = stereo
19 2 = stereo reversed
/kernel/linux/linux-5.10/Documentation/sound/cards/
Dmixart.rst12 that has 4 stereo audio inputs and 4 stereo audio outputs.
14 4 digital stereo audio inputs and outputs.
30 stereo analog capture 'pcm0c' and 1 stereo analog playback 'pcm0p' device.
31 With a miXart8AES/EBU there is in addition 1 stereo digital input
32 'pcm1c' and 1 stereo digital output 'pcm1p' per card.
49 There is one substream per capture device. For instance only stereo
Dmaya44.rst116 * hw:0,0 input - stereo, analog input 1+2
117 * hw:0,0 output - stereo, analog output 1+2
118 * hw:0,1 input - stereo, analog input 3+4 OR S/PDIF input
119 * hw:0,1 output - stereo, analog output 3+4 (and SPDIF out)
140 if switch is on, input jack 1/2 is microphone input (mono), otherwise line input (stereo).
/kernel/linux/linux-5.10/sound/oss/dmasound/
Ddmasound_core.c261 static int sound_set_stereo(int stereo) in sound_set_stereo() argument
263 if (stereo < 0) in sound_set_stereo()
264 return dmasound.soft.stereo; in sound_set_stereo()
266 stereo = !!stereo; /* should be 0 or 1 now */ in sound_set_stereo()
268 dmasound.soft.stereo = stereo; in sound_set_stereo()
270 dmasound.dsp.stereo = stereo; in sound_set_stereo()
272 return stereo; in sound_set_stereo()
492 (dmasound.soft.size * (dmasound.soft.stereo+1) ) ; in sq_setup()
494 (dmasound.hard.size * (dmasound.hard.stereo+1) ) ; in sq_setup()
499 (dmasound.hard.size * (dmasound.hard.stereo+1) ) ; in sq_setup()
[all …]
Ddmasound_atari.c165 if (dmasound.soft.stereo) in ata_ct_law()
188 if (dmasound.soft.stereo) in ata_ct_s8()
204 if (!dmasound.soft.stereo) { in ata_ct_u8()
239 if (!dmasound.soft.stereo) { in ata_ct_s16be()
271 if (!dmasound.soft.stereo) { in ata_ct_u16be()
311 if (!dmasound.soft.stereo) { in ata_ct_s16le()
352 if (!dmasound.soft.stereo) { in ata_ct_u16le()
398 if (!dmasound.soft.stereo) { in ata_ctx_law()
458 if (!dmasound.soft.stereo) { in ata_ctx_s8()
512 if (!dmasound.soft.stereo) { in ata_ctx_u8()
[all …]
Ddmasound_paula.c162 if (!dmasound.soft.stereo) { in ami_ct_s8()
196 if (!dmasound.soft.stereo) { \
249 if (!dmasound.soft.stereo) { \
474 if (dmasound.hard.stereo) { in AmiPlayNextFrame()
673 .stereo = 0,
680 .stereo = 0,
/kernel/linux/linux-5.10/drivers/media/radio/
Dradio-ma901.c83 int stereo; member
140 static int ma901_set_stereo(struct ma901radio_device *radio, u8 stereo) in ma901_set_stereo() argument
146 radio->buffer[2] = stereo; in ma901_set_stereo()
160 if (stereo == MA901_WANT_STEREO) in ma901_set_stereo()
161 radio->stereo = V4L2_TUNER_MODE_STEREO; in ma901_set_stereo()
163 radio->stereo = V4L2_TUNER_MODE_MONO; in ma901_set_stereo()
220 v->audmode = radio->stereo ? in vidioc_g_tuner()
Dradio-zoltrix.c112 bool stereo = isa->stereo; in zoltrix_s_frequency() local
133 bitmask = (bitmask ^ ((f & 0xff) << 47) ^ ((f & 0xff00) << 30) ^ (stereo << 31)); in zoltrix_s_frequency()
201 static int zoltrix_s_stereo(struct radio_isa_card *isa, bool stereo) in zoltrix_s_stereo() argument
Dradio-isa.h38 bool stereo; member
57 int (*s_stereo)(struct radio_isa_card *isa, bool stereo);
Dradio-mr800.c126 int stereo; member
214 static int amradio_set_stereo(struct amradio_device *radio, bool stereo) in amradio_set_stereo() argument
217 AMRADIO_SET_MONO, !stereo, NULL, 0, false); in amradio_set_stereo()
220 radio->stereo = stereo; in amradio_set_stereo()
289 v->audmode = radio->stereo ? in vidioc_g_tuner()
449 amradio_set_stereo(radio, radio->stereo); in usb_amradio_resume()
Ddsbr100.c74 bool stereo; member
154 radio->stereo = false; in dsbr100_getstat()
159 radio->stereo = !(radio->transfer_buffer[0] & 0x01); in dsbr100_getstat()
187 v->rxsubchans = radio->stereo ? V4L2_TUNER_SUB_STEREO : in vidioc_g_tuner()
191 v->signal = radio->stereo ? 0xffff : 0; /* We can't get the signal strength */ in vidioc_g_tuner()
Dradio-keene.c59 bool stereo; member
113 radio->buffer[3] = (radio->stereo ? 0 : 1) | (radio->preemph_75_us ? 4 : 0); in keene_cmd_set()
185 v->txsubchans = radio->stereo ? V4L2_TUNER_SUB_STEREO : V4L2_TUNER_SUB_MONO; in vidioc_g_modulator()
198 radio->stereo = (v->txsubchans == V4L2_TUNER_SUB_STEREO); in vidioc_s_modulator()
337 radio->stereo = true; in usb_keene_probe()
Dradio-isa.c64 v->audmode = isa->stereo ? V4L2_TUNER_MODE_STEREO : V4L2_TUNER_MODE_MONO; in radio_isa_g_tuner()
82 isa->stereo = (v->audmode == V4L2_TUNER_MODE_STEREO); in radio_isa_s_tuner()
83 return ops->s_stereo(isa, isa->stereo); in radio_isa_s_tuner()
243 isa->stereo = drv->has_stereo; in radio_isa_common_probe()
252 res = ops->s_stereo(isa, isa->stereo); in radio_isa_common_probe()
/kernel/linux/linux-5.10/sound/isa/sb/
Dsb8_main.c97 unsigned char stereo = runtime->channels > 1; in snd_sb8_playback_prepare() local
136 format = stereo ? SB_DSP_STEREO_16BIT : SB_DSP_MONO_16BIT; in snd_sb8_playback_prepare()
139 format = stereo ? SB_DSP_STEREO_8BIT : SB_DSP_MONO_8BIT; in snd_sb8_playback_prepare()
149 else if (stereo) { in snd_sb8_playback_prepare()
166 if (stereo) { in snd_sb8_playback_prepare()
235 unsigned char stereo = runtime->channels > 1; in snd_sb8_capture_prepare() local
275 format = stereo ? SB_DSP_STEREO_16BIT : SB_DSP_MONO_16BIT; in snd_sb8_capture_prepare()
278 format = stereo ? SB_DSP_STEREO_8BIT : SB_DSP_MONO_8BIT; in snd_sb8_capture_prepare()
288 else if (stereo) in snd_sb8_capture_prepare()
291 if (stereo) { in snd_sb8_capture_prepare()
/kernel/linux/linux-5.10/Documentation/userspace-api/media/v4l/
Dvidioc-g-tuner.rst131 - receiving stereo audio and a secondary audio program
135 - receiving mono or stereo audio, the hardware cannot distinguish
143 - receiving mono, stereo or bilingual audio
263 standard. Two audio carriers are available for mono or stereo
313 - The tuner receives a stereo audio signal.
348 - Play mono audio. When the tuner receives a stereo signal this a
353 - Play stereo audio. When the tuner receives bilingual audio it may
360 When the tuner receives no stereo signal or does not support
361 stereo reception the driver shall fall back to ``MODE_MONO``.
364 - Play the primary language, mono or stereo. Only
[all …]
Dvidioc-g-modulator.rst112 for example, a stereo pilot tone.
140 - Modulate channel 1 and 2 as left and right channel of a stereo
145 driver does not support stereo audio it shall fall back to mono.
157 or stereo mode.
169 right stereo audio, channel 3 as Second Audio Program. When the
178 driver shall fall back to mono or stereo mode.
Dvidioc-g-audio.rst93 - This is a stereo input. The flag is intended to automatically
94 disable stereo recording etc. when the signal is always monaural.
95 The API provides no means to detect if stereo is *received*,
/kernel/linux/linux-5.10/drivers/media/tuners/
Dtea5761.c227 int stereo = buffer[9] & TEA5761_TUNCHECK_STEREO; in tea5761_stereo() local
229 tuner_dbg("Radio ST GET = %02x\n", stereo); in tea5761_stereo()
231 return (stereo ? V4L2_TUNER_SUB_STEREO : 0); in tea5761_stereo()
Dtea5767.c313 int stereo = buffer[2] & TEA5767_STEREO_MASK; in tea5767_stereo() local
315 tuner_dbg("Radio ST GET = %02x\n", stereo); in tea5767_stereo()
317 return (stereo ? V4L2_TUNER_SUB_STEREO : 0); in tea5767_stereo()
/kernel/linux/linux-5.10/drivers/media/pci/ivtv/
Divtv-cards.c246 .gpio_audio_mode = { .mask = 0x4300, .mono = 0x4000, .stereo = 0x0200,
250 .gpio_audio_detect = { .mask = 0x4000, .stereo = 0x0000 },
289 .gpio_audio_mode = { .mask = 0x000e, .mono = 0x0006, .stereo = 0x0004,
291 .gpio_audio_detect = { .mask = 0x0900, .stereo = 0x0100 },
331 .gpio_audio_mode = { .mask = 0x000e, .mono = 0x0006, .stereo = 0x0004,
333 .gpio_audio_detect = { .mask = 0x0900, .stereo = 0x0100 },
482 .gpio_audio_mode = { .mask = 0x4300, .mono = 0x4000, .stereo = 0x0200,
848 .gpio_audio_mode = { .mask = 0x4300, .mono = 0x4000, .stereo = 0x0200,
1237 .stereo = 0x0000, /* SAP */

12345