Home
last modified time | relevance | path

Searched refs:dc_fixpt_mul_int (Results 1 – 24 of 24) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dsc/
Ddc_dsc.c81 dc_fixpt_mul_int(overhead_factor, total_kbps)); in apply_128b_132b_stream_overhead()
600 bpp_x16 = dc_fixpt_mul_int(effective_bandwidth_in_kbps, 10); in compute_bpp_x16_from_target_bandwidth()
602 bpp_x16 = dc_fixpt_from_int(dc_fixpt_floor(dc_fixpt_mul_int(bpp_x16, bpp_increment_div))); in compute_bpp_x16_from_target_bandwidth()
604 bpp_x16 = dc_fixpt_mul_int(bpp_x16, 16); in compute_bpp_x16_from_target_bandwidth()
1163 refresh_rate = dc_fixpt_mul_int(refresh_rate, 100); in dc_dsc_stream_bandwidth_overhead_in_kbps()
1166 max_dsc_overhead = dc_fixpt_mul_int(max_dsc_overhead, timing->v_total); in dc_dsc_stream_bandwidth_overhead_in_kbps()
1167 max_dsc_overhead = dc_fixpt_mul_int(max_dsc_overhead, 256); in dc_dsc_stream_bandwidth_overhead_in_kbps()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/basics/
Dfixpt31_32.c239 dc_fixpt_mul_int( in dc_fixpt_sinc()
354 dc_fixpt_mul_int( in dc_fixpt_exp()
Dconversion.c51 dc_fixpt_mul_int( in fixed_point_to_int_frac()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dce/
Ddce_audio.c382 remainder = dc_fixpt_mul_int(remainder, layout_config->symbols_per_layout); in calculate_required_audio_bw_in_symbols()
432 bits_per_pixel = dc_fixpt_mul_int(bits_per_pixel, 3); in calculate_available_hblank_bw_in_symbols()
436 bits_per_pixel = dc_fixpt_mul_int(bits_per_pixel, 2); in calculate_available_hblank_bw_in_symbols()
450 available_stream_sym_count = dc_fixpt_mul_int(hblank_time_msec, 1000); in calculate_available_hblank_bw_in_symbols()
Ddce_clock_source.c688 ss_nslip_amount = dc_fixpt_mul_int(ss_nslip_amount, 10); in calculate_ss()
693 ss_ds_frac_amount = dc_fixpt_mul_int(ss_ds_frac_amount, 65536); in calculate_ss()
708 ss_step_size = dc_fixpt_mul_int(ss_step_size, 65536 * 10); in calculate_ss()
Ddce_clk_mgr.c142 adj_dp_ref_clk_khz = dc_fixpt_mul_int(ss_percentage, dp_ref_clk_khz); in clk_mgr_adjust_dp_ref_freq_for_ss()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_dwb_scl.c769 tmp_h_init_phase_chroma = dc_fixpt_mul_int(tmp_h_ratio_luma, 2); in dwb_program_horz_scalar()
847 tmp_v_init_phase_chroma = dc_fixpt_mul_int(tmp_v_ratio_luma, 2); in dwb_program_vert_scalar()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/link/hwss/
Dlink_hwss_hpo_dp.c65 dc_fixpt_mul_int(time_slot_in_ms, 64)); in set_hpo_dp_hblank_min_symbol_width()
/linux-6.12.1/drivers/gpu/drm/amd/display/modules/color/
Dcolor_gamma.c1387 pwl_rgb[i].r = dc_fixpt_sub(dc_fixpt_mul_int( in scale_gamma_dx()
1389 pwl_rgb[i].g = dc_fixpt_sub(dc_fixpt_mul_int( in scale_gamma_dx()
1391 pwl_rgb[i].b = dc_fixpt_sub(dc_fixpt_mul_int( in scale_gamma_dx()
1394 pwl_rgb[i].r = dc_fixpt_sub(dc_fixpt_mul_int( in scale_gamma_dx()
1396 pwl_rgb[i].g = dc_fixpt_sub(dc_fixpt_mul_int( in scale_gamma_dx()
1398 pwl_rgb[i].b = dc_fixpt_sub(dc_fixpt_mul_int( in scale_gamma_dx()
/linux-6.12.1/drivers/gpu/drm/amd/display/include/
Dfixed31_32.h308 static inline struct fixed31_32 dc_fixpt_mul_int(struct fixed31_32 arg1, int arg2) in dc_fixpt_mul_int() function
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/resource/dcn20/
Ddcn20_resource.c1523 sd->viewport.width -= dc_fixpt_floor(dc_fixpt_mul_int( in dcn20_split_stream_for_odm()
1525 sd->viewport_c.width -= dc_fixpt_floor(dc_fixpt_mul_int( in dcn20_split_stream_for_odm()
1537 sd->viewport.width -= dc_fixpt_floor(dc_fixpt_mul_int( in dcn20_split_stream_for_odm()
1539 sd->viewport_c.width -= dc_fixpt_floor(dc_fixpt_mul_int( in dcn20_split_stream_for_odm()
1542 sd->viewport.x += dc_fixpt_floor(dc_fixpt_mul_int( in dcn20_split_stream_for_odm()
1544 sd->viewport_c.x += dc_fixpt_floor(dc_fixpt_mul_int( in dcn20_split_stream_for_odm()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/clk_mgr/dce100/
Ddce_clk_mgr.c123 adj_dp_ref_clk_khz = dc_fixpt_mul_int(ss_percentage, dp_ref_clk_khz); in dce_adjust_dp_ref_freq_for_ss()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn30/
Ddcn30_clk_mgr.c187 pll_req = dc_fixpt_mul_int(pll_req, clk_mgr->dfs_ref_freq_khz); in dcn30_get_vco_frequency_from_reg()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn20/
Ddcn20_clk_mgr.c571 pll_req = dc_fixpt_mul_int(pll_req, 100000); in dcn20_clk_mgr_construct()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/core/
Ddc_resource.c776 data->viewport.width = dc_fixpt_ceil(dc_fixpt_mul_int(data->ratios.horz, data->recout.width)); in calculate_viewport_size()
777 data->viewport.height = dc_fixpt_ceil(dc_fixpt_mul_int(data->ratios.vert, data->recout.height)); in calculate_viewport_size()
778 data->viewport_c.width = dc_fixpt_ceil(dc_fixpt_mul_int(data->ratios.horz_c, data->recout.width)); in calculate_viewport_size()
779 …data->viewport_c.height = dc_fixpt_ceil(dc_fixpt_mul_int(data->ratios.vert_c, data->recout.height)… in calculate_viewport_size()
1214 temp = dc_fixpt_mul_int(ratio, recout_offset_within_recout_full); in calculate_init_and_vp()
1237 temp = dc_fixpt_add(*init, dc_fixpt_mul_int(ratio, recout_size - 1)); in calculate_init_and_vp()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dpp/dcn30/
Ddcn30_dpp.c447 scl_data->taps.v_taps = min(dc_fixpt_ceil(dc_fixpt_mul_int(scl_data->ratios.vert, 2)), 8); in dpp3_get_optimal_number_of_taps()
454 scl_data->taps.v_taps_c = min(dc_fixpt_ceil(dc_fixpt_mul_int(scl_data->ratios.vert_c, 2)), 8); in dpp3_get_optimal_number_of_taps()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn21/
Drn_clk_mgr.c278 pll_req = dc_fixpt_mul_int(pll_req, clk_mgr->dfs_ref_freq_khz); in get_vco_frequency_from_reg()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn301/
Dvg_clk_mgr.c210 pll_req = dc_fixpt_mul_int(pll_req, clk_mgr->dfs_ref_freq_khz); in get_vco_frequency_from_reg()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn31/
Ddcn31_clk_mgr.c283 pll_req = dc_fixpt_mul_int(pll_req, clk_mgr->dfs_ref_freq_khz); in get_vco_frequency_from_reg()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn314/
Ddcn314_clk_mgr.c356 pll_req = dc_fixpt_mul_int(pll_req, clk_mgr->dfs_ref_freq_khz); in get_vco_frequency_from_reg()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn32/
Ddcn32_clk_mgr.c867 pll_req = dc_fixpt_mul_int(pll_req, clk_mgr->dfs_ref_freq_khz); in dcn32_get_vco_frequency_from_reg()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn35/
Ddcn35_clk_mgr.c456 pll_req = dc_fixpt_mul_int(pll_req, clk_mgr->dfs_ref_freq_khz); in get_vco_frequency_from_reg()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn401/
Ddcn401_clk_mgr.c1414 pll_req = dc_fixpt_mul_int(pll_req, clk_mgr->dfs_ref_freq_khz); in dcn401_get_vco_frequency_from_reg()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/link/
Dlink_dpms.c1068 dc_fixpt_mul_int( in log_vcp_x_y()