Home
last modified time | relevance | path

Searched refs:integer_bits (Results 1 – 9 of 9) sorted by relevance

/linux-6.12.1/drivers/staging/media/atomisp/pci/isp/kernels/wb/wb_1.0/
Dia_css_wb.host.c41 uISP_REG_BIT - from->integer_bits; in ia_css_wb_encode()
43 uDIGIT_FITTING(from->gr, 16 - from->integer_bits, in ia_css_wb_encode()
46 uDIGIT_FITTING(from->r, 16 - from->integer_bits, in ia_css_wb_encode()
49 uDIGIT_FITTING(from->b, 16 - from->integer_bits, in ia_css_wb_encode()
52 uDIGIT_FITTING(from->gb, 16 - from->integer_bits, in ia_css_wb_encode()
83 config->integer_bits, in ia_css_wb_debug_dtrace()
Dia_css_wb_types.h30 u32 integer_bits; /** Common exponent of gains. member
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/basics/
Dconversion.c37 uint8_t integer_bits, in fixed_point_to_int_frac() argument
49 if (d <= (uint16_t)(1 << integer_bits) - (1 / (uint16_t)divisor)) in fixed_point_to_int_frac()
58 1LL << integer_bits), in fixed_point_to_int_frac()
68 (1 << (integer_bits + fractional_bits + 1)) + numerator); in fixed_point_to_int_frac()
72 result |= 1 << (integer_bits + fractional_bits); in fixed_point_to_int_frac()
105 uint8_t integer_bits, in int_frac_to_fixed_point() argument
109 uint16_t sign_mask = 1 << (fractional_bits + integer_bits); in int_frac_to_fixed_point()
Dfixpt31_32.c419 unsigned int integer_bits, in ux_dy() argument
423 unsigned int result = (1 << integer_bits) - 1; in ux_dy()
438 unsigned int integer_bits, in clamp_ux_dy() argument
442 unsigned int truncated_val = ux_dy(value, integer_bits, fractional_bits); in clamp_ux_dy()
444 if (value >= (1LL << (integer_bits + FIXED31_32_BITS_PER_FRACTIONAL_PART))) in clamp_ux_dy()
445 return (1 << (integer_bits + fractional_bits)) - 1; in clamp_ux_dy()
491 unsigned int integer_bits, in dc_fixpt_from_ux_dy() argument
496 long long frac_mask = ((long long)1 << (long long)integer_bits) - 1; in dc_fixpt_from_ux_dy()
508 unsigned int integer_bits, in dc_fixpt_from_int_dy() argument
Dconversion.h33 uint8_t integer_bits,
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/spl/
Dspl_fixpt31_32.c401 unsigned int integer_bits, in ux_dy() argument
405 unsigned int result = (1 << integer_bits) - 1; in ux_dy()
420 unsigned int integer_bits, in clamp_ux_dy() argument
424 unsigned int truncated_val = ux_dy(value, integer_bits, fractional_bits); in clamp_ux_dy()
426 if (value >= (1LL << (integer_bits + FIXED31_32_BITS_PER_FRACTIONAL_PART))) in clamp_ux_dy()
427 return (1 << (integer_bits + fractional_bits)) - 1; in clamp_ux_dy()
473 unsigned int integer_bits, in spl_fixpt_from_ux_dy() argument
478 long long frac_mask = ((long long)1 << (long long)integer_bits) - 1; in spl_fixpt_from_ux_dy()
490 unsigned int integer_bits, in spl_fixpt_from_int_dy() argument
Dspl_fixpt31_32.h519 struct spl_fixed31_32 spl_fixpt_from_ux_dy(unsigned int value, unsigned int integer_bits, unsigned …
522 unsigned int integer_bits,
/linux-6.12.1/drivers/gpu/drm/amd/display/include/
Dfixed31_32.h534 struct fixed31_32 dc_fixpt_from_ux_dy(unsigned int value, unsigned int integer_bits, unsigned int f…
537 unsigned int integer_bits,
/linux-6.12.1/drivers/staging/media/atomisp/include/linux/
Datomisp.h276 unsigned int integer_bits; member