Searched refs:drm_fixp_mul (Results 1 – 7 of 7) sorted by relevance
| /linux/drivers/gpu/drm/msm/dp/ |
| A D | dp_ctrl.c | 303 a_temp = drm_fixp_mul(a, minus_1); in _tu_param_compare() 304 b_temp = drm_fixp_mul(b, minus_1); in _tu_param_compare() 439 temp1_fp = drm_fixp_mul(temp2_fp, temp1_fp); in _tu_valid_boundary_calc() 517 temp1_fp = drm_fixp_mul(temp2_fp, temp1_fp); in _tu_valid_boundary_calc() 530 temp1_fp = drm_fixp_mul(temp2_fp, temp1_fp); in _tu_valid_boundary_calc() 541 temp2_fp = drm_fixp_mul(temp1_fp, temp2_fp); in _tu_valid_boundary_calc() 552 temp1_fp = drm_fixp_mul(temp2_fp, temp1_fp); in _tu_valid_boundary_calc() 561 temp1_fp = drm_fixp_mul(temp1_fp, temp2_fp); in _tu_valid_boundary_calc() 736 temp2_fp = drm_fixp_mul(temp2_fp, temp1_fp); in _dp_ctrl_calc_tu() 755 temp2_fp = drm_fixp_mul(temp1_fp, temp2_fp); in _dp_ctrl_calc_tu() [all …]
|
| /linux/drivers/gpu/drm/vkms/ |
| A D | vkms_formats.c | 109 out_pixel->r = drm_fixp2int_round(drm_fixp_mul(fp_r, fp_rb_ratio)); in RGB565_to_argb_u16() 110 out_pixel->g = drm_fixp2int_round(drm_fixp_mul(fp_g, fp_g_ratio)); in RGB565_to_argb_u16() 111 out_pixel->b = drm_fixp2int_round(drm_fixp_mul(fp_b, fp_rb_ratio)); in RGB565_to_argb_u16()
|
| A D | vkms_composer.c | 99 s64 delta = drm_fixp_mul(b_fp - a_fp, t); in lerp_u16() 108 return drm_fixp_mul(color_channel_fp, lut->channel_value2index_ratio); in get_lut_index()
|
| /linux/include/drm/ |
| A D | drm_fixed.h | 115 static inline s64 drm_fixp_mul(s64 a, s64 b) in drm_fixp_mul() function 209 term = drm_fixp_mul(term, div64_s64(y, count)); in drm_fixp_exp()
|
| /linux/drivers/gpu/drm/radeon/ |
| A D | si_dpm.c | 1723 tmp = drm_fixp_mul(t_slope, vddc) + t_intercept; in si_calculate_leakage_for_v_and_t_formula() 1724 kt = drm_fixp_exp(drm_fixp_mul(tmp, temperature)); in si_calculate_leakage_for_v_and_t_formula() 1725 kt = drm_fixp_div(kt, drm_fixp_exp(drm_fixp_mul(tmp, t_ref))); in si_calculate_leakage_for_v_and_t_formula() 1726 kv = drm_fixp_mul(av, drm_fixp_exp(drm_fixp_mul(bv, vddc))); in si_calculate_leakage_for_v_and_t_formula() 1728 leakage_w = drm_fixp_mul(drm_fixp_mul(drm_fixp_mul(i_leakage, kt), kv), vddc); in si_calculate_leakage_for_v_and_t_formula() 1753 kv = drm_fixp_mul(div64_s64(drm_int2fixp(coeff->av), 100000000), in si_calculate_leakage_for_v_formula() 1754 drm_fixp_exp(drm_fixp_mul(div64_s64(drm_int2fixp(coeff->bv), 100000000), vddc))); in si_calculate_leakage_for_v_formula() 1756 leakage_w = drm_fixp_mul(drm_fixp_mul(drm_fixp_mul(i_leakage, kt), kv), vddc); in si_calculate_leakage_for_v_formula()
|
| A D | ni_dpm.c | 751 kt = drm_fixp_mul(div64_s64(drm_int2fixp(coeff->at), 1000), in ni_calculate_leakage_for_v_and_t_formula() 752 drm_fixp_exp(drm_fixp_mul(div64_s64(drm_int2fixp(coeff->bt), 1000), temperature))); in ni_calculate_leakage_for_v_and_t_formula() 753 kv = drm_fixp_mul(div64_s64(drm_int2fixp(coeff->av), 1000), in ni_calculate_leakage_for_v_and_t_formula() 754 drm_fixp_exp(drm_fixp_mul(div64_s64(drm_int2fixp(coeff->bv), 1000), vddc))); in ni_calculate_leakage_for_v_and_t_formula() 756 leakage_w = drm_fixp_mul(drm_fixp_mul(drm_fixp_mul(i_leakage, kt), kv), vddc); in ni_calculate_leakage_for_v_and_t_formula()
|
| /linux/drivers/gpu/drm/amd/pm/legacy-dpm/ |
| A D | si_dpm.c | 1875 tmp = drm_fixp_mul(t_slope, vddc) + t_intercept; in si_calculate_leakage_for_v_and_t_formula() 1876 kt = drm_fixp_exp(drm_fixp_mul(tmp, temperature)); in si_calculate_leakage_for_v_and_t_formula() 1877 kt = drm_fixp_div(kt, drm_fixp_exp(drm_fixp_mul(tmp, t_ref))); in si_calculate_leakage_for_v_and_t_formula() 1878 kv = drm_fixp_mul(av, drm_fixp_exp(drm_fixp_mul(bv, vddc))); in si_calculate_leakage_for_v_and_t_formula() 1880 leakage_w = drm_fixp_mul(drm_fixp_mul(drm_fixp_mul(i_leakage, kt), kv), vddc); in si_calculate_leakage_for_v_and_t_formula() 1905 kv = drm_fixp_mul(div64_s64(drm_int2fixp(coeff->av), 100000000), in si_calculate_leakage_for_v_formula() 1906 drm_fixp_exp(drm_fixp_mul(div64_s64(drm_int2fixp(coeff->bv), 100000000), vddc))); in si_calculate_leakage_for_v_formula() 1908 leakage_w = drm_fixp_mul(drm_fixp_mul(drm_fixp_mul(i_leakage, kt), kv), vddc); in si_calculate_leakage_for_v_formula()
|
Completed in 44 milliseconds