Lines Matching refs:mode_dev
209 struct psb_intel_mode_device *mode_dev = &dev_priv->mode_dev; in psb_intel_lvds_set_power() local
225 mode_dev->backlight_duty_cycle); in psb_intel_lvds_set_power()
337 dev_priv->mode_dev.panel_fixed_mode; in psb_intel_lvds_mode_valid()
340 fixed_mode = dev_priv->mode_dev.panel_fixed_mode2; in psb_intel_lvds_mode_valid()
365 struct psb_intel_mode_device *mode_dev = &dev_priv->mode_dev; in psb_intel_lvds_mode_fixup() local
368 struct drm_display_mode *panel_fixed_mode = mode_dev->panel_fixed_mode; in psb_intel_lvds_mode_fixup()
372 panel_fixed_mode = mode_dev->panel_fixed_mode2; in psb_intel_lvds_mode_fixup()
426 struct psb_intel_mode_device *mode_dev = &dev_priv->mode_dev; in psb_intel_lvds_prepare() local
431 mode_dev->saveBLC_PWM_CTL = REG_READ(BLC_PWM_CTL); in psb_intel_lvds_prepare()
432 mode_dev->backlight_duty_cycle = (mode_dev->saveBLC_PWM_CTL & in psb_intel_lvds_prepare()
444 struct psb_intel_mode_device *mode_dev = &dev_priv->mode_dev; in psb_intel_lvds_commit() local
446 if (mode_dev->backlight_duty_cycle == 0) in psb_intel_lvds_commit()
447 mode_dev->backlight_duty_cycle = in psb_intel_lvds_commit()
493 struct psb_intel_mode_device *mode_dev = &dev_priv->mode_dev; in psb_intel_lvds_get_modes() local
502 if (mode_dev->panel_fixed_mode != NULL) { in psb_intel_lvds_get_modes()
504 drm_mode_duplicate(dev, mode_dev->panel_fixed_mode); in psb_intel_lvds_get_modes()
621 struct psb_intel_mode_device *mode_dev) in psb_intel_lvds_init() argument
730 mode_dev->panel_fixed_mode = in psb_intel_lvds_init()
739 mode_dev->panel_fixed_mode = in psb_intel_lvds_init()
742 if (mode_dev->panel_fixed_mode) { in psb_intel_lvds_init()
743 mode_dev->panel_fixed_mode->type |= in psb_intel_lvds_init()
760 mode_dev->panel_fixed_mode = in psb_intel_lvds_init()
762 if (mode_dev->panel_fixed_mode) { in psb_intel_lvds_init()
763 mode_dev->panel_fixed_mode->type |= in psb_intel_lvds_init()
771 if (!mode_dev->panel_fixed_mode) { in psb_intel_lvds_init()