Home
last modified time | relevance | path

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

1234

/Linux-v4.19/drivers/media/pci/cx88/
Dcx88-dsp.c168 s32 carrier, stereo, dual, noise; in detect_a2_a2m_eiaj() local
196 stereo = freq_magnitude(x, N, stereo_freq); in detect_a2_a2m_eiaj()
202 carrier, stereo, dual, noise); in detect_a2_a2m_eiaj()
204 if (stereo > dual) in detect_a2_a2m_eiaj()
211 if ((carrier > max(stereo, dual) * 2) && in detect_a2_a2m_eiaj()
212 (carrier < max(stereo, dual) * 6) && in detect_a2_a2m_eiaj()
214 (max(stereo, dual) > min(stereo, dual))) { in detect_a2_a2m_eiaj()
222 if ((carrier > max(stereo, dual) * 2) && in detect_a2_a2m_eiaj()
223 (carrier < max(stereo, dual) * 8) && in detect_a2_a2m_eiaj()
226 (max(stereo, dual) > min(stereo, dual) * 2)) { in detect_a2_a2m_eiaj()
/Linux-v4.19/sound/ppc/
Dburgundy.c299 int stereo = (kcontrol->private_value >> 24) & 1; in snd_pmac_burgundy_info_gain() local
301 uinfo->count = stereo + 1; in snd_pmac_burgundy_info_gain()
312 int stereo = (kcontrol->private_value >> 24) & 1; in snd_pmac_burgundy_get_gain() local
320 if (stereo) in snd_pmac_burgundy_get_gain()
330 int stereo = (kcontrol->private_value >> 24) & 1; in snd_pmac_burgundy_put_gain() local
338 if (stereo) in snd_pmac_burgundy_put_gain()
348 #define BURGUNDY_VOLUME_B(xname, xindex, addr, stereo, atten) \ argument
353 .private_value = (ADDR2BASE(addr) | ((stereo) << 24) | ((atten) << 25)) }
361 int stereo = (kcontrol->private_value >> 24) & 1; in snd_pmac_burgundy_info_switch_w() local
363 uinfo->count = stereo + 1; in snd_pmac_burgundy_info_switch_w()
[all …]
/Linux-v4.19/Documentation/media/v4l-drivers/
Dradiotrack.rst91 0xff ==> no stereo detected, 0xfd ==> stereo detected.
127 Default: BASE <-- 0xc8 (current volume, no stereo detect,
130 Card Off: BASE <-- 0x00 (audio mute, no stereo detect,
136 Volume Down: BASE <-- 0x48 (volume down, no stereo detect,
141 Volume Up: BASE <-- 0x88 (volume up, no stereo detect,
146 Check Stereo: BASE <-- 0xd8 (current volume, stereo detect,
152 x=0xff ==> "not stereo", x=0xfd ==> "stereo detected"
158 BASE <-- 0x01 (audio mute, no stereo detect, radio
160 BASE <-- 0x03 (audio mute, no stereo detect, radio
163 BASE <-- 0x05 (audio mute, no stereo detect, radio
[all …]
/Linux-v4.19/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)
40 * SPL, devices with stereo speaker amp
41 * SPR, devices with stereo speaker amp
Dwm8741.txt17 0 = stereo
19 2 = stereo reversed
/Linux-v4.19/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).
/Linux-v4.19/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()
491 (dmasound.soft.size * (dmasound.soft.stereo+1) ) ; in sq_setup()
493 (dmasound.hard.size * (dmasound.hard.stereo+1) ) ; in sq_setup()
498 (dmasound.hard.size * (dmasound.hard.stereo+1) ) ; in sq_setup()
[all …]
Ddmasound_atari.c164 if (dmasound.soft.stereo) in ata_ct_law()
187 if (dmasound.soft.stereo) in ata_ct_s8()
203 if (!dmasound.soft.stereo) { in ata_ct_u8()
238 if (!dmasound.soft.stereo) { in ata_ct_s16be()
270 if (!dmasound.soft.stereo) { in ata_ct_u16be()
310 if (!dmasound.soft.stereo) { in ata_ct_s16le()
351 if (!dmasound.soft.stereo) { in ata_ct_u16le()
397 if (!dmasound.soft.stereo) { in ata_ctx_law()
457 if (!dmasound.soft.stereo) { in ata_ctx_s8()
511 if (!dmasound.soft.stereo) { in ata_ctx_u8()
[all …]
Ddmasound_paula.c161 if (!dmasound.soft.stereo) { in ami_ct_s8()
195 if (!dmasound.soft.stereo) { \
248 if (!dmasound.soft.stereo) { \
473 if (dmasound.hard.stereo) { in AmiPlayNextFrame()
672 .stereo = 0,
679 .stereo = 0,
/Linux-v4.19/drivers/media/radio/
Dradio-ma901.c92 int stereo; member
149 static int ma901_set_stereo(struct ma901radio_device *radio, u8 stereo) in ma901_set_stereo() argument
155 radio->buffer[2] = stereo; in ma901_set_stereo()
169 if (stereo == MA901_WANT_STEREO) in ma901_set_stereo()
170 radio->stereo = V4L2_TUNER_MODE_STEREO; in ma901_set_stereo()
172 radio->stereo = V4L2_TUNER_MODE_MONO; in ma901_set_stereo()
231 v->audmode = radio->stereo ? in vidioc_g_tuner()
Dradio-zoltrix.c111 bool stereo = isa->stereo; in zoltrix_s_frequency() local
132 bitmask = (bitmask ^ ((f & 0xff) << 47) ^ ((f & 0xff00) << 30) ^ (stereo << 31)); in zoltrix_s_frequency()
200 static int zoltrix_s_stereo(struct radio_isa_card *isa, bool stereo) in zoltrix_s_stereo() argument
Dradio-isa.h46 bool stereo; member
65 int (*s_stereo)(struct radio_isa_card *isa, bool stereo);
Dradio-mr800.c135 int stereo; member
223 static int amradio_set_stereo(struct amradio_device *radio, bool stereo) in amradio_set_stereo() argument
226 AMRADIO_SET_MONO, !stereo, NULL, 0, false); in amradio_set_stereo()
229 radio->stereo = stereo; in amradio_set_stereo()
301 v->audmode = radio->stereo ? in vidioc_g_tuner()
461 amradio_set_stereo(radio, radio->stereo); in usb_amradio_resume()
Ddsbr100.c83 bool stereo; member
163 radio->stereo = false; in dsbr100_getstat()
168 radio->stereo = !(radio->transfer_buffer[0] & 0x01); in dsbr100_getstat()
198 v->rxsubchans = radio->stereo ? V4L2_TUNER_SUB_STEREO : in vidioc_g_tuner()
202 v->signal = radio->stereo ? 0xffff : 0; /* We can't get the signal strength */ in vidioc_g_tuner()
Dradio-keene.c68 bool stereo; member
122 radio->buffer[3] = (radio->stereo ? 0 : 1) | (radio->preemph_75_us ? 4 : 0); in keene_cmd_set()
196 v->txsubchans = radio->stereo ? V4L2_TUNER_SUB_STEREO : V4L2_TUNER_SUB_MONO; in vidioc_g_modulator()
209 radio->stereo = (v->txsubchans == V4L2_TUNER_SUB_STEREO); in vidioc_s_modulator()
348 radio->stereo = true; in usb_keene_probe()
Dradio-isa.c75 v->audmode = isa->stereo ? V4L2_TUNER_MODE_STEREO : V4L2_TUNER_MODE_MONO; in radio_isa_g_tuner()
93 isa->stereo = (v->audmode == V4L2_TUNER_MODE_STEREO); in radio_isa_s_tuner()
94 return ops->s_stereo(isa, isa->stereo); in radio_isa_s_tuner()
253 isa->stereo = drv->has_stereo; in radio_isa_common_probe()
262 res = ops->s_stereo(isa, isa->stereo); in radio_isa_common_probe()
/Linux-v4.19/sound/isa/sb/
Dsb8_main.c111 unsigned char stereo = runtime->channels > 1; in snd_sb8_playback_prepare() local
150 format = stereo ? SB_DSP_STEREO_16BIT : SB_DSP_MONO_16BIT; in snd_sb8_playback_prepare()
153 format = stereo ? SB_DSP_STEREO_8BIT : SB_DSP_MONO_8BIT; in snd_sb8_playback_prepare()
163 else if (stereo) { in snd_sb8_playback_prepare()
180 if (stereo) { in snd_sb8_playback_prepare()
261 unsigned char stereo = runtime->channels > 1; in snd_sb8_capture_prepare() local
301 format = stereo ? SB_DSP_STEREO_16BIT : SB_DSP_MONO_16BIT; in snd_sb8_capture_prepare()
304 format = stereo ? SB_DSP_STEREO_8BIT : SB_DSP_MONO_8BIT; in snd_sb8_capture_prepare()
314 else if (stereo) in snd_sb8_capture_prepare()
317 if (stereo) { in snd_sb8_capture_prepare()
/Linux-v4.19/Documentation/media/uapi/v4l/
Dvidioc-g-tuner.rst132 - receiving stereo audio and a secondary audio program
136 - receiving mono or stereo audio, the hardware cannot distinguish
144 - receiving mono, stereo or bilingual audio
266 standard. Two audio carriers are available for mono or stereo
317 - The tuner receives a stereo audio signal.
353 - Play mono audio. When the tuner receives a stereo signal this a
358 - Play stereo audio. When the tuner receives bilingual audio it may
365 When the tuner receives no stereo signal or does not support
366 stereo reception the driver shall fall back to ``MODE_MONO``.
369 - Play the primary language, mono or stereo. Only
[all …]
Dvidioc-g-modulator.rst113 for example, a stereo pilot tone.
142 - Modulate channel 1 and 2 as left and right channel of a stereo
147 driver does not support stereo audio it shall fall back to mono.
159 or stereo mode.
171 right stereo audio, channel 3 as Second Audio Program. When the
180 driver shall fall back to mono or stereo mode.
Dvidioc-g-audio.rst95 - This is a stereo input. The flag is intended to automatically
96 disable stereo recording etc. when the signal is always monaural.
97 The API provides no means to detect if stereo is *received*,
/Linux-v4.19/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()
/Linux-v4.19/drivers/media/pci/ivtv/
Divtv-cards.c258 .gpio_audio_mode = { .mask = 0x4300, .mono = 0x4000, .stereo = 0x0200,
262 .gpio_audio_detect = { .mask = 0x4000, .stereo = 0x0000 },
301 .gpio_audio_mode = { .mask = 0x000e, .mono = 0x0006, .stereo = 0x0004,
303 .gpio_audio_detect = { .mask = 0x0900, .stereo = 0x0100 },
343 .gpio_audio_mode = { .mask = 0x000e, .mono = 0x0006, .stereo = 0x0004,
345 .gpio_audio_detect = { .mask = 0x0900, .stereo = 0x0100 },
494 .gpio_audio_mode = { .mask = 0x4300, .mono = 0x4000, .stereo = 0x0200,
860 .gpio_audio_mode = { .mask = 0x4300, .mono = 0x4000, .stereo = 0x0200,
1249 .stereo = 0x0000, /* SAP */
/Linux-v4.19/drivers/media/radio/si4713/
Dsi4713.c1074 if (sdev->stereo) in si4713_setup()
1106 sdev->stereo = 1; in si4713_initialize()
1291 sdev->stereo = get_status_bit(comp_en, 1, 1 << 1); in si4713_g_modulator()
1295 if (sdev->stereo) in si4713_g_modulator()
1314 u16 stereo, rds; in si4713_s_modulator() local
1325 stereo = 1; in si4713_s_modulator()
1327 stereo = 0; in si4713_s_modulator()
1339 p = set_bits(p, stereo, 1, 1 << 1); in si4713_s_modulator()
1348 sdev->stereo = stereo; in si4713_s_modulator()

1234