Home
last modified time | relevance | path

Searched refs:drm_fixp2int (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.15/include/drm/
Ddrm_fixed.h84 static inline int drm_fixp2int(s64 a) in drm_fixp2int() function
92 return drm_fixp2int(a + DRM_FIXED_ALMOST_ONE); in drm_fixp2int_ceil()
94 return drm_fixp2int(a - DRM_FIXED_ALMOST_ONE); in drm_fixp2int_ceil()
/Linux-v5.15/drivers/gpu/drm/msm/dp/
Ddp_ctrl.c362 numerator = drm_fixp2int(temp3_fp); in dp_panel_update_tu_timings()
421 tu->n_tus = drm_fixp2int(temp2_fp); in _tu_valid_boundary_calc()
444 tu->n_tus_per_lane = drm_fixp2int(temp1_fp); in _tu_valid_boundary_calc()
658 tu->ratio = drm_fixp2int(tu->ratio_fp); in _dp_ctrl_calc_tu()
664 tu->ratio = drm_fixp2int(tu->ratio_fp); in _dp_ctrl_calc_tu()
719 tu->n_tus = drm_fixp2int(temp2_fp); in _dp_ctrl_calc_tu()
734 temp = drm_fixp2int(temp2_fp); in _dp_ctrl_calc_tu()
747 tu->extra_pclk_cycles = drm_fixp2int(temp1_fp); in _dp_ctrl_calc_tu()
756 tu->extra_pclk_cycles_in_link_clk = drm_fixp2int(temp1_fp); in _dp_ctrl_calc_tu()
799 temp = drm_fixp2int(tu->diff_abs_fp); in _dp_ctrl_calc_tu()
[all …]
/Linux-v5.15/drivers/gpu/drm/radeon/
Dradeon_dp_mst.c171 uint32_t x = drm_fixp2int(avg_time_slots_per_mtp); in radeon_dp_mst_set_vcp_size()
Dsi_dpm.c1774 *leakage = drm_fixp2int(leakage_w * 1000); in si_calculate_leakage_for_v_and_t_formula()
1802 *leakage = drm_fixp2int(leakage_w * 1000); in si_calculate_leakage_for_v_formula()
Dni_dpm.c758 *leakage = drm_fixp2int(leakage_w * 1000); in ni_calculate_leakage_for_v_and_t_formula()
/Linux-v5.15/drivers/gpu/drm/amd/pm/powerplay/
Dsi_dpm.c1867 *leakage = drm_fixp2int(leakage_w * 1000); in si_calculate_leakage_for_v_and_t_formula()
1895 *leakage = drm_fixp2int(leakage_w * 1000); in si_calculate_leakage_for_v_formula()