Lines Matching refs:gain
1795 unsigned int gain; in all_in_all_mixer() local
1798 gain = UNITY_GAIN; in all_in_all_mixer()
1800 gain = 0; in all_in_all_mixer()
1802 gain = sgain; in all_in_all_mixer()
1806 hdspm_write_in_gain(hdspm, i, j, gain); in all_in_all_mixer()
1807 hdspm_write_pb_gain(hdspm, i, j, gain); in all_in_all_mixer()
3686 int gain; in snd_hdspm_put_mixer() local
3699 gain = ucontrol->value.integer.value[2]; in snd_hdspm_put_mixer()
3704 change = gain != hdspm_read_pb_gain(hdspm, destination, in snd_hdspm_put_mixer()
3708 change = gain != hdspm_read_in_gain(hdspm, destination, in snd_hdspm_put_mixer()
3715 gain); in snd_hdspm_put_mixer()
3718 gain); in snd_hdspm_put_mixer()
3775 int gain; in snd_hdspm_put_playback_mixer() local
3785 gain = ucontrol->value.integer.value[0]*UNITY_GAIN/64; in snd_hdspm_put_playback_mixer()
3789 gain != hdspm_read_pb_gain(hdspm, channel, in snd_hdspm_put_playback_mixer()
3793 gain); in snd_hdspm_put_playback_mixer()