Searched refs:clamp_val (Results 1 – 3 of 3) sorted by relevance
/include/drm/ |
D | drm_color_mgmt.h | 53 return clamp_val(val, 0, max); in drm_color_lut_extract()
|
/include/linux/ |
D | minmax.h | 137 #define clamp_val(val, lo, hi) clamp_t(typeof(val), val, lo, hi) macro
|
D | cpufreq.h | 825 target_freq = clamp_val(target_freq, policy->min, policy->max); in cpufreq_table_find_index_l() 888 target_freq = clamp_val(target_freq, policy->min, policy->max); in cpufreq_table_find_index_h() 968 target_freq = clamp_val(target_freq, policy->min, policy->max); in cpufreq_table_find_index_c()
|