/linux/drivers/gpu/drm/amd/display/dc/basics/ |
A 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()
|
/linux/drivers/gpu/drm/amd/display/dc/dcn10/ |
A D | dcn10_dpp_dscl.c | 629 init_int = dc_fixpt_floor(data->inits.h); in dpp1_dscl_set_manual_ratio_init() 635 init_int = dc_fixpt_floor(data->inits.h_c); in dpp1_dscl_set_manual_ratio_init() 641 init_int = dc_fixpt_floor(data->inits.v); in dpp1_dscl_set_manual_ratio_init() 650 init_int = dc_fixpt_floor(bot); in dpp1_dscl_set_manual_ratio_init() 657 init_int = dc_fixpt_floor(data->inits.v_c); in dpp1_dscl_set_manual_ratio_init() 666 init_int = dc_fixpt_floor(bot); in dpp1_dscl_set_manual_ratio_init()
|
A D | dcn10_stream_encoder.c | 641 uint32_t x = dc_fixpt_floor( in enc1_stream_encoder_set_throttled_vcp_size()
|
A D | dcn10_hubp.c | 1225 dst_x_offset = dc_fixpt_floor(dc_fixpt_div( in hubp1_cursor_set_position()
|
/linux/drivers/gpu/drm/amd/display/dc/calcs/ |
A D | custom_float.c | 117 *mantissa = dc_fixpt_floor(mantiss); in build_custom_float()
|
/linux/drivers/gpu/drm/amd/display/dc/dcn20/ |
A D | dcn20_dwb_scl.c | 745 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()
|
A D | dcn20_resource.c | 1930 sd->viewport.width -= dc_fixpt_floor(dc_fixpt_mul_int( in dcn20_split_stream_for_odm() 1932 sd->viewport_c.width -= dc_fixpt_floor(dc_fixpt_mul_int( in dcn20_split_stream_for_odm() 1944 sd->viewport.width -= dc_fixpt_floor(dc_fixpt_mul_int( in dcn20_split_stream_for_odm() 1946 sd->viewport_c.width -= dc_fixpt_floor(dc_fixpt_mul_int( in dcn20_split_stream_for_odm() 1949 sd->viewport.x += dc_fixpt_floor(dc_fixpt_mul_int( in dcn20_split_stream_for_odm() 1951 sd->viewport_c.x += dc_fixpt_floor(dc_fixpt_mul_int( in dcn20_split_stream_for_odm()
|
A D | dcn20_hubp.c | 1009 dst_x_offset = dc_fixpt_floor(dc_fixpt_div( in hubp2_cursor_set_position()
|
/linux/drivers/gpu/drm/amd/display/dc/dce/ |
A D | dce_clock_source.c | 680 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()
|
A 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()
|
A 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()
|
A D | dce_stream_encoder.c | 718 uint32_t x = dc_fixpt_floor( in dce110_stream_encoder_set_throttled_vcp_size()
|
/linux/drivers/gpu/drm/amd/display/include/ |
A D | fixed31_32.h | 446 static inline int dc_fixpt_floor(struct fixed31_32 arg) in dc_fixpt_floor() function
|
/linux/drivers/gpu/drm/amd/display/dc/dsc/ |
A D | dc_dsc.c | 485 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() 488 return dc_fixpt_floor(bpp_x16); in compute_bpp_x16_from_target_bandwidth()
|
/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dce100/ |
A 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/drivers/gpu/drm/amd/display/dc/dcn31/ |
A D | dcn31_hpo_dp_link_encoder.c | 387 uint32_t x = dc_fixpt_floor( in dcn31_hpo_dp_link_enc_set_throttled_vcp_size()
|
/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn20/ |
A D | dcn20_clk_mgr.c | 578 clk_mgr->base.dentist_vco_freq_khz = dc_fixpt_floor(pll_req); in dcn20_clk_mgr_construct()
|
/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn30/ |
A D | dcn30_clk_mgr.c | 240 return dc_fixpt_floor(pll_req); in dcn30_get_vco_frequency_from_reg()
|
/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn31/ |
A D | dcn31_clk_mgr.c | 278 return dc_fixpt_floor(pll_req); in get_vco_frequency_from_reg()
|
/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn301/ |
A D | vg_clk_mgr.c | 213 return dc_fixpt_floor(pll_req); in get_vco_frequency_from_reg()
|
/linux/drivers/gpu/drm/amd/display/dc/core/ |
A D | dc_resource.c | 921 *vp_offset = dc_fixpt_floor(temp); in calculate_init_and_vp() 930 int_part = dc_fixpt_floor(*init); in calculate_init_and_vp() 944 *vp_size = dc_fixpt_floor(temp); in calculate_init_and_vp()
|
A D | dc_link.c | 3336 vcp_x = dc_fixpt_floor(avg_time_slots_per_mtp); in dc_log_vcp_x_y() 3337 vcp_y = dc_fixpt_floor( in dc_log_vcp_x_y() 3339 dc_fixpt_sub_int(avg_time_slots_per_mtp, dc_fixpt_floor(avg_time_slots_per_mtp)), in dc_log_vcp_x_y()
|
/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn21/ |
A D | rn_clk_mgr.c | 283 return dc_fixpt_floor(pll_req); in get_vco_frequency_from_reg()
|
/linux/drivers/gpu/drm/amd/display/modules/color/ |
A D | color_gamma.c | 1423 index = dc_fixpt_floor(norm_y); in apply_lut_1d() 1635 index = dc_fixpt_floor(norm_x); in interpolate_user_regamma()
|