/linux-6.12.1/drivers/gpu/drm/amd/display/dc/basics/ |
D | conversion.c | 45 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()
|
D | custom_float.c | 95 *mantissa = dc_fixpt_floor(mantiss); in build_custom_float()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dpp/dcn10/ |
D | dcn10_dpp_dscl.c | 532 init_int = dc_fixpt_floor(data->inits.h); in dpp1_dscl_set_manual_ratio_init() 538 init_int = dc_fixpt_floor(data->inits.h_c); in dpp1_dscl_set_manual_ratio_init() 544 init_int = dc_fixpt_floor(data->inits.v); in dpp1_dscl_set_manual_ratio_init() 553 init_int = dc_fixpt_floor(bot); in dpp1_dscl_set_manual_ratio_init() 560 init_int = dc_fixpt_floor(data->inits.v_c); in dpp1_dscl_set_manual_ratio_init() 569 init_int = dc_fixpt_floor(bot); in dpp1_dscl_set_manual_ratio_init()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dpp/dcn401/ |
D | dcn401_dpp_dscl.c | 589 init_int = dc_fixpt_floor(data->inits.h); in dpp401_dscl_set_manual_ratio_init() 595 init_int = dc_fixpt_floor(data->inits.h_c); in dpp401_dscl_set_manual_ratio_init() 601 init_int = dc_fixpt_floor(data->inits.v); in dpp401_dscl_set_manual_ratio_init() 610 init_int = dc_fixpt_floor(bot); in dpp401_dscl_set_manual_ratio_init() 617 init_int = dc_fixpt_floor(data->inits.v_c); in dpp401_dscl_set_manual_ratio_init() 626 init_int = dc_fixpt_floor(bot); in dpp401_dscl_set_manual_ratio_init()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dcn20/ |
D | dcn20_dwb_scl.c | 748 if (dc_fixpt_floor(tmp_h_ratio_luma) == 8) in dwb_program_horz_scalar() 826 if (dc_fixpt_floor(tmp_v_ratio_luma) == 8) in dwb_program_vert_scalar()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/link/hwss/ |
D | link_hwss_hpo_dp.c | 66 hblank_min_symbol_width = dc_fixpt_floor( in set_hpo_dp_hblank_min_symbol_width()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dce/ |
D | dce_clock_source.c | 684 ds_data->feedback_amount = dc_fixpt_floor(ss_amount); in calculate_ss() 689 ds_data->nfrac_amount = dc_fixpt_floor(ss_nslip_amount); in calculate_ss() 694 ds_data->ds_frac_amount = dc_fixpt_floor(ss_ds_frac_amount); in calculate_ss() 709 ds_data->ds_frac_size = dc_fixpt_floor(ss_step_size); in calculate_ss()
|
D | dce_transform.c | 296 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()
|
D | dce_audio.c | 368 num_sdp_with_max_layouts = dc_fixpt_floor( in calculate_required_audio_bw_in_symbols() 453 available_hblank_bw = dc_fixpt_floor(available_stream_sym_count); in calculate_available_hblank_bw_in_symbols()
|
D | dce_clk_mgr.c | 143 dp_ref_clk_khz = dc_fixpt_floor(adj_dp_ref_clk_khz); in clk_mgr_adjust_dp_ref_freq_for_ss()
|
D | dce_stream_encoder.c | 702 uint32_t x = dc_fixpt_floor( in dce110_stream_encoder_set_throttled_vcp_size()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/include/ |
D | fixed31_32.h | 446 static inline int dc_fixpt_floor(struct fixed31_32 arg) in dc_fixpt_floor() function
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/resource/dcn20/ |
D | dcn20_resource.c | 1523 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/ |
D | dce_clk_mgr.c | 124 dp_ref_clk_khz = dc_fixpt_floor(adj_dp_ref_clk_khz); in dce_adjust_dp_ref_freq_for_ss()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dsc/ |
D | dc_dsc.c | 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() 605 return dc_fixpt_floor(bpp_x16); in compute_bpp_x16_from_target_bandwidth()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hpo/dcn31/ |
D | dcn31_hpo_dp_link_encoder.c | 389 uint32_t x = dc_fixpt_floor( in dcn31_hpo_dp_link_enc_set_throttled_vcp_size()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn30/ |
D | dcn30_clk_mgr.c | 189 return dc_fixpt_floor(pll_req); in dcn30_get_vco_frequency_from_reg()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn20/ |
D | dcn20_clk_mgr.c | 574 clk_mgr->base.dentist_vco_freq_khz = dc_fixpt_floor(pll_req); in dcn20_clk_mgr_construct()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/link/ |
D | link_dpms.c | 1065 vcp_x = dc_fixpt_floor( in log_vcp_x_y() 1067 vcp_y = dc_fixpt_floor( in log_vcp_x_y() 1071 dc_fixpt_floor( in log_vcp_x_y()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn21/ |
D | rn_clk_mgr.c | 281 return dc_fixpt_floor(pll_req); in get_vco_frequency_from_reg()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn301/ |
D | vg_clk_mgr.c | 213 return dc_fixpt_floor(pll_req); in get_vco_frequency_from_reg()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn31/ |
D | dcn31_clk_mgr.c | 286 return dc_fixpt_floor(pll_req); in get_vco_frequency_from_reg()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/modules/color/ |
D | color_gamma.c | 1521 index = dc_fixpt_floor(norm_y); in apply_lut_1d() 1737 index = dc_fixpt_floor(norm_x); in interpolate_user_regamma()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hubp/dcn401/ |
D | dcn401_hubp.c | 717 dst_x_offset = dc_fixpt_floor(dc_fixpt_div( in hubp401_cursor_set_position()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dio/dcn10/ |
D | dcn10_stream_encoder.c | 631 uint32_t x = dc_fixpt_floor( in enc1_stream_encoder_set_throttled_vcp_size()
|