Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/amd/display/dc/basics/
Dbw_fixed.c62 bool arg2_negative = denominator < 0; in bw_frc_to_fixed() local
105 if (arg1_negative ^ arg2_negative) in bw_frc_to_fixed()
144 bool arg2_negative = arg2.value < 0; in bw_mul() local
184 if (arg1_negative ^ arg2_negative) in bw_mul()
Dfixpt31_32.c76 bool arg2_negative = denominator < 0; in dc_fixpt_from_fraction() local
79 unsigned long long arg2_value = arg2_negative ? -denominator : denominator; in dc_fixpt_from_fraction()
117 if (arg1_negative ^ arg2_negative) in dc_fixpt_from_fraction()
128 bool arg2_negative = arg2.value < 0; in dc_fixpt_mul() local
131 unsigned long long arg2_value = arg2_negative ? -arg2.value : arg2.value; in dc_fixpt_mul()
166 if (arg1_negative ^ arg2_negative) in dc_fixpt_mul()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/spl/
Dspl_fixpt31_32.c54 bool arg2_negative = denominator < 0; in spl_fixpt_from_fraction() local
57 unsigned long long arg2_value = arg2_negative ? -denominator : denominator; in spl_fixpt_from_fraction()
95 if (arg1_negative ^ arg2_negative) in spl_fixpt_from_fraction()
106 bool arg2_negative = arg2.value < 0; in spl_fixpt_mul() local
109 unsigned long long arg2_value = arg2_negative ? -arg2.value : arg2.value; in spl_fixpt_mul()
146 if (arg1_negative ^ arg2_negative) in spl_fixpt_mul()