Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: MIT */
0002 /*
0003  * Copyright © 2013-2021 Intel Corporation
0004  */
0005 
0006 #ifndef _INTEL_SBI_H_
0007 #define _INTEL_SBI_H_
0008 
0009 #include <linux/types.h>
0010 
0011 struct drm_i915_private;
0012 
0013 enum intel_sbi_destination {
0014     SBI_ICLK,
0015     SBI_MPHY,
0016 };
0017 
0018 u32 intel_sbi_read(struct drm_i915_private *i915, u16 reg,
0019            enum intel_sbi_destination destination);
0020 void intel_sbi_write(struct drm_i915_private *i915, u16 reg, u32 value,
0021              enum intel_sbi_destination destination);
0022 
0023 #endif /* _INTEL_SBI_H_ */