Lines Matching refs:audio_state

735 	struct intel_audio_state *audio_state;  in intel_audio_codec_enable()  local
754 audio_state = &i915->display.audio.state[cpu_transcoder]; in intel_audio_codec_enable()
756 audio_state->encoder = encoder; in intel_audio_codec_enable()
757 BUILD_BUG_ON(sizeof(audio_state->eld) != sizeof(crtc_state->eld)); in intel_audio_codec_enable()
758 memcpy(audio_state->eld, crtc_state->eld, sizeof(audio_state->eld)); in intel_audio_codec_enable()
794 struct intel_audio_state *audio_state; in intel_audio_codec_disable() local
812 audio_state = &i915->display.audio.state[cpu_transcoder]; in intel_audio_codec_disable()
814 audio_state->encoder = NULL; in intel_audio_codec_disable()
815 memset(audio_state->eld, 0, sizeof(audio_state->eld)); in intel_audio_codec_disable()
836 struct intel_audio_state *audio_state; in intel_acomp_get_config() local
840 audio_state = &i915->display.audio.state[cpu_transcoder]; in intel_acomp_get_config()
842 if (audio_state->encoder) in intel_acomp_get_config()
843 memcpy(crtc_state->eld, audio_state->eld, sizeof(audio_state->eld)); in intel_acomp_get_config()
1082 struct intel_audio_state *audio_state; in find_audio_state() local
1089 audio_state = &i915->display.audio.state[cpu_transcoder]; in find_audio_state()
1090 encoder = audio_state->encoder; in find_audio_state()
1094 return audio_state; in find_audio_state()
1102 struct intel_audio_state *audio_state; in find_audio_state() local
1105 audio_state = &i915->display.audio.state[cpu_transcoder]; in find_audio_state()
1106 encoder = audio_state->encoder; in find_audio_state()
1110 return audio_state; in find_audio_state()
1122 const struct intel_audio_state *audio_state; in i915_audio_component_sync_audio_rate() local
1134 audio_state = find_audio_state(i915, port, cpu_transcoder); in i915_audio_component_sync_audio_rate()
1135 if (!audio_state) { in i915_audio_component_sync_audio_rate()
1141 encoder = audio_state->encoder; in i915_audio_component_sync_audio_rate()
1164 const struct intel_audio_state *audio_state; in i915_audio_component_get_eld() local
1169 audio_state = find_audio_state(i915, port, cpu_transcoder); in i915_audio_component_get_eld()
1170 if (!audio_state) { in i915_audio_component_get_eld()
1176 *enabled = audio_state->encoder != NULL; in i915_audio_component_get_eld()
1178 const u8 *eld = audio_state->eld; in i915_audio_component_get_eld()