xref: /linux/drivers/gpu/drm/i915/display/intel_dp_aux.h (revision bb9ae1a66c85eeb626864efd812c62026e126ec0)
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 intel_display;
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 intel_display *display);
22 u32 intel_dp_aux_pack(const u8 *src, int src_bytes);
23 int intel_dp_aux_fw_sync_len(struct intel_dp *intel_dp);
24 
25 #endif /* __INTEL_DP_AUX_H__ */
26