Lines Matching refs:levels

68 static unsigned short levels[SOUND_MIXER_NRDEVICES] = {  variable
111 unsigned short *levels; /* cache of volume settings */ member
920 lev_left = devc->levels[whichDev] & 0xff; in waveartist_mixer_update()
921 lev_right = devc->levels[whichDev] >> 8; in waveartist_mixer_update()
1040 devc->levels[dev] = lev_l | lev_r << 8; in waveartist_decode_mixer()
1056 return devc->levels[dev]; in waveartist_get_mixer()
1384 devc->levels = levels; in attach_waveartist()
1617 devc->levels[dev] = lev_l | lev_r << 8; in netwinder_decode_mixer()
1621 devc->levels[SOUND_MIXER_MIC] &= 0xff; in netwinder_decode_mixer()
1622 devc->levels[SOUND_MIXER_MIC] |= lev_l << 8; in netwinder_decode_mixer()
1626 devc->levels[SOUND_MIXER_MIC] &= 0xff00; in netwinder_decode_mixer()
1627 devc->levels[SOUND_MIXER_MIC] |= lev_l; in netwinder_decode_mixer()
1632 devc->levels[SOUND_MIXER_LINE1] = lev_l; in netwinder_decode_mixer()
1649 int levels; in netwinder_get_mixer() local
1657 levels = devc->levels[dev]; in netwinder_get_mixer()
1661 levels = devc->levels[SOUND_MIXER_MIC] >> 8; in netwinder_get_mixer()
1662 levels |= levels << 8; in netwinder_get_mixer()
1666 levels = devc->levels[SOUND_MIXER_MIC] & 0xff; in netwinder_get_mixer()
1667 levels |= levels << 8; in netwinder_get_mixer()
1671 levels = devc->levels[SOUND_MIXER_LINE1] & 0xff; in netwinder_get_mixer()
1672 levels |= levels << 8; in netwinder_get_mixer()
1676 levels = 0; in netwinder_get_mixer()
1679 return levels; in netwinder_get_mixer()
1769 temp = levels[SOUND_MIXER_VOLUME] & 0xFF; in vnc_slider()
1935 devc->levels[SOUND_MIXER_SPEAKER] = val | (val << 8); in vnc_private_ioctl()