Home
last modified time | relevance | path

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

/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 …]
/sound/oss/dmasound/
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 …]
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,
Ddmasound_q40.c424 if (dmasound.soft.stereo) in Q40PlayNextFrame()
582 .stereo = 0,
589 .stereo = 0,
Ddmasound.h97 int stereo; /* 0 = mono, 1 = stereo */ member
/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()
/sound/pci/emu10k1/
Demupcm.c260 static inline int emu10k1_ccis(int stereo, int w_16) in emu10k1_ccis() argument
263 return stereo ? 24 : 26; in emu10k1_ccis()
265 return stereo ? 24*2 : 26*2; in emu10k1_ccis()
279 int voice, stereo, w_16; in snd_emu10k1_pcm_init_voice() local
287 stereo = runtime->channels == 2; in snd_emu10k1_pcm_init_voice()
290 if (!extra && stereo) { in snd_emu10k1_pcm_init_voice()
311 tmp = stereo ? (master ? 1 : 2) : 0; in snd_emu10k1_pcm_init_voice()
316 ccis = emu10k1_ccis(stereo, w_16); in snd_emu10k1_pcm_init_voice()
324 if (stereo && !extra) { in snd_emu10k1_pcm_init_voice()
624 unsigned int voice, stereo, i, ccis, cra = 64, cs, sample; in snd_emu10k1_playback_invalidate_cache() local
[all …]
/sound/pci/oxygen/
Doxygen_mixer.c589 int stereo = (ctl->private_value >> 16) & 1; in ac97_volume_info() local
592 info->count = stereo ? 2 : 1; in ac97_volume_info()
603 int stereo = (ctl->private_value >> 16) & 1; in ac97_volume_get() local
610 if (!stereo) { in ac97_volume_get()
624 int stereo = (ctl->private_value >> 16) & 1; in ac97_volume_put() local
631 if (!stereo) { in ac97_volume_put()
738 #define AC97_VOLUME(xname, codec, index, stereo) { \ argument
747 .private_value = ((codec) << 24) | ((stereo) << 16) | (index), \
/sound/parisc/
Dharmony.c172 (h->st.stereo << 5) | in harmony_set_control()
413 h->st.stereo = HARMONY_SS_STEREO; in snd_harmony_playback_prepare()
415 h->st.stereo = HARMONY_SS_MONO; in snd_harmony_playback_prepare()
443 h->st.stereo = HARMONY_SS_STEREO; in snd_harmony_capture_prepare()
445 h->st.stereo = HARMONY_SS_MONO; in snd_harmony_capture_prepare()
Dharmony.h29 u32 stereo; member
/sound/pci/
Dcmipci.c1979 unsigned int stereo: 1; member
1982 #define COMPOSE_SB_REG(lreg,rreg,lshift,rshift,mask,invert,stereo) \ argument
1983 …| ((rreg) << 8) | (lshift << 16) | (rshift << 19) | (mask << 24) | (invert << 22) | (stereo << 23))
1985 #define CMIPCI_DOUBLE(xname, left_reg, right_reg, left_shift, right_shift, mask, invert, stereo) \ argument
1989 …ivate_value = COMPOSE_SB_REG(left_reg, right_reg, left_shift, right_shift, mask, invert, stereo), \
2004 r->stereo = (val >> 23) & 1; in cmipci_sb_reg_decode()
2015 uinfo->count = reg.stereo + 1; in snd_cmipci_info_volume()
2034 if (reg.stereo) { in snd_cmipci_get_volume()
2057 if (reg.stereo) { in snd_cmipci_put_volume()
2068 if (reg.stereo) { in snd_cmipci_put_volume()
[all …]
Dazt3328.c857 unsigned int stereo: 1; member
861 #define COMPOSE_MIXER_REG(reg,lchan_shift,rchan_shift,mask,invert,stereo,enum_c) \ argument
865 (stereo << 25) | \
875 r->stereo = (val >> 25) & 1; in snd_azf3328_mixer_reg_decode()
927 uinfo->count = reg.stereo + 1; in snd_azf3328_info_mixer()
948 if (reg.stereo) { in snd_azf3328_get_mixer()
958 reg.lchan_shift, reg.rchan_shift, reg.mask, reg.invert, reg.stereo); in snd_azf3328_get_mixer()
977 if (reg.stereo) { in snd_azf3328_put_mixer()
/sound/soc/intel/atom/
Dsst-atom-controls.h689 bool stereo; member
722 { .stereo = true, .max = xmax, .min = xmin, .type = SST_GAIN_TLV, \
733 { .stereo = false, .max = xmax, .min = xmin, .type = xtype, \
743 { .stereo = false, .type = SST_GAIN_MUTE, \
Dsst-atom-controls.c382 uinfo->count = mc->stereo ? 2 : 1; in sst_gain_ctl_info()
/sound/pci/au88x0/
Dau88x0_synth.c28 static void vortex_wt_setstereo(vortex_t * vortex, u32 wt, u32 stereo) in vortex_wt_setstereo() argument
34 temp = (temp & 0xfe) | (stereo & 1); in vortex_wt_setstereo()
Dau88x0_core.c796 vortex_fifo_setadbctrl(vortex_t * vortex, int fifo, int stereo, int priority, in vortex_fifo_setadbctrl() argument
828 temp = (temp & 0xfffffffd) | ((stereo & 1) << 1); in vortex_fifo_setadbctrl()
1143 int fmt, int stereo, u32 offset) in vortex_adbdma_setmode() argument
1147 dma->dma_unknown = stereo; in vortex_adbdma_setmode()
/sound/soc/codecs/
Dsgtl5000.c1055 int stereo; in sgtl5000_pcm_hw_params() local
1065 stereo = SGTL5000_DAC_STEREO; in sgtl5000_pcm_hw_params()
1067 stereo = SGTL5000_ADC_STEREO; in sgtl5000_pcm_hw_params()
1070 snd_soc_component_update_bits(component, SGTL5000_CHIP_ANA_POWER, stereo, in sgtl5000_pcm_hw_params()
1071 channels == 1 ? 0 : stereo); in sgtl5000_pcm_hw_params()
Dcs35l35.c539 if (cs35l35->pdata.stereo) { in cs35l35_hw_params()
869 if (cs35l35->pdata.stereo) { in cs35l35_component_probe()
1293 pdata->stereo = of_property_read_bool(np, "cirrus,stereo-config"); in cs35l35_handle_of_data()
1295 if (pdata->stereo) { in cs35l35_handle_of_data()
/sound/pci/hda/
Dhda_proc.c138 bool stereo; in print_amp_vals() local
141 stereo = is_stereo_amps(codec, nid, dir, wcaps, indices); in print_amp_vals()
150 if (stereo) { in print_amp_vals()
/sound/pci/riptide/
Driptide.c364 const unsigned char *stereo; member
617 .stereo = lbus_play_stereo1,
622 .stereo = lbus_play_stereo2,
627 .stereo = lbus_play_stereo3,
633 .stereo = lbus_rec_stereo1,
1476 lbuspath = data->paths.stereo; in snd_riptide_prepare()
/sound/core/oss/
Dmixer_oss.c154 if (pslot->put_volume && pslot->stereo) in snd_mixer_oss_stereodevs()
271 if (!pslot->stereo) in snd_mixer_oss_get_volume()
306 if (!pslot->stereo) in snd_mixer_oss_set_volume()
1124 rslot->stereo = slot.channels > 1 ? 1 : 0; in snd_mixer_oss_build_input()