Searched refs:fxp (Results 1 – 1 of 1) sorted by relevance
/linux-6.1.9/drivers/gpu/drm/display/ |
D | drm_dp_helper.c | 3592 int fxp, fxp_min, fxp_max, fxp_actual, f = 1; in drm_edp_backlight_probe_max() local 3624 fxp = DIV_ROUND_CLOSEST(1000 * DP_EDP_BACKLIGHT_FREQ_BASE_KHZ, driver_pwm_freq_hz); in drm_edp_backlight_probe_max() 3649 fxp_min = DIV_ROUND_CLOSEST(fxp * 3, 4); in drm_edp_backlight_probe_max() 3650 fxp_max = DIV_ROUND_CLOSEST(fxp * 5, 4); in drm_edp_backlight_probe_max() 3659 f = clamp(DIV_ROUND_CLOSEST(fxp, 1 << pn), 1, 255); in drm_edp_backlight_probe_max()
|