Home
last modified time | relevance | path

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

1234

/linux-6.12.1/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()
/linux-6.12.1/sound/ppc/
Dburgundy.c287 int stereo = (kcontrol->private_value >> 24) & 1; in snd_pmac_burgundy_info_gain() local
289 uinfo->count = stereo + 1; in snd_pmac_burgundy_info_gain()
300 int stereo = (kcontrol->private_value >> 24) & 1; in snd_pmac_burgundy_get_gain() local
308 if (stereo) in snd_pmac_burgundy_get_gain()
318 int stereo = (kcontrol->private_value >> 24) & 1; in snd_pmac_burgundy_put_gain() local
326 if (stereo) in snd_pmac_burgundy_put_gain()
336 #define BURGUNDY_VOLUME_B(xname, xindex, addr, stereo, atten) \ argument
341 .private_value = (ADDR2BASE(addr) | ((stereo) << 24) | ((atten) << 25)) }
349 int stereo = (kcontrol->private_value >> 24) & 1; in snd_pmac_burgundy_info_switch_w() local
351 uinfo->count = stereo + 1; in snd_pmac_burgundy_info_switch_w()
[all …]
/linux-6.12.1/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 …]
/linux-6.12.1/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
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.
105 the AC97 codec. The result samples are forwarded to the virtual stereo mixer.
119 forwarded to the virtual stereo mixer.
130 digital input. The result samples are forwarded to the virtual stereo mixer.
141 stereo mixer.
153 stereo mixer. This contains mix from analog sources like CD, Line In, Aux, ....
164 stereo mixer.
174 This control is used to attenuate samples from the virtual stereo mixer.
[all …]
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.
/linux-6.12.1/sound/oss/dmasound/
Ddmasound_core.c260 static int sound_set_stereo(int stereo) in sound_set_stereo() argument
262 if (stereo < 0) in sound_set_stereo()
263 return dmasound.soft.stereo; in sound_set_stereo()
265 stereo = !!stereo; /* should be 0 or 1 now */ in sound_set_stereo()
267 dmasound.soft.stereo = stereo; in sound_set_stereo()
269 dmasound.dsp.stereo = stereo; in sound_set_stereo()
271 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 …]
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,
/linux-6.12.1/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-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()
Dradio-isa.h38 bool stereo; member
57 int (*s_stereo)(struct radio_isa_card *isa, bool stereo);
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()
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-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()
/linux-6.12.1/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()
/linux-6.12.1/sound/pci/emu10k1/
Demupcm.c262 bool w_16, bool stereo, in snd_emu10k1_pcm_init_voice() argument
277 CPF, stereo ? CPF_STEREO_MASK : 0, in snd_emu10k1_pcm_init_voice()
317 bool w_16, bool stereo, in snd_emu10k1_pcm_init_voices() argument
323 snd_emu10k1_pcm_init_voice(emu, evoice, w_16, stereo, in snd_emu10k1_pcm_init_voices()
325 &mix->send_routing[stereo][0], in snd_emu10k1_pcm_init_voices()
326 &mix->send_volume[stereo][0]); in snd_emu10k1_pcm_init_voices()
327 if (stereo) in snd_emu10k1_pcm_init_voices()
425 bool stereo = runtime->channels == 2; in snd_emu10k1_playback_prepare() local
439 start_addr >>= stereo; in snd_emu10k1_playback_prepare()
442 snd_emu10k1_pcm_init_voices(emu, epcm->voices[0], w_16, stereo, in snd_emu10k1_playback_prepare()
[all …]
/linux-6.12.1/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.
141 - Modulate channel 1 and 2 as left and right channel of a stereo
146 driver does not support stereo audio it shall fall back to mono.
158 or stereo mode.
170 right stereo audio, channel 3 as Second Audio Program. When the
179 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*,
/linux-6.12.1/Documentation/devicetree/bindings/sound/
Dwm8741.txt17 0 = stereo
19 2 = stereo reversed
/linux-6.12.1/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()
/linux-6.12.1/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 */
/linux-6.12.1/drivers/media/radio/si4713/
Dsi4713.c1065 if (sdev->stereo) in si4713_setup()
1097 sdev->stereo = 1; in si4713_initialize()
1282 sdev->stereo = get_status_bit(comp_en, 1, 1 << 1); in si4713_g_modulator()
1286 if (sdev->stereo) in si4713_g_modulator()
1305 u16 stereo, rds; in si4713_s_modulator() local
1316 stereo = 1; in si4713_s_modulator()
1318 stereo = 0; in si4713_s_modulator()
1330 p = set_bits(p, stereo, 1, 1 << 1); in si4713_s_modulator()
1339 sdev->stereo = stereo; in si4713_s_modulator()

1234