intel_tv
struct intel_tv *intel_tv = enc_to_tv(encoder);
switch (intel_tv->type) {
intel_tv_detect_type(struct intel_tv *intel_tv,
struct intel_tv *intel_tv = intel_attached_tv(to_intel_connector(connector));
if (intel_tv->type == DRM_MODE_CONNECTOR_Component)
struct intel_tv *intel_tv = intel_attached_tv(to_intel_connector(connector));
type = intel_tv_detect_type(intel_tv, connector);
intel_tv->type = type;
struct intel_tv *intel_tv;
intel_tv = kzalloc(sizeof(*intel_tv), GFP_KERNEL);
if (!intel_tv) {
kfree(intel_tv);
intel_encoder = &intel_tv->base;
intel_tv->type = DRM_MODE_CONNECTOR_Unknown;
static struct intel_tv *enc_to_tv(struct intel_encoder *encoder)
return container_of(encoder, struct intel_tv, base);
static struct intel_tv *intel_attached_tv(struct intel_connector *connector)