Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_cm_common.c216 dc_fixpt_clamp_u0d14(corner_points[1].red.y); in cm_helper_convert_to_custom_float()
218 dc_fixpt_clamp_u0d14(corner_points[1].green.y); in cm_helper_convert_to_custom_float()
220 dc_fixpt_clamp_u0d14(corner_points[1].blue.y); in cm_helper_convert_to_custom_float()
490 uint32_t red_clamp = dc_fixpt_clamp_u0d14(rgb->delta_red); in cm_helper_translate_curve_to_hw_format()
491 uint32_t green_clamp = dc_fixpt_clamp_u0d14(rgb->delta_green); in cm_helper_translate_curve_to_hw_format()
492 uint32_t blue_clamp = dc_fixpt_clamp_u0d14(rgb->delta_blue); in cm_helper_translate_curve_to_hw_format()
500 rgb->red_reg = dc_fixpt_clamp_u0d14(rgb->red); in cm_helper_translate_curve_to_hw_format()
501 rgb->green_reg = dc_fixpt_clamp_u0d14(rgb->green); in cm_helper_translate_curve_to_hw_format()
502 rgb->blue_reg = dc_fixpt_clamp_u0d14(rgb->blue); in cm_helper_translate_curve_to_hw_format()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_cm_common.c289 rgb->red_reg = dc_fixpt_clamp_u0d14(rgb->red); in cm3_helper_translate_curve_to_hw_format()
290 rgb->green_reg = dc_fixpt_clamp_u0d14(rgb->green); in cm3_helper_translate_curve_to_hw_format()
291 rgb->blue_reg = dc_fixpt_clamp_u0d14(rgb->blue); in cm3_helper_translate_curve_to_hw_format()
524 dc_fixpt_clamp_u0d14(corner_points[1].red.y); in cm3_helper_convert_to_custom_float()
526 dc_fixpt_clamp_u0d14(corner_points[1].green.y); in cm3_helper_convert_to_custom_float()
528 dc_fixpt_clamp_u0d14(corner_points[1].blue.y); in cm3_helper_convert_to_custom_float()
/linux-6.6.21/drivers/gpu/drm/amd/display/include/
Dfixed31_32.h511 unsigned int dc_fixpt_clamp_u0d14(struct fixed31_32 arg);
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/basics/
Dfixpt31_32.c476 unsigned int dc_fixpt_clamp_u0d14(struct fixed31_32 arg) in dc_fixpt_clamp_u0d14() function