Searched refs:dc_fixpt_div_int (Results 1 – 11 of 11) sorted by relevance
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/basics/ |
D | fixpt31_32.c | 255 dc_fixpt_div_int( in dc_fixpt_sinc() 292 dc_fixpt_div_int( in dc_fixpt_cos() 325 dc_fixpt_div_int( in fixed31_32_exp_from_taylor_series() 373 return dc_fixpt_div_int( in dc_fixpt_exp()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn20/ |
D | dcn20_dwb_scl.c | 759 tmp_h_init_phase_luma = dc_fixpt_div_int(tmp_h_init_phase_luma, 2); in dwb_program_horz_scalar() 768 tmp_h_init_phase_chroma = dc_fixpt_div_int(tmp_h_init_phase_chroma, 2); in dwb_program_horz_scalar() 837 tmp_v_init_phase_luma = dc_fixpt_div_int(tmp_v_init_phase_luma, 2); in dwb_program_vert_scalar() 846 tmp_v_init_phase_chroma = dc_fixpt_div_int(tmp_v_init_phase_chroma, 2); in dwb_program_vert_scalar()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dsc/ |
D | dc_dsc.c | 68 bpp = dc_fixpt_div_int(bpp, timing->pix_clk_100hz / 10); in apply_128b_132b_stream_overhead() 75 overhead_factor = dc_fixpt_div_int(overhead_factor, 128); in apply_128b_132b_stream_overhead() 586 bpp_x16 = dc_fixpt_div_int(bpp_x16, timing->pix_clk_100hz); in compute_bpp_x16_from_target_bandwidth() 588 bpp_x16 = dc_fixpt_div_int(bpp_x16, bpp_increment_div); in compute_bpp_x16_from_target_bandwidth() 1117 refresh_rate = dc_fixpt_div_int(refresh_rate, timing->h_total); in dc_dsc_stream_bandwidth_overhead_in_kbps() 1118 refresh_rate = dc_fixpt_div_int(refresh_rate, timing->v_total); in dc_dsc_stream_bandwidth_overhead_in_kbps() 1124 max_dsc_overhead = dc_fixpt_div_int(max_dsc_overhead, 1000); in dc_dsc_stream_bandwidth_overhead_in_kbps()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/include/ |
D | fixed31_32.h | 323 static inline struct fixed31_32 dc_fixpt_div_int(struct fixed31_32 arg1, long long arg2) in dc_fixpt_div_int() function
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dce/ |
D | dce_transform.c | 291 dc_fixpt_div_int( in calculate_inits() 300 dc_fixpt_div_int( in calculate_inits() 329 dc_fixpt_div_int( in dce60_calculate_inits()
|
D | dce_clock_source.c | 698 modulation_time = dc_fixpt_div_int(modulation_time, 4); in calculate_ss() 700 modulation_time = dc_fixpt_div_int(modulation_time, 2); in calculate_ss()
|
D | dce_clk_mgr.c | 136 struct fixed31_32 ss_percentage = dc_fixpt_div_int( in clk_mgr_adjust_dp_ref_freq_for_ss()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/clk_mgr/dce100/ |
D | dce_clk_mgr.c | 117 struct fixed31_32 ss_percentage = dc_fixpt_div_int( in dce_adjust_dp_ref_freq_for_ss()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/modules/color/ |
D | color_gamma.c | 79 region_size = dc_fixpt_div_int(region_size, 2); in setup_x_points_distribution() 80 increment = dc_fixpt_div_int(region_size, in setup_x_points_distribution() 194 x = dc_fixpt_div_int(x, 3); in compute_hlg_eotf() 200 x = dc_fixpt_div_int(x, 12); in compute_hlg_eotf()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/link/ |
D | link_dpms.c | 1052 return dc_fixpt_div_int(mbytes_per_sec, 54); in get_pbn_per_slot() 1548 dc_fixpt_div_int(link_bw_effective, MAX_MTP_SLOT_COUNT); in link_calculate_sst_avg_time_slots_per_mtp()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/core/ |
D | dc_resource.c | 1258 *init = dc_fixpt_truncate(dc_fixpt_add(dc_fixpt_div_int( in calculate_init_and_vp()
|