Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_cm_common.h106 bool fixpoint);
110 struct pwl_params *lut_params, bool fixpoint);
Ddcn10_cm_common.c132 bool fixpoint) in cm_helper_convert_to_custom_float() argument
214 if (fixpoint == true) { in cm_helper_convert_to_custom_float()
255 if (hw_points_num == 0 || rgb_resulted == NULL || fixpoint == true) in cm_helper_convert_to_custom_float()
313 struct pwl_params *lut_params, bool fixpoint) in cm_helper_translate_curve_to_hw_format() argument
475 if (fixpoint == true) { in cm_helper_translate_curve_to_hw_format()
490 hw_points, fixpoint); in cm_helper_translate_curve_to_hw_format()
/Linux-v5.4/drivers/media/platform/
Dsh_veu.c652 u32 fixpoint; in sh_veu_calc_scale() local
665 u32 fixpoint = (4096 * size_in) / size_out; in sh_veu_calc_scale() local
666 *mant = fixpoint / 4096; in sh_veu_calc_scale()
667 *frac = (fixpoint - (*mant * 4096)) & ~0x07; in sh_veu_calc_scale()
684 fixpoint = (4096 * (size_in - 1)) / (size_out + 1); in sh_veu_calc_scale()
685 *mant = fixpoint / 4096; in sh_veu_calc_scale()
686 *frac = fixpoint - (*mant * 4096); in sh_veu_calc_scale()