intel_dp_aux_backlight.c | 119 int freq, fxp, fxp_min, fxp_max, fxp_actual, f = 1; local in function:intel_dp_aux_set_pwm_freq 133 fxp = DIV_ROUND_CLOSEST(KHz(DP_EDP_BACKLIGHT_FREQ_BASE_KHZ), freq); 139 * - FxP is within 25% of desired value. 155 fxp_min = DIV_ROUND_CLOSEST(fxp * 3, 4); 156 fxp_max = DIV_ROUND_CLOSEST(fxp * 5, 4); 163 f = clamp(DIV_ROUND_CLOSEST(fxp, 1 << pn), 1, 255);
|