/* SPDX-License-Identifier: MIT */ /* Copyright 2024 Advanced Micro Devices, Inc. */ #include "../dmub_srv.h" #include "dmub_reg.h" #include "dmub_dcn351.h" #include "dcn/dcn_3_5_1_offset.h" #include "dcn/dcn_3_5_1_sh_mask.h" #define BASE_INNER(seg) … #define CTX … #define REGS … #define REG_OFFSET_EXP(reg_name) … void dmub_srv_dcn351_regs_init(struct dmub_srv *dmub, struct dc_context *ctx) { … }