Searched refs:drm_fixp2int (Results 1 – 5 of 5) sorted by relevance
86 static inline int drm_fixp2int(s64 a) in drm_fixp2int() function93 return drm_fixp2int(a + DRM_FIXED_ONE / 2); in drm_fixp2int_round()99 return drm_fixp2int(a + DRM_FIXED_ALMOST_ONE); in drm_fixp2int_ceil()101 return drm_fixp2int(a - DRM_FIXED_ALMOST_ONE); in drm_fixp2int_ceil()
232 u16 r = drm_fixp2int(drm_fixp_div(fp_r, fp_rb_ratio)); in argb_u16_to_RGB565()233 u16 g = drm_fixp2int(drm_fixp_div(fp_g, fp_g_ratio)); in argb_u16_to_RGB565()234 u16 b = drm_fixp2int(drm_fixp_div(fp_b, fp_rb_ratio)); in argb_u16_to_RGB565()
382 numerator = drm_fixp2int(temp3_fp); in msm_dp_panel_update_tu_timings()441 tu->n_tus = drm_fixp2int(temp2_fp); in _tu_valid_boundary_calc()464 tu->n_tus_per_lane = drm_fixp2int(temp1_fp); in _tu_valid_boundary_calc()679 tu->ratio = drm_fixp2int(tu->ratio_fp); in _dp_ctrl_calc_tu()685 tu->ratio = drm_fixp2int(tu->ratio_fp); in _dp_ctrl_calc_tu()740 tu->n_tus = drm_fixp2int(temp2_fp); in _dp_ctrl_calc_tu()757 temp = drm_fixp2int(temp2_fp); in _dp_ctrl_calc_tu()770 tu->extra_pclk_cycles = drm_fixp2int(temp1_fp); in _dp_ctrl_calc_tu()779 tu->extra_pclk_cycles_in_link_clk = drm_fixp2int(temp1_fp); in _dp_ctrl_calc_tu()822 temp = drm_fixp2int(tu->diff_abs_fp); in _dp_ctrl_calc_tu()[all …]
1730 *leakage = drm_fixp2int(leakage_w * 1000); in si_calculate_leakage_for_v_and_t_formula()1758 *leakage = drm_fixp2int(leakage_w * 1000); in si_calculate_leakage_for_v_formula()
758 *leakage = drm_fixp2int(leakage_w * 1000); in ni_calculate_leakage_for_v_and_t_formula()