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/ |
D | fixpt31_32.c | 251 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/ |
D | dcn20_dwb_scl.c | 762 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/ |
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() 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/ |
D | dce_audio.c | 366 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()
|
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 | 702 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()
|
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.12.1/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.12.1/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.12.1/drivers/gpu/drm/amd/display/modules/color/ |
D | color_gamma.c | 177 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/ |
D | link_dpms.c | 1101 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/ |
D | dc_resource.c | 1217 *init = dc_fixpt_truncate(dc_fixpt_add(dc_fixpt_div_int( in calculate_init_and_vp()
|