Searched refs:dc_fixpt_mul_int (Results 1 – 15 of 15) sorted by relevance
/drivers/gpu/drm/amd/display/dc/basics/ |
D | conversion.c | 50 dc_fixpt_mul_int( in fixed_point_to_int_frac()
|
D | fixpt31_32.c | 239 dc_fixpt_mul_int( in dc_fixpt_sinc() 354 dc_fixpt_mul_int( in dc_fixpt_exp()
|
/drivers/gpu/drm/amd/display/dc/dcn20/ |
D | dcn20_dwb_scl.c | 766 tmp_h_init_phase_chroma = dc_fixpt_mul_int(tmp_h_ratio_luma, 2); in dwb_program_horz_scalar() 844 tmp_v_init_phase_chroma = dc_fixpt_mul_int(tmp_v_ratio_luma, 2); in dwb_program_vert_scalar()
|
D | dcn20_resource.c | 1902 sd->viewport.width -= dc_fixpt_floor(dc_fixpt_mul_int( in dcn20_split_stream_for_odm() 1904 sd->viewport_c.width -= dc_fixpt_floor(dc_fixpt_mul_int( in dcn20_split_stream_for_odm() 1916 sd->viewport.width -= dc_fixpt_floor(dc_fixpt_mul_int( in dcn20_split_stream_for_odm() 1918 sd->viewport_c.width -= dc_fixpt_floor(dc_fixpt_mul_int( in dcn20_split_stream_for_odm() 1921 sd->viewport.x += dc_fixpt_floor(dc_fixpt_mul_int( in dcn20_split_stream_for_odm() 1923 sd->viewport_c.x += dc_fixpt_floor(dc_fixpt_mul_int( in dcn20_split_stream_for_odm()
|
/drivers/gpu/drm/amd/display/modules/color/ |
D | color_gamma.c | 1223 pwl_rgb[i].r = dc_fixpt_sub(dc_fixpt_mul_int( in scale_gamma_dx() 1225 pwl_rgb[i].g = dc_fixpt_sub(dc_fixpt_mul_int( in scale_gamma_dx() 1227 pwl_rgb[i].b = dc_fixpt_sub(dc_fixpt_mul_int( in scale_gamma_dx() 1230 pwl_rgb[i].r = dc_fixpt_sub(dc_fixpt_mul_int( in scale_gamma_dx() 1232 pwl_rgb[i].g = dc_fixpt_sub(dc_fixpt_mul_int( in scale_gamma_dx() 1234 pwl_rgb[i].b = dc_fixpt_sub(dc_fixpt_mul_int( in scale_gamma_dx()
|
/drivers/gpu/drm/amd/display/include/ |
D | fixed31_32.h | 314 static inline struct fixed31_32 dc_fixpt_mul_int(struct fixed31_32 arg1, int arg2) in dc_fixpt_mul_int() function
|
/drivers/gpu/drm/amd/display/dc/dce/ |
D | dce_clock_source.c | 687 ss_nslip_amount = dc_fixpt_mul_int(ss_nslip_amount, 10); in calculate_ss() 692 ss_ds_frac_amount = dc_fixpt_mul_int(ss_ds_frac_amount, 65536); in calculate_ss() 707 ss_step_size = dc_fixpt_mul_int(ss_step_size, 65536 * 10); in calculate_ss()
|
D | dce_clk_mgr.c | 142 adj_dp_ref_clk_khz = dc_fixpt_mul_int(ss_percentage, dp_ref_clk_khz); in clk_mgr_adjust_dp_ref_freq_for_ss()
|
/drivers/gpu/drm/amd/display/dc/clk_mgr/dce100/ |
D | dce_clk_mgr.c | 123 adj_dp_ref_clk_khz = dc_fixpt_mul_int(ss_percentage, dp_ref_clk_khz); in dce_adjust_dp_ref_freq_for_ss()
|
/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn20/ |
D | dcn20_clk_mgr.c | 502 pll_req = dc_fixpt_mul_int(pll_req, 100000); in dcn20_clk_mgr_construct()
|
/drivers/gpu/drm/amd/display/dc/dcn30/ |
D | dcn30_dpp.c | 414 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() 421 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()
|
/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn30/ |
D | dcn30_clk_mgr.c | 222 pll_req = dc_fixpt_mul_int(pll_req, clk_mgr->dfs_ref_freq_khz); in dcn30_get_vco_frequency_from_reg()
|
/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn21/ |
D | rn_clk_mgr.c | 238 pll_req = dc_fixpt_mul_int(pll_req, clk_mgr->dfs_ref_freq_khz); in get_vco_frequency_from_reg()
|
/drivers/gpu/drm/amd/display/dc/core/ |
D | dc_resource.c | 909 *init = dc_fixpt_add(*init, dc_fixpt_mul_int(ratio, recout_skip)); in adjust_vp_and_init_for_seamless_clip() 944 *init = dc_fixpt_add(*init, dc_fixpt_mul_int(ratio, recout_skip)); in adjust_vp_and_init_for_seamless_clip()
|
D | dc_link.c | 3429 link_bw_kbps = dc_fixpt_mul_int(link_bw_kbps, timing->dsc_cfg.bits_per_pixel); in dc_bandwidth_in_kbps_from_timing()
|