Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/calcs/
Dbw_fixed.c63 uint64_t arg2_value; in bw_frc_to_fixed() local
72 arg2_value = abs_i64(denominator); in bw_frc_to_fixed()
73 res_value = div64_u64_rem(arg1_value, arg2_value, &remainder); in bw_frc_to_fixed()
86 if (remainder >= arg2_value) { in bw_frc_to_fixed()
88 remainder -= arg2_value; in bw_frc_to_fixed()
95 uint64_t summand = (remainder << 1) >= arg2_value; in bw_frc_to_fixed()
148 uint64_t arg2_value = abs_i64(arg2.value); in bw_mul() local
151 uint64_t arg2_int = BW_FIXED_GET_INTEGER_PART(arg2_value); in bw_mul()
154 uint64_t arg2_fra = GET_FRACTIONAL_PART(arg2_value); in bw_mul()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/basics/
Dfixpt31_32.c79 unsigned long long arg2_value = arg2_negative ? -denominator : denominator; in dc_fixpt_from_fraction() local
86 arg1_value, arg2_value, &remainder); in dc_fixpt_from_fraction()
99 if (remainder >= arg2_value) { in dc_fixpt_from_fraction()
101 remainder -= arg2_value; in dc_fixpt_from_fraction()
108 unsigned long long summand = (remainder << 1) >= arg2_value; in dc_fixpt_from_fraction()
131 unsigned long long arg2_value = arg2_negative ? -arg2.value : arg2.value; in dc_fixpt_mul() local
134 unsigned long long arg2_int = GET_INTEGER_PART(arg2_value); in dc_fixpt_mul()
137 unsigned long long arg2_fra = GET_FRACTIONAL_PART(arg2_value); in dc_fixpt_mul()