Symbol: fixed31_32
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c
175
static inline struct fixed31_32 amdgpu_dm_fixpt_from_s3132(__u64 x)
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c
177
struct fixed31_32 val;
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c
545
struct fixed31_32 *matrix)
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c
577
struct fixed31_32 *matrix)
drivers/gpu/drm/amd/display/dc/basics/conversion.c
104
static struct fixed31_32 int_frac_to_fixed_point(uint16_t arg,
drivers/gpu/drm/amd/display/dc/basics/conversion.c
108
struct fixed31_32 result;
drivers/gpu/drm/amd/display/dc/basics/conversion.c
130
void convert_hw_matrix(struct fixed31_32 *matrix,
drivers/gpu/drm/amd/display/dc/basics/conversion.c
36
struct fixed31_32 arg,
drivers/gpu/drm/amd/display/dc/basics/conversion.c
81
struct fixed31_32 *flt,
drivers/gpu/drm/amd/display/dc/basics/conversion.c
84
const struct fixed31_32 min_2_13 =
drivers/gpu/drm/amd/display/dc/basics/conversion.c
86
const struct fixed31_32 max_2_13 =
drivers/gpu/drm/amd/display/dc/basics/conversion.h
32
struct fixed31_32 arg,
drivers/gpu/drm/amd/display/dc/basics/conversion.h
38
struct fixed31_32 *flt,
drivers/gpu/drm/amd/display/dc/basics/conversion.h
44
void convert_hw_matrix(struct fixed31_32 *matrix,
drivers/gpu/drm/amd/display/dc/basics/custom_float.c
158
bool convert_to_custom_float_format(struct fixed31_32 value,
drivers/gpu/drm/amd/display/dc/basics/custom_float.c
29
static bool build_custom_float(struct fixed31_32 value,
drivers/gpu/drm/amd/display/dc/basics/custom_float.c
37
const struct fixed31_32 mantissa_constant_plus_max_fraction =
drivers/gpu/drm/amd/display/dc/basics/custom_float.c
41
struct fixed31_32 mantiss;
drivers/gpu/drm/amd/display/dc/basics/fixpt31_32.c
121
struct fixed31_32 dc_fixpt_mul(struct fixed31_32 arg1, struct fixed31_32 arg2)
drivers/gpu/drm/amd/display/dc/basics/fixpt31_32.c
123
struct fixed31_32 res;
drivers/gpu/drm/amd/display/dc/basics/fixpt31_32.c
170
struct fixed31_32 dc_fixpt_sqr(struct fixed31_32 arg)
drivers/gpu/drm/amd/display/dc/basics/fixpt31_32.c
172
struct fixed31_32 res;
drivers/gpu/drm/amd/display/dc/basics/fixpt31_32.c
208
struct fixed31_32 dc_fixpt_recip(struct fixed31_32 arg)
drivers/gpu/drm/amd/display/dc/basics/fixpt31_32.c
219
struct fixed31_32 dc_fixpt_sinc(struct fixed31_32 arg)
drivers/gpu/drm/amd/display/dc/basics/fixpt31_32.c
221
struct fixed31_32 square;
drivers/gpu/drm/amd/display/dc/basics/fixpt31_32.c
223
struct fixed31_32 res = dc_fixpt_one;
drivers/gpu/drm/amd/display/dc/basics/fixpt31_32.c
227
struct fixed31_32 arg_norm = arg;
drivers/gpu/drm/amd/display/dc/basics/fixpt31_32.c
263
struct fixed31_32 dc_fixpt_sin(struct fixed31_32 arg)
drivers/gpu/drm/amd/display/dc/basics/fixpt31_32.c
270
struct fixed31_32 dc_fixpt_cos(struct fixed31_32 arg)
drivers/gpu/drm/amd/display/dc/basics/fixpt31_32.c
274
const struct fixed31_32 square = dc_fixpt_sqr(arg);
drivers/gpu/drm/amd/display/dc/basics/fixpt31_32.c
276
struct fixed31_32 res = dc_fixpt_one;
drivers/gpu/drm/amd/display/dc/basics/fixpt31_32.c
29
static const struct fixed31_32 dc_fixpt_two_pi = { 26986075409LL };
drivers/gpu/drm/amd/display/dc/basics/fixpt31_32.c
30
static const struct fixed31_32 dc_fixpt_ln2 = { 2977044471LL };
drivers/gpu/drm/amd/display/dc/basics/fixpt31_32.c
302
static struct fixed31_32 fixed31_32_exp_from_taylor_series(struct fixed31_32 arg)
drivers/gpu/drm/amd/display/dc/basics/fixpt31_32.c
306
struct fixed31_32 res = dc_fixpt_from_fraction(
drivers/gpu/drm/amd/display/dc/basics/fixpt31_32.c
31
static const struct fixed31_32 dc_fixpt_ln2_div_2 = { 1488522236LL };
drivers/gpu/drm/amd/display/dc/basics/fixpt31_32.c
330
struct fixed31_32 dc_fixpt_exp(struct fixed31_32 arg)
drivers/gpu/drm/amd/display/dc/basics/fixpt31_32.c
347
struct fixed31_32 r = dc_fixpt_sub(
drivers/gpu/drm/amd/display/dc/basics/fixpt31_32.c
373
struct fixed31_32 dc_fixpt_log(struct fixed31_32 arg)
drivers/gpu/drm/amd/display/dc/basics/fixpt31_32.c
375
struct fixed31_32 res = dc_fixpt_neg(dc_fixpt_one);
drivers/gpu/drm/amd/display/dc/basics/fixpt31_32.c
378
struct fixed31_32 error;
drivers/gpu/drm/amd/display/dc/basics/fixpt31_32.c
385
struct fixed31_32 res1 = dc_fixpt_add(
drivers/gpu/drm/amd/display/dc/basics/fixpt31_32.c
447
unsigned int dc_fixpt_u4d19(struct fixed31_32 arg)
drivers/gpu/drm/amd/display/dc/basics/fixpt31_32.c
452
unsigned int dc_fixpt_u3d19(struct fixed31_32 arg)
drivers/gpu/drm/amd/display/dc/basics/fixpt31_32.c
457
unsigned int dc_fixpt_u2d19(struct fixed31_32 arg)
drivers/gpu/drm/amd/display/dc/basics/fixpt31_32.c
462
unsigned int dc_fixpt_u0d19(struct fixed31_32 arg)
drivers/gpu/drm/amd/display/dc/basics/fixpt31_32.c
467
unsigned int dc_fixpt_clamp_u0d14(struct fixed31_32 arg)
drivers/gpu/drm/amd/display/dc/basics/fixpt31_32.c
472
unsigned int dc_fixpt_clamp_u0d10(struct fixed31_32 arg)
drivers/gpu/drm/amd/display/dc/basics/fixpt31_32.c
477
int dc_fixpt_s4d19(struct fixed31_32 arg)
drivers/gpu/drm/amd/display/dc/basics/fixpt31_32.c
485
struct fixed31_32 dc_fixpt_from_ux_dy(unsigned int value,
drivers/gpu/drm/amd/display/dc/basics/fixpt31_32.c
489
struct fixed31_32 fixpt_value = dc_fixpt_zero;
drivers/gpu/drm/amd/display/dc/basics/fixpt31_32.c
490
struct fixed31_32 fixpt_int_value = dc_fixpt_zero;
drivers/gpu/drm/amd/display/dc/basics/fixpt31_32.c
501
struct fixed31_32 dc_fixpt_from_int_dy(unsigned int int_value,
drivers/gpu/drm/amd/display/dc/basics/fixpt31_32.c
506
struct fixed31_32 fixpt_value = dc_fixpt_from_int(int_value);
drivers/gpu/drm/amd/display/dc/basics/fixpt31_32.c
69
struct fixed31_32 dc_fixpt_from_fraction(long long numerator, long long denominator)
drivers/gpu/drm/amd/display/dc/basics/fixpt31_32.c
71
struct fixed31_32 res;
drivers/gpu/drm/amd/display/dc/clk_mgr/dce100/dce_clk_mgr.c
117
struct fixed31_32 ss_percentage = dc_fixpt_div_int(
drivers/gpu/drm/amd/display/dc/clk_mgr/dce100/dce_clk_mgr.c
120
struct fixed31_32 adj_dp_ref_clk_khz;
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn20/dcn20_clk_mgr.c
537
struct fixed31_32 pll_req;
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn21/rn_clk_mgr.c
256
struct fixed31_32 pll_req;
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn30/dcn30_clk_mgr.c
176
struct fixed31_32 pll_req;
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn301/vg_clk_mgr.c
188
struct fixed31_32 pll_req;
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn31/dcn31_clk_mgr.c
263
struct fixed31_32 pll_req;
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn314/dcn314_clk_mgr.c
342
struct fixed31_32 pll_req;
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn32/dcn32_clk_mgr.c
850
struct fixed31_32 pll_req;
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn35/dcn35_clk_mgr.c
536
struct fixed31_32 pll_req;
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn401/dcn401_clk_mgr.c
1252
struct fixed31_32 pll_req;
drivers/gpu/drm/amd/display/dc/core/dc_resource.c
1241
struct fixed31_32 ratio,
drivers/gpu/drm/amd/display/dc/core/dc_resource.c
1242
struct fixed31_32 *init,
drivers/gpu/drm/amd/display/dc/core/dc_resource.c
1246
struct fixed31_32 temp;
drivers/gpu/drm/amd/display/dc/core/dc_resource.c
918
struct fixed31_32 temp;
drivers/gpu/drm/amd/display/dc/dc.h
1323
struct fixed31_32 red[TRANSFER_FUNC_POINTS];
drivers/gpu/drm/amd/display/dc/dc.h
1324
struct fixed31_32 green[TRANSFER_FUNC_POINTS];
drivers/gpu/drm/amd/display/dc/dc.h
1325
struct fixed31_32 blue[TRANSFER_FUNC_POINTS];
drivers/gpu/drm/amd/display/dc/dc.h
1409
struct fixed31_32 hdr_multiplier;
drivers/gpu/drm/amd/display/dc/dc.h
1483
struct fixed31_32 coeff_reduction_factor;
drivers/gpu/drm/amd/display/dc/dc.h
1484
struct fixed31_32 hdr_mult;
drivers/gpu/drm/amd/display/dc/dc.h
1842
const struct fixed31_32 *coeff_reduction_factor;
drivers/gpu/drm/amd/display/dc/dc.h
1855
struct fixed31_32 hdr_mult;
drivers/gpu/drm/amd/display/dc/dc.h
1863
const struct fixed31_32 *coeff_reduction_factor;
drivers/gpu/drm/amd/display/dc/dc_hw_types.h
507
struct fixed31_32 h_scale_ratio;
drivers/gpu/drm/amd/display/dc/dc_hw_types.h
508
struct fixed31_32 v_scale_ratio;
drivers/gpu/drm/amd/display/dc/dc_hw_types.h
537
struct fixed31_32 red;
drivers/gpu/drm/amd/display/dc/dc_hw_types.h
538
struct fixed31_32 green;
drivers/gpu/drm/amd/display/dc/dc_hw_types.h
539
struct fixed31_32 blue;
drivers/gpu/drm/amd/display/dc/dc_hw_types.h
548
struct fixed31_32 red[GAMMA_MAX_ENTRIES];
drivers/gpu/drm/amd/display/dc/dc_hw_types.h
549
struct fixed31_32 green[GAMMA_MAX_ENTRIES];
drivers/gpu/drm/amd/display/dc/dc_hw_types.h
550
struct fixed31_32 blue[GAMMA_MAX_ENTRIES];
drivers/gpu/drm/amd/display/dc/dc_types.h
362
struct fixed31_32 contrast;
drivers/gpu/drm/amd/display/dc/dc_types.h
363
struct fixed31_32 saturation;
drivers/gpu/drm/amd/display/dc/dc_types.h
364
struct fixed31_32 brightness;
drivers/gpu/drm/amd/display/dc/dc_types.h
365
struct fixed31_32 hue;
drivers/gpu/drm/amd/display/dc/dc_types.h
399
struct fixed31_32 temperature_matrix[12];
drivers/gpu/drm/amd/display/dc/dc_types.h
756
struct fixed31_32 matrix[12];
drivers/gpu/drm/amd/display/dc/dce/dce_audio.c
242
static struct fixed31_32 get_link_symbol_clk_freq_mhz(enum dc_link_rate link_rate)
drivers/gpu/drm/amd/display/dc/dce/dce_audio.c
354
struct fixed31_32 audio_sdp_margin = dc_fixpt_from_fraction(110, 100);
drivers/gpu/drm/amd/display/dc/dce/dce_audio.c
355
struct fixed31_32 horizontal_line_freq_khz = dc_fixpt_from_fraction(
drivers/gpu/drm/amd/display/dc/dce/dce_audio.c
357
struct fixed31_32 samples_per_line;
drivers/gpu/drm/amd/display/dc/dce/dce_audio.c
358
struct fixed31_32 layouts_per_line;
drivers/gpu/drm/amd/display/dc/dce/dce_audio.c
359
struct fixed31_32 symbols_per_sdp_max_layout;
drivers/gpu/drm/amd/display/dc/dce/dce_audio.c
360
struct fixed31_32 remainder;
drivers/gpu/drm/amd/display/dc/dce/dce_audio.c
399
struct fixed31_32 hblank_time_msec =
drivers/gpu/drm/amd/display/dc/dce/dce_audio.c
401
struct fixed31_32 lsclkfreq_mhz =
drivers/gpu/drm/amd/display/dc/dce/dce_audio.c
403
struct fixed31_32 average_stream_sym_bw_frac;
drivers/gpu/drm/amd/display/dc/dce/dce_audio.c
404
struct fixed31_32 peak_stream_bw_kbps;
drivers/gpu/drm/amd/display/dc/dce/dce_audio.c
405
struct fixed31_32 bits_per_pixel;
drivers/gpu/drm/amd/display/dc/dce/dce_audio.c
406
struct fixed31_32 link_bw_kbps;
drivers/gpu/drm/amd/display/dc/dce/dce_audio.c
407
struct fixed31_32 available_stream_sym_count;
drivers/gpu/drm/amd/display/dc/dce/dce_clk_mgr.c
136
struct fixed31_32 ss_percentage = dc_fixpt_div_int(
drivers/gpu/drm/amd/display/dc/dce/dce_clk_mgr.c
139
struct fixed31_32 adj_dp_ref_clk_khz;
drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c
654
struct fixed31_32 fb_div;
drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c
655
struct fixed31_32 ss_amount;
drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c
656
struct fixed31_32 ss_nslip_amount;
drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c
657
struct fixed31_32 ss_ds_frac_amount;
drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c
658
struct fixed31_32 ss_step_size;
drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c
659
struct fixed31_32 modulation_time;
drivers/gpu/drm/amd/display/dc/dce/dce_scl_filters.c
1341
const uint16_t *get_filter_3tap_16p(struct fixed31_32 ratio)
drivers/gpu/drm/amd/display/dc/dce/dce_scl_filters.c
1353
const uint16_t *get_filter_3tap_64p(struct fixed31_32 ratio)
drivers/gpu/drm/amd/display/dc/dce/dce_scl_filters.c
1365
const uint16_t *get_filter_4tap_16p(struct fixed31_32 ratio)
drivers/gpu/drm/amd/display/dc/dce/dce_scl_filters.c
1377
const uint16_t *get_filter_4tap_64p(struct fixed31_32 ratio)
drivers/gpu/drm/amd/display/dc/dce/dce_scl_filters.c
1389
const uint16_t *get_filter_5tap_64p(struct fixed31_32 ratio)
drivers/gpu/drm/amd/display/dc/dce/dce_scl_filters.c
1401
const uint16_t *get_filter_6tap_64p(struct fixed31_32 ratio)
drivers/gpu/drm/amd/display/dc/dce/dce_scl_filters.c
1413
const uint16_t *get_filter_7tap_64p(struct fixed31_32 ratio)
drivers/gpu/drm/amd/display/dc/dce/dce_scl_filters.c
1425
const uint16_t *get_filter_8tap_64p(struct fixed31_32 ratio)
drivers/gpu/drm/amd/display/dc/dce/dce_stream_encoder.c
698
struct fixed31_32 avg_time_slots_per_mtp)
drivers/gpu/drm/amd/display/dc/dce/dce_transform.c
1133
struct fixed31_32 arr_matrix[GAMUT_MATRIX_SIZE];
drivers/gpu/drm/amd/display/dc/dce/dce_transform.c
1146
static uint32_t decide_taps(struct fixed31_32 ratio, uint32_t in_taps, bool chroma)
drivers/gpu/drm/amd/display/dc/dce/dce_transform.c
285
struct fixed31_32 h_init;
drivers/gpu/drm/amd/display/dc/dce/dce_transform.c
286
struct fixed31_32 v_init;
drivers/gpu/drm/amd/display/dc/dce/dce_transform.c
318
struct fixed31_32 v_init;
drivers/gpu/drm/amd/display/dc/dce/dce_transform.c
394
static const uint16_t *get_filter_coeffs_16p(int taps, struct fixed31_32 ratio)
drivers/gpu/drm/amd/display/dc/dce110/dce110_transform_v.c
488
static const uint16_t *get_filter_coeffs_64p(int taps, struct fixed31_32 ratio)
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c
458
const struct fixed31_32 end_value =
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c
635
const struct fixed31_32 end_value =
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dwb_scl.c
530
static const uint16_t *wbscl_get_filter_3tap_16p(struct fixed31_32 ratio)
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dwb_scl.c
542
static const uint16_t *wbscl_get_filter_4tap_16p(struct fixed31_32 ratio)
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dwb_scl.c
554
static const uint16_t *wbscl_get_filter_5tap_16p(struct fixed31_32 ratio)
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dwb_scl.c
566
static const uint16_t *wbscl_get_filter_6tap_16p(struct fixed31_32 ratio)
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dwb_scl.c
578
static const uint16_t *wbscl_get_filter_7tap_16p(struct fixed31_32 ratio)
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dwb_scl.c
590
static const uint16_t *wbscl_get_filter_8tap_16p(struct fixed31_32 ratio)
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dwb_scl.c
602
static const uint16_t *wbscl_get_filter_9tap_16p(struct fixed31_32 ratio)
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dwb_scl.c
613
static const uint16_t *wbscl_get_filter_10tap_16p(struct fixed31_32 ratio)
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dwb_scl.c
625
static const uint16_t *wbscl_get_filter_11tap_16p(struct fixed31_32 ratio)
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dwb_scl.c
637
static const uint16_t *wbscl_get_filter_12tap_16p(struct fixed31_32 ratio)
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dwb_scl.c
649
static const uint16_t *wbscl_get_filter_coeffs_16p(int taps, struct fixed31_32 ratio)
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dwb_scl.c
740
struct fixed31_32 tmp_h_init_phase_luma = dc_fixpt_from_int(0);
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dwb_scl.c
741
struct fixed31_32 tmp_h_init_phase_chroma = dc_fixpt_from_int(0);
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dwb_scl.c
745
struct fixed31_32 tmp_h_ratio_luma = dc_fixpt_from_fraction(
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dwb_scl.c
819
struct fixed31_32 tmp_v_init_phase_luma = dc_fixpt_from_int(0);
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dwb_scl.c
820
struct fixed31_32 tmp_v_init_phase_chroma = dc_fixpt_from_int(0);
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dwb_scl.c
823
struct fixed31_32 tmp_v_ratio_luma = dc_fixpt_from_fraction(
drivers/gpu/drm/amd/display/dc/dio/dcn10/dcn10_stream_encoder.c
627
struct fixed31_32 avg_time_slots_per_mtp)
drivers/gpu/drm/amd/display/dc/dio/dcn10/dcn10_stream_encoder.h
662
struct fixed31_32 avg_time_slots_per_mtp);
drivers/gpu/drm/amd/display/dc/dio/virtual/virtual_stream_encoder.c
49
struct fixed31_32 avg_time_slots_per_mtp)
drivers/gpu/drm/amd/display/dc/dpp/dcn10/dcn10_dpp_cm.c
171
struct fixed31_32 arr_matrix[12];
drivers/gpu/drm/amd/display/dc/dpp/dcn10/dcn10_dpp_dscl.c
215
static const uint16_t *dpp1_dscl_get_filter_coeffs_64p(int taps, struct fixed31_32 ratio)
drivers/gpu/drm/amd/display/dc/dpp/dcn10/dcn10_dpp_dscl.c
550
struct fixed31_32 bot = dc_fixpt_add(data->inits.v, data->ratios.vert);
drivers/gpu/drm/amd/display/dc/dpp/dcn10/dcn10_dpp_dscl.c
566
struct fixed31_32 bot = dc_fixpt_add(data->inits.v_c, data->ratios.vert_c);
drivers/gpu/drm/amd/display/dc/dpp/dcn20/dcn20_dpp_cm.c
224
struct fixed31_32 arr_matrix[12];
drivers/gpu/drm/amd/display/dc/dpp/dcn30/dcn30_dpp_cm.c
385
struct fixed31_32 arr_matrix[12];
drivers/gpu/drm/amd/display/dc/dpp/dcn401/dcn401_dpp_dscl.c
207
static const uint16_t *dpp401_dscl_get_filter_coeffs_64p(int taps, struct fixed31_32 ratio)
drivers/gpu/drm/amd/display/dc/dpp/dcn401/dcn401_dpp_dscl.c
597
struct fixed31_32 bot = dc_fixpt_add(data->inits.v, data->ratios.vert);
drivers/gpu/drm/amd/display/dc/dpp/dcn401/dcn401_dpp_dscl.c
613
struct fixed31_32 bot = dc_fixpt_add(data->inits.v_c, data->ratios.vert_c);
drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c
1324
struct fixed31_32 bpp;
drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c
1325
struct fixed31_32 actual_bandwidth_in_kbps;
drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c
1341
struct fixed31_32 max_dsc_overhead;
drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c
1342
struct fixed31_32 refresh_rate;
drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c
70
struct fixed31_32 bpp;
drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c
71
struct fixed31_32 overhead_factor;
drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c
776
struct fixed31_32 effective_bandwidth_in_kbps;
drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c
777
struct fixed31_32 bpp_x16;
drivers/gpu/drm/amd/display/dc/dwb/dcn30/dcn30_dwb_cm.c
367
struct fixed31_32 arr_matrix[12];
drivers/gpu/drm/amd/display/dc/hpo/dcn31/dcn31_hpo_dp_link_encoder.c
386
struct fixed31_32 avg_time_slots_per_mtp)
drivers/gpu/drm/amd/display/dc/hpo/dcn31/dcn31_hpo_dp_link_encoder.h
218
struct fixed31_32 avg_time_slots_per_mtp);
drivers/gpu/drm/amd/display/dc/hwss/dce110/dce110_hwseq.c
1286
struct fixed31_32 link_bw_kbps;
drivers/gpu/drm/amd/display/dc/hwss/dce110/dce110_hwseq.c
442
struct fixed31_32 y_r;
drivers/gpu/drm/amd/display/dc/hwss/dce110/dce110_hwseq.c
443
struct fixed31_32 y_g;
drivers/gpu/drm/amd/display/dc/hwss/dce110/dce110_hwseq.c
444
struct fixed31_32 y_b;
drivers/gpu/drm/amd/display/dc/hwss/dce110/dce110_hwseq.c
445
struct fixed31_32 y1_min;
drivers/gpu/drm/amd/display/dc/hwss/dce110/dce110_hwseq.c
446
struct fixed31_32 y3_max;
drivers/gpu/drm/amd/display/dc/hwss/dce110/dce110_hwseq.c
557
const struct fixed31_32 end_value = dc_fixpt_from_int(125);
drivers/gpu/drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.c
3188
struct fixed31_32 multiplier = pipe_ctx->plane_state->hdr_mult;
drivers/gpu/drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.c
3883
struct fixed31_32 multiplier;
drivers/gpu/drm/amd/display/dc/hwss/dcn401/dcn401_hwseq.c
3915
struct fixed31_32 multiplier = pipe_ctx->plane_state->hdr_mult;
drivers/gpu/drm/amd/display/dc/inc/custom_float.h
35
struct fixed31_32 value,
drivers/gpu/drm/amd/display/dc/inc/hw/dpp.h
137
struct fixed31_32 temperature_matrix[CSC_TEMPERATURE_MATRIX_SIZE];
drivers/gpu/drm/amd/display/dc/inc/hw/hw_shared.h
114
struct fixed31_32 x;
drivers/gpu/drm/amd/display/dc/inc/hw/hw_shared.h
115
struct fixed31_32 y;
drivers/gpu/drm/amd/display/dc/inc/hw/hw_shared.h
116
struct fixed31_32 offset;
drivers/gpu/drm/amd/display/dc/inc/hw/hw_shared.h
117
struct fixed31_32 slope;
drivers/gpu/drm/amd/display/dc/inc/hw/hw_shared.h
132
struct fixed31_32 red;
drivers/gpu/drm/amd/display/dc/inc/hw/hw_shared.h
133
struct fixed31_32 green;
drivers/gpu/drm/amd/display/dc/inc/hw/hw_shared.h
134
struct fixed31_32 blue;
drivers/gpu/drm/amd/display/dc/inc/hw/hw_shared.h
136
struct fixed31_32 delta_red;
drivers/gpu/drm/amd/display/dc/inc/hw/hw_shared.h
137
struct fixed31_32 delta_green;
drivers/gpu/drm/amd/display/dc/inc/hw/hw_shared.h
138
struct fixed31_32 delta_blue;
drivers/gpu/drm/amd/display/dc/inc/hw/link_encoder.h
281
struct fixed31_32 avg_time_slots_per_mtp);
drivers/gpu/drm/amd/display/dc/inc/hw/mpc.h
198
struct fixed31_32 temperature_matrix[CSC_TEMPERATURE_MATRIX_SIZE];
drivers/gpu/drm/amd/display/dc/inc/hw/opp.h
134
struct fixed31_32 r;
drivers/gpu/drm/amd/display/dc/inc/hw/opp.h
135
struct fixed31_32 g;
drivers/gpu/drm/amd/display/dc/inc/hw/opp.h
136
struct fixed31_32 b;
drivers/gpu/drm/amd/display/dc/inc/hw/opp.h
160
struct fixed31_32 x;
drivers/gpu/drm/amd/display/dc/inc/hw/opp.h
161
struct fixed31_32 regamma_y_red;
drivers/gpu/drm/amd/display/dc/inc/hw/opp.h
162
struct fixed31_32 regamma_y_green;
drivers/gpu/drm/amd/display/dc/inc/hw/opp.h
163
struct fixed31_32 regamma_y_blue;
drivers/gpu/drm/amd/display/dc/inc/hw/opp.h
168
struct fixed31_32 r;
drivers/gpu/drm/amd/display/dc/inc/hw/opp.h
169
struct fixed31_32 g;
drivers/gpu/drm/amd/display/dc/inc/hw/opp.h
170
struct fixed31_32 b;
drivers/gpu/drm/amd/display/dc/inc/hw/opp.h
171
struct fixed31_32 delta_r;
drivers/gpu/drm/amd/display/dc/inc/hw/opp.h
172
struct fixed31_32 delta_g;
drivers/gpu/drm/amd/display/dc/inc/hw/opp.h
173
struct fixed31_32 delta_b;
drivers/gpu/drm/amd/display/dc/inc/hw/opp.h
189
struct fixed31_32 coeff;
drivers/gpu/drm/amd/display/dc/inc/hw/opp.h
199
struct fixed31_32 a0[3];
drivers/gpu/drm/amd/display/dc/inc/hw/opp.h
200
struct fixed31_32 a1[3];
drivers/gpu/drm/amd/display/dc/inc/hw/opp.h
201
struct fixed31_32 a2[3];
drivers/gpu/drm/amd/display/dc/inc/hw/opp.h
202
struct fixed31_32 a3[3];
drivers/gpu/drm/amd/display/dc/inc/hw/opp.h
203
struct fixed31_32 user_gamma[3];
drivers/gpu/drm/amd/display/dc/inc/hw/opp.h
204
struct fixed31_32 user_contrast;
drivers/gpu/drm/amd/display/dc/inc/hw/opp.h
205
struct fixed31_32 user_brightness;
drivers/gpu/drm/amd/display/dc/inc/hw/opp.h
215
struct fixed31_32 r;
drivers/gpu/drm/amd/display/dc/inc/hw/opp.h
221
struct fixed31_32 g;
drivers/gpu/drm/amd/display/dc/inc/hw/opp.h
226
struct fixed31_32 b;
drivers/gpu/drm/amd/display/dc/inc/hw/opp.h
50
struct fixed31_32;
drivers/gpu/drm/amd/display/dc/inc/hw/stream_encoder.h
158
struct fixed31_32 avg_time_slots_per_mtp);
drivers/gpu/drm/amd/display/dc/inc/hw/transform.h
115
struct fixed31_32 temperature_matrix[CSC_TEMPERATURE_MATRIX_SIZE];
drivers/gpu/drm/amd/display/dc/inc/hw/transform.h
127
struct fixed31_32 horz;
drivers/gpu/drm/amd/display/dc/inc/hw/transform.h
128
struct fixed31_32 vert;
drivers/gpu/drm/amd/display/dc/inc/hw/transform.h
129
struct fixed31_32 horz_c;
drivers/gpu/drm/amd/display/dc/inc/hw/transform.h
130
struct fixed31_32 vert_c;
drivers/gpu/drm/amd/display/dc/inc/hw/transform.h
147
struct fixed31_32 h;
drivers/gpu/drm/amd/display/dc/inc/hw/transform.h
148
struct fixed31_32 h_c;
drivers/gpu/drm/amd/display/dc/inc/hw/transform.h
149
struct fixed31_32 v;
drivers/gpu/drm/amd/display/dc/inc/hw/transform.h
150
struct fixed31_32 v_c;
drivers/gpu/drm/amd/display/dc/inc/hw/transform.h
252
const uint16_t *get_filter_3tap_16p(struct fixed31_32 ratio);
drivers/gpu/drm/amd/display/dc/inc/hw/transform.h
253
const uint16_t *get_filter_3tap_64p(struct fixed31_32 ratio);
drivers/gpu/drm/amd/display/dc/inc/hw/transform.h
254
const uint16_t *get_filter_4tap_16p(struct fixed31_32 ratio);
drivers/gpu/drm/amd/display/dc/inc/hw/transform.h
255
const uint16_t *get_filter_4tap_64p(struct fixed31_32 ratio);
drivers/gpu/drm/amd/display/dc/inc/hw/transform.h
256
const uint16_t *get_filter_5tap_64p(struct fixed31_32 ratio);
drivers/gpu/drm/amd/display/dc/inc/hw/transform.h
257
const uint16_t *get_filter_6tap_64p(struct fixed31_32 ratio);
drivers/gpu/drm/amd/display/dc/inc/hw/transform.h
258
const uint16_t *get_filter_7tap_64p(struct fixed31_32 ratio);
drivers/gpu/drm/amd/display/dc/inc/hw/transform.h
259
const uint16_t *get_filter_8tap_64p(struct fixed31_32 ratio);
drivers/gpu/drm/amd/display/dc/inc/link_hwss.h
51
struct fixed31_32 throttled_vcp_size);
drivers/gpu/drm/amd/display/dc/inc/link_hwss.h
53
struct fixed31_32 throttled_vcp_size);
drivers/gpu/drm/amd/display/dc/link/hwss/link_hwss_dio.c
40
struct fixed31_32 throttled_vcp_size)
drivers/gpu/drm/amd/display/dc/link/hwss/link_hwss_dio.h
36
struct fixed31_32 throttled_vcp_size);
drivers/gpu/drm/amd/display/dc/link/hwss/link_hwss_hpo_dp.c
34
struct fixed31_32 throttled_vcp_size)
drivers/gpu/drm/amd/display/dc/link/hwss/link_hwss_hpo_dp.c
48
struct fixed31_32 throttled_vcp_size)
drivers/gpu/drm/amd/display/dc/link/hwss/link_hwss_hpo_dp.c
53
struct fixed31_32 h_blank_in_ms, time_slot_in_ms, mtp_cnt_per_h_blank;
drivers/gpu/drm/amd/display/dc/link/hwss/link_hwss_hpo_dp.h
32
struct fixed31_32 throttled_vcp_size);
drivers/gpu/drm/amd/display/dc/link/hwss/link_hwss_hpo_dp.h
35
struct fixed31_32 throttled_vcp_size);
drivers/gpu/drm/amd/display/dc/link/hwss/link_hwss_hpo_dp.h
38
struct fixed31_32 throttled_vcp_size);
drivers/gpu/drm/amd/display/dc/link/link_dpms.c
1081
static void log_vcp_x_y(const struct dc_link *link, struct fixed31_32 avg_time_slots_per_mtp)
drivers/gpu/drm/amd/display/dc/link/link_dpms.c
1121
static struct fixed31_32 get_pbn_per_slot(struct dc_stream_state *stream)
drivers/gpu/drm/amd/display/dc/link/link_dpms.c
1123
struct fixed31_32 mbytes_per_sec;
drivers/gpu/drm/amd/display/dc/link/link_dpms.c
1133
static struct fixed31_32 get_pbn_from_bw_in_kbps(uint64_t kbps)
drivers/gpu/drm/amd/display/dc/link/link_dpms.c
1135
struct fixed31_32 peak_kbps;
drivers/gpu/drm/amd/display/dc/link/link_dpms.c
1161
static struct fixed31_32 get_pbn_from_timing(struct pipe_ctx *pipe_ctx)
drivers/gpu/drm/amd/display/dc/link/link_dpms.c
1361
struct fixed31_32 avg_time_slots_per_mtp = dc_fixpt_from_int(0);
drivers/gpu/drm/amd/display/dc/link/link_dpms.c
1439
struct fixed31_32 avg_time_slots_per_mtp;
drivers/gpu/drm/amd/display/dc/link/link_dpms.c
1440
struct fixed31_32 pbn;
drivers/gpu/drm/amd/display/dc/link/link_dpms.c
1441
struct fixed31_32 pbn_per_slot;
drivers/gpu/drm/amd/display/dc/link/link_dpms.c
1512
struct fixed31_32 link_calculate_sst_avg_time_slots_per_mtp(
drivers/gpu/drm/amd/display/dc/link/link_dpms.c
1516
struct fixed31_32 link_bw_effective =
drivers/gpu/drm/amd/display/dc/link/link_dpms.c
1519
struct fixed31_32 timeslot_bw_effective =
drivers/gpu/drm/amd/display/dc/link/link_dpms.c
1521
struct fixed31_32 timing_bw =
drivers/gpu/drm/amd/display/dc/link/link_dpms.c
1525
struct fixed31_32 avg_time_slots_per_mtp =
drivers/gpu/drm/amd/display/dc/link/link_dpms.c
1542
struct fixed31_32 avg_time_slots_per_mtp = { 0 };
drivers/gpu/drm/amd/display/dc/link/link_dpms.c
1646
struct fixed31_32 avg_time_slots_per_mtp;
drivers/gpu/drm/amd/display/dc/link/link_dpms.c
1727
struct fixed31_32 avg_time_slots_per_mtp;
drivers/gpu/drm/amd/display/dc/link/link_dpms.c
1728
struct fixed31_32 pbn;
drivers/gpu/drm/amd/display/dc/link/link_dpms.c
1729
struct fixed31_32 pbn_per_slot;
drivers/gpu/drm/amd/display/dc/link/link_dpms.c
1794
struct fixed31_32 avg_time_slots_per_mtp;
drivers/gpu/drm/amd/display/dc/link/link_dpms.c
1795
struct fixed31_32 pbn;
drivers/gpu/drm/amd/display/dc/link/link_dpms.c
1796
struct fixed31_32 pbn_per_slot;
drivers/gpu/drm/amd/display/dc/link/link_dpms.h
47
struct fixed31_32 link_calculate_sst_avg_time_slots_per_mtp(
drivers/gpu/drm/amd/display/dc/link/link_validation.c
579
struct fixed31_32 audio_sdp_margin = dc_fixpt_from_fraction(110, 100);
drivers/gpu/drm/amd/display/dc/link/link_validation.c
580
struct fixed31_32 horizontal_line_freq_khz = dc_fixpt_from_fraction(
drivers/gpu/drm/amd/display/dc/link/link_validation.c
582
struct fixed31_32 samples_per_line;
drivers/gpu/drm/amd/display/dc/link/link_validation.c
583
struct fixed31_32 layouts_per_line;
drivers/gpu/drm/amd/display/dc/link/link_validation.c
584
struct fixed31_32 symbols_per_sdp_max_layout;
drivers/gpu/drm/amd/display/dc/link/link_validation.c
585
struct fixed31_32 remainder;
drivers/gpu/drm/amd/display/dc/mpc/dcn30/dcn30_mpc.c
1137
struct fixed31_32 arr_matrix[12];
drivers/gpu/drm/amd/display/dc/mpc/dcn401/dcn401_mpc.c
425
struct fixed31_32 arr_matrix[12];
drivers/gpu/drm/amd/display/include/fixed31_32.h
105
static inline struct fixed31_32 dc_fixpt_neg(struct fixed31_32 arg)
drivers/gpu/drm/amd/display/include/fixed31_32.h
107
struct fixed31_32 res;
drivers/gpu/drm/amd/display/include/fixed31_32.h
118
static inline struct fixed31_32 dc_fixpt_abs(struct fixed31_32 arg)
drivers/gpu/drm/amd/display/include/fixed31_32.h
135
static inline bool dc_fixpt_lt(struct fixed31_32 arg1, struct fixed31_32 arg2)
drivers/gpu/drm/amd/display/include/fixed31_32.h
144
static inline bool dc_fixpt_le(struct fixed31_32 arg1, struct fixed31_32 arg2)
drivers/gpu/drm/amd/display/include/fixed31_32.h
153
static inline bool dc_fixpt_eq(struct fixed31_32 arg1, struct fixed31_32 arg2)
drivers/gpu/drm/amd/display/include/fixed31_32.h
162
static inline struct fixed31_32 dc_fixpt_min(struct fixed31_32 arg1, struct fixed31_32 arg2)
drivers/gpu/drm/amd/display/include/fixed31_32.h
174
static inline struct fixed31_32 dc_fixpt_max(struct fixed31_32 arg1, struct fixed31_32 arg2)
drivers/gpu/drm/amd/display/include/fixed31_32.h
188
static inline struct fixed31_32 dc_fixpt_clamp(
drivers/gpu/drm/amd/display/include/fixed31_32.h
189
struct fixed31_32 arg,
drivers/gpu/drm/amd/display/include/fixed31_32.h
190
struct fixed31_32 min_value,
drivers/gpu/drm/amd/display/include/fixed31_32.h
191
struct fixed31_32 max_value)
drivers/gpu/drm/amd/display/include/fixed31_32.h
210
static inline struct fixed31_32 dc_fixpt_shl(struct fixed31_32 arg, unsigned char shift)
drivers/gpu/drm/amd/display/include/fixed31_32.h
224
static inline struct fixed31_32 dc_fixpt_shr(struct fixed31_32 arg, unsigned char shift)
drivers/gpu/drm/amd/display/include/fixed31_32.h
245
static inline struct fixed31_32 dc_fixpt_add(struct fixed31_32 arg1, struct fixed31_32 arg2)
drivers/gpu/drm/amd/display/include/fixed31_32.h
247
struct fixed31_32 res;
drivers/gpu/drm/amd/display/include/fixed31_32.h
261
static inline struct fixed31_32 dc_fixpt_add_int(struct fixed31_32 arg1, int arg2)
drivers/gpu/drm/amd/display/include/fixed31_32.h
270
static inline struct fixed31_32 dc_fixpt_sub(struct fixed31_32 arg1, struct fixed31_32 arg2)
drivers/gpu/drm/amd/display/include/fixed31_32.h
272
struct fixed31_32 res;
drivers/gpu/drm/amd/display/include/fixed31_32.h
286
static inline struct fixed31_32 dc_fixpt_sub_int(struct fixed31_32 arg1, int arg2)
drivers/gpu/drm/amd/display/include/fixed31_32.h
301
struct fixed31_32 dc_fixpt_mul(struct fixed31_32 arg1, struct fixed31_32 arg2);
drivers/gpu/drm/amd/display/include/fixed31_32.h
308
static inline struct fixed31_32 dc_fixpt_mul_int(struct fixed31_32 arg1, int arg2)
drivers/gpu/drm/amd/display/include/fixed31_32.h
317
struct fixed31_32 dc_fixpt_sqr(struct fixed31_32 arg);
drivers/gpu/drm/amd/display/include/fixed31_32.h
323
static inline struct fixed31_32 dc_fixpt_div_int(struct fixed31_32 arg1, long long arg2)
drivers/gpu/drm/amd/display/include/fixed31_32.h
332
static inline struct fixed31_32 dc_fixpt_div(struct fixed31_32 arg1, struct fixed31_32 arg2)
drivers/gpu/drm/amd/display/include/fixed31_32.h
349
struct fixed31_32 dc_fixpt_recip(struct fixed31_32 arg);
drivers/gpu/drm/amd/display/include/fixed31_32.h
364
struct fixed31_32 dc_fixpt_sinc(struct fixed31_32 arg);
drivers/gpu/drm/amd/display/include/fixed31_32.h
374
struct fixed31_32 dc_fixpt_sin(struct fixed31_32 arg);
drivers/gpu/drm/amd/display/include/fixed31_32.h
386
struct fixed31_32 dc_fixpt_cos(struct fixed31_32 arg);
drivers/gpu/drm/amd/display/include/fixed31_32.h
400
struct fixed31_32 dc_fixpt_exp(struct fixed31_32 arg);
drivers/gpu/drm/amd/display/include/fixed31_32.h
412
struct fixed31_32 dc_fixpt_log(struct fixed31_32 arg);
drivers/gpu/drm/amd/display/include/fixed31_32.h
426
static inline struct fixed31_32 dc_fixpt_pow(struct fixed31_32 arg1, struct fixed31_32 arg2)
drivers/gpu/drm/amd/display/include/fixed31_32.h
446
static inline int dc_fixpt_floor(struct fixed31_32 arg)
drivers/gpu/drm/amd/display/include/fixed31_32.h
460
static inline int dc_fixpt_round(struct fixed31_32 arg)
drivers/gpu/drm/amd/display/include/fixed31_32.h
480
static inline int dc_fixpt_ceil(struct fixed31_32 arg)
drivers/gpu/drm/amd/display/include/fixed31_32.h
503
unsigned int dc_fixpt_u4d19(struct fixed31_32 arg);
drivers/gpu/drm/amd/display/include/fixed31_32.h
505
unsigned int dc_fixpt_u3d19(struct fixed31_32 arg);
drivers/gpu/drm/amd/display/include/fixed31_32.h
507
unsigned int dc_fixpt_u2d19(struct fixed31_32 arg);
drivers/gpu/drm/amd/display/include/fixed31_32.h
509
unsigned int dc_fixpt_u0d19(struct fixed31_32 arg);
drivers/gpu/drm/amd/display/include/fixed31_32.h
511
unsigned int dc_fixpt_clamp_u0d14(struct fixed31_32 arg);
drivers/gpu/drm/amd/display/include/fixed31_32.h
513
unsigned int dc_fixpt_clamp_u0d10(struct fixed31_32 arg);
drivers/gpu/drm/amd/display/include/fixed31_32.h
515
int dc_fixpt_s4d19(struct fixed31_32 arg);
drivers/gpu/drm/amd/display/include/fixed31_32.h
517
static inline struct fixed31_32 dc_fixpt_truncate(struct fixed31_32 arg, unsigned int frac_bits)
drivers/gpu/drm/amd/display/include/fixed31_32.h
534
struct fixed31_32 dc_fixpt_from_ux_dy(unsigned int value, unsigned int integer_bits, unsigned int fractional_bits);
drivers/gpu/drm/amd/display/include/fixed31_32.h
535
struct fixed31_32 dc_fixpt_from_int_dy(unsigned int int_value,
drivers/gpu/drm/amd/display/include/fixed31_32.h
67
static const struct fixed31_32 dc_fixpt_zero = { 0 };
drivers/gpu/drm/amd/display/include/fixed31_32.h
68
static const struct fixed31_32 dc_fixpt_epsilon = { 1LL };
drivers/gpu/drm/amd/display/include/fixed31_32.h
69
static const struct fixed31_32 dc_fixpt_half = { 0x80000000LL };
drivers/gpu/drm/amd/display/include/fixed31_32.h
70
static const struct fixed31_32 dc_fixpt_one = { 0x100000000LL };
drivers/gpu/drm/amd/display/include/fixed31_32.h
81
struct fixed31_32 dc_fixpt_from_fraction(long long numerator, long long denominator);
drivers/gpu/drm/amd/display/include/fixed31_32.h
87
static inline struct fixed31_32 dc_fixpt_from_int(int arg)
drivers/gpu/drm/amd/display/include/fixed31_32.h
89
struct fixed31_32 res;
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
1056
struct fixed31_32 scaledX = dc_fixpt_zero;
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
1057
struct fixed31_32 scaledX1 = dc_fixpt_zero;
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
1058
struct fixed31_32 max_display;
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
1059
struct fixed31_32 min_display;
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
1060
struct fixed31_32 max_content;
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
1061
struct fixed31_32 clip = dc_fixpt_one;
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
1062
struct fixed31_32 output = dc_fixpt_zero;
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
1065
struct fixed31_32 sdr_white_level;
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
1066
struct fixed31_32 coordX_diff;
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
1067
struct fixed31_32 out_dist_max;
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
1068
struct fixed31_32 bright_norm;
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
1279
const struct fixed31_32 max_driver = dc_fixpt_from_int(0xFFFF);
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
1280
const struct fixed31_32 max_os = dc_fixpt_from_int(0xFF00);
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
1281
struct fixed31_32 scaler = max_os;
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
1343
struct fixed31_32 min = dc_fixpt_zero;
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
1344
struct fixed31_32 max = dc_fixpt_one;
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
1346
struct fixed31_32 delta = dc_fixpt_zero;
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
1347
struct fixed31_32 offset = dc_fixpt_zero;
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
1428
struct fixed31_32 *regamma_y;
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
1429
struct fixed31_32 norm_y;
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
1430
struct fixed31_32 lut1;
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
1431
struct fixed31_32 lut2;
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
1433
const struct fixed31_32 penult_lut_index_f =
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
1435
const struct fixed31_32 max_lut_index_f =
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
1438
struct fixed31_32 index_f;
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
1439
struct fixed31_32 delta_lut;
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
1440
struct fixed31_32 delta_index;
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
1511
struct fixed31_32 value = dc_fixpt_from_fraction(i,
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
167
struct fixed31_32 region_size = dc_fixpt_from_int(128);
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
171
struct fixed31_32 increment;
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
204
static void compute_pq(struct fixed31_32 in_x, struct fixed31_32 *out_y)
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
207
const struct fixed31_32 m1 =
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
209
const struct fixed31_32 m2 =
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
211
const struct fixed31_32 c1 =
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
213
const struct fixed31_32 c2 =
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
215
const struct fixed31_32 c3 =
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
218
struct fixed31_32 l_pow_m1;
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
219
struct fixed31_32 base;
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
233
static void compute_de_pq(struct fixed31_32 in_x, struct fixed31_32 *out_y)
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
236
const struct fixed31_32 m1 =
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
238
const struct fixed31_32 m2 =
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
240
const struct fixed31_32 c1 =
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
242
const struct fixed31_32 c2 =
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
244
const struct fixed31_32 c3 =
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
247
struct fixed31_32 l_pow_m1;
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
248
struct fixed31_32 base, div;
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
249
struct fixed31_32 base2;
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
273
static void compute_hlg_eotf(struct fixed31_32 in_x,
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
274
struct fixed31_32 *out_y,
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
277
struct fixed31_32 a;
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
278
struct fixed31_32 b;
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
279
struct fixed31_32 c;
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
280
struct fixed31_32 threshold;
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
281
struct fixed31_32 x;
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
283
struct fixed31_32 scaling_factor =
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
305
static void compute_hlg_oetf(struct fixed31_32 in_x, struct fixed31_32 *out_y,
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
308
struct fixed31_32 a;
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
309
struct fixed31_32 b;
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
310
struct fixed31_32 c;
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
311
struct fixed31_32 threshold;
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
312
struct fixed31_32 x;
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
314
struct fixed31_32 scaling_factor =
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
340
struct fixed31_32 *pq_table = mod_color_get_table(type_pq_table);
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
368
struct fixed31_32 y;
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
371
struct fixed31_32 scaling_factor = dc_fixpt_from_int(125);
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
372
struct fixed31_32 *de_pq_table = mod_color_get_table(type_de_pq_table);
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
391
struct fixed31_32 divider1;
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
392
struct fixed31_32 divider2;
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
393
struct fixed31_32 divider3;
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
438
static struct fixed31_32 translate_from_linear_space(
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
441
const struct fixed31_32 one = dc_fixpt_from_int(1);
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
443
struct fixed31_32 scratch_1, scratch_2;
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
491
static struct fixed31_32 translate_from_linear_space_long(
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
494
const struct fixed31_32 one = dc_fixpt_from_int(1);
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
523
static struct fixed31_32 calculate_gamma22(struct fixed31_32 arg, bool use_eetf, struct calculate_buffer *cal_buffer)
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
525
struct fixed31_32 gamma = dc_fixpt_from_fraction(22, 10);
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
543
static struct fixed31_32 translate_to_linear_space(
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
544
struct fixed31_32 arg,
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
545
struct fixed31_32 a0,
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
546
struct fixed31_32 a1,
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
547
struct fixed31_32 a2,
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
548
struct fixed31_32 a3,
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
549
struct fixed31_32 gamma)
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
551
struct fixed31_32 linear;
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
576
static struct fixed31_32 translate_from_linear_space_ex(
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
577
struct fixed31_32 arg,
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
596
static inline struct fixed31_32 translate_to_linear_space_ex(
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
597
struct fixed31_32 arg,
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
614
struct fixed31_32 hw_point,
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
623
struct fixed31_32 left, right;
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
701
struct fixed31_32 coord_x;
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
711
struct fixed31_32 left_pos;
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
712
struct fixed31_32 right_pos;
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
782
static struct fixed31_32 calculate_mapped_value(
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
790
struct fixed31_32 result;
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
853
struct fixed31_32 x;
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
854
struct fixed31_32 output;
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
855
struct fixed31_32 scaling_factor =
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
857
struct fixed31_32 *pq_table = mod_color_get_table(type_pq_table);
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
900
struct fixed31_32 output;
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
901
struct fixed31_32 *de_pq_table = mod_color_get_table(type_de_pq_table);
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
902
struct fixed31_32 scaling_factor = dc_fixpt_from_int(125);
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
943
memset(cal_buffer->buffer, 0, NUM_PTS_IN_REGION * sizeof(struct fixed31_32));
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
964
static void hermite_spline_eetf(struct fixed31_32 input_x,
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
965
struct fixed31_32 max_display,
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
966
struct fixed31_32 min_display,
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
967
struct fixed31_32 max_content,
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
968
struct fixed31_32 *out_x)
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
970
struct fixed31_32 min_lum_pq;
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
971
struct fixed31_32 max_lum_pq;
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
972
struct fixed31_32 max_content_pq;
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
973
struct fixed31_32 ks;
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
974
struct fixed31_32 E1;
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
975
struct fixed31_32 E2;
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
976
struct fixed31_32 E3;
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
977
struct fixed31_32 t;
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
978
struct fixed31_32 t2;
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
979
struct fixed31_32 t3;
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
980
struct fixed31_32 two;
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
981
struct fixed31_32 three;
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
982
struct fixed31_32 temp1;
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
983
struct fixed31_32 temp2;
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
984
struct fixed31_32 a = dc_fixpt_from_fraction(15, 10);
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
985
struct fixed31_32 b = dc_fixpt_from_fraction(5, 10);
drivers/gpu/drm/amd/display/modules/color/color_gamma.c
986
struct fixed31_32 epsilon = dc_fixpt_from_fraction(1, 1000000); // dc_fixpt_epsilon is a bit too small
drivers/gpu/drm/amd/display/modules/color/color_gamma.h
100
struct fixed31_32 gamma;
drivers/gpu/drm/amd/display/modules/color/color_gamma.h
90
struct fixed31_32 buffer[NUM_PTS_IN_REGION];
drivers/gpu/drm/amd/display/modules/color/color_gamma.h
91
struct fixed31_32 gamma_of_2;
drivers/gpu/drm/amd/display/modules/color/color_gamma.h
95
struct fixed31_32 arg;
drivers/gpu/drm/amd/display/modules/color/color_gamma.h
96
struct fixed31_32 a0;
drivers/gpu/drm/amd/display/modules/color/color_gamma.h
97
struct fixed31_32 a1;
drivers/gpu/drm/amd/display/modules/color/color_gamma.h
98
struct fixed31_32 a2;
drivers/gpu/drm/amd/display/modules/color/color_gamma.h
99
struct fixed31_32 a3;
drivers/gpu/drm/amd/display/modules/color/color_table.c
28
static struct fixed31_32 pq_table[MAX_HW_POINTS + 2];
drivers/gpu/drm/amd/display/modules/color/color_table.c
29
static struct fixed31_32 de_pq_table[MAX_HW_POINTS + 2];
drivers/gpu/drm/amd/display/modules/color/color_table.c
45
struct fixed31_32 *mod_color_get_table(enum table_type type)
drivers/gpu/drm/amd/display/modules/color/color_table.c
47
struct fixed31_32 *table = NULL;
drivers/gpu/drm/amd/display/modules/color/color_table.h
43
struct fixed31_32 *mod_color_get_table(enum table_type type);