Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/amd/display/dc/basics/
Dbw_fixed.c64 uint64_t arg2_value; in bw_frc_to_fixed() local
73 arg2_value = abs_i64(denominator); in bw_frc_to_fixed()
74 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()
89 remainder -= arg2_value; in bw_frc_to_fixed()
96 uint64_t summand = (remainder << 1) >= arg2_value; in bw_frc_to_fixed()
147 uint64_t arg2_value = abs_i64(arg2.value); in bw_mul() local
150 uint64_t arg2_int = BW_FIXED_GET_INTEGER_PART(arg2_value); in bw_mul()
153 uint64_t arg2_fra = GET_FRACTIONAL_PART(arg2_value); in bw_mul()
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()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/spl/
Dspl_fixpt31_32.c57 unsigned long long arg2_value = arg2_negative ? -denominator : denominator; in spl_fixpt_from_fraction() local
64 arg1_value, arg2_value, &remainder); in spl_fixpt_from_fraction()
77 if (remainder >= arg2_value) { in spl_fixpt_from_fraction()
79 remainder -= arg2_value; in spl_fixpt_from_fraction()
86 unsigned long long summand = (remainder << 1) >= arg2_value; in spl_fixpt_from_fraction()
109 unsigned long long arg2_value = arg2_negative ? -arg2.value : arg2.value; in spl_fixpt_mul() local
112 unsigned long long arg2_int = GET_INTEGER_PART(arg2_value); in spl_fixpt_mul()
115 unsigned long long arg2_fra = GET_FRACTIONAL_PART(arg2_value); in spl_fixpt_mul()
/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_vpe.c63 u16 arg2_value = denominator; in vpe_u1_8_from_fraction() local
69 arg1_value, arg2_value, &remainder); in vpe_u1_8_from_fraction()
83 if (remainder >= arg2_value) { in vpe_u1_8_from_fraction()
85 remainder -= arg2_value; in vpe_u1_8_from_fraction()
92 uint16_t summand = (remainder << 1) >= arg2_value; in vpe_u1_8_from_fraction()