Lines Matching refs:encoder
211 static struct intel_sdvo *to_sdvo(struct intel_encoder *encoder) in to_sdvo() argument
213 return container_of(encoder, struct intel_sdvo, base); in to_sdvo()
947 intel_sdvo_get_value(encoder, SDVO_CMD_GET_HBUF_AV_SPLIT, &av_split, 1);
951 intel_sdvo_write_cmd(encoder, SDVO_CMD_SET_HBUF_INDEX,
953 intel_sdvo_write_cmd(encoder, SDVO_CMD_GET_HBUF_INFO, NULL, 0);
954 intel_sdvo_read_response(encoder, &buf_size, 1);
958 intel_sdvo_write_cmd(encoder, SDVO_CMD_GET_HBUF_DATA,
960 intel_sdvo_read_response(encoder, pos, 8);
1128 static bool intel_sdvo_compute_config(struct intel_encoder *encoder, in intel_sdvo_compute_config() argument
1131 struct intel_sdvo *intel_sdvo = to_sdvo(encoder); in intel_sdvo_compute_config()
1138 if (HAS_PCH_SPLIT(encoder->base.dev)) in intel_sdvo_compute_config()
1334 static bool intel_sdvo_get_hw_state(struct intel_encoder *encoder, in intel_sdvo_get_hw_state() argument
1337 struct drm_device *dev = encoder->base.dev; in intel_sdvo_get_hw_state()
1339 struct intel_sdvo *intel_sdvo = to_sdvo(encoder); in intel_sdvo_get_hw_state()
1357 static void intel_sdvo_get_config(struct intel_encoder *encoder, in intel_sdvo_get_config() argument
1360 struct drm_device *dev = encoder->base.dev; in intel_sdvo_get_config()
1362 struct intel_sdvo *intel_sdvo = to_sdvo(encoder); in intel_sdvo_get_config()
1444 static void intel_disable_sdvo(struct intel_encoder *encoder) in intel_disable_sdvo() argument
1446 struct drm_i915_private *dev_priv = encoder->base.dev->dev_private; in intel_disable_sdvo()
1447 struct intel_sdvo *intel_sdvo = to_sdvo(encoder); in intel_disable_sdvo()
1448 struct intel_crtc *crtc = to_intel_crtc(encoder->base.crtc); in intel_disable_sdvo()
1476 static void pch_disable_sdvo(struct intel_encoder *encoder) in pch_disable_sdvo() argument
1480 static void pch_post_disable_sdvo(struct intel_encoder *encoder) in pch_post_disable_sdvo() argument
1482 intel_disable_sdvo(encoder); in pch_post_disable_sdvo()
1485 static void intel_enable_sdvo(struct intel_encoder *encoder) in intel_enable_sdvo() argument
1487 struct drm_device *dev = encoder->base.dev; in intel_enable_sdvo()
1489 struct intel_sdvo *intel_sdvo = to_sdvo(encoder); in intel_enable_sdvo()
1490 struct intel_crtc *intel_crtc = to_intel_crtc(encoder->base.crtc); in intel_enable_sdvo()
1602 static void intel_sdvo_enable_hotplug(struct intel_encoder *encoder) in intel_sdvo_enable_hotplug() argument
1604 struct intel_sdvo *intel_sdvo = to_sdvo(encoder); in intel_sdvo_enable_hotplug()
2189 static void intel_sdvo_enc_destroy(struct drm_encoder *encoder) in intel_sdvo_enc_destroy() argument
2191 struct intel_sdvo *intel_sdvo = to_sdvo(to_intel_encoder(encoder)); in intel_sdvo_enc_destroy()
2194 drm_mode_destroy(encoder->dev, in intel_sdvo_enc_destroy()
2198 intel_encoder_destroy(encoder); in intel_sdvo_enc_destroy()
2357 struct intel_sdvo *encoder) in intel_sdvo_connector_init() argument
2363 ret = drm_connector_init(encoder->base.base.dev, in intel_sdvo_connector_init()
2379 intel_connector_attach_encoder(&connector->base, &encoder->base); in intel_sdvo_connector_init()
2385 &encoder->ddc.dev.kobj, in intel_sdvo_connector_init()
2386 encoder->ddc.dev.kobj.name); in intel_sdvo_connector_init()
2434 struct drm_encoder *encoder = &intel_sdvo->base.base; in intel_sdvo_dvi_init() local
2436 struct intel_encoder *intel_encoder = to_intel_encoder(encoder); in intel_sdvo_dvi_init()
2467 encoder->encoder_type = DRM_MODE_ENCODER_TMDS; in intel_sdvo_dvi_init()
2489 struct drm_encoder *encoder = &intel_sdvo->base.base; in intel_sdvo_tv_init() local
2502 encoder->encoder_type = DRM_MODE_ENCODER_TVDAC; in intel_sdvo_tv_init()
2532 struct drm_encoder *encoder = &intel_sdvo->base.base; in intel_sdvo_analog_init() local
2546 encoder->encoder_type = DRM_MODE_ENCODER_DAC; in intel_sdvo_analog_init()
2568 struct drm_encoder *encoder = &intel_sdvo->base.base; in intel_sdvo_lvds_init() local
2581 encoder->encoder_type = DRM_MODE_ENCODER_LVDS; in intel_sdvo_lvds_init()