Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/gpu/drm/amd/display/include/
A Dfixed31_32.h464 const long long summand = dc_fixpt_half.value; in dc_fixpt_round() local
466 ASSERT(LLONG_MAX - (long long)arg_value >= summand); in dc_fixpt_round()
468 arg_value += summand; in dc_fixpt_round()
484 const long long summand = dc_fixpt_one.value - in dc_fixpt_ceil() local
487 ASSERT(LLONG_MAX - (long long)arg_value >= summand); in dc_fixpt_ceil()
489 arg_value += summand; in dc_fixpt_ceil()
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dml/calcs/
A Dbw_fixed.c95 uint64_t summand = (remainder << 1) >= arg2_value; in bw_frc_to_fixed() local
97 ASSERT(res_value <= MAX_I64 - summand); in bw_frc_to_fixed()
99 res_value += summand; in bw_frc_to_fixed()
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/basics/
A Dfixpt31_32.c108 unsigned long long summand = (remainder << 1) >= arg2_value; in dc_fixpt_from_fraction() local
110 ASSERT(res_value <= LLONG_MAX - summand); in dc_fixpt_from_fraction()
112 res_value += summand; in dc_fixpt_from_fraction()
/linux-6.3-rc2/include/drm/
A Ddrm_fixed.h178 u64 summand = (rem << 1) >= b_abs; in drm_fixp_from_fraction() local
180 res_abs += summand; in drm_fixp_from_fraction()

Completed in 8 milliseconds