Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/calcs/
Dbw_fixed.c40 static uint64_t abs_i64(int64_t arg) in abs_i64() function
71 arg1_value = abs_i64(numerator); in bw_frc_to_fixed()
72 arg2_value = abs_i64(denominator); in bw_frc_to_fixed()
116 multiplicand = div64_s64(arg.value, abs_i64(significance.value)); in bw_floor2()
117 result.value = abs_i64(significance.value) * multiplicand; in bw_floor2()
118 ASSERT(abs_i64(result.value) <= abs_i64(arg.value)); in bw_floor2()
129 multiplicand = div64_s64(arg.value, abs_i64(significance.value)); in bw_ceil2()
130 result.value = abs_i64(significance.value) * multiplicand; in bw_ceil2()
131 if (abs_i64(result.value) < abs_i64(arg.value)) { in bw_ceil2()
133 result.value -= abs_i64(significance.value); in bw_ceil2()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/basics/
Dfixpt31_32.c33 static inline unsigned long long abs_i64( in abs_i64() function
178 unsigned long long arg_value = abs_i64(arg.value); in dc_fixpt_sqr()
408 } while (abs_i64(error.value) > 100ULL); in dc_fixpt_log()