Home
last modified time | relevance | path

Searched refs:h_c (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/drivers/gpu/drm/amd/display/dc/core/
Ddc_resource.c536 data->inits.h_c = (data->viewport.x % vpc_div) != 0 ? in calculate_viewport()
740 data->inits.h_c = dc_fixpt_truncate(dc_fixpt_add(data->inits.h_c, dc_fixpt_div_int( in calculate_inits_and_adj_vp()
763 dc_fixpt_sub(data->inits.h_c, data->ratios.horz_c)); in calculate_inits_and_adj_vp()
794 data->inits.h_c = dc_fixpt_add(data->inits.h_c, dc_fixpt_mul_int( in calculate_inits_and_adj_vp()
796 int_part = dc_fixpt_floor(data->inits.h_c) - data->viewport_c.x; in calculate_inits_and_adj_vp()
808 data->inits.h_c.value &= 0xffffffff; in calculate_inits_and_adj_vp()
809 data->inits.h_c = dc_fixpt_add_int(data->inits.h_c, int_part); in calculate_inits_and_adj_vp()
823 dc_fixpt_sub(data->inits.h_c, data->ratios.horz_c)); in calculate_inits_and_adj_vp()
869 data->inits.h_c = dc_fixpt_add(data->inits.h_c, dc_fixpt_mul_int( in calculate_inits_and_adj_vp()
875 int_part = dc_fixpt_floor(data->inits.h_c) - end_offset; in calculate_inits_and_adj_vp()
[all …]
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/inc/hw/
Dtransform.h163 struct fixed31_32 h_c; member
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_dpp_dscl.c588 init_frac = dc_fixpt_u0d19(data->inits.h_c) << 5; in dpp1_dscl_set_manual_ratio_init()
589 init_int = dc_fixpt_floor(data->inits.h_c); in dpp1_dscl_set_manual_ratio_init()