1 /* 2 * Copyright (C) 2014, Bin Meng <bmeng.cn@gmail.com> 3 * 4 * SPDX-License-Identifier: GPL-2.0+ 5 */ 6 7 #ifndef _X86_ARCH_TNC_H_ 8 #define _X86_ARCH_TNC_H_ 9 10 /* Memory BAR Enable */ 11 #define MEM_BAR_EN 0x00000001 12 13 /* LPC PCI Configuration Registers */ 14 #define LPC_RCBA 0xf0 15 16 /* Root Complex Register Block */ 17 struct tnc_rcba { 18 u32 rctl; 19 u32 esd; 20 u32 rsvd1[2]; 21 u32 hdd; 22 u32 rsvd2; 23 u32 hdba; 24 u32 rsvd3[3129]; 25 u32 d31ip; 26 u32 rsvd4[3]; 27 u32 d27ip; 28 u32 rsvd5; 29 u32 d02ip; 30 u32 rsvd6; 31 u32 d26ip; 32 u32 d25ip; 33 u32 d24ip; 34 u32 d23ip; 35 u32 d03ip; 36 u32 rsvd7[3]; 37 u16 d31ir; 38 u16 rsvd8[3]; 39 u16 d27ir; 40 u16 d26ir; 41 u16 d25ir; 42 u16 d24ir; 43 u16 d23ir; 44 u16 rsvd9[7]; 45 u16 d02ir; 46 u16 d03ir; 47 }; 48 49 #endif /* _X86_ARCH_TNC_H_ */ 50