Lines Matching defs:lvds_encoder

73 	struct intel_lvds_encoder *lvds_encoder = to_lvds_encoder(&encoder->base);
76 tmp = I915_READ(lvds_encoder->reg);
127 struct intel_lvds_encoder *lvds_encoder = to_lvds_encoder(&encoder->base);
132 lvds_encoder->attached_connector->base.panel.fixed_mode;
136 temp = I915_READ(lvds_encoder->reg);
156 if (lvds_encoder->is_dual_link)
184 I915_WRITE(lvds_encoder->reg, temp);
193 struct intel_lvds_encoder *lvds_encoder = to_lvds_encoder(&encoder->base);
206 I915_WRITE(lvds_encoder->reg, I915_READ(lvds_encoder->reg) | LVDS_PORT_EN);
209 POSTING_READ(lvds_encoder->reg);
219 struct intel_lvds_encoder *lvds_encoder = to_lvds_encoder(&encoder->base);
237 I915_WRITE(lvds_encoder->reg, I915_READ(lvds_encoder->reg) & ~LVDS_PORT_EN);
238 POSTING_READ(lvds_encoder->reg);
260 struct intel_lvds_encoder *lvds_encoder =
263 &lvds_encoder->attached_connector->base;
265 struct intel_crtc *intel_crtc = lvds_encoder->base.new_crtc;
274 if ((I915_READ(lvds_encoder->reg) & LVDS_A3_POWER_MASK) ==
825 struct intel_lvds_encoder *lvds_encoder;
830 lvds_encoder = to_lvds_encoder(&encoder->base);
832 return lvds_encoder->is_dual_link;
839 static bool compute_is_dual_link_lvds(struct intel_lvds_encoder *lvds_encoder)
841 struct drm_device *dev = lvds_encoder->base.base.dev;
854 val = I915_READ(lvds_encoder->reg);
886 struct intel_lvds_encoder *lvds_encoder;
922 lvds_encoder = kzalloc(sizeof(struct intel_lvds_encoder), GFP_KERNEL);
923 if (!lvds_encoder)
928 kfree(lvds_encoder, sizeof(*lvds_encoder));
932 lvds_encoder->attached_connector = lvds_connector;
934 intel_encoder = &lvds_encoder->base;
971 lvds_encoder->reg = PCH_LVDS;
973 lvds_encoder->reg = LVDS;
1076 lvds_encoder->is_dual_link = compute_is_dual_link_lvds(lvds_encoder);
1078 lvds_encoder->is_dual_link ? "dual" : "single");
1111 kfree(lvds_encoder, sizeof(*lvds_encoder));