Searched refs:percent_to_index (Results 1 – 5 of 5) sorted by relevance
/hardware/qcom/audio/legacy/libalsa-intf/ |
D | alsa_mixer.c | 56 #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/ |
D | platform.h | 177 #define percent_to_index(val, min, max) \ macro
|
D | platform.c | 1758 vol_index = (int)percent_to_index(volume, MIN_VOL_INDEX, my_data->max_vol_index);
|
/hardware/qcom/audio/hal/msm8974/ |
D | platform.h | 240 #define percent_to_index(val, min, max) \ macro
|
D | platform.c | 2670 vol_index = (int)percent_to_index(volume, MIN_VOL_INDEX, my_data->max_vol_index); in platform_set_voice_volume()
|