linux/drivers/gpu/drm/amd/include/asic_reg/nbio/nbio_7_4_0_smn.h

/*
 * Copyright (C) 2019  Advanced Micro Devices, Inc.
 *
 * Permission is hereby granted, free of charge, to any person obtaining a
 * copy of this software and associated documentation files (the "Software"),
 * to deal in the Software without restriction, including without limitation
 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
 * and/or sell copies of the Software, and to permit persons to whom the
 * Software is furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included
 * in all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
 * THE COPYRIGHT HOLDER(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
 * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 */

#ifndef _nbio_7_4_0_SMN_HEADER
#define _nbio_7_4_0_SMN_HEADER

// addressBlock: nbio_nbif0_bif_ras_bif_ras_regblk
// base address: 0x10100000
#define smnBIFL_RAS_CENTRAL_STATUS

#define smnNBIF_MGCG_CTRL_LCLK
#define smnCPM_CONTROL
#define smnPCIE_CNTL2
#define smnPCIE_CI_CNTL

#define smnPCIE_PERF_COUNT_CNTL
#define smnPCIE_PERF_CNTL_TXCLK1
#define smnPCIE_PERF_COUNT0_TXCLK1
#define smnPCIE_PERF_COUNT1_TXCLK1
#define smnPCIE_PERF_CNTL_TXCLK2
#define smnPCIE_PERF_COUNT0_TXCLK2
#define smnPCIE_PERF_COUNT1_TXCLK2
#define smnPCIE_PERF_CNTL_TXCLK3
#define smnPCIE_PERF_COUNT0_TXCLK3
#define smnPCIE_PERF_COUNT1_TXCLK3
#define smnPCIE_PERF_CNTL_TXCLK4
#define smnPCIE_PERF_COUNT0_TXCLK4
#define smnPCIE_PERF_COUNT1_TXCLK4
#define smnPCIE_PERF_CNTL_SCLK1
#define smnPCIE_PERF_COUNT0_SCLK1
#define smnPCIE_PERF_COUNT1_SCLK1
#define smnPCIE_PERF_CNTL_SCLK2
#define smnPCIE_PERF_COUNT0_SCLK2
#define smnPCIE_PERF_COUNT1_SCLK2
#define smnPCIE_PERF_CNTL_EVENT_LC_PORT_SEL
#define smnPCIE_PERF_CNTL_EVENT_CI_PORT_SEL

#define smnPCIE_RX_NUM_NAK
#define smnPCIE_RX_NUM_NAK_GENERATED

// addressBlock: nbio_iohub_nb_misc_misc_cfgdec
// base address: 0x13a10000
#define smnIOHC_INTERRUPT_EOI

// addressBlock: nbio_iohub_nb_rascfg_ras_cfgdec
// base address: 0x13a20000
#define smnRAS_GLOBAL_STATUS_LO
#define smnRAS_GLOBAL_STATUS_HI

#endif	// _nbio_7_4_0_SMN_HEADER