diff options
author | Jani Nikula <jani.nikula@intel.com> | 2021-10-14 13:28:58 +0300 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2021-10-14 18:05:04 +0300 |
commit | abffa715dab85ce2864e2c3b17cede78af1ef652 (patch) | |
tree | f5d52b52430a766a41c6cb5341c76193ff6664f5 /drivers/gpu/drm/i915/intel_sbi.h | |
parent | 4dd4375bc4ff217f0a4a931772400c987720fb65 (diff) | |
download | lwn-abffa715dab85ce2864e2c3b17cede78af1ef652.tar.gz lwn-abffa715dab85ce2864e2c3b17cede78af1ef652.zip |
drm/i915: rename intel_sideband.[ch] to intel_sbi.[ch]
Now that intel_sideband.[ch] has been decluttered, it's pure lpt/wpt
iosf sideband. Let's call it intel_sbi, following the function naming.
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/183423ff23b2d259e4a197e74daf6bcd750bfe14.1634207064.git.jani.nikula@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/intel_sbi.h')
-rw-r--r-- | drivers/gpu/drm/i915/intel_sbi.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_sbi.h b/drivers/gpu/drm/i915/intel_sbi.h new file mode 100644 index 000000000000..f5a862210454 --- /dev/null +++ b/drivers/gpu/drm/i915/intel_sbi.h @@ -0,0 +1,23 @@ +/* SPDX-License-Identifier: MIT */ +/* + * Copyright © 2013-2021 Intel Corporation + */ + +#ifndef _INTEL_SBI_H_ +#define _INTEL_SBI_H_ + +#include <linux/types.h> + +struct drm_i915_private; + +enum intel_sbi_destination { + SBI_ICLK, + SBI_MPHY, +}; + +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); + +#endif /* _INTEL_SBI_H_ */ |