Home
last modified time | relevance | path

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

/drivers/gpu/drm/amd/display/dc/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()
87 if (remainder >= arg2_value) in bw_frc_to_fixed()
90 remainder -= arg2_value; in bw_frc_to_fixed()
97 uint64_t summand = (remainder << 1) >= arg2_value; in bw_frc_to_fixed()
150 uint64_t arg2_value = abs_i64(arg2.value); in bw_mul() local
153 uint64_t arg2_int = BW_FIXED_GET_INTEGER_PART(arg2_value); in bw_mul()
156 uint64_t arg2_fra = GET_FRACTIONAL_PART(arg2_value); in bw_mul()
/drivers/gpu/drm/amd/display/dc/basics/
Dfixpt31_32.c75 unsigned long long arg2_value = arg2_negative ? -denominator : denominator; in dc_fixpt_from_fraction() local
82 arg1_value, arg2_value, &remainder); in dc_fixpt_from_fraction()
95 if (remainder >= arg2_value) { in dc_fixpt_from_fraction()
97 remainder -= arg2_value; in dc_fixpt_from_fraction()
104 unsigned long long summand = (remainder << 1) >= arg2_value; in dc_fixpt_from_fraction()
127 unsigned long long arg2_value = arg2_negative ? -arg2.value : arg2.value; in dc_fixpt_mul() local
130 unsigned long long arg2_int = GET_INTEGER_PART(arg2_value); in dc_fixpt_mul()
133 unsigned long long arg2_fra = GET_FRACTIONAL_PART(arg2_value); in dc_fixpt_mul()