Searched refs:source_val (Results 1 – 1 of 1) sorted by relevance
410 static uint32_t scale(uint32_t source_val, in scale() argument420 source_val = clamp(source_val, source_min, source_max); in scale()423 target_val = DIV_ROUND_CLOSEST_ULL((uint64_t)(source_val - source_min) * in scale()