xref: /linux/drivers/gpu/drm/i915/display/intel_dp_aux.h (revision e7d759f31ca295d589f7420719c311870bb3166f)
1 /* SPDX-License-Identifier: MIT */
2 /*
3  * Copyright © 2020-2021 Intel Corporation
4  */
5 
6 #ifndef __INTEL_DP_AUX_H__
7 #define __INTEL_DP_AUX_H__
8 
9 #include <linux/types.h>
10 
11 enum aux_ch;
12 struct drm_i915_private;
13 struct intel_dp;
14 struct intel_encoder;
15 
16 void intel_dp_aux_fini(struct intel_dp *intel_dp);
17 void intel_dp_aux_init(struct intel_dp *intel_dp);
18 
19 enum aux_ch intel_dp_aux_ch(struct intel_encoder *encoder);
20 
21 void intel_dp_aux_irq_handler(struct drm_i915_private *i915);
22 u32 intel_dp_aux_pack(const u8 *src, int src_bytes);
23 
24 #endif /* __INTEL_DP_AUX_H__ */
25