Home
last modified time | relevance | path

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

/hardware/qcom/audio/hal/msm8960/
Dplatform.c1075 struct mixer_ctl *ctl_left = mixer_get_ctl_by_name(adev->mixer, mixer_ctl_name_gain_left); in ramp_speaker_gain() local
1077 if (!ctl_left || !ctl_right) { in ramp_speaker_gain()
1081 } else if ((mixer_ctl_get_num_values(ctl_left) != 1) in ramp_speaker_gain()
1094 const int left_gain = mixer_ctl_get_value(ctl_left, 0); in ramp_speaker_gain()
1102 if (mixer_ctl_set_value(ctl_left, 0, i)) { in ramp_speaker_gain()
1118 if (mixer_ctl_set_value(ctl_left, 0, backup_gain)) { in ramp_speaker_gain()
/hardware/qcom/audio/hal/msm8916/
Dplatform.c2452 struct mixer_ctl *ctl_left = mixer_get_ctl_by_name(adev->mixer, mixer_ctl_name_gain_left); in ramp_speaker_gain() local
2454 if (!ctl_left || !ctl_right) { in ramp_speaker_gain()
2458 } else if ((mixer_ctl_get_num_values(ctl_left) != 1) in ramp_speaker_gain()
2471 const int left_gain = mixer_ctl_get_value(ctl_left, 0); in ramp_speaker_gain()
2479 if (mixer_ctl_set_value(ctl_left, 0, i)) { in ramp_speaker_gain()
2495 if (mixer_ctl_set_value(ctl_left, 0, backup_gain)) { in ramp_speaker_gain()