Home
last modified time | relevance | path

Searched refs:dc_fixpt_floor (Results 1 – 25 of 28) sorted by relevance

12

/Linux-v6.1/drivers/gpu/drm/amd/display/dc/basics/
Dconversion.c45 uint16_t d = (uint16_t)dc_fixpt_floor( in fixed_point_to_int_frac()
55 numerator = dc_fixpt_floor( in fixed_point_to_int_frac()
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_dpp_dscl.c536 init_int = dc_fixpt_floor(data->inits.h); in dpp1_dscl_set_manual_ratio_init()
542 init_int = dc_fixpt_floor(data->inits.h_c); in dpp1_dscl_set_manual_ratio_init()
548 init_int = dc_fixpt_floor(data->inits.v); in dpp1_dscl_set_manual_ratio_init()
557 init_int = dc_fixpt_floor(bot); in dpp1_dscl_set_manual_ratio_init()
564 init_int = dc_fixpt_floor(data->inits.v_c); in dpp1_dscl_set_manual_ratio_init()
573 init_int = dc_fixpt_floor(bot); in dpp1_dscl_set_manual_ratio_init()
Ddcn10_stream_encoder.c631 uint32_t x = dc_fixpt_floor( in enc1_stream_encoder_set_throttled_vcp_size()
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/dml/calcs/
Dcustom_float.c117 *mantissa = dc_fixpt_floor(mantiss); in build_custom_float()
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_dwb_scl.c745 if (dc_fixpt_floor(tmp_h_ratio_luma) == 8) in dwb_program_horz_scalar()
823 if (dc_fixpt_floor(tmp_v_ratio_luma) == 8) in dwb_program_vert_scalar()
Ddcn20_resource.c1502 sd->viewport.width -= dc_fixpt_floor(dc_fixpt_mul_int( in dcn20_split_stream_for_odm()
1504 sd->viewport_c.width -= dc_fixpt_floor(dc_fixpt_mul_int( in dcn20_split_stream_for_odm()
1516 sd->viewport.width -= dc_fixpt_floor(dc_fixpt_mul_int( in dcn20_split_stream_for_odm()
1518 sd->viewport_c.width -= dc_fixpt_floor(dc_fixpt_mul_int( in dcn20_split_stream_for_odm()
1521 sd->viewport.x += dc_fixpt_floor(dc_fixpt_mul_int( in dcn20_split_stream_for_odm()
1523 sd->viewport_c.x += dc_fixpt_floor(dc_fixpt_mul_int( in dcn20_split_stream_for_odm()
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/dce/
Ddce_clock_source.c680 ds_data->feedback_amount = dc_fixpt_floor(ss_amount); in calculate_ss()
685 ds_data->nfrac_amount = dc_fixpt_floor(ss_nslip_amount); in calculate_ss()
690 ds_data->ds_frac_amount = dc_fixpt_floor(ss_ds_frac_amount); in calculate_ss()
705 ds_data->ds_frac_size = dc_fixpt_floor(ss_step_size); in calculate_ss()
Ddce_transform.c296 inits->h_init.integer = dc_fixpt_floor(h_init); in calculate_inits()
305 inits->v_init.integer = dc_fixpt_floor(v_init); in calculate_inits()
334 inits->v_init.integer = dc_fixpt_floor(v_init); in dce60_calculate_inits()
Ddce_clk_mgr.c143 dp_ref_clk_khz = dc_fixpt_floor(adj_dp_ref_clk_khz); in clk_mgr_adjust_dp_ref_freq_for_ss()
Ddce_stream_encoder.c702 uint32_t x = dc_fixpt_floor( in dce110_stream_encoder_set_throttled_vcp_size()
/Linux-v6.1/drivers/gpu/drm/amd/display/include/
Dfixed31_32.h446 static inline int dc_fixpt_floor(struct fixed31_32 arg) in dc_fixpt_floor() function
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/link/
Dlink_hwss_hpo_dp.c82 hblank_min_symbol_width = dc_fixpt_floor( in set_hpo_dp_hblank_min_symbol_width()
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/clk_mgr/dce100/
Ddce_clk_mgr.c124 dp_ref_clk_khz = dc_fixpt_floor(adj_dp_ref_clk_khz); in dce_adjust_dp_ref_freq_for_ss()
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/dsc/
Ddc_dsc.c486 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()
489 return dc_fixpt_floor(bpp_x16); in compute_bpp_x16_from_target_bandwidth()
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/dcn31/
Ddcn31_hpo_dp_link_encoder.c387 uint32_t x = dc_fixpt_floor( in dcn31_hpo_dp_link_enc_set_throttled_vcp_size()
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn30/
Ddcn30_clk_mgr.c189 return dc_fixpt_floor(pll_req); in dcn30_get_vco_frequency_from_reg()
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn20/
Ddcn20_clk_mgr.c576 clk_mgr->base.dentist_vco_freq_khz = dc_fixpt_floor(pll_req); in dcn20_clk_mgr_construct()
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn316/
Ddcn316_clk_mgr.c610 return dc_fixpt_floor(pll_req); in get_vco_frequency_from_reg()
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn301/
Dvg_clk_mgr.c215 return dc_fixpt_floor(pll_req); in get_vco_frequency_from_reg()
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn21/
Drn_clk_mgr.c281 return dc_fixpt_floor(pll_req); in get_vco_frequency_from_reg()
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn31/
Ddcn31_clk_mgr.c284 return dc_fixpt_floor(pll_req); in get_vco_frequency_from_reg()
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn32/
Ddcn32_clk_mgr.c500 return dc_fixpt_floor(pll_req); in dcn32_get_vco_frequency_from_reg()
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn314/
Ddcn314_clk_mgr.c316 return dc_fixpt_floor(pll_req); in get_vco_frequency_from_reg()
/Linux-v6.1/drivers/gpu/drm/amd/display/modules/color/
Dcolor_gamma.c1420 index = dc_fixpt_floor(norm_y); in apply_lut_1d()
1636 index = dc_fixpt_floor(norm_x); in interpolate_user_regamma()
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/core/
Ddc_resource.c960 *vp_offset = dc_fixpt_floor(temp); in calculate_init_and_vp()
969 int_part = dc_fixpt_floor(*init); in calculate_init_and_vp()
983 *vp_size = dc_fixpt_floor(temp); in calculate_init_and_vp()

12