1 /* SPDX-License-Identifier: MIT */ 2 /* 3 * Copyright © 2019 Intel Corporation 4 */ 5 6 #ifndef __INTEL_AUDIO_H__ 7 #define __INTEL_AUDIO_H__ 8 9 struct drm_connector_state; 10 struct drm_i915_private; 11 struct intel_crtc_state; 12 struct intel_encoder; 13 14 void intel_init_audio_hooks(struct drm_i915_private *dev_priv); 15 void intel_audio_codec_enable(struct intel_encoder *encoder, 16 const struct intel_crtc_state *crtc_state, 17 const struct drm_connector_state *conn_state); 18 void intel_audio_codec_disable(struct intel_encoder *encoder, 19 const struct intel_crtc_state *old_crtc_state, 20 const struct drm_connector_state *old_conn_state); 21 void intel_audio_init(struct drm_i915_private *dev_priv); 22 void intel_audio_deinit(struct drm_i915_private *dev_priv); 23 24 #endif /* __INTEL_AUDIO_H__ */ 25