Lines Matching defs:intel_dig_port
56 struct intel_digital_port *intel_dig_port = dp_to_dig_port(intel_dp);
58 return intel_dig_port->base.type == INTEL_OUTPUT_EDP;
63 struct intel_digital_port *intel_dig_port = dp_to_dig_port(intel_dp);
65 return intel_dig_port->base.base.dev;
264 struct intel_digital_port *intel_dig_port = dp_to_dig_port(intel_dp);
265 struct drm_device *dev = intel_dig_port->base.base.dev;
290 struct intel_digital_port *intel_dig_port = dp_to_dig_port(intel_dp);
291 struct drm_device *dev = intel_dig_port->base.base.dev;
316 } else if (intel_dig_port->port == PORT_A) {
1156 struct intel_digital_port *intel_dig_port = dp_to_dig_port(intel_dp);
1157 struct drm_device *dev = intel_dig_port->base.base.dev;
1159 int pipe = to_intel_crtc(intel_dig_port->base.base.crtc)->pipe;
1210 struct intel_digital_port *intel_dig_port = dp_to_dig_port(intel_dp);
1211 struct drm_crtc *crtc = intel_dig_port->base.base.crtc;
1238 struct intel_digital_port *intel_dig_port = dp_to_dig_port(intel_dp);
1239 struct drm_crtc *crtc = intel_dig_port->base.base.crtc;
1886 struct intel_digital_port *intel_dig_port = dp_to_dig_port(intel_dp);
1887 enum port port = intel_dig_port->port;
1888 struct drm_device *dev = intel_dig_port->base.base.dev;
1919 struct intel_digital_port *intel_dig_port = dp_to_dig_port(intel_dp);
1920 struct drm_device *dev = intel_dig_port->base.base.dev;
1922 enum port port = intel_dig_port->port;
2012 struct intel_digital_port *intel_dig_port = dp_to_dig_port(intel_dp);
2013 struct drm_device *dev = intel_dig_port->base.base.dev;
2015 enum port port = intel_dig_port->port;
2202 struct intel_digital_port *intel_dig_port = dp_to_dig_port(intel_dp);
2203 enum port port = intel_dig_port->port;
2204 struct drm_device *dev = intel_dig_port->base.base.dev;
2207 to_intel_crtc(intel_dig_port->base.base.crtc);
2247 struct drm_crtc *crtc = intel_dig_port->base.base.crtc;
2454 struct intel_digital_port *intel_dig_port = dp_to_dig_port(intel_dp);
2465 if (!ibx_digital_port_connected(dev_priv, intel_dig_port))
2476 struct intel_digital_port *intel_dig_port = dp_to_dig_port(intel_dp);
2489 switch (intel_dig_port->port) {
2557 struct intel_digital_port *intel_dig_port = dp_to_dig_port(intel_dp);
2558 struct intel_encoder *intel_encoder = &intel_dig_port->base;
2740 struct intel_digital_port *intel_dig_port = enc_to_dig_port(encoder);
2741 struct intel_dp *intel_dp = &intel_dig_port->dp;
2755 kfree(intel_dig_port, sizeof(*intel_dig_port));
3002 struct intel_digital_port *intel_dig_port = dp_to_dig_port(intel_dp);
3003 struct drm_device *dev = intel_dig_port->base.base.dev;
3077 intel_dp_init_connector(struct intel_digital_port *intel_dig_port,
3081 struct intel_dp *intel_dp = &intel_dig_port->dp;
3082 struct intel_encoder *intel_encoder = &intel_dig_port->base;
3085 enum port port = intel_dig_port->port;
3143 switch (intel_dig_port->port) {
3220 struct intel_digital_port *intel_dig_port;
3225 intel_dig_port = kzalloc(sizeof(struct intel_digital_port), GFP_KERNEL);
3226 if (!intel_dig_port)
3231 kfree(intel_dig_port, sizeof(struct intel_digital_port));
3235 intel_encoder = &intel_dig_port->base;
3252 intel_dig_port->port = port;
3253 intel_dig_port->dp.output_reg = output_reg;
3260 if (!intel_dp_init_connector(intel_dig_port, intel_connector)) {
3262 kfree(intel_dig_port, sizeof(struct intel_digital_port));