Home
last modified time | relevance | path

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

/drivers/gpu/drm/amd/display/include/
Dfixed31_32.h470 const long long summand = dc_fixpt_half.value; in dc_fixpt_round() local
472 ASSERT(LLONG_MAX - (long long)arg_value >= summand); in dc_fixpt_round()
474 arg_value += summand; in dc_fixpt_round()
490 const long long summand = dc_fixpt_one.value - in dc_fixpt_ceil() local
493 ASSERT(LLONG_MAX - (long long)arg_value >= summand); in dc_fixpt_ceil()
495 arg_value += summand; in dc_fixpt_ceil()
/drivers/gpu/drm/amd/display/dc/calcs/
Dbw_fixed.c97 uint64_t summand = (remainder << 1) >= arg2_value; in bw_frc_to_fixed() local
99 ASSERT(res_value <= MAX_I64 - summand); in bw_frc_to_fixed()
101 res_value += summand; in bw_frc_to_fixed()
/drivers/gpu/drm/amd/display/dc/basics/
Dfixpt31_32.c104 unsigned long long summand = (remainder << 1) >= arg2_value; in dc_fixpt_from_fraction() local
106 ASSERT(res_value <= LLONG_MAX - summand); in dc_fixpt_from_fraction()
108 res_value += summand; in dc_fixpt_from_fraction()