Lines Matching refs:eld
186 uint8_t *eld = connector->eld; in intel_eld_uptodate() local
200 for (i = 0; i < drm_eld_size(eld) / 4; i++) in intel_eld_uptodate()
201 if (I915_READ(reg_edid) != *((uint32_t *)eld + i)) in intel_eld_uptodate()
231 uint8_t *eld = connector->eld; in g4x_audio_codec_enable() local
236 DRM_DEBUG_KMS("Enable audio codec, %u bytes ELD\n", eld[2]); in g4x_audio_codec_enable()
255 len = min(drm_eld_size(eld) / 4, len); in g4x_audio_codec_enable()
258 I915_WRITE(G4X_HDMIW_HDMIEDID, *((uint32_t *)eld + i)); in g4x_audio_codec_enable()
303 const uint8_t *eld = connector->eld; in hsw_audio_codec_enable() local
312 pipe_name(pipe), drm_eld_size(eld)); in hsw_audio_codec_enable()
335 len = min(drm_eld_size(eld), 84); in hsw_audio_codec_enable()
337 I915_WRITE(HSW_AUD_EDID_DATA(pipe), *((uint32_t *)eld + i)); in hsw_audio_codec_enable()
432 uint8_t *eld = connector->eld; in ilk_audio_codec_enable() local
442 port_name(port), pipe_name(pipe), drm_eld_size(eld)); in ilk_audio_codec_enable()
484 len = min(drm_eld_size(eld), 84); in ilk_audio_codec_enable()
486 I915_WRITE(hdmiw_hdmiedid, *((uint32_t *)eld + i)); in ilk_audio_codec_enable()
535 connector->eld[5] &= ~(3 << 2); in intel_audio_codec_enable()
537 connector->eld[5] |= (1 << 2); in intel_audio_codec_enable()
539 connector->eld[6] = drm_av_sync_delay(connector, adjusted_mode) / 2; in intel_audio_codec_enable()