// SPDX-License-Identifier: MIT /* * Copyright © 2013-2021 Intel Corporation * * LPT/WPT IOSF sideband. */ #include "i915_drv.h" #include "intel_sbi.h" #include "i915_reg.h" /* SBI access */ static int intel_sbi_rw(struct drm_i915_private *i915, u16 reg, enum intel_sbi_destination destination, u32 *val, bool is_read) { … } u32 intel_sbi_read(struct drm_i915_private *i915, u16 reg, enum intel_sbi_destination destination) { … } void intel_sbi_write(struct drm_i915_private *i915, u16 reg, u32 value, enum intel_sbi_destination destination) { … }