/sound/oss/ |
D | pas2_mixer.c | 39 static int *levels; variable 132 levels[whichDev] = mixer_output(right, left, 63, 0x01, 0); in pas_mixer_set() 140 levels[whichDev] = mixer_output(right, left, 12, 0x03, 0); in pas_mixer_set() 143 levels[whichDev] = mixer_output(right, left, 12, 0x04, 0); in pas_mixer_set() 147 levels[whichDev] = mixer_output(right, left, 31, 0x10 | 0x00, mixer); in pas_mixer_set() 150 levels[whichDev] = mixer_output(right, left, 31, 0x10 | 0x05, mixer); in pas_mixer_set() 153 levels[whichDev] = mixer_output(right, left, 31, 0x10 | 0x07, mixer); in pas_mixer_set() 156 levels[whichDev] = mixer_output(right, left, 31, 0x10 | 0x06, mixer); in pas_mixer_set() 159 levels[whichDev] = mixer_output(right, left, 31, 0x10 | 0x02, mixer); in pas_mixer_set() 162 levels[whichDev] = mixer_output(right, left, 31, 0x10 | 0x03, mixer); in pas_mixer_set() [all …]
|
D | waveartist.c | 67 static unsigned short levels[SOUND_MIXER_NRDEVICES] = { variable 110 unsigned short *levels; /* cache of volume settings */ member 938 lev_left = devc->levels[whichDev] & 0xff; in waveartist_mixer_update() 939 lev_right = devc->levels[whichDev] >> 8; in waveartist_mixer_update() 1060 devc->levels[dev] = lev_l | lev_r << 8; in waveartist_decode_mixer() 1076 return devc->levels[dev]; in waveartist_get_mixer() 1404 devc->levels = levels; in attach_waveartist() 1635 devc->levels[dev] = lev_l | lev_r << 8; in netwinder_decode_mixer() 1639 devc->levels[SOUND_MIXER_MIC] &= 0xff; in netwinder_decode_mixer() 1640 devc->levels[SOUND_MIXER_MIC] |= lev_l << 8; in netwinder_decode_mixer() [all …]
|
D | sb_mixer.c | 253 return devc->levels[dev]; in sb_mixer_get() 327 devc->levels[dev] = left | (right << 8); in smw_mixer_set() 329 val = ((devc->levels[SOUND_MIXER_TREBLE] & 0xff) * 16 / (unsigned) 100) << 4; in smw_mixer_set() 330 val |= ((devc->levels[SOUND_MIXER_BASS] & 0xff) * 16 / (unsigned) 100) & 0x0f; in smw_mixer_set() 334 val = (((devc->levels[SOUND_MIXER_TREBLE] >> 8) & 0xff) * 16 / (unsigned) 100) << 4; in smw_mixer_set() 335 val |= (((devc->levels[SOUND_MIXER_BASS] >> 8) & 0xff) * 16 / (unsigned) 100) & 0x0f; in smw_mixer_set() 351 devc->levels[dev] = left | (right << 8); in smw_mixer_set() 385 if (retval >= 0) devc->levels[dev] = retval; in sb_mixer_set() 660 devc->levels = load_mixer_volumes(name, smg_default_levels, 1); in sb_mixer_reset() 662 devc->levels = load_mixer_volumes(name, sb_default_levels, 1); in sb_mixer_reset() [all …]
|
D | soundcard.c | 85 int *load_mixer_volumes(char *name, int *levels, int present) in load_mixer_volumes() argument 93 return mixer_vols[i].levels; in load_mixer_volumes() 98 return levels; in load_mixer_volumes() 110 mixer_vols[n].levels[i] = levels[i]; in load_mixer_volumes() 111 return mixer_vols[n].levels; in load_mixer_volumes() 122 load_mixer_volumes(buf.name, buf.levels, 0); in set_mixer_levels()
|
D | sb.h | 112 int *levels; member
|
D | ad1848.c | 96 int *levels; member 497 return devc->levels[dev]; in ad1848_mixer_get() 558 devc->levels[dev] = retvol; in ad1848_mixer_set() 636 devc->levels = load_mixer_volumes(name, default_mixer_levels, 1); in ad1848_mixer_reset() 641 ad1848_mixer_set(devc, i, devc->levels[i]); in ad1848_mixer_reset() 646 devc->mixer_output_port = devc->levels[31] | AUDIO_HEADPHONE | AUDIO_LINE_OUT; in ad1848_mixer_reset() 1578 devc->levels = NULL; in ad1848_detect()
|
D | dev_table.h | 243 int *load_mixer_volumes(char *name, int *levels, int present);
|
D | sb_ess.c | 1684 value = devc->levels[dev]; 1712 value = devc->levels[i];
|
/sound/pci/lx6464es/ |
D | lx6464es.c | 918 u32 levels[64]; in lx_proc_levels_read() local 924 err = lx_level_peaks(chip, 1, 64, levels); in lx_proc_levels_read() 930 snd_iprintf(buffer, "%08x ", levels[i*8+j]); in lx_proc_levels_read() 936 err = lx_level_peaks(chip, 0, 64, levels); in lx_proc_levels_read() 942 snd_iprintf(buffer, "%08x ", levels[i*8+j]); in lx_proc_levels_read()
|
/sound/pci/rme9652/ |
D | hdspm.c | 6181 struct hdspm_peak_rms *levels; in snd_hdspm_hwdep_ioctl() local 6190 levels = &hdspm->peak_rms; in snd_hdspm_hwdep_ioctl() 6192 levels->input_peaks[i] = in snd_hdspm_hwdep_ioctl() 6195 levels->playback_peaks[i] = in snd_hdspm_hwdep_ioctl() 6198 levels->output_peaks[i] = in snd_hdspm_hwdep_ioctl() 6202 levels->input_rms[i] = in snd_hdspm_hwdep_ioctl() 6207 levels->playback_rms[i] = in snd_hdspm_hwdep_ioctl() 6212 levels->output_rms[i] = in snd_hdspm_hwdep_ioctl() 6220 levels->speed = qs; in snd_hdspm_hwdep_ioctl() 6222 levels->speed = ds; in snd_hdspm_hwdep_ioctl() [all …]
|