Searched refs:stereo (Results 1 - 25 of 48) sorted by relevance

12

/linux-master/drivers/media/pci/cx88/
H A Dcx88-dsp.c159 s32 carrier, stereo, dual, noise; local
187 stereo = freq_magnitude(x, N, stereo_freq);
192 "detect a2/a2m/eiaj: carrier=%d, stereo=%d, dual=%d, noise=%d\n",
193 carrier, stereo, dual, noise);
195 if (stereo > dual)
202 if ((carrier > max(stereo, dual) * 2) &&
203 (carrier < max(stereo, dual) * 6) &&
205 (max(stereo, dual) > min(stereo, dual))) {
213 if ((carrier > max(stereo, dua
[all...]
/linux-master/drivers/media/radio/
H A Dradio-isa.h37 /* Card is in stereo audio mode */
38 bool stereo; member in struct:radio_isa_card
56 /* Set stereo/mono audio mode */
57 int (*s_stereo)(struct radio_isa_card *isa, bool stereo);
85 /* Card can capture stereo audio */
H A Dradio-zoltrix.c18 * - Make signal strength and stereo scans
22 * - Added stereo support
23 * (card defaults to stereo)
25 * (can detect if station is in stereo)
112 bool stereo = isa->stereo; local
133 bitmask = (bitmask ^ ((f & 0xff) << 47) ^ ((f & 0xff00) << 30) ^ (stereo << 31));
201 static int zoltrix_s_stereo(struct radio_isa_card *isa, bool stereo) argument
H A Dradio-ma901.c83 int stereo; member in struct:ma901radio_device
140 static int ma901_set_stereo(struct ma901radio_device *radio, u8 stereo) argument
146 radio->buffer[2] = stereo;
160 if (stereo == MA901_WANT_STEREO)
161 radio->stereo = V4L2_TUNER_MODE_STEREO;
163 radio->stereo = V4L2_TUNER_MODE_MONO;
220 v->audmode = radio->stereo ?
234 /* mono/stereo selector */
H A Ddsbr100.c9 * at the stereo indicator as well. So, scanning will only find
10 * stereo stations. Sad, but I can't help it.
74 bool stereo; member in struct:dsbr100_device
144 sees a stereo signal or not. Pity. */
154 radio->stereo = false;
159 radio->stereo = !(radio->transfer_buffer[0] & 0x01);
187 v->rxsubchans = radio->stereo ? V4L2_TUNER_SUB_STEREO :
191 v->signal = radio->stereo ? 0xffff : 0; /* We can't get the signal strength */
H A Dradio-keene.c59 bool stereo; member in struct:keene_device
102 /* Set TX, stereo and preemphasis mode (50 us vs 75 us). */
110 /* If bit 0 is set, then transmit mono, otherwise stereo.
113 radio->buffer[3] = (radio->stereo ? 0 : 1) | (radio->preemph_75_us ? 4 : 0);
185 v->txsubchans = radio->stereo ? V4L2_TUNER_SUB_STEREO : V4L2_TUNER_SUB_MONO;
198 radio->stereo = (v->txsubchans == V4L2_TUNER_SUB_STEREO);
337 radio->stereo = true;
H A Dradio-isa.c64 v->audmode = isa->stereo ? V4L2_TUNER_MODE_STEREO : V4L2_TUNER_MODE_MONO;
82 isa->stereo = (v->audmode == V4L2_TUNER_MODE_STEREO);
83 return ops->s_stereo(isa, isa->stereo);
243 isa->stereo = drv->has_stereo;
252 res = ops->s_stereo(isa, isa->stereo);
H A Dradio-mr800.c29 * Added stereo support. Thanks to
126 int stereo; member in struct:amradio_device
214 static int amradio_set_stereo(struct amradio_device *radio, bool stereo) argument
217 AMRADIO_SET_MONO, !stereo, NULL, 0, false);
220 radio->stereo = stereo;
289 v->audmode = radio->stereo ?
303 /* mono/stereo selector */
449 amradio_set_stereo(radio, radio->stereo);
H A Dradio-trust.c129 static int trust_s_stereo(struct radio_isa_card *isa, bool stereo) argument
133 tr->ioval = (tr->ioval & 0xfb) | (!stereo << 2);
192 write_i2c(tr, 2, TDA7318_ADDR, 0x40); /* stereo 1 input, gain = 18.75 dB */
/linux-master/sound/ppc/
H A Dburgundy.c121 * Burgundy volume: 0 - 100, stereo, word reg
206 * Burgundy volume: 0 - 100, stereo, 2-byte reg
282 * Burgundy gain/attenuation: 0 - 15, mono/stereo, byte reg
287 int stereo = (kcontrol->private_value >> 24) & 1; local
289 uinfo->count = stereo + 1;
300 int stereo = (kcontrol->private_value >> 24) & 1; local
308 if (stereo)
318 int stereo = (kcontrol->private_value >> 24) & 1; local
326 if (stereo)
336 #define BURGUNDY_VOLUME_B(xname, xindex, addr, stereo, atte
349 int stereo = (kcontrol->private_value >> 24) & 1; local
364 int stereo = (kcontrol->private_value >> 24) & 1; local
379 int stereo = (kcontrol->private_value >> 24) & 1; local
405 int stereo = (kcontrol->private_value >> 24) & 1; local
420 int stereo = (kcontrol->private_value >> 24) & 1; local
435 int stereo = (kcontrol->private_value >> 24) & 1; local
[all...]
/linux-master/include/sound/
H A Dmixer_oss.h18 unsigned int stereo: 1; member in struct:snd_mixer_oss_slot
H A Dcs35l35.h78 bool stereo; member in struct:cs35l35_platform_data
95 /* Shared Boost for stereo */
/linux-master/sound/oss/dmasound/
H A Ddmasound_core.c260 static int sound_set_stereo(int stereo) argument
262 if (stereo < 0)
263 return dmasound.soft.stereo;
265 stereo = !!stereo; /* should be 0 or 1 now */
267 dmasound.soft.stereo = stereo;
269 dmasound.dsp.stereo = stereo;
271 return stereo;
[all...]
H A Ddmasound_atari.c66 * only in stereo is hardcoded in both of them!
165 if (dmasound.soft.stereo)
188 if (dmasound.soft.stereo)
204 if (!dmasound.soft.stereo) {
239 if (!dmasound.soft.stereo) {
271 if (!dmasound.soft.stereo) {
311 if (!dmasound.soft.stereo) {
352 if (!dmasound.soft.stereo) {
398 if (!dmasound.soft.stereo) {
458 if (!dmasound.soft.stereo) {
[all...]
H A Ddmasound_paula.c147 * only in stereo is hardcoded in both of them!
162 if (!dmasound.soft.stereo) {
196 if (!dmasound.soft.stereo) { \
249 if (!dmasound.soft.stereo) { \
474 if (dmasound.hard.stereo) {
673 .stereo = 0,
680 .stereo = 0,
/linux-master/include/media/drv-intf/
H A Dtea575x.h46 bool stereo; /* receiving stereo */ member in struct:snd_tea575x
/linux-master/sound/isa/sb/
H A Dsb8_main.c97 unsigned char stereo = runtime->channels > 1; local
136 format = stereo ? SB_DSP_STEREO_16BIT : SB_DSP_MONO_16BIT;
139 format = stereo ? SB_DSP_STEREO_8BIT : SB_DSP_MONO_8BIT;
149 else if (stereo) {
150 /* set playback stereo mode */
166 if (stereo) {
235 unsigned char stereo = runtime->channels > 1; local
275 format = stereo ? SB_DSP_STEREO_16BIT : SB_DSP_MONO_16BIT;
278 format = stereo ? SB_DSP_STEREO_8BIT : SB_DSP_MONO_8BIT;
288 else if (stereo)
[all...]
/linux-master/sound/pci/emu10k1/
H A Demupcm.c283 bool w_16, bool stereo,
298 CPF, stereo ? CPF_STEREO_MASK : 0,
338 bool w_16, bool stereo,
344 snd_emu10k1_pcm_init_voice(emu, evoice, w_16, stereo,
346 &mix->send_routing[stereo][0],
347 &mix->send_volume[stereo][0]);
348 if (stereo)
446 bool stereo = runtime->channels == 2; local
460 start_addr >>= stereo; local
463 snd_emu10k1_pcm_init_voices(emu, epcm->voices[0], w_16, stereo,
281 snd_emu10k1_pcm_init_voice(struct snd_emu10k1 *emu, struct snd_emu10k1_voice *evoice, bool w_16, bool stereo, unsigned int start_addr, unsigned int end_addr, const unsigned char *send_routing, const unsigned char *send_amount) argument
336 snd_emu10k1_pcm_init_voices(struct snd_emu10k1 *emu, struct snd_emu10k1_voice *evoice, bool w_16, bool stereo, unsigned int start_addr, unsigned int end_addr, struct snd_emu10k1_pcm_mixer *mix) argument
578 snd_emu10k1_playback_fill_cache(struct snd_emu10k1 *emu, unsigned voice, u32 sample, bool stereo) argument
602 snd_emu10k1_playback_prepare_voices(struct snd_emu10k1 *emu, struct snd_emu10k1_pcm *epcm, bool w_16, bool stereo, int channels) argument
660 snd_emu10k1_playback_unmute_voice(struct snd_emu10k1 *emu, struct snd_emu10k1_voice *evoice, bool stereo, bool master, struct snd_emu10k1_pcm_mixer *mix) argument
673 snd_emu10k1_playback_unmute_voices(struct snd_emu10k1 *emu, struct snd_emu10k1_voice *evoice, bool stereo, struct snd_emu10k1_pcm_mixer *mix) argument
689 snd_emu10k1_playback_mute_voices(struct snd_emu10k1 *emu, struct snd_emu10k1_voice *evoice, bool stereo) argument
749 bool stereo = runtime->channels == 2; local
[all...]
/linux-master/drivers/media/tuners/
H A Dtea5761.c160 tuner_dbg("TEA5761 set to stereo\n");
227 int stereo = buffer[9] & TEA5761_TUNCHECK_STEREO; local
229 tuner_dbg("Radio ST GET = %02x\n", stereo);
231 return (stereo ? V4L2_TUNER_SUB_STEREO : 0);
H A Dtea5767.c62 /* Disable stereo */
90 /* Activates stereo noise control */
207 tuner_dbg("TEA5767 set to stereo\n");
313 int stereo = buffer[2] & TEA5767_STEREO_MASK; local
315 tuner_dbg("Radio ST GET = %02x\n", stereo);
317 return (stereo ? V4L2_TUNER_SUB_STEREO : 0);
/linux-master/sound/parisc/
H A Dharmony.h29 u32 stereo; member in struct:snd_harmony::__anon14349
/linux-master/drivers/media/pci/ivtv/
H A Divtv-cards.h242 u16 stereo; /* set audio to stereo */ member in struct:ivtv_gpio_audio_mode
257 u16 stereo; /* if the input matches this value then member in struct:ivtv_gpio_audio_detect
258 stereo is detected */
H A 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-master/drivers/media/radio/si4713/
H A Dsi4713.c1065 if (sdev->stereo)
1097 sdev->stereo = 1;
1282 sdev->stereo = get_status_bit(comp_en, 1, 1 << 1);
1285 /* Report current audio mode: mono or stereo */
1286 if (sdev->stereo)
1305 u16 stereo, rds; local
1314 /* Set audio mode: mono or stereo */
1316 stereo = 1;
1318 stereo = 0;
1330 p = set_bits(p, stereo,
[all...]
H A Dsi4713.h247 u32 stereo; member in struct:si4713_device

Completed in 517 milliseconds

12