Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/amd/display/dc/spl/
Dspl_fixpt31_32.c476 struct spl_fixed31_32 fixpt_value = spl_fixpt_zero; in spl_fixpt_from_ux_dy() local
480 fixpt_value.value = (long long)value << (FIXED31_32_BITS_PER_FRACTIONAL_PART - fractional_bits); in spl_fixpt_from_ux_dy()
484 fixpt_value.value |= fixpt_int_value.value; in spl_fixpt_from_ux_dy()
485 return fixpt_value; in spl_fixpt_from_ux_dy()
493 struct spl_fixed31_32 fixpt_value = spl_fixpt_from_int(int_value); in spl_fixpt_from_int_dy() local
495fixpt_value.value |= (long long)frac_value << (FIXED31_32_BITS_PER_FRACTIONAL_PART - fractional_bi… in spl_fixpt_from_int_dy()
496 return fixpt_value; in spl_fixpt_from_int_dy()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/basics/
Dfixpt31_32.c494 struct fixed31_32 fixpt_value = dc_fixpt_zero; in dc_fixpt_from_ux_dy() local
498 fixpt_value.value = (long long)value << (FIXED31_32_BITS_PER_FRACTIONAL_PART - fractional_bits); in dc_fixpt_from_ux_dy()
502 fixpt_value.value |= fixpt_int_value.value; in dc_fixpt_from_ux_dy()
503 return fixpt_value; in dc_fixpt_from_ux_dy()
511 struct fixed31_32 fixpt_value = dc_fixpt_from_int(int_value); in dc_fixpt_from_int_dy() local
513fixpt_value.value |= (long long)frac_value << (FIXED31_32_BITS_PER_FRACTIONAL_PART - fractional_bi… in dc_fixpt_from_int_dy()
514 return fixpt_value; in dc_fixpt_from_int_dy()