Home
last modified time | relevance | path

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

123456

/openbmc/linux/drivers/media/pci/cx88/
H A 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()
/openbmc/linux/sound/ppc/
H A Dburgundy.c289 uinfo->count = stereo + 1; in snd_pmac_burgundy_info_gain()
308 if (stereo) in snd_pmac_burgundy_get_gain()
326 if (stereo) in snd_pmac_burgundy_put_gain()
351 uinfo->count = stereo + 1; in snd_pmac_burgundy_info_switch_w()
367 if (stereo) in snd_pmac_burgundy_get_switch_w()
382 val = oval & ~(lmask | (stereo ? rmask : 0)); in snd_pmac_burgundy_put_switch_w()
385 if (stereo && ucontrol->value.integer.value[1]) in snd_pmac_burgundy_put_switch_w()
397 | (ADDR2BASE(addr) << 16) | ((stereo) << 24)) }
407 uinfo->count = stereo + 1; in snd_pmac_burgundy_info_switch_b()
423 if (stereo) in snd_pmac_burgundy_get_switch_b()
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/libsdl/libsdl-1.2.15/
H A DCVE-2019-7575.patch34 Sint8 nybble, stereo;
43 stereo = (MS_ADPCM_state.wavefmt.channels == 2);
45 state[1] = &MS_ADPCM_state.state[stereo];
48 - if (encoded + 7 + (stereo ? 7 : 0) > encoded_end) goto too_short;
49 + if (encoded + 7 + (stereo ? 7 : 0) > encoded_end) goto invalid_size;
51 if ( stereo ) {
57 + if (decoded + 4 + (stereo ? 4 : 0) > decoded_end) goto invalid_size;
H A DCVE-2019-7577.patch67 Sint8 nybble, stereo;
78 state[1] = &MS_ADPCM_state.state[stereo];
81 + if (encoded + 7 + (stereo ? 7 : 0) > encoded_end) goto too_short;
83 if ( stereo ) {
91 if ( stereo ) {
/openbmc/linux/Documentation/driver-api/media/drivers/
H A 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 …]
/openbmc/linux/Documentation/devicetree/bindings/sound/
H A 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
H A Dwm8782.txt1 WM8782 stereo ADC
13 wm8782: stereo-adc {
H A Dwm8741.txt17 0 = stereo
19 2 = stereo reversed
H A Dsamsung-i2s.yaml19 samsung,s3c6410-i2s: for 8/16/24bit stereo I2S.
26 playback, stereo channel capture, secondary FIFO using internal
38 stereo channels. Exynos7 I2S1 upgraded to 5.1 multichannel with
41 tesla,fsd-i2s: for 8/16/24bit stereo channel I2S for playback and
/openbmc/linux/Documentation/sound/cards/
H A 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
H A Daudigy-mixer.rst82 stereo playback. The result samples are forwarded to the front speakers.
88 stereo playback. The result is forwarded to the standard capture PCM device.
94 The result samples are forwarded to the virtual stereo mixer.
119 forwarded to the virtual stereo mixer.
141 stereo mixer.
164 stereo mixer.
174 This control is used to attenuate samples from the virtual stereo mixer.
179 This control is used to attenuate samples from the virtual stereo mixer.
184 This control is used to attenuate samples from the virtual stereo mixer.
189 This control is used to attenuate samples from the virtual stereo mixer.
[all …]
H A Demu-mixer.rst135 stereo playback. The result samples are forwarded to the virtual stereo mixer.
147 The result samples are forwarded to the virtual stereo mixer.
157 This control is used to attenuate samples from the virtual stereo mixer.
162 This control is used to attenuate samples from the virtual stereo mixer.
167 This control is used to attenuate samples from the virtual stereo mixer.
172 This control is used to attenuate samples from the virtual stereo mixer.
177 This control is used to attenuate samples from the virtual stereo mixer.
/openbmc/linux/sound/oss/dmasound/
H A Ddmasound_core.c259 static int sound_set_stereo(int stereo) in sound_set_stereo() argument
261 if (stereo < 0) in sound_set_stereo()
262 return dmasound.soft.stereo; in sound_set_stereo()
264 stereo = !!stereo; /* should be 0 or 1 now */ in sound_set_stereo()
266 dmasound.soft.stereo = stereo; in sound_set_stereo()
268 dmasound.dsp.stereo = stereo; in sound_set_stereo()
270 return stereo; in sound_set_stereo()
487 (dmasound.soft.size * (dmasound.soft.stereo+1) ) ; in sq_setup()
489 (dmasound.hard.size * (dmasound.hard.stereo+1) ) ; in sq_setup()
494 (dmasound.hard.size * (dmasound.hard.stereo+1) ) ; in sq_setup()
[all …]
H A 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()
1059 dmasound.hard.stereo = 1; in FalconInit()
1510 .stereo = 0,
1517 .stereo = 0,
[all …]
/openbmc/linux/drivers/media/radio/
H A 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()
H A 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
H A Dradio-isa.h38 bool stereo; member
57 int (*s_stereo)(struct radio_isa_card *isa, bool stereo);
H A 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()
H A 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()
H A 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()
/openbmc/linux/sound/isa/sb/
H A 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()
/openbmc/qemu/audio/
H A Dwavcapture.c119 int stereo, bits16, shift; in wav_start_capture() local
133 stereo = nchannels == 2; in wav_start_capture()
137 as.nchannels = 1 << stereo; in wav_start_capture()
147 shift = bits16 + stereo; in wav_start_capture()
H A Dwavaudio.c71 int bits16 = 0, stereo = 0; in wav_init_out() local
83 stereo = wav_as.nchannels == 2; in wav_init_out()
116 le_store (hdr + 28, hw->info.freq << (bits16 + stereo), 4); in wav_init_out()
117 le_store (hdr + 32, 1 << (bits16 + stereo), 2); in wav_init_out()
/openbmc/linux/sound/pci/emu10k1/
H A Demupcm.c283 bool w_16, bool stereo, in snd_emu10k1_pcm_init_voice() argument
338 bool w_16, bool stereo, in snd_emu10k1_pcm_init_voices() argument
348 if (stereo) in snd_emu10k1_pcm_init_voices()
460 start_addr >>= stereo; in snd_emu10k1_playback_prepare()
580 u32 sample, bool stereo) in snd_emu10k1_playback_fill_cache() argument
595 if (stereo) { in snd_emu10k1_playback_fill_cache()
604 bool w_16, bool stereo, in snd_emu10k1_playback_prepare_voices() argument
675 bool stereo, in snd_emu10k1_playback_unmute_voices() argument
679 if (stereo) in snd_emu10k1_playback_unmute_voices()
691 bool stereo) in snd_emu10k1_playback_mute_voices() argument
[all …]
/openbmc/linux/Documentation/userspace-api/media/v4l/
H A 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.
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
370 driver shall fall back to mono or stereo mode. Only
376 driver shall fall back to mono or stereo mode. Only
[all …]

123456