Lines Matching refs:mode_dev

122 				dev_priv->mode_dev.backlight_duty_cycle);  in cdv_intel_lvds_set_power()
159 dev_priv->mode_dev.panel_fixed_mode; in cdv_intel_lvds_mode_valid()
184 struct psb_intel_mode_device *mode_dev = &dev_priv->mode_dev; in cdv_intel_lvds_mode_fixup() local
186 struct drm_display_mode *panel_fixed_mode = mode_dev->panel_fixed_mode; in cdv_intel_lvds_mode_fixup()
231 struct psb_intel_mode_device *mode_dev = &dev_priv->mode_dev; in cdv_intel_lvds_prepare() local
236 mode_dev->saveBLC_PWM_CTL = REG_READ(BLC_PWM_CTL); in cdv_intel_lvds_prepare()
237 mode_dev->backlight_duty_cycle = (mode_dev->saveBLC_PWM_CTL & in cdv_intel_lvds_prepare()
249 struct psb_intel_mode_device *mode_dev = &dev_priv->mode_dev; in cdv_intel_lvds_commit() local
251 if (mode_dev->backlight_duty_cycle == 0) in cdv_intel_lvds_commit()
252 mode_dev->backlight_duty_cycle = in cdv_intel_lvds_commit()
301 struct psb_intel_mode_device *mode_dev = &dev_priv->mode_dev; in cdv_intel_lvds_get_modes() local
309 if (mode_dev->panel_fixed_mode != NULL) { in cdv_intel_lvds_get_modes()
311 drm_mode_duplicate(dev, mode_dev->panel_fixed_mode); in cdv_intel_lvds_get_modes()
473 struct psb_intel_mode_device *mode_dev) in cdv_intel_lvds_init() argument
588 mode_dev->panel_fixed_mode = in cdv_intel_lvds_init()
596 mode_dev->panel_fixed_mode = in cdv_intel_lvds_init()
598 if (mode_dev->panel_fixed_mode) { in cdv_intel_lvds_init()
599 mode_dev->panel_fixed_mode->type |= in cdv_intel_lvds_init()
614 mode_dev->panel_fixed_mode = in cdv_intel_lvds_init()
616 if (mode_dev->panel_fixed_mode) { in cdv_intel_lvds_init()
617 mode_dev->panel_fixed_mode->type |= in cdv_intel_lvds_init()
624 if (!mode_dev->panel_fixed_mode) { in cdv_intel_lvds_init()