Home
last modified time | relevance | path

Searched refs:percent_to_index (Results 1 – 5 of 5) sorted by relevance

/hardware/qcom/audio/legacy/libalsa-intf/
Dalsa_mixer.c56 #define percent_to_index(val, min, max) \ macro
460 return (long)percent_to_index(percent, ei->value.integer.min, ei->value.integer.max); in scale_int()
472 return (long long)percent_to_index(percent, ei->value.integer.min, ei->value.integer.max); in scale_int64()
556 percent = (long)percent_to_index(percent, min, max); in mixer_ctl_set()
633 val = (long)percent_to_index(strtod(s, NULL), pmin, pmax); in set_volume_simple()
/hardware/qcom/audio/hal/msm8916/
Dplatform.h167 #define percent_to_index(val, min, max) \ macro
Dplatform.c1422 vol_index = (int)percent_to_index(volume, MIN_VOL_INDEX, my_data->max_vol_index); in platform_set_voice_volume()
/hardware/qcom/audio/hal/msm8974/
Dplatform.h215 #define percent_to_index(val, min, max) \ macro
Dplatform.c1950 vol_index = (int)percent_to_index(volume, MIN_VOL_INDEX, my_data->max_vol_index); in platform_set_voice_volume()