Searched refs:bit_precision (Results 1 – 4 of 4) sorted by relevance
41 static inline u32 drm_color_lut_extract(u32 user_input, int bit_precision) in drm_color_lut_extract() argument44 u32 max = 0xffff >> (16 - bit_precision); in drm_color_lut_extract()47 if (bit_precision < 16) { in drm_color_lut_extract()48 val += 1UL << (16 - bit_precision - 1); in drm_color_lut_extract()49 val >>= 16 - bit_precision; in drm_color_lut_extract()
24 u32 gamma_mode, u32 bit_precision);
415 static u32 intel_color_lut_pack(u32 val, int bit_precision) in intel_color_lut_pack() argument417 u32 max = 0xffff >> (16 - bit_precision); in intel_color_lut_pack()421 if (bit_precision < 16) in intel_color_lut_pack()422 val <<= 16 - bit_precision; in intel_color_lut_pack()1795 u32 gamma_mode, u32 bit_precision) in intel_color_lut_equal() argument1817 err = 0xffff >> bit_precision; in intel_color_lut_equal()
5709 #define PIPE_CONF_CHECK_COLOR_LUT(name1, name2, bit_precision) do { \ in intel_pipe_config_compare() argument5719 bit_precision)) { \ in intel_pipe_config_compare()