Lines Matching refs:gain
1796 unsigned int gain; in all_in_all_mixer() local
1799 gain = UNITY_GAIN; in all_in_all_mixer()
1801 gain = 0; in all_in_all_mixer()
1803 gain = sgain; in all_in_all_mixer()
1807 hdspm_write_in_gain(hdspm, i, j, gain); in all_in_all_mixer()
1808 hdspm_write_pb_gain(hdspm, i, j, gain); in all_in_all_mixer()
3693 int gain; in snd_hdspm_put_mixer() local
3706 gain = ucontrol->value.integer.value[2]; in snd_hdspm_put_mixer()
3711 change = gain != hdspm_read_pb_gain(hdspm, destination, in snd_hdspm_put_mixer()
3715 change = gain != hdspm_read_in_gain(hdspm, destination, in snd_hdspm_put_mixer()
3722 gain); in snd_hdspm_put_mixer()
3725 gain); in snd_hdspm_put_mixer()
3782 int gain; in snd_hdspm_put_playback_mixer() local
3792 gain = ucontrol->value.integer.value[0]*UNITY_GAIN/64; in snd_hdspm_put_playback_mixer()
3796 gain != hdspm_read_pb_gain(hdspm, channel, in snd_hdspm_put_playback_mixer()
3800 gain); in snd_hdspm_put_playback_mixer()