xref: /linux/drivers/gpu/drm/i915/display/intel_dkl_phy.h (revision 151ebcf0797b1a3ba53c8843dc21748c80e098c7)
1 /* SPDX-License-Identifier: MIT */
2 /*
3  * Copyright © 2022 Intel Corporation
4  */
5 
6 #ifndef __INTEL_DKL_PHY_H__
7 #define __INTEL_DKL_PHY_H__
8 
9 #include <linux/types.h>
10 
11 #include "intel_dkl_phy_regs.h"
12 
13 struct drm_i915_private;
14 
15 void intel_dkl_phy_init(struct drm_i915_private *i915);
16 u32
17 intel_dkl_phy_read(struct drm_i915_private *i915, struct intel_dkl_phy_reg reg);
18 void
19 intel_dkl_phy_write(struct drm_i915_private *i915, struct intel_dkl_phy_reg reg, u32 val);
20 void
21 intel_dkl_phy_rmw(struct drm_i915_private *i915, struct intel_dkl_phy_reg reg, u32 clear, u32 set);
22 void
23 intel_dkl_phy_posting_read(struct drm_i915_private *i915, struct intel_dkl_phy_reg reg);
24 
25 #endif /* __INTEL_DKL_PHY_H__ */
26