Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/amd/display/dc/basics/
Dbw_fixed.c41 static uint64_t abs_i64(int64_t arg) in abs_i64() function
72 arg1_value = abs_i64(numerator); in bw_frc_to_fixed()
73 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()
128 multiplicand = div64_s64(arg.value, abs_i64(significance.value)); in bw_ceil2()
129 result.value = abs_i64(significance.value) * multiplicand; in bw_ceil2()
130 if (abs_i64(result.value) < abs_i64(arg.value)) { in bw_ceil2()
132 result.value -= abs_i64(significance.value); in bw_ceil2()
[all …]
Dfixpt31_32.c33 static inline unsigned long long abs_i64( in abs_i64() function
176 unsigned long long arg_value = abs_i64(arg.value); in dc_fixpt_sqr()
404 } while (abs_i64(error.value) > 100ULL); in dc_fixpt_log()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/spl/
Dspl_fixpt31_32.c11 static inline unsigned long long abs_i64( in abs_i64() function
156 unsigned long long arg_value = abs_i64(arg.value); in spl_fixpt_sqr()
386 } while (abs_i64(error.value) > 100ULL); in spl_fixpt_log()