1 /* SPDX-License-Identifier: MIT */ 2 /* 3 * Copyright © 2026 Intel Corporation 4 */ 5 6 #ifndef __INTEL_MCHBAR_H__ 7 #define __INTEL_MCHBAR_H__ 8 9 #include <linux/types.h> 10 11 #include <drm/intel/mchbar_regs.h> 12 13 #include "intel_display_reg_defs.h" 14 15 struct intel_display; 16 17 u16 intel_mchbar_read16(struct intel_display *display, intel_reg_t reg); 18 u32 intel_mchbar_read(struct intel_display *display, intel_reg_t reg); 19 u64 intel_mchbar_read64_2x32(struct intel_display *display, intel_reg_t reg); 20 21 #endif /* __INTEL_MCHBAR_H__ */ 22