Home
last modified time | relevance | path

Searched refs:ctl_left (Results 1 – 3 of 3) sorted by relevance

/hardware/qcom/audio/hal/msm8960/
Dplatform.c1185 struct mixer_ctl *ctl_left = mixer_get_ctl_by_name(adev->mixer, mixer_ctl_name_gain_left); in ramp_speaker_gain() local
1187 if (!ctl_left || !ctl_right) { in ramp_speaker_gain()
1191 } else if ((mixer_ctl_get_num_values(ctl_left) != 1) in ramp_speaker_gain()
1204 const int left_gain = mixer_ctl_get_value(ctl_left, 0); in ramp_speaker_gain()
1212 if (mixer_ctl_set_value(ctl_left, 0, i)) { in ramp_speaker_gain()
1228 if (mixer_ctl_set_value(ctl_left, 0, backup_gain)) { in ramp_speaker_gain()
/hardware/qcom/audio/hal/msm8916/
Dplatform.c2721 struct mixer_ctl *ctl_left = mixer_get_ctl_by_name(adev->mixer, mixer_ctl_name_gain_left); local
2723 if (!ctl_left || !ctl_right) {
2727 } else if ((mixer_ctl_get_num_values(ctl_left) != 1)
2740 const int left_gain = mixer_ctl_get_value(ctl_left, 0);
2748 if (mixer_ctl_set_value(ctl_left, 0, i)) {
2764 if (mixer_ctl_set_value(ctl_left, 0, backup_gain)) {
/hardware/qcom/audio/hal/msm8974/
Dplatform.c4002 struct mixer_ctl *ctl_left = mixer_get_ctl_by_name(adev->mixer, mixer_ctl_name_gain_left); in ramp_speaker_gain() local
4004 if (!ctl_left || !ctl_right) { in ramp_speaker_gain()
4008 } else if ((mixer_ctl_get_num_values(ctl_left) != 1) in ramp_speaker_gain()
4021 const int left_gain = mixer_ctl_get_value(ctl_left, 0); in ramp_speaker_gain()
4029 if (mixer_ctl_set_value(ctl_left, 0, i)) { in ramp_speaker_gain()
4045 if (mixer_ctl_set_value(ctl_left, 0, backup_gain)) { in ramp_speaker_gain()