Home
last modified time | relevance | path

Searched refs:dc_fixpt_div_int (Results 1 – 12 of 12) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/amd/display/dc/basics/
Dfixpt31_32.c251 dc_fixpt_div_int( in dc_fixpt_sinc()
288 dc_fixpt_div_int( in dc_fixpt_cos()
321 dc_fixpt_div_int( in fixed31_32_exp_from_taylor_series()
369 return dc_fixpt_div_int( in dc_fixpt_exp()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_dwb_scl.c762 tmp_h_init_phase_luma = dc_fixpt_div_int(tmp_h_init_phase_luma, 2); in dwb_program_horz_scalar()
771 tmp_h_init_phase_chroma = dc_fixpt_div_int(tmp_h_init_phase_chroma, 2); in dwb_program_horz_scalar()
840 tmp_v_init_phase_luma = dc_fixpt_div_int(tmp_v_init_phase_luma, 2); in dwb_program_vert_scalar()
849 tmp_v_init_phase_chroma = dc_fixpt_div_int(tmp_v_init_phase_chroma, 2); in dwb_program_vert_scalar()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dsc/
Ddc_dsc.c68 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()
601 bpp_x16 = dc_fixpt_div_int(bpp_x16, timing->pix_clk_100hz); in compute_bpp_x16_from_target_bandwidth()
603 bpp_x16 = dc_fixpt_div_int(bpp_x16, bpp_increment_div); in compute_bpp_x16_from_target_bandwidth()
1161 refresh_rate = dc_fixpt_div_int(refresh_rate, timing->h_total); in dc_dsc_stream_bandwidth_overhead_in_kbps()
1162 refresh_rate = dc_fixpt_div_int(refresh_rate, timing->v_total); in dc_dsc_stream_bandwidth_overhead_in_kbps()
1168 max_dsc_overhead = dc_fixpt_div_int(max_dsc_overhead, 1000); in dc_dsc_stream_bandwidth_overhead_in_kbps()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dce/
Ddce_audio.c366 layouts_per_line = dc_fixpt_div_int(samples_per_line, layout_config->layouts_per_sample_denom); in calculate_required_audio_bw_in_symbols()
369 dc_fixpt_div_int(layouts_per_line, layout_config->max_layouts_per_audio_sdp)); in calculate_required_audio_bw_in_symbols()
379 dc_fixpt_div_int(layouts_per_line, layout_config->max_layouts_per_audio_sdp))) { in calculate_required_audio_bw_in_symbols()
435 bits_per_pixel = dc_fixpt_div_int(bits_per_pixel, 3); in calculate_available_hblank_bw_in_symbols()
438 bits_per_pixel = dc_fixpt_div_int(bits_per_pixel, 2); in calculate_available_hblank_bw_in_symbols()
Ddce_transform.c291 dc_fixpt_div_int( in calculate_inits()
300 dc_fixpt_div_int( in calculate_inits()
329 dc_fixpt_div_int( in dce60_calculate_inits()
Ddce_clock_source.c702 modulation_time = dc_fixpt_div_int(modulation_time, 4); in calculate_ss()
704 modulation_time = dc_fixpt_div_int(modulation_time, 2); in calculate_ss()
Ddce_clk_mgr.c136 struct fixed31_32 ss_percentage = dc_fixpt_div_int( in clk_mgr_adjust_dp_ref_freq_for_ss()
/linux-6.12.1/drivers/gpu/drm/amd/display/include/
Dfixed31_32.h323 static inline struct fixed31_32 dc_fixpt_div_int(struct fixed31_32 arg1, long long arg2) in dc_fixpt_div_int() function
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/clk_mgr/dce100/
Ddce_clk_mgr.c117 struct fixed31_32 ss_percentage = dc_fixpt_div_int( in dce_adjust_dp_ref_freq_for_ss()
/linux-6.12.1/drivers/gpu/drm/amd/display/modules/color/
Dcolor_gamma.c177 region_size = dc_fixpt_div_int(region_size, 2); in setup_x_points_distribution()
178 increment = dc_fixpt_div_int(region_size, in setup_x_points_distribution()
292 x = dc_fixpt_div_int(x, 3); in compute_hlg_eotf()
298 x = dc_fixpt_div_int(x, 12); in compute_hlg_eotf()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/link/
Dlink_dpms.c1101 return dc_fixpt_div_int(mbytes_per_sec, 54); in get_pbn_per_slot()
1511 dc_fixpt_div_int(link_bw_effective, MAX_MTP_SLOT_COUNT); in link_calculate_sst_avg_time_slots_per_mtp()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/core/
Ddc_resource.c1217 *init = dc_fixpt_truncate(dc_fixpt_add(dc_fixpt_div_int( in calculate_init_and_vp()