Lines Matching refs:u32

86 			u32 scaled_width = adjusted_mode->hdisplay * mode->vdisplay;
87 u32 scaled_height = mode->hdisplay * adjusted_mode->vdisplay;
130 u32 border, sync_pos, blank_width, sync_width;
152 u32 border, sync_pos, blank_width, sync_width;
169 static inline u32 panel_fitter_scaling(u32 source, u32 target)
178 u32 ratio = source * FACTOR / target;
187 u32 pfit_control = 0, pfit_pgm_ratios = 0, border = 0;
214 u32 scaled_width = adjusted_mode->hdisplay *
216 u32 scaled_height = mode->hdisplay *
229 u32 scaled_width = adjusted_mode->hdisplay *
231 u32 scaled_height = mode->hdisplay *
245 u32 bits = panel_fitter_scaling(mode->vdisplay, adjusted_mode->vdisplay);
259 u32 bits = panel_fitter_scaling(mode->hdisplay, adjusted_mode->hdisplay);
331 static u32 i915_read_blc_pwm_ctl(struct drm_device *dev)
334 u32 val;
365 static u32 intel_panel_get_max_backlight(struct drm_device *dev)
367 u32 max;
388 static u32 intel_panel_compute_brightness(struct drm_device *dev, u32 val)
397 u32 max = intel_panel_get_max_backlight(dev);
405 static u32 intel_panel_get_backlight(struct drm_device *dev)
408 u32 val;
436 static void intel_pch_panel_set_backlight(struct drm_device *dev, u32 level)
439 u32 val = I915_READ(BLC_PWM_CPU_CTL) & ~BACKLIGHT_DUTY_CYCLE_MASK;
443 static void intel_panel_actually_set_backlight(struct drm_device *dev, u32 level)
446 u32 tmp;
457 u32 max = intel_panel_get_max_backlight(dev);
477 void intel_panel_set_backlight(struct drm_device *dev, u32 level, u32 max)
480 u32 freq;
627 u32 *regs = (u32 *)dev_priv->opregion.lid_state;