Home
last modified time | relevance | path

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

/hardware/qcom/audio/hal/msm8960/
Dplatform.c1094 struct mixer_ctl *ctl_left = mixer_get_ctl_by_name(adev->mixer, mixer_ctl_name_gain_left); in ramp_speaker_gain() local
1096 if (!ctl_left || !ctl_right) { in ramp_speaker_gain()
1100 } else if ((mixer_ctl_get_num_values(ctl_left) != 1) in ramp_speaker_gain()
1113 const int left_gain = mixer_ctl_get_value(ctl_left, 0); in ramp_speaker_gain()
1121 if (mixer_ctl_set_value(ctl_left, 0, i)) { in ramp_speaker_gain()
1137 if (mixer_ctl_set_value(ctl_left, 0, backup_gain)) { in ramp_speaker_gain()
/hardware/qcom/audio/hal/msm8916/
Dplatform.c2630 struct mixer_ctl *ctl_left = mixer_get_ctl_by_name(adev->mixer, mixer_ctl_name_gain_left); local
2632 if (!ctl_left || !ctl_right) {
2636 } else if ((mixer_ctl_get_num_values(ctl_left) != 1)
2649 const int left_gain = mixer_ctl_get_value(ctl_left, 0);
2657 if (mixer_ctl_set_value(ctl_left, 0, i)) {
2673 if (mixer_ctl_set_value(ctl_left, 0, backup_gain)) {
/hardware/qcom/audio/hal/msm8974/
Dplatform.c3905 struct mixer_ctl *ctl_left = mixer_get_ctl_by_name(adev->mixer, mixer_ctl_name_gain_left); in ramp_speaker_gain() local
3907 if (!ctl_left || !ctl_right) { in ramp_speaker_gain()
3911 } else if ((mixer_ctl_get_num_values(ctl_left) != 1) in ramp_speaker_gain()
3924 const int left_gain = mixer_ctl_get_value(ctl_left, 0); in ramp_speaker_gain()
3932 if (mixer_ctl_set_value(ctl_left, 0, i)) { in ramp_speaker_gain()
3948 if (mixer_ctl_set_value(ctl_left, 0, backup_gain)) { in ramp_speaker_gain()