Home
last modified time | relevance | path

Searched refs:math_pow (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_standalone_libraries/
H A Dlib_float_math.c84 float math_pow(float a, float exp) in math_pow() function
89 temp = math_pow(a, (float)((int)(exp / 2))); in math_pow()
/linux/drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/
H A Ddml2_core_dcn4_calcs.c12527 DML_ASSERT(disp_dlg_regs->refcyc_h_blank_end < (unsigned int)math_pow(2, 13)); in rq_dlg_get_dlg_reg()
12529 disp_dlg_regs->ref_freq_to_pix_freq = (unsigned int)(l->ref_freq_to_pix_freq * math_pow(2, 19)); in rq_dlg_get_dlg_reg()
12530 …->refcyc_per_htotal = (unsigned int)(l->ref_freq_to_pix_freq * (double)l->htotal * math_pow(2, 8)); in rq_dlg_get_dlg_reg()
12614 …disp_dlg_regs->min_dst_y_next_start = (unsigned int)((double)l->min_dst_y_next_start * math_pow(2,… in rq_dlg_get_dlg_reg()
12615 DML_ASSERT(disp_dlg_regs->min_dst_y_next_start < (unsigned int)math_pow(2, 18)); in rq_dlg_get_dlg_reg()
12619 disp_dlg_regs->dst_y_prefetch = (unsigned int)(l->dst_y_prefetch * math_pow(2, 2)); in rq_dlg_get_dlg_reg()
12620 disp_dlg_regs->dst_y_per_vm_vblank = (unsigned int)(l->dst_y_per_vm_vblank * math_pow(2, 2)); in rq_dlg_get_dlg_reg()
12621 disp_dlg_regs->dst_y_per_row_vblank = (unsigned int)(l->dst_y_per_row_vblank * math_pow(2, 2)); in rq_dlg_get_dlg_reg()
12622 disp_dlg_regs->dst_y_per_vm_flip = (unsigned int)(l->dst_y_per_vm_flip * math_pow(2, 2)); in rq_dlg_get_dlg_reg()
12623 disp_dlg_regs->dst_y_per_row_flip = (unsigned int)(l->dst_y_per_row_flip * math_pow(2, 2)); in rq_dlg_get_dlg_reg()
[all …]