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 "i915_reg_defs.h" 12 13 struct drm_i915_private; 14 15 u32 16 intel_dkl_phy_read(struct drm_i915_private *i915, i915_reg_t reg, int ln); 17 void 18 intel_dkl_phy_write(struct drm_i915_private *i915, i915_reg_t reg, int ln, u32 val); 19 void 20 intel_dkl_phy_rmw(struct drm_i915_private *i915, i915_reg_t reg, int ln, u32 clear, u32 set); 21 void 22 intel_dkl_phy_posting_read(struct drm_i915_private *i915, i915_reg_t reg, int ln); 23 24 #endif /* __INTEL_DKL_PHY_H__ */ 25