Home
last modified time | relevance | path

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

/openbmc/linux/drivers/staging/media/atomisp/pci/isp/kernels/wb/wb_1.0/
H A 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()
H A Dia_css_wb_types.h30 u32 integer_bits; /** Common exponent of gains. member
/openbmc/linux/drivers/gpu/drm/amd/display/dc/basics/
H A 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()
H A Dfixpt31_32.c423 unsigned int integer_bits, in ux_dy() argument
427 unsigned int result = (1 << integer_bits) - 1; in ux_dy()
442 unsigned int integer_bits, in clamp_ux_dy() argument
446 unsigned int truncated_val = ux_dy(value, integer_bits, fractional_bits); in clamp_ux_dy()
448 if (value >= (1LL << (integer_bits + FIXED31_32_BITS_PER_FRACTIONAL_PART))) in clamp_ux_dy()
449 return (1 << (integer_bits + fractional_bits)) - 1; in clamp_ux_dy()
H A Dconversion.h33 uint8_t integer_bits,
/openbmc/linux/drivers/staging/media/atomisp/include/linux/
H A Datomisp.h277 unsigned int integer_bits; member