Home
last modified time | relevance | path

Searched refs:dc_fixpt_sub (Results 1 – 11 of 11) sorted by relevance

/linux/drivers/gpu/drm/amd/display/dc/dcn10/
A Ddcn10_cm_common.c467 dc_fixpt_sub(dc_fixpt_one, corner_points[1].red.y), in cm_helper_translate_curve_to_hw_format()
468 dc_fixpt_sub(end_value, corner_points[1].red.x)); in cm_helper_translate_curve_to_hw_format()
470 dc_fixpt_sub(dc_fixpt_one, corner_points[1].green.y), in cm_helper_translate_curve_to_hw_format()
471 dc_fixpt_sub(end_value, corner_points[1].green.x)); in cm_helper_translate_curve_to_hw_format()
473 dc_fixpt_sub(dc_fixpt_one, corner_points[1].blue.y), in cm_helper_translate_curve_to_hw_format()
474 dc_fixpt_sub(end_value, corner_points[1].blue.x)); in cm_helper_translate_curve_to_hw_format()
644 dc_fixpt_sub(dc_fixpt_one, corner_points[1].red.y), in cm_helper_translate_curve_to_degamma_hw_format()
645 dc_fixpt_sub(end_value, corner_points[1].red.x)); in cm_helper_translate_curve_to_degamma_hw_format()
648 dc_fixpt_sub(end_value, corner_points[1].green.x)); in cm_helper_translate_curve_to_degamma_hw_format()
650 dc_fixpt_sub(dc_fixpt_one, corner_points[1].blue.y), in cm_helper_translate_curve_to_degamma_hw_format()
[all …]
/linux/drivers/gpu/drm/amd/display/modules/color/
A Dcolor_gamma.c294 x = dc_fixpt_sub(in_x, c); in compute_hlg_eotf()
328 x = dc_fixpt_sub(x, b); in compute_hlg_oetf()
500 return dc_fixpt_sub( in translate_from_linear_space_long()
510 return dc_fixpt_sub( in translate_from_linear_space_long()
559 dc_fixpt_sub(a2, arg), in translate_to_linear_space()
757 dc_fixpt_sub( in build_custom_gamma_mapping_coefficients_worker()
760 dc_fixpt_sub( in build_custom_gamma_mapping_coefficients_worker()
814 dc_fixpt_sub( in calculate_mapped_value()
822 dc_fixpt_sub( in calculate_mapped_value()
830 dc_fixpt_sub( in calculate_mapped_value()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/basics/
A Dfixpt31_32.c237 arg_norm = dc_fixpt_sub( in dc_fixpt_sinc()
249 res = dc_fixpt_sub( in dc_fixpt_sinc()
286 res = dc_fixpt_sub( in dc_fixpt_cos()
352 struct fixed31_32 r = dc_fixpt_sub( in dc_fixpt_exp()
391 dc_fixpt_sub( in dc_fixpt_log()
398 error = dc_fixpt_sub( in dc_fixpt_log()
A Dconversion.c56 dc_fixpt_sub( in fixed_point_to_int_frac()
A Dcustom_float.c87 mantiss = dc_fixpt_sub(value, dc_fixpt_one); in build_custom_float()
/linux/drivers/gpu/drm/amd/display/dc/dcn30/
A Ddcn30_cm_common.c386 dc_fixpt_sub(dc_fixpt_one, corner_points[1].red.y), in cm3_helper_translate_curve_to_degamma_hw_format()
387 dc_fixpt_sub(end_value, corner_points[1].red.x)); in cm3_helper_translate_curve_to_degamma_hw_format()
389 dc_fixpt_sub(dc_fixpt_one, corner_points[1].green.y), in cm3_helper_translate_curve_to_degamma_hw_format()
390 dc_fixpt_sub(end_value, corner_points[1].green.x)); in cm3_helper_translate_curve_to_degamma_hw_format()
392 dc_fixpt_sub(dc_fixpt_one, corner_points[1].blue.y), in cm3_helper_translate_curve_to_degamma_hw_format()
393 dc_fixpt_sub(end_value, corner_points[1].blue.x)); in cm3_helper_translate_curve_to_degamma_hw_format()
424 rgb->delta_red = dc_fixpt_sub(rgb_plus_1->red, rgb->red); in cm3_helper_translate_curve_to_degamma_hw_format()
425 rgb->delta_green = dc_fixpt_sub(rgb_plus_1->green, rgb->green); in cm3_helper_translate_curve_to_degamma_hw_format()
426 rgb->delta_blue = dc_fixpt_sub(rgb_plus_1->blue, rgb->blue); in cm3_helper_translate_curve_to_degamma_hw_format()
/linux/drivers/gpu/drm/amd/display/include/
A Dfixed31_32.h270 static inline struct fixed31_32 dc_fixpt_sub(struct fixed31_32 arg1, struct fixed31_32 arg2) in dc_fixpt_sub() function
288 return dc_fixpt_sub(arg1, dc_fixpt_from_int(arg2)); in dc_fixpt_sub_int()
/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dce100/
A Ddce_clk_mgr.c122 ss_percentage = dc_fixpt_sub(dc_fixpt_one, ss_percentage); in dce_adjust_dp_ref_freq_for_ss()
/linux/drivers/gpu/drm/amd/display/dc/hwss/dce110/
A Ddce110_hwseq.c558 dc_fixpt_sub(dc_fixpt_one, arr_points[1].y), in dce110_translate_regamma_to_hw_format()
559 dc_fixpt_sub(end_value, arr_points[1].x)); in dce110_translate_regamma_to_hw_format()
590 rgb->delta_red = dc_fixpt_sub(rgb_plus_1->red, rgb->red); in dce110_translate_regamma_to_hw_format()
591 rgb->delta_green = dc_fixpt_sub(rgb_plus_1->green, rgb->green); in dce110_translate_regamma_to_hw_format()
592 rgb->delta_blue = dc_fixpt_sub(rgb_plus_1->blue, rgb->blue); in dce110_translate_regamma_to_hw_format()
/linux/drivers/gpu/drm/amd/display/dc/dce/
A Ddce_clock_source.c686 ss_nslip_amount = dc_fixpt_sub(ss_amount, in calculate_ss()
691 ss_ds_frac_amount = dc_fixpt_sub(ss_nslip_amount, in calculate_ss()
A Ddce_clk_mgr.c141 ss_percentage = dc_fixpt_sub(dc_fixpt_one, ss_percentage); in clk_mgr_adjust_dp_ref_freq_for_ss()

Completed in 36 milliseconds