Home | History | Annotate | Line # | Download | only in display
      1 /*	$NetBSD: intel_lpe_audio.h,v 1.3 2021/12/19 11:38:03 riastradh Exp $	*/
      2 
      3 /* SPDX-License-Identifier: MIT */
      4 /*
      5  * Copyright  2019 Intel Corporation
      6  */
      7 
      8 #ifndef __INTEL_LPE_AUDIO_H__
      9 #define __INTEL_LPE_AUDIO_H__
     10 
     11 #include <linux/types.h>
     12 
     13 #include <sys/file.h>
     14 #define	pipe	pipe_drmhack	/* see intel_display.h */
     15 
     16 enum pipe;
     17 enum port;
     18 struct drm_i915_private;
     19 
     20 int  intel_lpe_audio_init(struct drm_i915_private *dev_priv);
     21 void intel_lpe_audio_teardown(struct drm_i915_private *dev_priv);
     22 void intel_lpe_audio_irq_handler(struct drm_i915_private *dev_priv);
     23 void intel_lpe_audio_notify(struct drm_i915_private *dev_priv,
     24 			    enum pipe pipe, enum port port,
     25 			    const void *eld, int ls_clock, bool dp_output);
     26 
     27 #endif /* __INTEL_LPE_AUDIO_H__ */
     28