xref: /freebsd/sys/dev/sfxge/common/efx_regs_pci.h (revision 95ee2897e98f5d444f26ed2334cc7c439f9c16c6)
1e948693eSPhilip Paeps /*-
2*4d846d26SWarner Losh  * SPDX-License-Identifier: BSD-2-Clause
3718cf2ccSPedro F. Giffuni  *
4929c7febSAndrew Rybchenko  * Copyright (c) 2007-2016 Solarflare Communications Inc.
53c838a9fSAndrew Rybchenko  * All rights reserved.
6e948693eSPhilip Paeps  *
7e948693eSPhilip Paeps  * Redistribution and use in source and binary forms, with or without
83c838a9fSAndrew Rybchenko  * modification, are permitted provided that the following conditions are met:
9e948693eSPhilip Paeps  *
103c838a9fSAndrew Rybchenko  * 1. Redistributions of source code must retain the above copyright notice,
113c838a9fSAndrew Rybchenko  *    this list of conditions and the following disclaimer.
123c838a9fSAndrew Rybchenko  * 2. Redistributions in binary form must reproduce the above copyright notice,
133c838a9fSAndrew Rybchenko  *    this list of conditions and the following disclaimer in the documentation
143c838a9fSAndrew Rybchenko  *    and/or other materials provided with the distribution.
153c838a9fSAndrew Rybchenko  *
163c838a9fSAndrew Rybchenko  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
173c838a9fSAndrew Rybchenko  * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
183c838a9fSAndrew Rybchenko  * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
193c838a9fSAndrew Rybchenko  * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
203c838a9fSAndrew Rybchenko  * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
213c838a9fSAndrew Rybchenko  * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
223c838a9fSAndrew Rybchenko  * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
233c838a9fSAndrew Rybchenko  * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
243c838a9fSAndrew Rybchenko  * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
253c838a9fSAndrew Rybchenko  * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
263c838a9fSAndrew Rybchenko  * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
273c838a9fSAndrew Rybchenko  *
283c838a9fSAndrew Rybchenko  * The views and conclusions contained in the software and documentation are
293c838a9fSAndrew Rybchenko  * those of the authors and should not be interpreted as representing official
303c838a9fSAndrew Rybchenko  * policies, either expressed or implied, of the FreeBSD Project.
31e948693eSPhilip Paeps  */
32e948693eSPhilip Paeps 
33e948693eSPhilip Paeps #ifndef	_SYS_EFX_REGS_PCI_H
34e948693eSPhilip Paeps #define	_SYS_EFX_REGS_PCI_H
35e948693eSPhilip Paeps 
36e948693eSPhilip Paeps #ifdef	__cplusplus
37e948693eSPhilip Paeps extern "C" {
38e948693eSPhilip Paeps #endif
39e948693eSPhilip Paeps 
40e948693eSPhilip Paeps /*
41e948693eSPhilip Paeps  * PC_VEND_ID_REG(16bit):
42e948693eSPhilip Paeps  * Vendor ID register
43e948693eSPhilip Paeps  */
44e948693eSPhilip Paeps 
45e948693eSPhilip Paeps #define	PCR_AZ_VEND_ID_REG 0x00000000
46e948693eSPhilip Paeps /* falcona0,falconb0,sienaa0,hunta0=pci_f0_config */
47e948693eSPhilip Paeps 
48e948693eSPhilip Paeps #define	PCRF_AZ_VEND_ID_LBN 0
49e948693eSPhilip Paeps #define	PCRF_AZ_VEND_ID_WIDTH 16
50e948693eSPhilip Paeps 
51e948693eSPhilip Paeps /*
52e948693eSPhilip Paeps  * PC_DEV_ID_REG(16bit):
53e948693eSPhilip Paeps  * Device ID register
54e948693eSPhilip Paeps  */
55e948693eSPhilip Paeps 
56e948693eSPhilip Paeps #define	PCR_AZ_DEV_ID_REG 0x00000002
57e948693eSPhilip Paeps /* falcona0,falconb0,sienaa0,hunta0=pci_f0_config */
58e948693eSPhilip Paeps 
59e948693eSPhilip Paeps #define	PCRF_AZ_DEV_ID_LBN 0
60e948693eSPhilip Paeps #define	PCRF_AZ_DEV_ID_WIDTH 16
61e948693eSPhilip Paeps 
62e948693eSPhilip Paeps /*
63e948693eSPhilip Paeps  * PC_CMD_REG(16bit):
64e948693eSPhilip Paeps  * Command register
65e948693eSPhilip Paeps  */
66e948693eSPhilip Paeps 
67e948693eSPhilip Paeps #define	PCR_AZ_CMD_REG 0x00000004
68e948693eSPhilip Paeps /* falcona0,falconb0,sienaa0,hunta0=pci_f0_config */
69e948693eSPhilip Paeps 
70e948693eSPhilip Paeps #define	PCRF_AZ_INTX_DIS_LBN 10
71e948693eSPhilip Paeps #define	PCRF_AZ_INTX_DIS_WIDTH 1
72e948693eSPhilip Paeps #define	PCRF_AZ_FB2B_EN_LBN 9
73e948693eSPhilip Paeps #define	PCRF_AZ_FB2B_EN_WIDTH 1
74e948693eSPhilip Paeps #define	PCRF_AZ_SERR_EN_LBN 8
75e948693eSPhilip Paeps #define	PCRF_AZ_SERR_EN_WIDTH 1
76e948693eSPhilip Paeps #define	PCRF_AZ_IDSEL_CTL_LBN 7
77e948693eSPhilip Paeps #define	PCRF_AZ_IDSEL_CTL_WIDTH 1
78e948693eSPhilip Paeps #define	PCRF_AZ_PERR_EN_LBN 6
79e948693eSPhilip Paeps #define	PCRF_AZ_PERR_EN_WIDTH 1
80e948693eSPhilip Paeps #define	PCRF_AZ_VGA_PAL_SNP_LBN 5
81e948693eSPhilip Paeps #define	PCRF_AZ_VGA_PAL_SNP_WIDTH 1
82e948693eSPhilip Paeps #define	PCRF_AZ_MWI_EN_LBN 4
83e948693eSPhilip Paeps #define	PCRF_AZ_MWI_EN_WIDTH 1
84e948693eSPhilip Paeps #define	PCRF_AZ_SPEC_CYC_LBN 3
85e948693eSPhilip Paeps #define	PCRF_AZ_SPEC_CYC_WIDTH 1
86e948693eSPhilip Paeps #define	PCRF_AZ_MST_EN_LBN 2
87e948693eSPhilip Paeps #define	PCRF_AZ_MST_EN_WIDTH 1
88e948693eSPhilip Paeps #define	PCRF_AZ_MEM_EN_LBN 1
89e948693eSPhilip Paeps #define	PCRF_AZ_MEM_EN_WIDTH 1
90e948693eSPhilip Paeps #define	PCRF_AZ_IO_EN_LBN 0
91e948693eSPhilip Paeps #define	PCRF_AZ_IO_EN_WIDTH 1
92e948693eSPhilip Paeps 
93e948693eSPhilip Paeps /*
94e948693eSPhilip Paeps  * PC_STAT_REG(16bit):
95e948693eSPhilip Paeps  * Status register
96e948693eSPhilip Paeps  */
97e948693eSPhilip Paeps 
98e948693eSPhilip Paeps #define	PCR_AZ_STAT_REG 0x00000006
99e948693eSPhilip Paeps /* falcona0,falconb0,sienaa0,hunta0=pci_f0_config */
100e948693eSPhilip Paeps 
101e948693eSPhilip Paeps #define	PCRF_AZ_DET_PERR_LBN 15
102e948693eSPhilip Paeps #define	PCRF_AZ_DET_PERR_WIDTH 1
103e948693eSPhilip Paeps #define	PCRF_AZ_SIG_SERR_LBN 14
104e948693eSPhilip Paeps #define	PCRF_AZ_SIG_SERR_WIDTH 1
105e948693eSPhilip Paeps #define	PCRF_AZ_GOT_MABRT_LBN 13
106e948693eSPhilip Paeps #define	PCRF_AZ_GOT_MABRT_WIDTH 1
107e948693eSPhilip Paeps #define	PCRF_AZ_GOT_TABRT_LBN 12
108e948693eSPhilip Paeps #define	PCRF_AZ_GOT_TABRT_WIDTH 1
109e948693eSPhilip Paeps #define	PCRF_AZ_SIG_TABRT_LBN 11
110e948693eSPhilip Paeps #define	PCRF_AZ_SIG_TABRT_WIDTH 1
111e948693eSPhilip Paeps #define	PCRF_AZ_DEVSEL_TIM_LBN 9
112e948693eSPhilip Paeps #define	PCRF_AZ_DEVSEL_TIM_WIDTH 2
113e948693eSPhilip Paeps #define	PCRF_AZ_MDAT_PERR_LBN 8
114e948693eSPhilip Paeps #define	PCRF_AZ_MDAT_PERR_WIDTH 1
115e948693eSPhilip Paeps #define	PCRF_AZ_FB2B_CAP_LBN 7
116e948693eSPhilip Paeps #define	PCRF_AZ_FB2B_CAP_WIDTH 1
117e948693eSPhilip Paeps #define	PCRF_AZ_66MHZ_CAP_LBN 5
118e948693eSPhilip Paeps #define	PCRF_AZ_66MHZ_CAP_WIDTH 1
119e948693eSPhilip Paeps #define	PCRF_AZ_CAP_LIST_LBN 4
120e948693eSPhilip Paeps #define	PCRF_AZ_CAP_LIST_WIDTH 1
121e948693eSPhilip Paeps #define	PCRF_AZ_INTX_STAT_LBN 3
122e948693eSPhilip Paeps #define	PCRF_AZ_INTX_STAT_WIDTH 1
123e948693eSPhilip Paeps 
124e948693eSPhilip Paeps /*
125e948693eSPhilip Paeps  * PC_REV_ID_REG(8bit):
126e948693eSPhilip Paeps  * Class code & revision ID register
127e948693eSPhilip Paeps  */
128e948693eSPhilip Paeps 
129e948693eSPhilip Paeps #define	PCR_AZ_REV_ID_REG 0x00000008
130e948693eSPhilip Paeps /* falcona0,falconb0,sienaa0,hunta0=pci_f0_config */
131e948693eSPhilip Paeps 
132e948693eSPhilip Paeps #define	PCRF_AZ_REV_ID_LBN 0
133e948693eSPhilip Paeps #define	PCRF_AZ_REV_ID_WIDTH 8
134e948693eSPhilip Paeps 
135e948693eSPhilip Paeps /*
136e948693eSPhilip Paeps  * PC_CC_REG(24bit):
137e948693eSPhilip Paeps  * Class code register
138e948693eSPhilip Paeps  */
139e948693eSPhilip Paeps 
140e948693eSPhilip Paeps #define	PCR_AZ_CC_REG 0x00000009
141e948693eSPhilip Paeps /* falcona0,falconb0,sienaa0,hunta0=pci_f0_config */
142e948693eSPhilip Paeps 
143e948693eSPhilip Paeps #define	PCRF_AZ_BASE_CC_LBN 16
144e948693eSPhilip Paeps #define	PCRF_AZ_BASE_CC_WIDTH 8
145e948693eSPhilip Paeps #define	PCRF_AZ_SUB_CC_LBN 8
146e948693eSPhilip Paeps #define	PCRF_AZ_SUB_CC_WIDTH 8
147e948693eSPhilip Paeps #define	PCRF_AZ_PROG_IF_LBN 0
148e948693eSPhilip Paeps #define	PCRF_AZ_PROG_IF_WIDTH 8
149e948693eSPhilip Paeps 
150e948693eSPhilip Paeps /*
151e948693eSPhilip Paeps  * PC_CACHE_LSIZE_REG(8bit):
152e948693eSPhilip Paeps  * Cache line size
153e948693eSPhilip Paeps  */
154e948693eSPhilip Paeps 
155e948693eSPhilip Paeps #define	PCR_AZ_CACHE_LSIZE_REG 0x0000000c
156e948693eSPhilip Paeps /* falcona0,falconb0,sienaa0,hunta0=pci_f0_config */
157e948693eSPhilip Paeps 
158e948693eSPhilip Paeps #define	PCRF_AZ_CACHE_LSIZE_LBN 0
159e948693eSPhilip Paeps #define	PCRF_AZ_CACHE_LSIZE_WIDTH 8
160e948693eSPhilip Paeps 
161e948693eSPhilip Paeps /*
162e948693eSPhilip Paeps  * PC_MST_LAT_REG(8bit):
163e948693eSPhilip Paeps  * Master latency timer register
164e948693eSPhilip Paeps  */
165e948693eSPhilip Paeps 
166e948693eSPhilip Paeps #define	PCR_AZ_MST_LAT_REG 0x0000000d
167e948693eSPhilip Paeps /* falcona0,falconb0,sienaa0,hunta0=pci_f0_config */
168e948693eSPhilip Paeps 
169e948693eSPhilip Paeps #define	PCRF_AZ_MST_LAT_LBN 0
170e948693eSPhilip Paeps #define	PCRF_AZ_MST_LAT_WIDTH 8
171e948693eSPhilip Paeps 
172e948693eSPhilip Paeps /*
173e948693eSPhilip Paeps  * PC_HDR_TYPE_REG(8bit):
174e948693eSPhilip Paeps  * Header type register
175e948693eSPhilip Paeps  */
176e948693eSPhilip Paeps 
177e948693eSPhilip Paeps #define	PCR_AZ_HDR_TYPE_REG 0x0000000e
178e948693eSPhilip Paeps /* falcona0,falconb0,sienaa0,hunta0=pci_f0_config */
179e948693eSPhilip Paeps 
180e948693eSPhilip Paeps #define	PCRF_AZ_MULT_FUNC_LBN 7
181e948693eSPhilip Paeps #define	PCRF_AZ_MULT_FUNC_WIDTH 1
182e948693eSPhilip Paeps #define	PCRF_AZ_TYPE_LBN 0
183e948693eSPhilip Paeps #define	PCRF_AZ_TYPE_WIDTH 7
184e948693eSPhilip Paeps 
185e948693eSPhilip Paeps /*
186e948693eSPhilip Paeps  * PC_BIST_REG(8bit):
187e948693eSPhilip Paeps  * BIST register
188e948693eSPhilip Paeps  */
189e948693eSPhilip Paeps 
190e948693eSPhilip Paeps #define	PCR_AZ_BIST_REG 0x0000000f
191e948693eSPhilip Paeps /* falcona0,falconb0,sienaa0,hunta0=pci_f0_config */
192e948693eSPhilip Paeps 
193e948693eSPhilip Paeps #define	PCRF_AZ_BIST_LBN 0
194e948693eSPhilip Paeps #define	PCRF_AZ_BIST_WIDTH 8
195e948693eSPhilip Paeps 
196e948693eSPhilip Paeps /*
197e948693eSPhilip Paeps  * PC_BAR0_REG(32bit):
198e948693eSPhilip Paeps  * Primary function base address register 0
199e948693eSPhilip Paeps  */
200e948693eSPhilip Paeps 
201e948693eSPhilip Paeps #define	PCR_AZ_BAR0_REG 0x00000010
202e948693eSPhilip Paeps /* falcona0,falconb0,sienaa0,hunta0=pci_f0_config */
203e948693eSPhilip Paeps 
204e948693eSPhilip Paeps #define	PCRF_AZ_BAR0_LBN 4
205e948693eSPhilip Paeps #define	PCRF_AZ_BAR0_WIDTH 28
206e948693eSPhilip Paeps #define	PCRF_AZ_BAR0_PREF_LBN 3
207e948693eSPhilip Paeps #define	PCRF_AZ_BAR0_PREF_WIDTH 1
208e948693eSPhilip Paeps #define	PCRF_AZ_BAR0_TYPE_LBN 1
209e948693eSPhilip Paeps #define	PCRF_AZ_BAR0_TYPE_WIDTH 2
210e948693eSPhilip Paeps #define	PCRF_AZ_BAR0_IOM_LBN 0
211e948693eSPhilip Paeps #define	PCRF_AZ_BAR0_IOM_WIDTH 1
212e948693eSPhilip Paeps 
213e948693eSPhilip Paeps /*
214e948693eSPhilip Paeps  * PC_BAR1_REG(32bit):
215e948693eSPhilip Paeps  * Primary function base address register 1, BAR1 is not implemented so read only.
216e948693eSPhilip Paeps  */
217e948693eSPhilip Paeps 
218e948693eSPhilip Paeps #define	PCR_DZ_BAR1_REG 0x00000014
219e948693eSPhilip Paeps /* hunta0=pci_f0_config */
220e948693eSPhilip Paeps 
221e948693eSPhilip Paeps #define	PCRF_DZ_BAR1_LBN 0
222e948693eSPhilip Paeps #define	PCRF_DZ_BAR1_WIDTH 32
223e948693eSPhilip Paeps 
224e948693eSPhilip Paeps /*
225e948693eSPhilip Paeps  * PC_BAR2_LO_REG(32bit):
226e948693eSPhilip Paeps  * Primary function base address register 2 low bits
227e948693eSPhilip Paeps  */
228e948693eSPhilip Paeps 
229e948693eSPhilip Paeps #define	PCR_AZ_BAR2_LO_REG 0x00000018
230e948693eSPhilip Paeps /* falcona0,falconb0,sienaa0,hunta0=pci_f0_config */
231e948693eSPhilip Paeps 
232e948693eSPhilip Paeps #define	PCRF_AZ_BAR2_LO_LBN 4
233e948693eSPhilip Paeps #define	PCRF_AZ_BAR2_LO_WIDTH 28
234e948693eSPhilip Paeps #define	PCRF_AZ_BAR2_PREF_LBN 3
235e948693eSPhilip Paeps #define	PCRF_AZ_BAR2_PREF_WIDTH 1
236e948693eSPhilip Paeps #define	PCRF_AZ_BAR2_TYPE_LBN 1
237e948693eSPhilip Paeps #define	PCRF_AZ_BAR2_TYPE_WIDTH 2
238e948693eSPhilip Paeps #define	PCRF_AZ_BAR2_IOM_LBN 0
239e948693eSPhilip Paeps #define	PCRF_AZ_BAR2_IOM_WIDTH 1
240e948693eSPhilip Paeps 
241e948693eSPhilip Paeps /*
242e948693eSPhilip Paeps  * PC_BAR2_HI_REG(32bit):
243e948693eSPhilip Paeps  * Primary function base address register 2 high bits
244e948693eSPhilip Paeps  */
245e948693eSPhilip Paeps 
246e948693eSPhilip Paeps #define	PCR_AZ_BAR2_HI_REG 0x0000001c
247e948693eSPhilip Paeps /* falcona0,falconb0,sienaa0,hunta0=pci_f0_config */
248e948693eSPhilip Paeps 
249e948693eSPhilip Paeps #define	PCRF_AZ_BAR2_HI_LBN 0
250e948693eSPhilip Paeps #define	PCRF_AZ_BAR2_HI_WIDTH 32
251e948693eSPhilip Paeps 
252e948693eSPhilip Paeps /*
253e948693eSPhilip Paeps  * PC_BAR4_LO_REG(32bit):
254e948693eSPhilip Paeps  * Primary function base address register 2 low bits
255e948693eSPhilip Paeps  */
256e948693eSPhilip Paeps 
257e948693eSPhilip Paeps #define	PCR_CZ_BAR4_LO_REG 0x00000020
258e948693eSPhilip Paeps /* sienaa0,hunta0=pci_f0_config */
259e948693eSPhilip Paeps 
260e948693eSPhilip Paeps #define	PCRF_CZ_BAR4_LO_LBN 4
261e948693eSPhilip Paeps #define	PCRF_CZ_BAR4_LO_WIDTH 28
262e948693eSPhilip Paeps #define	PCRF_CZ_BAR4_PREF_LBN 3
263e948693eSPhilip Paeps #define	PCRF_CZ_BAR4_PREF_WIDTH 1
264e948693eSPhilip Paeps #define	PCRF_CZ_BAR4_TYPE_LBN 1
265e948693eSPhilip Paeps #define	PCRF_CZ_BAR4_TYPE_WIDTH 2
266e948693eSPhilip Paeps #define	PCRF_CZ_BAR4_IOM_LBN 0
267e948693eSPhilip Paeps #define	PCRF_CZ_BAR4_IOM_WIDTH 1
268e948693eSPhilip Paeps 
269e948693eSPhilip Paeps /*
270e948693eSPhilip Paeps  * PC_BAR4_HI_REG(32bit):
271e948693eSPhilip Paeps  * Primary function base address register 2 high bits
272e948693eSPhilip Paeps  */
273e948693eSPhilip Paeps 
274e948693eSPhilip Paeps #define	PCR_CZ_BAR4_HI_REG 0x00000024
275e948693eSPhilip Paeps /* sienaa0,hunta0=pci_f0_config */
276e948693eSPhilip Paeps 
277e948693eSPhilip Paeps #define	PCRF_CZ_BAR4_HI_LBN 0
278e948693eSPhilip Paeps #define	PCRF_CZ_BAR4_HI_WIDTH 32
279e948693eSPhilip Paeps 
280e948693eSPhilip Paeps /*
281e948693eSPhilip Paeps  * PC_SS_VEND_ID_REG(16bit):
282e948693eSPhilip Paeps  * Sub-system vendor ID register
283e948693eSPhilip Paeps  */
284e948693eSPhilip Paeps 
285e948693eSPhilip Paeps #define	PCR_AZ_SS_VEND_ID_REG 0x0000002c
286e948693eSPhilip Paeps /* falcona0,falconb0,sienaa0,hunta0=pci_f0_config */
287e948693eSPhilip Paeps 
288e948693eSPhilip Paeps #define	PCRF_AZ_SS_VEND_ID_LBN 0
289e948693eSPhilip Paeps #define	PCRF_AZ_SS_VEND_ID_WIDTH 16
290e948693eSPhilip Paeps 
291e948693eSPhilip Paeps /*
292e948693eSPhilip Paeps  * PC_SS_ID_REG(16bit):
293e948693eSPhilip Paeps  * Sub-system ID register
294e948693eSPhilip Paeps  */
295e948693eSPhilip Paeps 
296e948693eSPhilip Paeps #define	PCR_AZ_SS_ID_REG 0x0000002e
297e948693eSPhilip Paeps /* falcona0,falconb0,sienaa0,hunta0=pci_f0_config */
298e948693eSPhilip Paeps 
299e948693eSPhilip Paeps #define	PCRF_AZ_SS_ID_LBN 0
300e948693eSPhilip Paeps #define	PCRF_AZ_SS_ID_WIDTH 16
301e948693eSPhilip Paeps 
302e948693eSPhilip Paeps /*
303e948693eSPhilip Paeps  * PC_EXPROM_BAR_REG(32bit):
304e948693eSPhilip Paeps  * Expansion ROM base address register
305e948693eSPhilip Paeps  */
306e948693eSPhilip Paeps 
307e948693eSPhilip Paeps #define	PCR_AZ_EXPROM_BAR_REG 0x00000030
308e948693eSPhilip Paeps /* falcona0,falconb0,sienaa0,hunta0=pci_f0_config */
309e948693eSPhilip Paeps 
310e948693eSPhilip Paeps #define	PCRF_AZ_EXPROM_BAR_LBN 11
311e948693eSPhilip Paeps #define	PCRF_AZ_EXPROM_BAR_WIDTH 21
312e948693eSPhilip Paeps #define	PCRF_AB_EXPROM_MIN_SIZE_LBN 2
313e948693eSPhilip Paeps #define	PCRF_AB_EXPROM_MIN_SIZE_WIDTH 9
314e948693eSPhilip Paeps #define	PCRF_CZ_EXPROM_MIN_SIZE_LBN 1
315e948693eSPhilip Paeps #define	PCRF_CZ_EXPROM_MIN_SIZE_WIDTH 10
316e948693eSPhilip Paeps #define	PCRF_AB_EXPROM_FEATURE_ENABLE_LBN 1
317e948693eSPhilip Paeps #define	PCRF_AB_EXPROM_FEATURE_ENABLE_WIDTH 1
318e948693eSPhilip Paeps #define	PCRF_AZ_EXPROM_EN_LBN 0
319e948693eSPhilip Paeps #define	PCRF_AZ_EXPROM_EN_WIDTH 1
320e948693eSPhilip Paeps 
321e948693eSPhilip Paeps /*
322e948693eSPhilip Paeps  * PC_CAP_PTR_REG(8bit):
323e948693eSPhilip Paeps  * Capability pointer register
324e948693eSPhilip Paeps  */
325e948693eSPhilip Paeps 
326e948693eSPhilip Paeps #define	PCR_AZ_CAP_PTR_REG 0x00000034
327e948693eSPhilip Paeps /* falcona0,falconb0,sienaa0,hunta0=pci_f0_config */
328e948693eSPhilip Paeps 
329e948693eSPhilip Paeps #define	PCRF_AZ_CAP_PTR_LBN 0
330e948693eSPhilip Paeps #define	PCRF_AZ_CAP_PTR_WIDTH 8
331e948693eSPhilip Paeps 
332e948693eSPhilip Paeps /*
333e948693eSPhilip Paeps  * PC_INT_LINE_REG(8bit):
334e948693eSPhilip Paeps  * Interrupt line register
335e948693eSPhilip Paeps  */
336e948693eSPhilip Paeps 
337e948693eSPhilip Paeps #define	PCR_AZ_INT_LINE_REG 0x0000003c
338e948693eSPhilip Paeps /* falcona0,falconb0,sienaa0,hunta0=pci_f0_config */
339e948693eSPhilip Paeps 
340e948693eSPhilip Paeps #define	PCRF_AZ_INT_LINE_LBN 0
341e948693eSPhilip Paeps #define	PCRF_AZ_INT_LINE_WIDTH 8
342e948693eSPhilip Paeps 
343e948693eSPhilip Paeps /*
344e948693eSPhilip Paeps  * PC_INT_PIN_REG(8bit):
345e948693eSPhilip Paeps  * Interrupt pin register
346e948693eSPhilip Paeps  */
347e948693eSPhilip Paeps 
348e948693eSPhilip Paeps #define	PCR_AZ_INT_PIN_REG 0x0000003d
349e948693eSPhilip Paeps /* falcona0,falconb0,sienaa0,hunta0=pci_f0_config */
350e948693eSPhilip Paeps 
351e948693eSPhilip Paeps #define	PCRF_AZ_INT_PIN_LBN 0
352e948693eSPhilip Paeps #define	PCRF_AZ_INT_PIN_WIDTH 8
3533c838a9fSAndrew Rybchenko #define	PCFE_DZ_INTPIN_INTD 4
3543c838a9fSAndrew Rybchenko #define	PCFE_DZ_INTPIN_INTC 3
3553c838a9fSAndrew Rybchenko #define	PCFE_DZ_INTPIN_INTB 2
3563c838a9fSAndrew Rybchenko #define	PCFE_DZ_INTPIN_INTA 1
357e948693eSPhilip Paeps 
358e948693eSPhilip Paeps /*
359e948693eSPhilip Paeps  * PC_PM_CAP_ID_REG(8bit):
360e948693eSPhilip Paeps  * Power management capability ID
361e948693eSPhilip Paeps  */
362e948693eSPhilip Paeps 
3633c838a9fSAndrew Rybchenko #define	PCR_AZ_PM_CAP_ID_REG 0x00000040
3643c838a9fSAndrew Rybchenko /* falcona0,falconb0,sienaa0,hunta0=pci_f0_config */
365e948693eSPhilip Paeps 
366e948693eSPhilip Paeps #define	PCRF_AZ_PM_CAP_ID_LBN 0
367e948693eSPhilip Paeps #define	PCRF_AZ_PM_CAP_ID_WIDTH 8
368e948693eSPhilip Paeps 
369e948693eSPhilip Paeps /*
370e948693eSPhilip Paeps  * PC_PM_NXT_PTR_REG(8bit):
371e948693eSPhilip Paeps  * Power management next item pointer
372e948693eSPhilip Paeps  */
373e948693eSPhilip Paeps 
3743c838a9fSAndrew Rybchenko #define	PCR_AZ_PM_NXT_PTR_REG 0x00000041
3753c838a9fSAndrew Rybchenko /* falcona0,falconb0,sienaa0,hunta0=pci_f0_config */
376e948693eSPhilip Paeps 
377e948693eSPhilip Paeps #define	PCRF_AZ_PM_NXT_PTR_LBN 0
378e948693eSPhilip Paeps #define	PCRF_AZ_PM_NXT_PTR_WIDTH 8
379e948693eSPhilip Paeps 
380e948693eSPhilip Paeps /*
381e948693eSPhilip Paeps  * PC_PM_CAP_REG(16bit):
382e948693eSPhilip Paeps  * Power management capabilities register
383e948693eSPhilip Paeps  */
384e948693eSPhilip Paeps 
3853c838a9fSAndrew Rybchenko #define	PCR_AZ_PM_CAP_REG 0x00000042
3863c838a9fSAndrew Rybchenko /* falcona0,falconb0,sienaa0,hunta0=pci_f0_config */
387e948693eSPhilip Paeps 
388e948693eSPhilip Paeps #define	PCRF_AZ_PM_PME_SUPT_LBN 11
389e948693eSPhilip Paeps #define	PCRF_AZ_PM_PME_SUPT_WIDTH 5
390e948693eSPhilip Paeps #define	PCRF_AZ_PM_D2_SUPT_LBN 10
391e948693eSPhilip Paeps #define	PCRF_AZ_PM_D2_SUPT_WIDTH 1
392e948693eSPhilip Paeps #define	PCRF_AZ_PM_D1_SUPT_LBN 9
393e948693eSPhilip Paeps #define	PCRF_AZ_PM_D1_SUPT_WIDTH 1
394e948693eSPhilip Paeps #define	PCRF_AZ_PM_AUX_CURR_LBN 6
395e948693eSPhilip Paeps #define	PCRF_AZ_PM_AUX_CURR_WIDTH 3
396e948693eSPhilip Paeps #define	PCRF_AZ_PM_DSI_LBN 5
397e948693eSPhilip Paeps #define	PCRF_AZ_PM_DSI_WIDTH 1
398e948693eSPhilip Paeps #define	PCRF_AZ_PM_PME_CLK_LBN 3
399e948693eSPhilip Paeps #define	PCRF_AZ_PM_PME_CLK_WIDTH 1
400e948693eSPhilip Paeps #define	PCRF_AZ_PM_PME_VER_LBN 0
401e948693eSPhilip Paeps #define	PCRF_AZ_PM_PME_VER_WIDTH 3
402e948693eSPhilip Paeps 
403e948693eSPhilip Paeps /*
404e948693eSPhilip Paeps  * PC_PM_CS_REG(16bit):
405e948693eSPhilip Paeps  * Power management control & status register
406e948693eSPhilip Paeps  */
407e948693eSPhilip Paeps 
4083c838a9fSAndrew Rybchenko #define	PCR_AZ_PM_CS_REG 0x00000044
4093c838a9fSAndrew Rybchenko /* falcona0,falconb0,sienaa0,hunta0=pci_f0_config */
410e948693eSPhilip Paeps 
411e948693eSPhilip Paeps #define	PCRF_AZ_PM_PME_STAT_LBN 15
412e948693eSPhilip Paeps #define	PCRF_AZ_PM_PME_STAT_WIDTH 1
413e948693eSPhilip Paeps #define	PCRF_AZ_PM_DAT_SCALE_LBN 13
414e948693eSPhilip Paeps #define	PCRF_AZ_PM_DAT_SCALE_WIDTH 2
415e948693eSPhilip Paeps #define	PCRF_AZ_PM_DAT_SEL_LBN 9
416e948693eSPhilip Paeps #define	PCRF_AZ_PM_DAT_SEL_WIDTH 4
417e948693eSPhilip Paeps #define	PCRF_AZ_PM_PME_EN_LBN 8
418e948693eSPhilip Paeps #define	PCRF_AZ_PM_PME_EN_WIDTH 1
419e948693eSPhilip Paeps #define	PCRF_CZ_NO_SOFT_RESET_LBN 3
420e948693eSPhilip Paeps #define	PCRF_CZ_NO_SOFT_RESET_WIDTH 1
421e948693eSPhilip Paeps #define	PCRF_AZ_PM_PWR_ST_LBN 0
422e948693eSPhilip Paeps #define	PCRF_AZ_PM_PWR_ST_WIDTH 2
423e948693eSPhilip Paeps 
424e948693eSPhilip Paeps /*
425e948693eSPhilip Paeps  * PC_MSI_CAP_ID_REG(8bit):
426e948693eSPhilip Paeps  * MSI capability ID
427e948693eSPhilip Paeps  */
428e948693eSPhilip Paeps 
4293c838a9fSAndrew Rybchenko #define	PCR_AZ_MSI_CAP_ID_REG 0x00000050
4303c838a9fSAndrew Rybchenko /* falcona0,falconb0,sienaa0,hunta0=pci_f0_config */
431e948693eSPhilip Paeps 
432e948693eSPhilip Paeps #define	PCRF_AZ_MSI_CAP_ID_LBN 0
433e948693eSPhilip Paeps #define	PCRF_AZ_MSI_CAP_ID_WIDTH 8
434e948693eSPhilip Paeps 
435e948693eSPhilip Paeps /*
436e948693eSPhilip Paeps  * PC_MSI_NXT_PTR_REG(8bit):
437e948693eSPhilip Paeps  * MSI next item pointer
438e948693eSPhilip Paeps  */
439e948693eSPhilip Paeps 
4403c838a9fSAndrew Rybchenko #define	PCR_AZ_MSI_NXT_PTR_REG 0x00000051
4413c838a9fSAndrew Rybchenko /* falcona0,falconb0,sienaa0,hunta0=pci_f0_config */
442e948693eSPhilip Paeps 
443e948693eSPhilip Paeps #define	PCRF_AZ_MSI_NXT_PTR_LBN 0
444e948693eSPhilip Paeps #define	PCRF_AZ_MSI_NXT_PTR_WIDTH 8
445e948693eSPhilip Paeps 
446e948693eSPhilip Paeps /*
447e948693eSPhilip Paeps  * PC_MSI_CTL_REG(16bit):
448e948693eSPhilip Paeps  * MSI control register
449e948693eSPhilip Paeps  */
450e948693eSPhilip Paeps 
4513c838a9fSAndrew Rybchenko #define	PCR_AZ_MSI_CTL_REG 0x00000052
4523c838a9fSAndrew Rybchenko /* falcona0,falconb0,sienaa0,hunta0=pci_f0_config */
453e948693eSPhilip Paeps 
454e948693eSPhilip Paeps #define	PCRF_AZ_MSI_64_EN_LBN 7
455e948693eSPhilip Paeps #define	PCRF_AZ_MSI_64_EN_WIDTH 1
456e948693eSPhilip Paeps #define	PCRF_AZ_MSI_MULT_MSG_EN_LBN 4
457e948693eSPhilip Paeps #define	PCRF_AZ_MSI_MULT_MSG_EN_WIDTH 3
458e948693eSPhilip Paeps #define	PCRF_AZ_MSI_MULT_MSG_CAP_LBN 1
459e948693eSPhilip Paeps #define	PCRF_AZ_MSI_MULT_MSG_CAP_WIDTH 3
460e948693eSPhilip Paeps #define	PCRF_AZ_MSI_EN_LBN 0
461e948693eSPhilip Paeps #define	PCRF_AZ_MSI_EN_WIDTH 1
462e948693eSPhilip Paeps 
463e948693eSPhilip Paeps /*
464e948693eSPhilip Paeps  * PC_MSI_ADR_LO_REG(32bit):
465e948693eSPhilip Paeps  * MSI low 32 bits address register
466e948693eSPhilip Paeps  */
467e948693eSPhilip Paeps 
4683c838a9fSAndrew Rybchenko #define	PCR_AZ_MSI_ADR_LO_REG 0x00000054
4693c838a9fSAndrew Rybchenko /* falcona0,falconb0,sienaa0,hunta0=pci_f0_config */
470e948693eSPhilip Paeps 
471e948693eSPhilip Paeps #define	PCRF_AZ_MSI_ADR_LO_LBN 2
472e948693eSPhilip Paeps #define	PCRF_AZ_MSI_ADR_LO_WIDTH 30
473e948693eSPhilip Paeps 
474e948693eSPhilip Paeps /*
475e948693eSPhilip Paeps  * PC_MSI_ADR_HI_REG(32bit):
476e948693eSPhilip Paeps  * MSI high 32 bits address register
477e948693eSPhilip Paeps  */
478e948693eSPhilip Paeps 
4793c838a9fSAndrew Rybchenko #define	PCR_AZ_MSI_ADR_HI_REG 0x00000058
4803c838a9fSAndrew Rybchenko /* falcona0,falconb0,sienaa0,hunta0=pci_f0_config */
481e948693eSPhilip Paeps 
482e948693eSPhilip Paeps #define	PCRF_AZ_MSI_ADR_HI_LBN 0
483e948693eSPhilip Paeps #define	PCRF_AZ_MSI_ADR_HI_WIDTH 32
484e948693eSPhilip Paeps 
485e948693eSPhilip Paeps /*
486e948693eSPhilip Paeps  * PC_MSI_DAT_REG(16bit):
487e948693eSPhilip Paeps  * MSI data register
488e948693eSPhilip Paeps  */
489e948693eSPhilip Paeps 
4903c838a9fSAndrew Rybchenko #define	PCR_AZ_MSI_DAT_REG 0x0000005c
4913c838a9fSAndrew Rybchenko /* falcona0,falconb0,sienaa0,hunta0=pci_f0_config */
492e948693eSPhilip Paeps 
493e948693eSPhilip Paeps #define	PCRF_AZ_MSI_DAT_LBN 0
494e948693eSPhilip Paeps #define	PCRF_AZ_MSI_DAT_WIDTH 16
495e948693eSPhilip Paeps 
496e948693eSPhilip Paeps /*
497e948693eSPhilip Paeps  * PC_PCIE_CAP_LIST_REG(16bit):
498e948693eSPhilip Paeps  * PCIe capability list register
499e948693eSPhilip Paeps  */
500e948693eSPhilip Paeps 
501e948693eSPhilip Paeps #define	PCR_AB_PCIE_CAP_LIST_REG 0x00000060
502e948693eSPhilip Paeps /* falcona0,falconb0=pci_f0_config */
503e948693eSPhilip Paeps 
5043c838a9fSAndrew Rybchenko #define	PCR_CZ_PCIE_CAP_LIST_REG 0x00000070
5053c838a9fSAndrew Rybchenko /* sienaa0,hunta0=pci_f0_config */
506e948693eSPhilip Paeps 
507e948693eSPhilip Paeps #define	PCRF_AZ_PCIE_NXT_PTR_LBN 8
508e948693eSPhilip Paeps #define	PCRF_AZ_PCIE_NXT_PTR_WIDTH 8
509e948693eSPhilip Paeps #define	PCRF_AZ_PCIE_CAP_ID_LBN 0
510e948693eSPhilip Paeps #define	PCRF_AZ_PCIE_CAP_ID_WIDTH 8
511e948693eSPhilip Paeps 
512e948693eSPhilip Paeps /*
513e948693eSPhilip Paeps  * PC_PCIE_CAP_REG(16bit):
514e948693eSPhilip Paeps  * PCIe capability register
515e948693eSPhilip Paeps  */
516e948693eSPhilip Paeps 
517e948693eSPhilip Paeps #define	PCR_AB_PCIE_CAP_REG 0x00000062
518e948693eSPhilip Paeps /* falcona0,falconb0=pci_f0_config */
519e948693eSPhilip Paeps 
5203c838a9fSAndrew Rybchenko #define	PCR_CZ_PCIE_CAP_REG 0x00000072
5213c838a9fSAndrew Rybchenko /* sienaa0,hunta0=pci_f0_config */
522e948693eSPhilip Paeps 
523e948693eSPhilip Paeps #define	PCRF_AZ_PCIE_INT_MSG_NUM_LBN 9
524e948693eSPhilip Paeps #define	PCRF_AZ_PCIE_INT_MSG_NUM_WIDTH 5
525e948693eSPhilip Paeps #define	PCRF_AZ_PCIE_SLOT_IMP_LBN 8
526e948693eSPhilip Paeps #define	PCRF_AZ_PCIE_SLOT_IMP_WIDTH 1
527e948693eSPhilip Paeps #define	PCRF_AZ_PCIE_DEV_PORT_TYPE_LBN 4
528e948693eSPhilip Paeps #define	PCRF_AZ_PCIE_DEV_PORT_TYPE_WIDTH 4
529e948693eSPhilip Paeps #define	PCRF_AZ_PCIE_CAP_VER_LBN 0
530e948693eSPhilip Paeps #define	PCRF_AZ_PCIE_CAP_VER_WIDTH 4
531e948693eSPhilip Paeps 
532e948693eSPhilip Paeps /*
533e948693eSPhilip Paeps  * PC_DEV_CAP_REG(32bit):
534e948693eSPhilip Paeps  * PCIe device capabilities register
535e948693eSPhilip Paeps  */
536e948693eSPhilip Paeps 
537e948693eSPhilip Paeps #define	PCR_AB_DEV_CAP_REG 0x00000064
538e948693eSPhilip Paeps /* falcona0,falconb0=pci_f0_config */
539e948693eSPhilip Paeps 
5403c838a9fSAndrew Rybchenko #define	PCR_CZ_DEV_CAP_REG 0x00000074
5413c838a9fSAndrew Rybchenko /* sienaa0=pci_f0_config,hunta0=pci_f0_config */
542e948693eSPhilip Paeps 
543e948693eSPhilip Paeps #define	PCRF_CZ_CAP_FN_LEVEL_RESET_LBN 28
544e948693eSPhilip Paeps #define	PCRF_CZ_CAP_FN_LEVEL_RESET_WIDTH 1
545e948693eSPhilip Paeps #define	PCRF_AZ_CAP_SLOT_PWR_SCL_LBN 26
546e948693eSPhilip Paeps #define	PCRF_AZ_CAP_SLOT_PWR_SCL_WIDTH 2
547e948693eSPhilip Paeps #define	PCRF_AZ_CAP_SLOT_PWR_VAL_LBN 18
548e948693eSPhilip Paeps #define	PCRF_AZ_CAP_SLOT_PWR_VAL_WIDTH 8
549e948693eSPhilip Paeps #define	PCRF_CZ_ROLE_BASE_ERR_REPORTING_LBN 15
550e948693eSPhilip Paeps #define	PCRF_CZ_ROLE_BASE_ERR_REPORTING_WIDTH 1
551e948693eSPhilip Paeps #define	PCRF_AB_PWR_IND_LBN 14
552e948693eSPhilip Paeps #define	PCRF_AB_PWR_IND_WIDTH 1
553e948693eSPhilip Paeps #define	PCRF_AB_ATTN_IND_LBN 13
554e948693eSPhilip Paeps #define	PCRF_AB_ATTN_IND_WIDTH 1
555e948693eSPhilip Paeps #define	PCRF_AB_ATTN_BUTTON_LBN 12
556e948693eSPhilip Paeps #define	PCRF_AB_ATTN_BUTTON_WIDTH 1
557e948693eSPhilip Paeps #define	PCRF_AZ_ENDPT_L1_LAT_LBN 9
558e948693eSPhilip Paeps #define	PCRF_AZ_ENDPT_L1_LAT_WIDTH 3
559e948693eSPhilip Paeps #define	PCRF_AZ_ENDPT_L0_LAT_LBN 6
560e948693eSPhilip Paeps #define	PCRF_AZ_ENDPT_L0_LAT_WIDTH 3
561e948693eSPhilip Paeps #define	PCRF_AZ_TAG_FIELD_LBN 5
562e948693eSPhilip Paeps #define	PCRF_AZ_TAG_FIELD_WIDTH 1
563e948693eSPhilip Paeps #define	PCRF_AZ_PHAN_FUNC_LBN 3
564e948693eSPhilip Paeps #define	PCRF_AZ_PHAN_FUNC_WIDTH 2
565e948693eSPhilip Paeps #define	PCRF_AZ_MAX_PAYL_SIZE_SUPT_LBN 0
566e948693eSPhilip Paeps #define	PCRF_AZ_MAX_PAYL_SIZE_SUPT_WIDTH 3
567e948693eSPhilip Paeps 
568e948693eSPhilip Paeps /*
569e948693eSPhilip Paeps  * PC_DEV_CTL_REG(16bit):
570e948693eSPhilip Paeps  * PCIe device control register
571e948693eSPhilip Paeps  */
572e948693eSPhilip Paeps 
573e948693eSPhilip Paeps #define	PCR_AB_DEV_CTL_REG 0x00000068
574e948693eSPhilip Paeps /* falcona0,falconb0=pci_f0_config */
575e948693eSPhilip Paeps 
5763c838a9fSAndrew Rybchenko #define	PCR_CZ_DEV_CTL_REG 0x00000078
5773c838a9fSAndrew Rybchenko /* sienaa0,hunta0=pci_f0_config */
578e948693eSPhilip Paeps 
579e948693eSPhilip Paeps #define	PCRF_CZ_FN_LEVEL_RESET_LBN 15
580e948693eSPhilip Paeps #define	PCRF_CZ_FN_LEVEL_RESET_WIDTH 1
581e948693eSPhilip Paeps #define	PCRF_AZ_MAX_RD_REQ_SIZE_LBN 12
582e948693eSPhilip Paeps #define	PCRF_AZ_MAX_RD_REQ_SIZE_WIDTH 3
583e948693eSPhilip Paeps #define	PCFE_AZ_MAX_RD_REQ_SIZE_4096 5
584e948693eSPhilip Paeps #define	PCFE_AZ_MAX_RD_REQ_SIZE_2048 4
585e948693eSPhilip Paeps #define	PCFE_AZ_MAX_RD_REQ_SIZE_1024 3
586e948693eSPhilip Paeps #define	PCFE_AZ_MAX_RD_REQ_SIZE_512 2
587e948693eSPhilip Paeps #define	PCFE_AZ_MAX_RD_REQ_SIZE_256 1
588e948693eSPhilip Paeps #define	PCFE_AZ_MAX_RD_REQ_SIZE_128 0
589e948693eSPhilip Paeps #define	PCRF_AZ_EN_NO_SNOOP_LBN 11
590e948693eSPhilip Paeps #define	PCRF_AZ_EN_NO_SNOOP_WIDTH 1
591e948693eSPhilip Paeps #define	PCRF_AZ_AUX_PWR_PM_EN_LBN 10
592e948693eSPhilip Paeps #define	PCRF_AZ_AUX_PWR_PM_EN_WIDTH 1
593e948693eSPhilip Paeps #define	PCRF_AZ_PHAN_FUNC_EN_LBN 9
594e948693eSPhilip Paeps #define	PCRF_AZ_PHAN_FUNC_EN_WIDTH 1
595e948693eSPhilip Paeps #define	PCRF_AB_DEV_CAP_REG_RSVD0_LBN 8
596e948693eSPhilip Paeps #define	PCRF_AB_DEV_CAP_REG_RSVD0_WIDTH 1
597e948693eSPhilip Paeps #define	PCRF_CZ_EXTENDED_TAG_EN_LBN 8
598e948693eSPhilip Paeps #define	PCRF_CZ_EXTENDED_TAG_EN_WIDTH 1
599e948693eSPhilip Paeps #define	PCRF_AZ_MAX_PAYL_SIZE_LBN 5
600e948693eSPhilip Paeps #define	PCRF_AZ_MAX_PAYL_SIZE_WIDTH 3
601e948693eSPhilip Paeps #define	PCFE_AZ_MAX_PAYL_SIZE_4096 5
602e948693eSPhilip Paeps #define	PCFE_AZ_MAX_PAYL_SIZE_2048 4
603e948693eSPhilip Paeps #define	PCFE_AZ_MAX_PAYL_SIZE_1024 3
604e948693eSPhilip Paeps #define	PCFE_AZ_MAX_PAYL_SIZE_512 2
605e948693eSPhilip Paeps #define	PCFE_AZ_MAX_PAYL_SIZE_256 1
606e948693eSPhilip Paeps #define	PCFE_AZ_MAX_PAYL_SIZE_128 0
607e948693eSPhilip Paeps #define	PCRF_AZ_EN_RELAX_ORDER_LBN 4
608e948693eSPhilip Paeps #define	PCRF_AZ_EN_RELAX_ORDER_WIDTH 1
609e948693eSPhilip Paeps #define	PCRF_AZ_UNSUP_REQ_RPT_EN_LBN 3
610e948693eSPhilip Paeps #define	PCRF_AZ_UNSUP_REQ_RPT_EN_WIDTH 1
611e948693eSPhilip Paeps #define	PCRF_AZ_FATAL_ERR_RPT_EN_LBN 2
612e948693eSPhilip Paeps #define	PCRF_AZ_FATAL_ERR_RPT_EN_WIDTH 1
613e948693eSPhilip Paeps #define	PCRF_AZ_NONFATAL_ERR_RPT_EN_LBN 1
614e948693eSPhilip Paeps #define	PCRF_AZ_NONFATAL_ERR_RPT_EN_WIDTH 1
615e948693eSPhilip Paeps #define	PCRF_AZ_CORR_ERR_RPT_EN_LBN 0
616e948693eSPhilip Paeps #define	PCRF_AZ_CORR_ERR_RPT_EN_WIDTH 1
617e948693eSPhilip Paeps 
618e948693eSPhilip Paeps /*
619e948693eSPhilip Paeps  * PC_DEV_STAT_REG(16bit):
620e948693eSPhilip Paeps  * PCIe device status register
621e948693eSPhilip Paeps  */
622e948693eSPhilip Paeps 
623e948693eSPhilip Paeps #define	PCR_AB_DEV_STAT_REG 0x0000006a
624e948693eSPhilip Paeps /* falcona0,falconb0=pci_f0_config */
625e948693eSPhilip Paeps 
6263c838a9fSAndrew Rybchenko #define	PCR_CZ_DEV_STAT_REG 0x0000007a
6273c838a9fSAndrew Rybchenko /* sienaa0,hunta0=pci_f0_config */
628e948693eSPhilip Paeps 
629e948693eSPhilip Paeps #define	PCRF_AZ_TRNS_PEND_LBN 5
630e948693eSPhilip Paeps #define	PCRF_AZ_TRNS_PEND_WIDTH 1
631e948693eSPhilip Paeps #define	PCRF_AZ_AUX_PWR_DET_LBN 4
632e948693eSPhilip Paeps #define	PCRF_AZ_AUX_PWR_DET_WIDTH 1
633e948693eSPhilip Paeps #define	PCRF_AZ_UNSUP_REQ_DET_LBN 3
634e948693eSPhilip Paeps #define	PCRF_AZ_UNSUP_REQ_DET_WIDTH 1
635e948693eSPhilip Paeps #define	PCRF_AZ_FATAL_ERR_DET_LBN 2
636e948693eSPhilip Paeps #define	PCRF_AZ_FATAL_ERR_DET_WIDTH 1
637e948693eSPhilip Paeps #define	PCRF_AZ_NONFATAL_ERR_DET_LBN 1
638e948693eSPhilip Paeps #define	PCRF_AZ_NONFATAL_ERR_DET_WIDTH 1
639e948693eSPhilip Paeps #define	PCRF_AZ_CORR_ERR_DET_LBN 0
640e948693eSPhilip Paeps #define	PCRF_AZ_CORR_ERR_DET_WIDTH 1
641e948693eSPhilip Paeps 
642e948693eSPhilip Paeps /*
643e948693eSPhilip Paeps  * PC_LNK_CAP_REG(32bit):
644e948693eSPhilip Paeps  * PCIe link capabilities register
645e948693eSPhilip Paeps  */
646e948693eSPhilip Paeps 
647e948693eSPhilip Paeps #define	PCR_AB_LNK_CAP_REG 0x0000006c
648e948693eSPhilip Paeps /* falcona0,falconb0=pci_f0_config */
649e948693eSPhilip Paeps 
6503c838a9fSAndrew Rybchenko #define	PCR_CZ_LNK_CAP_REG 0x0000007c
6513c838a9fSAndrew Rybchenko /* sienaa0,hunta0=pci_f0_config */
652e948693eSPhilip Paeps 
653e948693eSPhilip Paeps #define	PCRF_AZ_PORT_NUM_LBN 24
654e948693eSPhilip Paeps #define	PCRF_AZ_PORT_NUM_WIDTH 8
6553c838a9fSAndrew Rybchenko #define	PCRF_DZ_ASPM_OPTIONALITY_CAP_LBN 22
6563c838a9fSAndrew Rybchenko #define	PCRF_DZ_ASPM_OPTIONALITY_CAP_WIDTH 1
657e948693eSPhilip Paeps #define	PCRF_CZ_LINK_BWDITH_NOTIF_CAP_LBN 21
658e948693eSPhilip Paeps #define	PCRF_CZ_LINK_BWDITH_NOTIF_CAP_WIDTH 1
659e948693eSPhilip Paeps #define	PCRF_CZ_DATA_LINK_ACTIVE_RPT_CAP_LBN 20
660e948693eSPhilip Paeps #define	PCRF_CZ_DATA_LINK_ACTIVE_RPT_CAP_WIDTH 1
661e948693eSPhilip Paeps #define	PCRF_CZ_SURPISE_DOWN_RPT_CAP_LBN 19
662e948693eSPhilip Paeps #define	PCRF_CZ_SURPISE_DOWN_RPT_CAP_WIDTH 1
663e948693eSPhilip Paeps #define	PCRF_CZ_CLOCK_PWR_MNGMNT_CAP_LBN 18
664e948693eSPhilip Paeps #define	PCRF_CZ_CLOCK_PWR_MNGMNT_CAP_WIDTH 1
665e948693eSPhilip Paeps #define	PCRF_AZ_DEF_L1_EXIT_LAT_LBN 15
666e948693eSPhilip Paeps #define	PCRF_AZ_DEF_L1_EXIT_LAT_WIDTH 3
667e948693eSPhilip Paeps #define	PCRF_AZ_DEF_L0_EXIT_LATPORT_NUM_LBN 12
668e948693eSPhilip Paeps #define	PCRF_AZ_DEF_L0_EXIT_LATPORT_NUM_WIDTH 3
669e948693eSPhilip Paeps #define	PCRF_AZ_AS_LNK_PM_SUPT_LBN 10
670e948693eSPhilip Paeps #define	PCRF_AZ_AS_LNK_PM_SUPT_WIDTH 2
671e948693eSPhilip Paeps #define	PCRF_AZ_MAX_LNK_WIDTH_LBN 4
672e948693eSPhilip Paeps #define	PCRF_AZ_MAX_LNK_WIDTH_WIDTH 6
673e948693eSPhilip Paeps #define	PCRF_AZ_MAX_LNK_SP_LBN 0
674e948693eSPhilip Paeps #define	PCRF_AZ_MAX_LNK_SP_WIDTH 4
675e948693eSPhilip Paeps 
676e948693eSPhilip Paeps /*
677e948693eSPhilip Paeps  * PC_LNK_CTL_REG(16bit):
678e948693eSPhilip Paeps  * PCIe link control register
679e948693eSPhilip Paeps  */
680e948693eSPhilip Paeps 
681e948693eSPhilip Paeps #define	PCR_AB_LNK_CTL_REG 0x00000070
682e948693eSPhilip Paeps /* falcona0,falconb0=pci_f0_config */
683e948693eSPhilip Paeps 
6843c838a9fSAndrew Rybchenko #define	PCR_CZ_LNK_CTL_REG 0x00000080
6853c838a9fSAndrew Rybchenko /* sienaa0,hunta0=pci_f0_config */
686e948693eSPhilip Paeps 
687e948693eSPhilip Paeps #define	PCRF_AZ_EXT_SYNC_LBN 7
688e948693eSPhilip Paeps #define	PCRF_AZ_EXT_SYNC_WIDTH 1
689e948693eSPhilip Paeps #define	PCRF_AZ_COMM_CLK_CFG_LBN 6
690e948693eSPhilip Paeps #define	PCRF_AZ_COMM_CLK_CFG_WIDTH 1
691e948693eSPhilip Paeps #define	PCRF_AB_LNK_CTL_REG_RSVD0_LBN 5
692e948693eSPhilip Paeps #define	PCRF_AB_LNK_CTL_REG_RSVD0_WIDTH 1
693e948693eSPhilip Paeps #define	PCRF_CZ_LNK_RETRAIN_LBN 5
694e948693eSPhilip Paeps #define	PCRF_CZ_LNK_RETRAIN_WIDTH 1
695e948693eSPhilip Paeps #define	PCRF_AZ_LNK_DIS_LBN 4
696e948693eSPhilip Paeps #define	PCRF_AZ_LNK_DIS_WIDTH 1
697e948693eSPhilip Paeps #define	PCRF_AZ_RD_COM_BDRY_LBN 3
698e948693eSPhilip Paeps #define	PCRF_AZ_RD_COM_BDRY_WIDTH 1
699e948693eSPhilip Paeps #define	PCRF_AZ_ACT_ST_LNK_PM_CTL_LBN 0
700e948693eSPhilip Paeps #define	PCRF_AZ_ACT_ST_LNK_PM_CTL_WIDTH 2
701e948693eSPhilip Paeps 
702e948693eSPhilip Paeps /*
703e948693eSPhilip Paeps  * PC_LNK_STAT_REG(16bit):
704e948693eSPhilip Paeps  * PCIe link status register
705e948693eSPhilip Paeps  */
706e948693eSPhilip Paeps 
707e948693eSPhilip Paeps #define	PCR_AB_LNK_STAT_REG 0x00000072
708e948693eSPhilip Paeps /* falcona0,falconb0=pci_f0_config */
709e948693eSPhilip Paeps 
7103c838a9fSAndrew Rybchenko #define	PCR_CZ_LNK_STAT_REG 0x00000082
7113c838a9fSAndrew Rybchenko /* sienaa0,hunta0=pci_f0_config */
712e948693eSPhilip Paeps 
713e948693eSPhilip Paeps #define	PCRF_AZ_SLOT_CLK_CFG_LBN 12
714e948693eSPhilip Paeps #define	PCRF_AZ_SLOT_CLK_CFG_WIDTH 1
715e948693eSPhilip Paeps #define	PCRF_AZ_LNK_TRAIN_LBN 11
716e948693eSPhilip Paeps #define	PCRF_AZ_LNK_TRAIN_WIDTH 1
717e948693eSPhilip Paeps #define	PCRF_AB_TRAIN_ERR_LBN 10
718e948693eSPhilip Paeps #define	PCRF_AB_TRAIN_ERR_WIDTH 1
719e948693eSPhilip Paeps #define	PCRF_AZ_LNK_WIDTH_LBN 4
720e948693eSPhilip Paeps #define	PCRF_AZ_LNK_WIDTH_WIDTH 6
721e948693eSPhilip Paeps #define	PCRF_AZ_LNK_SP_LBN 0
722e948693eSPhilip Paeps #define	PCRF_AZ_LNK_SP_WIDTH 4
723e948693eSPhilip Paeps 
724e948693eSPhilip Paeps /*
725e948693eSPhilip Paeps  * PC_SLOT_CAP_REG(32bit):
726e948693eSPhilip Paeps  * PCIe slot capabilities register
727e948693eSPhilip Paeps  */
728e948693eSPhilip Paeps 
729e948693eSPhilip Paeps #define	PCR_AB_SLOT_CAP_REG 0x00000074
730e948693eSPhilip Paeps /* falcona0,falconb0=pci_f0_config */
731e948693eSPhilip Paeps 
732e948693eSPhilip Paeps #define	PCRF_AB_SLOT_NUM_LBN 19
733e948693eSPhilip Paeps #define	PCRF_AB_SLOT_NUM_WIDTH 13
734e948693eSPhilip Paeps #define	PCRF_AB_SLOT_PWR_LIM_SCL_LBN 15
735e948693eSPhilip Paeps #define	PCRF_AB_SLOT_PWR_LIM_SCL_WIDTH 2
736e948693eSPhilip Paeps #define	PCRF_AB_SLOT_PWR_LIM_VAL_LBN 7
737e948693eSPhilip Paeps #define	PCRF_AB_SLOT_PWR_LIM_VAL_WIDTH 8
738e948693eSPhilip Paeps #define	PCRF_AB_SLOT_HP_CAP_LBN 6
739e948693eSPhilip Paeps #define	PCRF_AB_SLOT_HP_CAP_WIDTH 1
740e948693eSPhilip Paeps #define	PCRF_AB_SLOT_HP_SURP_LBN 5
741e948693eSPhilip Paeps #define	PCRF_AB_SLOT_HP_SURP_WIDTH 1
742e948693eSPhilip Paeps #define	PCRF_AB_SLOT_PWR_IND_PRST_LBN 4
743e948693eSPhilip Paeps #define	PCRF_AB_SLOT_PWR_IND_PRST_WIDTH 1
744e948693eSPhilip Paeps #define	PCRF_AB_SLOT_ATTN_IND_PRST_LBN 3
745e948693eSPhilip Paeps #define	PCRF_AB_SLOT_ATTN_IND_PRST_WIDTH 1
746e948693eSPhilip Paeps #define	PCRF_AB_SLOT_MRL_SENS_PRST_LBN 2
747e948693eSPhilip Paeps #define	PCRF_AB_SLOT_MRL_SENS_PRST_WIDTH 1
748e948693eSPhilip Paeps #define	PCRF_AB_SLOT_PWR_CTL_PRST_LBN 1
749e948693eSPhilip Paeps #define	PCRF_AB_SLOT_PWR_CTL_PRST_WIDTH 1
750e948693eSPhilip Paeps #define	PCRF_AB_SLOT_ATTN_BUT_PRST_LBN 0
751e948693eSPhilip Paeps #define	PCRF_AB_SLOT_ATTN_BUT_PRST_WIDTH 1
752e948693eSPhilip Paeps 
753e948693eSPhilip Paeps /*
754e948693eSPhilip Paeps  * PC_SLOT_CTL_REG(16bit):
755e948693eSPhilip Paeps  * PCIe slot control register
756e948693eSPhilip Paeps  */
757e948693eSPhilip Paeps 
758e948693eSPhilip Paeps #define	PCR_AB_SLOT_CTL_REG 0x00000078
759e948693eSPhilip Paeps /* falcona0,falconb0=pci_f0_config */
760e948693eSPhilip Paeps 
761e948693eSPhilip Paeps #define	PCRF_AB_SLOT_PWR_CTLR_CTL_LBN 10
762e948693eSPhilip Paeps #define	PCRF_AB_SLOT_PWR_CTLR_CTL_WIDTH 1
763e948693eSPhilip Paeps #define	PCRF_AB_SLOT_PWR_IND_CTL_LBN 8
764e948693eSPhilip Paeps #define	PCRF_AB_SLOT_PWR_IND_CTL_WIDTH 2
765e948693eSPhilip Paeps #define	PCRF_AB_SLOT_ATT_IND_CTL_LBN 6
766e948693eSPhilip Paeps #define	PCRF_AB_SLOT_ATT_IND_CTL_WIDTH 2
767e948693eSPhilip Paeps #define	PCRF_AB_SLOT_HP_INT_EN_LBN 5
768e948693eSPhilip Paeps #define	PCRF_AB_SLOT_HP_INT_EN_WIDTH 1
769e948693eSPhilip Paeps #define	PCRF_AB_SLOT_CMD_COMP_INT_EN_LBN 4
770e948693eSPhilip Paeps #define	PCRF_AB_SLOT_CMD_COMP_INT_EN_WIDTH 1
771e948693eSPhilip Paeps #define	PCRF_AB_SLOT_PRES_DET_CHG_EN_LBN 3
772e948693eSPhilip Paeps #define	PCRF_AB_SLOT_PRES_DET_CHG_EN_WIDTH 1
773e948693eSPhilip Paeps #define	PCRF_AB_SLOT_MRL_SENS_CHG_EN_LBN 2
774e948693eSPhilip Paeps #define	PCRF_AB_SLOT_MRL_SENS_CHG_EN_WIDTH 1
775e948693eSPhilip Paeps #define	PCRF_AB_SLOT_PWR_FLTDET_EN_LBN 1
776e948693eSPhilip Paeps #define	PCRF_AB_SLOT_PWR_FLTDET_EN_WIDTH 1
777e948693eSPhilip Paeps #define	PCRF_AB_SLOT_ATTN_BUT_EN_LBN 0
778e948693eSPhilip Paeps #define	PCRF_AB_SLOT_ATTN_BUT_EN_WIDTH 1
779e948693eSPhilip Paeps 
780e948693eSPhilip Paeps /*
781e948693eSPhilip Paeps  * PC_SLOT_STAT_REG(16bit):
782e948693eSPhilip Paeps  * PCIe slot status register
783e948693eSPhilip Paeps  */
784e948693eSPhilip Paeps 
785e948693eSPhilip Paeps #define	PCR_AB_SLOT_STAT_REG 0x0000007a
786e948693eSPhilip Paeps /* falcona0,falconb0=pci_f0_config */
787e948693eSPhilip Paeps 
788e948693eSPhilip Paeps #define	PCRF_AB_PRES_DET_ST_LBN 6
789e948693eSPhilip Paeps #define	PCRF_AB_PRES_DET_ST_WIDTH 1
790e948693eSPhilip Paeps #define	PCRF_AB_MRL_SENS_ST_LBN 5
791e948693eSPhilip Paeps #define	PCRF_AB_MRL_SENS_ST_WIDTH 1
792e948693eSPhilip Paeps #define	PCRF_AB_SLOT_PWR_IND_LBN 4
793e948693eSPhilip Paeps #define	PCRF_AB_SLOT_PWR_IND_WIDTH 1
794e948693eSPhilip Paeps #define	PCRF_AB_SLOT_ATTN_IND_LBN 3
795e948693eSPhilip Paeps #define	PCRF_AB_SLOT_ATTN_IND_WIDTH 1
796e948693eSPhilip Paeps #define	PCRF_AB_SLOT_MRL_SENS_LBN 2
797e948693eSPhilip Paeps #define	PCRF_AB_SLOT_MRL_SENS_WIDTH 1
798e948693eSPhilip Paeps #define	PCRF_AB_PWR_FLTDET_LBN 1
799e948693eSPhilip Paeps #define	PCRF_AB_PWR_FLTDET_WIDTH 1
800e948693eSPhilip Paeps #define	PCRF_AB_ATTN_BUTDET_LBN 0
801e948693eSPhilip Paeps #define	PCRF_AB_ATTN_BUTDET_WIDTH 1
802e948693eSPhilip Paeps 
803e948693eSPhilip Paeps /*
804e948693eSPhilip Paeps  * PC_MSIX_CAP_ID_REG(8bit):
805e948693eSPhilip Paeps  * MSIX Capability ID
806e948693eSPhilip Paeps  */
807e948693eSPhilip Paeps 
808e948693eSPhilip Paeps #define	PCR_BB_MSIX_CAP_ID_REG 0x00000090
809e948693eSPhilip Paeps /* falconb0=pci_f0_config */
810e948693eSPhilip Paeps 
811e948693eSPhilip Paeps #define	PCR_CZ_MSIX_CAP_ID_REG 0x000000b0
812e948693eSPhilip Paeps /* sienaa0,hunta0=pci_f0_config */
813e948693eSPhilip Paeps 
814e948693eSPhilip Paeps #define	PCRF_BZ_MSIX_CAP_ID_LBN 0
815e948693eSPhilip Paeps #define	PCRF_BZ_MSIX_CAP_ID_WIDTH 8
816e948693eSPhilip Paeps 
817e948693eSPhilip Paeps /*
818e948693eSPhilip Paeps  * PC_MSIX_NXT_PTR_REG(8bit):
819e948693eSPhilip Paeps  * MSIX Capability Next Capability Ptr
820e948693eSPhilip Paeps  */
821e948693eSPhilip Paeps 
822e948693eSPhilip Paeps #define	PCR_BB_MSIX_NXT_PTR_REG 0x00000091
823e948693eSPhilip Paeps /* falconb0=pci_f0_config */
824e948693eSPhilip Paeps 
825e948693eSPhilip Paeps #define	PCR_CZ_MSIX_NXT_PTR_REG 0x000000b1
826e948693eSPhilip Paeps /* sienaa0,hunta0=pci_f0_config */
827e948693eSPhilip Paeps 
828e948693eSPhilip Paeps #define	PCRF_BZ_MSIX_NXT_PTR_LBN 0
829e948693eSPhilip Paeps #define	PCRF_BZ_MSIX_NXT_PTR_WIDTH 8
830e948693eSPhilip Paeps 
831e948693eSPhilip Paeps /*
832e948693eSPhilip Paeps  * PC_MSIX_CTL_REG(16bit):
833e948693eSPhilip Paeps  * MSIX control register
834e948693eSPhilip Paeps  */
835e948693eSPhilip Paeps 
836e948693eSPhilip Paeps #define	PCR_BB_MSIX_CTL_REG 0x00000092
837e948693eSPhilip Paeps /* falconb0=pci_f0_config */
838e948693eSPhilip Paeps 
839e948693eSPhilip Paeps #define	PCR_CZ_MSIX_CTL_REG 0x000000b2
840e948693eSPhilip Paeps /* sienaa0,hunta0=pci_f0_config */
841e948693eSPhilip Paeps 
842e948693eSPhilip Paeps #define	PCRF_BZ_MSIX_EN_LBN 15
843e948693eSPhilip Paeps #define	PCRF_BZ_MSIX_EN_WIDTH 1
844e948693eSPhilip Paeps #define	PCRF_BZ_MSIX_FUNC_MASK_LBN 14
845e948693eSPhilip Paeps #define	PCRF_BZ_MSIX_FUNC_MASK_WIDTH 1
846e948693eSPhilip Paeps #define	PCRF_BZ_MSIX_TBL_SIZE_LBN 0
847e948693eSPhilip Paeps #define	PCRF_BZ_MSIX_TBL_SIZE_WIDTH 11
848e948693eSPhilip Paeps 
849e948693eSPhilip Paeps /*
850e948693eSPhilip Paeps  * PC_MSIX_TBL_BASE_REG(32bit):
851e948693eSPhilip Paeps  * MSIX Capability Vector Table Base
852e948693eSPhilip Paeps  */
853e948693eSPhilip Paeps 
854e948693eSPhilip Paeps #define	PCR_BB_MSIX_TBL_BASE_REG 0x00000094
855e948693eSPhilip Paeps /* falconb0=pci_f0_config */
856e948693eSPhilip Paeps 
857e948693eSPhilip Paeps #define	PCR_CZ_MSIX_TBL_BASE_REG 0x000000b4
858e948693eSPhilip Paeps /* sienaa0,hunta0=pci_f0_config */
859e948693eSPhilip Paeps 
860e948693eSPhilip Paeps #define	PCRF_BZ_MSIX_TBL_OFF_LBN 3
861e948693eSPhilip Paeps #define	PCRF_BZ_MSIX_TBL_OFF_WIDTH 29
862e948693eSPhilip Paeps #define	PCRF_BZ_MSIX_TBL_BIR_LBN 0
863e948693eSPhilip Paeps #define	PCRF_BZ_MSIX_TBL_BIR_WIDTH 3
864e948693eSPhilip Paeps 
865e948693eSPhilip Paeps /*
8663c838a9fSAndrew Rybchenko  * PC_DEV_CAP2_REG(32bit):
8673c838a9fSAndrew Rybchenko  * PCIe Device Capabilities 2
8683c838a9fSAndrew Rybchenko  */
8693c838a9fSAndrew Rybchenko 
8703c838a9fSAndrew Rybchenko #define	PCR_CZ_DEV_CAP2_REG 0x00000094
8713c838a9fSAndrew Rybchenko /* sienaa0=pci_f0_config,hunta0=pci_f0_config */
8723c838a9fSAndrew Rybchenko 
8733c838a9fSAndrew Rybchenko #define	PCRF_DZ_OBFF_SUPPORTED_LBN 18
8743c838a9fSAndrew Rybchenko #define	PCRF_DZ_OBFF_SUPPORTED_WIDTH 2
8753c838a9fSAndrew Rybchenko #define	PCRF_DZ_TPH_CMPL_SUPPORTED_LBN 12
8763c838a9fSAndrew Rybchenko #define	PCRF_DZ_TPH_CMPL_SUPPORTED_WIDTH 2
8773c838a9fSAndrew Rybchenko #define	PCRF_DZ_LTR_M_SUPPORTED_LBN 11
8783c838a9fSAndrew Rybchenko #define	PCRF_DZ_LTR_M_SUPPORTED_WIDTH 1
8793c838a9fSAndrew Rybchenko #define	PCRF_CC_CMPL_TIMEOUT_DIS_LBN 4
8803c838a9fSAndrew Rybchenko #define	PCRF_CC_CMPL_TIMEOUT_DIS_WIDTH 1
8813c838a9fSAndrew Rybchenko #define	PCRF_DZ_CMPL_TIMEOUT_DIS_SUPPORTED_LBN 4
8823c838a9fSAndrew Rybchenko #define	PCRF_DZ_CMPL_TIMEOUT_DIS_SUPPORTED_WIDTH 1
8833c838a9fSAndrew Rybchenko #define	PCRF_CZ_CMPL_TIMEOUT_LBN 0
8843c838a9fSAndrew Rybchenko #define	PCRF_CZ_CMPL_TIMEOUT_WIDTH 4
8853c838a9fSAndrew Rybchenko #define	PCFE_CZ_CMPL_TIMEOUT_17000_TO_6400MS 14
8863c838a9fSAndrew Rybchenko #define	PCFE_CZ_CMPL_TIMEOUT_4000_TO_1300MS 13
8873c838a9fSAndrew Rybchenko #define	PCFE_CZ_CMPL_TIMEOUT_1000_TO_3500MS 10
8883c838a9fSAndrew Rybchenko #define	PCFE_CZ_CMPL_TIMEOUT_260_TO_900MS 9
8893c838a9fSAndrew Rybchenko #define	PCFE_CZ_CMPL_TIMEOUT_65_TO_210MS 6
8903c838a9fSAndrew Rybchenko #define	PCFE_CZ_CMPL_TIMEOUT_16_TO_55MS 5
8913c838a9fSAndrew Rybchenko #define	PCFE_CZ_CMPL_TIMEOUT_1_TO_10MS 2
8923c838a9fSAndrew Rybchenko #define	PCFE_CZ_CMPL_TIMEOUT_50_TO_100US 1
8933c838a9fSAndrew Rybchenko #define	PCFE_CZ_CMPL_TIMEOUT_DEFAULT 0
8943c838a9fSAndrew Rybchenko 
8953c838a9fSAndrew Rybchenko /*
896e948693eSPhilip Paeps  * PC_DEV_CTL2_REG(16bit):
897e948693eSPhilip Paeps  * PCIe Device Control 2
898e948693eSPhilip Paeps  */
899e948693eSPhilip Paeps 
9003c838a9fSAndrew Rybchenko #define	PCR_CZ_DEV_CTL2_REG 0x00000098
9013c838a9fSAndrew Rybchenko /* sienaa0,hunta0=pci_f0_config */
902e948693eSPhilip Paeps 
9033c838a9fSAndrew Rybchenko #define	PCRF_DZ_OBFF_ENABLE_LBN 13
9043c838a9fSAndrew Rybchenko #define	PCRF_DZ_OBFF_ENABLE_WIDTH 2
9053c838a9fSAndrew Rybchenko #define	PCRF_DZ_LTR_ENABLE_LBN 10
9063c838a9fSAndrew Rybchenko #define	PCRF_DZ_LTR_ENABLE_WIDTH 1
9073c838a9fSAndrew Rybchenko #define	PCRF_DZ_IDO_COMPLETION_ENABLE_LBN 9
9083c838a9fSAndrew Rybchenko #define	PCRF_DZ_IDO_COMPLETION_ENABLE_WIDTH 1
9093c838a9fSAndrew Rybchenko #define	PCRF_DZ_IDO_REQUEST_ENABLE_LBN 8
9103c838a9fSAndrew Rybchenko #define	PCRF_DZ_IDO_REQUEST_ENABLE_WIDTH 1
911e948693eSPhilip Paeps #define	PCRF_CZ_CMPL_TIMEOUT_DIS_CTL_LBN 4
912e948693eSPhilip Paeps #define	PCRF_CZ_CMPL_TIMEOUT_DIS_CTL_WIDTH 1
913e948693eSPhilip Paeps #define	PCRF_CZ_CMPL_TIMEOUT_CTL_LBN 0
914e948693eSPhilip Paeps #define	PCRF_CZ_CMPL_TIMEOUT_CTL_WIDTH 4
915e948693eSPhilip Paeps 
916e948693eSPhilip Paeps /*
917e948693eSPhilip Paeps  * PC_MSIX_PBA_BASE_REG(32bit):
918e948693eSPhilip Paeps  * MSIX Capability PBA Base
919e948693eSPhilip Paeps  */
920e948693eSPhilip Paeps 
921e948693eSPhilip Paeps #define	PCR_BB_MSIX_PBA_BASE_REG 0x00000098
922e948693eSPhilip Paeps /* falconb0=pci_f0_config */
923e948693eSPhilip Paeps 
924e948693eSPhilip Paeps #define	PCR_CZ_MSIX_PBA_BASE_REG 0x000000b8
925e948693eSPhilip Paeps /* sienaa0,hunta0=pci_f0_config */
926e948693eSPhilip Paeps 
927e948693eSPhilip Paeps #define	PCRF_BZ_MSIX_PBA_OFF_LBN 3
928e948693eSPhilip Paeps #define	PCRF_BZ_MSIX_PBA_OFF_WIDTH 29
929e948693eSPhilip Paeps #define	PCRF_BZ_MSIX_PBA_BIR_LBN 0
930e948693eSPhilip Paeps #define	PCRF_BZ_MSIX_PBA_BIR_WIDTH 3
931e948693eSPhilip Paeps 
932e948693eSPhilip Paeps /*
9333c838a9fSAndrew Rybchenko  * PC_LNK_CAP2_REG(32bit):
9343c838a9fSAndrew Rybchenko  * PCIe Link Capability 2
9353c838a9fSAndrew Rybchenko  */
9363c838a9fSAndrew Rybchenko 
9373c838a9fSAndrew Rybchenko #define	PCR_DZ_LNK_CAP2_REG 0x0000009c
9383c838a9fSAndrew Rybchenko /* hunta0=pci_f0_config */
9393c838a9fSAndrew Rybchenko 
9403c838a9fSAndrew Rybchenko #define	PCRF_DZ_LNK_SPEED_SUP_LBN 1
9413c838a9fSAndrew Rybchenko #define	PCRF_DZ_LNK_SPEED_SUP_WIDTH 7
9423c838a9fSAndrew Rybchenko 
9433c838a9fSAndrew Rybchenko /*
944e948693eSPhilip Paeps  * PC_LNK_CTL2_REG(16bit):
945e948693eSPhilip Paeps  * PCIe Link Control 2
946e948693eSPhilip Paeps  */
947e948693eSPhilip Paeps 
9483c838a9fSAndrew Rybchenko #define	PCR_CZ_LNK_CTL2_REG 0x000000a0
9493c838a9fSAndrew Rybchenko /* sienaa0,hunta0=pci_f0_config */
950e948693eSPhilip Paeps 
951e948693eSPhilip Paeps #define	PCRF_CZ_POLLING_DEEMPH_LVL_LBN 12
952e948693eSPhilip Paeps #define	PCRF_CZ_POLLING_DEEMPH_LVL_WIDTH 1
953e948693eSPhilip Paeps #define	PCRF_CZ_COMPLIANCE_SOS_CTL_LBN 11
954e948693eSPhilip Paeps #define	PCRF_CZ_COMPLIANCE_SOS_CTL_WIDTH 1
955e948693eSPhilip Paeps #define	PCRF_CZ_ENTER_MODIFIED_COMPLIANCE_CTL_LBN 10
956e948693eSPhilip Paeps #define	PCRF_CZ_ENTER_MODIFIED_COMPLIANCE_CTL_WIDTH 1
957e948693eSPhilip Paeps #define	PCRF_CZ_TRANSMIT_MARGIN_LBN 7
958e948693eSPhilip Paeps #define	PCRF_CZ_TRANSMIT_MARGIN_WIDTH 3
959e948693eSPhilip Paeps #define	PCRF_CZ_SELECT_DEEMPH_LBN 6
960e948693eSPhilip Paeps #define	PCRF_CZ_SELECT_DEEMPH_WIDTH 1
961e948693eSPhilip Paeps #define	PCRF_CZ_HW_AUTONOMOUS_SPEED_DIS_LBN 5
962e948693eSPhilip Paeps #define	PCRF_CZ_HW_AUTONOMOUS_SPEED_DIS_WIDTH 1
963e948693eSPhilip Paeps #define	PCRF_CZ_ENTER_COMPLIANCE_CTL_LBN 4
964e948693eSPhilip Paeps #define	PCRF_CZ_ENTER_COMPLIANCE_CTL_WIDTH 1
965e948693eSPhilip Paeps #define	PCRF_CZ_TGT_LNK_SPEED_CTL_LBN 0
966e948693eSPhilip Paeps #define	PCRF_CZ_TGT_LNK_SPEED_CTL_WIDTH 4
9673c838a9fSAndrew Rybchenko #define	PCFE_DZ_LCTL2_TGT_SPEED_GEN3 3
9683c838a9fSAndrew Rybchenko #define	PCFE_DZ_LCTL2_TGT_SPEED_GEN2 2
9693c838a9fSAndrew Rybchenko #define	PCFE_DZ_LCTL2_TGT_SPEED_GEN1 1
970e948693eSPhilip Paeps 
971e948693eSPhilip Paeps /*
972e948693eSPhilip Paeps  * PC_LNK_STAT2_REG(16bit):
973e948693eSPhilip Paeps  * PCIe Link Status 2
974e948693eSPhilip Paeps  */
975e948693eSPhilip Paeps 
9763c838a9fSAndrew Rybchenko #define	PCR_CZ_LNK_STAT2_REG 0x000000a2
9773c838a9fSAndrew Rybchenko /* sienaa0,hunta0=pci_f0_config */
978e948693eSPhilip Paeps 
979e948693eSPhilip Paeps #define	PCRF_CZ_CURRENT_DEEMPH_LBN 0
980e948693eSPhilip Paeps #define	PCRF_CZ_CURRENT_DEEMPH_WIDTH 1
981e948693eSPhilip Paeps 
982e948693eSPhilip Paeps /*
983e948693eSPhilip Paeps  * PC_VPD_CAP_ID_REG(8bit):
984e948693eSPhilip Paeps  * VPD data register
985e948693eSPhilip Paeps  */
986e948693eSPhilip Paeps 
987e948693eSPhilip Paeps #define	PCR_AB_VPD_CAP_ID_REG 0x000000b0
988e948693eSPhilip Paeps /* falcona0,falconb0=pci_f0_config */
989e948693eSPhilip Paeps 
990e948693eSPhilip Paeps #define	PCRF_AB_VPD_CAP_ID_LBN 0
991e948693eSPhilip Paeps #define	PCRF_AB_VPD_CAP_ID_WIDTH 8
992e948693eSPhilip Paeps 
993e948693eSPhilip Paeps /*
994e948693eSPhilip Paeps  * PC_VPD_NXT_PTR_REG(8bit):
995e948693eSPhilip Paeps  * VPD next item pointer
996e948693eSPhilip Paeps  */
997e948693eSPhilip Paeps 
998e948693eSPhilip Paeps #define	PCR_AB_VPD_NXT_PTR_REG 0x000000b1
999e948693eSPhilip Paeps /* falcona0,falconb0=pci_f0_config */
1000e948693eSPhilip Paeps 
1001e948693eSPhilip Paeps #define	PCRF_AB_VPD_NXT_PTR_LBN 0
1002e948693eSPhilip Paeps #define	PCRF_AB_VPD_NXT_PTR_WIDTH 8
1003e948693eSPhilip Paeps 
1004e948693eSPhilip Paeps /*
1005e948693eSPhilip Paeps  * PC_VPD_ADDR_REG(16bit):
1006e948693eSPhilip Paeps  * VPD address register
1007e948693eSPhilip Paeps  */
1008e948693eSPhilip Paeps 
1009e948693eSPhilip Paeps #define	PCR_AB_VPD_ADDR_REG 0x000000b2
1010e948693eSPhilip Paeps /* falcona0,falconb0=pci_f0_config */
1011e948693eSPhilip Paeps 
1012e948693eSPhilip Paeps #define	PCRF_AB_VPD_FLAG_LBN 15
1013e948693eSPhilip Paeps #define	PCRF_AB_VPD_FLAG_WIDTH 1
1014e948693eSPhilip Paeps #define	PCRF_AB_VPD_ADDR_LBN 0
1015e948693eSPhilip Paeps #define	PCRF_AB_VPD_ADDR_WIDTH 15
1016e948693eSPhilip Paeps 
1017e948693eSPhilip Paeps /*
10183c838a9fSAndrew Rybchenko  * PC_VPD_CAP_DATA_REG(32bit):
10193c838a9fSAndrew Rybchenko  * documentation to be written for sum_PC_VPD_CAP_DATA_REG
10203c838a9fSAndrew Rybchenko  */
10213c838a9fSAndrew Rybchenko 
10223c838a9fSAndrew Rybchenko #define	PCR_AB_VPD_CAP_DATA_REG 0x000000b4
10233c838a9fSAndrew Rybchenko /* falcona0,falconb0=pci_f0_config */
10243c838a9fSAndrew Rybchenko 
10253c838a9fSAndrew Rybchenko #define	PCR_CZ_VPD_CAP_DATA_REG 0x000000d4
10263c838a9fSAndrew Rybchenko /* sienaa0,hunta0=pci_f0_config */
10273c838a9fSAndrew Rybchenko 
10283c838a9fSAndrew Rybchenko #define	PCRF_AZ_VPD_DATA_LBN 0
10293c838a9fSAndrew Rybchenko #define	PCRF_AZ_VPD_DATA_WIDTH 32
10303c838a9fSAndrew Rybchenko 
10313c838a9fSAndrew Rybchenko /*
10323c838a9fSAndrew Rybchenko  * PC_VPD_CAP_CTL_REG(8bit):
10333c838a9fSAndrew Rybchenko  * VPD control and capabilities register
10343c838a9fSAndrew Rybchenko  */
10353c838a9fSAndrew Rybchenko 
10363c838a9fSAndrew Rybchenko #define	PCR_CZ_VPD_CAP_CTL_REG 0x000000d0
10373c838a9fSAndrew Rybchenko /* sienaa0,hunta0=pci_f0_config */
10383c838a9fSAndrew Rybchenko 
10393c838a9fSAndrew Rybchenko #define	PCRF_CZ_VPD_FLAG_LBN 31
10403c838a9fSAndrew Rybchenko #define	PCRF_CZ_VPD_FLAG_WIDTH 1
10413c838a9fSAndrew Rybchenko #define	PCRF_CZ_VPD_ADDR_LBN 16
10423c838a9fSAndrew Rybchenko #define	PCRF_CZ_VPD_ADDR_WIDTH 15
10433c838a9fSAndrew Rybchenko #define	PCRF_CZ_VPD_NXT_PTR_LBN 8
10443c838a9fSAndrew Rybchenko #define	PCRF_CZ_VPD_NXT_PTR_WIDTH 8
10453c838a9fSAndrew Rybchenko #define	PCRF_CZ_VPD_CAP_ID_LBN 0
10463c838a9fSAndrew Rybchenko #define	PCRF_CZ_VPD_CAP_ID_WIDTH 8
10473c838a9fSAndrew Rybchenko 
10483c838a9fSAndrew Rybchenko /*
1049e948693eSPhilip Paeps  * PC_AER_CAP_HDR_REG(32bit):
1050e948693eSPhilip Paeps  * AER capability header register
1051e948693eSPhilip Paeps  */
1052e948693eSPhilip Paeps 
1053e948693eSPhilip Paeps #define	PCR_AZ_AER_CAP_HDR_REG 0x00000100
1054e948693eSPhilip Paeps /* falcona0,falconb0,sienaa0,hunta0=pci_f0_config */
1055e948693eSPhilip Paeps 
1056e948693eSPhilip Paeps #define	PCRF_AZ_AERCAPHDR_NXT_PTR_LBN 20
1057e948693eSPhilip Paeps #define	PCRF_AZ_AERCAPHDR_NXT_PTR_WIDTH 12
1058e948693eSPhilip Paeps #define	PCRF_AZ_AERCAPHDR_VER_LBN 16
1059e948693eSPhilip Paeps #define	PCRF_AZ_AERCAPHDR_VER_WIDTH 4
1060e948693eSPhilip Paeps #define	PCRF_AZ_AERCAPHDR_ID_LBN 0
1061e948693eSPhilip Paeps #define	PCRF_AZ_AERCAPHDR_ID_WIDTH 16
1062e948693eSPhilip Paeps 
1063e948693eSPhilip Paeps /*
1064e948693eSPhilip Paeps  * PC_AER_UNCORR_ERR_STAT_REG(32bit):
1065e948693eSPhilip Paeps  * AER Uncorrectable error status register
1066e948693eSPhilip Paeps  */
1067e948693eSPhilip Paeps 
1068e948693eSPhilip Paeps #define	PCR_AZ_AER_UNCORR_ERR_STAT_REG 0x00000104
1069e948693eSPhilip Paeps /* falcona0,falconb0,sienaa0,hunta0=pci_f0_config */
1070e948693eSPhilip Paeps 
1071e948693eSPhilip Paeps #define	PCRF_AZ_UNSUPT_REQ_ERR_STAT_LBN 20
1072e948693eSPhilip Paeps #define	PCRF_AZ_UNSUPT_REQ_ERR_STAT_WIDTH 1
1073e948693eSPhilip Paeps #define	PCRF_AZ_ECRC_ERR_STAT_LBN 19
1074e948693eSPhilip Paeps #define	PCRF_AZ_ECRC_ERR_STAT_WIDTH 1
1075e948693eSPhilip Paeps #define	PCRF_AZ_MALF_TLP_STAT_LBN 18
1076e948693eSPhilip Paeps #define	PCRF_AZ_MALF_TLP_STAT_WIDTH 1
1077e948693eSPhilip Paeps #define	PCRF_AZ_RX_OVF_STAT_LBN 17
1078e948693eSPhilip Paeps #define	PCRF_AZ_RX_OVF_STAT_WIDTH 1
1079e948693eSPhilip Paeps #define	PCRF_AZ_UNEXP_COMP_STAT_LBN 16
1080e948693eSPhilip Paeps #define	PCRF_AZ_UNEXP_COMP_STAT_WIDTH 1
1081e948693eSPhilip Paeps #define	PCRF_AZ_COMP_ABRT_STAT_LBN 15
1082e948693eSPhilip Paeps #define	PCRF_AZ_COMP_ABRT_STAT_WIDTH 1
1083e948693eSPhilip Paeps #define	PCRF_AZ_COMP_TIMEOUT_STAT_LBN 14
1084e948693eSPhilip Paeps #define	PCRF_AZ_COMP_TIMEOUT_STAT_WIDTH 1
1085e948693eSPhilip Paeps #define	PCRF_AZ_FC_PROTO_ERR_STAT_LBN 13
1086e948693eSPhilip Paeps #define	PCRF_AZ_FC_PROTO_ERR_STAT_WIDTH 1
1087e948693eSPhilip Paeps #define	PCRF_AZ_PSON_TLP_STAT_LBN 12
1088e948693eSPhilip Paeps #define	PCRF_AZ_PSON_TLP_STAT_WIDTH 1
1089e948693eSPhilip Paeps #define	PCRF_AZ_DL_PROTO_ERR_STAT_LBN 4
1090e948693eSPhilip Paeps #define	PCRF_AZ_DL_PROTO_ERR_STAT_WIDTH 1
1091e948693eSPhilip Paeps #define	PCRF_AB_TRAIN_ERR_STAT_LBN 0
1092e948693eSPhilip Paeps #define	PCRF_AB_TRAIN_ERR_STAT_WIDTH 1
1093e948693eSPhilip Paeps 
1094e948693eSPhilip Paeps /*
1095e948693eSPhilip Paeps  * PC_AER_UNCORR_ERR_MASK_REG(32bit):
1096e948693eSPhilip Paeps  * AER Uncorrectable error mask register
1097e948693eSPhilip Paeps  */
1098e948693eSPhilip Paeps 
1099e948693eSPhilip Paeps #define	PCR_AZ_AER_UNCORR_ERR_MASK_REG 0x00000108
1100e948693eSPhilip Paeps /* falcona0,falconb0,sienaa0,hunta0=pci_f0_config */
1101e948693eSPhilip Paeps 
11023c838a9fSAndrew Rybchenko #define	PCRF_DZ_ATOMIC_OP_EGR_BLOCKED_MASK_LBN 24
11033c838a9fSAndrew Rybchenko #define	PCRF_DZ_ATOMIC_OP_EGR_BLOCKED_MASK_WIDTH 1
11043c838a9fSAndrew Rybchenko #define	PCRF_DZ_UNCORR_INT_ERR_MASK_LBN 22
11053c838a9fSAndrew Rybchenko #define	PCRF_DZ_UNCORR_INT_ERR_MASK_WIDTH 1
1106e948693eSPhilip Paeps #define	PCRF_AZ_UNSUPT_REQ_ERR_MASK_LBN 20
1107e948693eSPhilip Paeps #define	PCRF_AZ_UNSUPT_REQ_ERR_MASK_WIDTH 1
1108e948693eSPhilip Paeps #define	PCRF_AZ_ECRC_ERR_MASK_LBN 19
1109e948693eSPhilip Paeps #define	PCRF_AZ_ECRC_ERR_MASK_WIDTH 1
1110e948693eSPhilip Paeps #define	PCRF_AZ_MALF_TLP_MASK_LBN 18
1111e948693eSPhilip Paeps #define	PCRF_AZ_MALF_TLP_MASK_WIDTH 1
1112e948693eSPhilip Paeps #define	PCRF_AZ_RX_OVF_MASK_LBN 17
1113e948693eSPhilip Paeps #define	PCRF_AZ_RX_OVF_MASK_WIDTH 1
1114e948693eSPhilip Paeps #define	PCRF_AZ_UNEXP_COMP_MASK_LBN 16
1115e948693eSPhilip Paeps #define	PCRF_AZ_UNEXP_COMP_MASK_WIDTH 1
1116e948693eSPhilip Paeps #define	PCRF_AZ_COMP_ABRT_MASK_LBN 15
1117e948693eSPhilip Paeps #define	PCRF_AZ_COMP_ABRT_MASK_WIDTH 1
1118e948693eSPhilip Paeps #define	PCRF_AZ_COMP_TIMEOUT_MASK_LBN 14
1119e948693eSPhilip Paeps #define	PCRF_AZ_COMP_TIMEOUT_MASK_WIDTH 1
1120e948693eSPhilip Paeps #define	PCRF_AZ_FC_PROTO_ERR_MASK_LBN 13
1121e948693eSPhilip Paeps #define	PCRF_AZ_FC_PROTO_ERR_MASK_WIDTH 1
1122e948693eSPhilip Paeps #define	PCRF_AZ_PSON_TLP_MASK_LBN 12
1123e948693eSPhilip Paeps #define	PCRF_AZ_PSON_TLP_MASK_WIDTH 1
1124e948693eSPhilip Paeps #define	PCRF_AZ_DL_PROTO_ERR_MASK_LBN 4
1125e948693eSPhilip Paeps #define	PCRF_AZ_DL_PROTO_ERR_MASK_WIDTH 1
1126e948693eSPhilip Paeps #define	PCRF_AB_TRAIN_ERR_MASK_LBN 0
1127e948693eSPhilip Paeps #define	PCRF_AB_TRAIN_ERR_MASK_WIDTH 1
1128e948693eSPhilip Paeps 
1129e948693eSPhilip Paeps /*
1130e948693eSPhilip Paeps  * PC_AER_UNCORR_ERR_SEV_REG(32bit):
1131e948693eSPhilip Paeps  * AER Uncorrectable error severity register
1132e948693eSPhilip Paeps  */
1133e948693eSPhilip Paeps 
1134e948693eSPhilip Paeps #define	PCR_AZ_AER_UNCORR_ERR_SEV_REG 0x0000010c
1135e948693eSPhilip Paeps /* falcona0,falconb0,sienaa0,hunta0=pci_f0_config */
1136e948693eSPhilip Paeps 
1137e948693eSPhilip Paeps #define	PCRF_AZ_UNSUPT_REQ_ERR_SEV_LBN 20
1138e948693eSPhilip Paeps #define	PCRF_AZ_UNSUPT_REQ_ERR_SEV_WIDTH 1
1139e948693eSPhilip Paeps #define	PCRF_AZ_ECRC_ERR_SEV_LBN 19
1140e948693eSPhilip Paeps #define	PCRF_AZ_ECRC_ERR_SEV_WIDTH 1
1141e948693eSPhilip Paeps #define	PCRF_AZ_MALF_TLP_SEV_LBN 18
1142e948693eSPhilip Paeps #define	PCRF_AZ_MALF_TLP_SEV_WIDTH 1
1143e948693eSPhilip Paeps #define	PCRF_AZ_RX_OVF_SEV_LBN 17
1144e948693eSPhilip Paeps #define	PCRF_AZ_RX_OVF_SEV_WIDTH 1
1145e948693eSPhilip Paeps #define	PCRF_AZ_UNEXP_COMP_SEV_LBN 16
1146e948693eSPhilip Paeps #define	PCRF_AZ_UNEXP_COMP_SEV_WIDTH 1
1147e948693eSPhilip Paeps #define	PCRF_AZ_COMP_ABRT_SEV_LBN 15
1148e948693eSPhilip Paeps #define	PCRF_AZ_COMP_ABRT_SEV_WIDTH 1
1149e948693eSPhilip Paeps #define	PCRF_AZ_COMP_TIMEOUT_SEV_LBN 14
1150e948693eSPhilip Paeps #define	PCRF_AZ_COMP_TIMEOUT_SEV_WIDTH 1
1151e948693eSPhilip Paeps #define	PCRF_AZ_FC_PROTO_ERR_SEV_LBN 13
1152e948693eSPhilip Paeps #define	PCRF_AZ_FC_PROTO_ERR_SEV_WIDTH 1
1153e948693eSPhilip Paeps #define	PCRF_AZ_PSON_TLP_SEV_LBN 12
1154e948693eSPhilip Paeps #define	PCRF_AZ_PSON_TLP_SEV_WIDTH 1
1155e948693eSPhilip Paeps #define	PCRF_AZ_DL_PROTO_ERR_SEV_LBN 4
1156e948693eSPhilip Paeps #define	PCRF_AZ_DL_PROTO_ERR_SEV_WIDTH 1
1157e948693eSPhilip Paeps #define	PCRF_AB_TRAIN_ERR_SEV_LBN 0
1158e948693eSPhilip Paeps #define	PCRF_AB_TRAIN_ERR_SEV_WIDTH 1
1159e948693eSPhilip Paeps 
1160e948693eSPhilip Paeps /*
1161e948693eSPhilip Paeps  * PC_AER_CORR_ERR_STAT_REG(32bit):
1162e948693eSPhilip Paeps  * AER Correctable error status register
1163e948693eSPhilip Paeps  */
1164e948693eSPhilip Paeps 
1165e948693eSPhilip Paeps #define	PCR_AZ_AER_CORR_ERR_STAT_REG 0x00000110
1166e948693eSPhilip Paeps /* falcona0,falconb0,sienaa0,hunta0=pci_f0_config */
1167e948693eSPhilip Paeps 
1168e948693eSPhilip Paeps #define	PCRF_CZ_ADVSY_NON_FATAL_STAT_LBN 13
1169e948693eSPhilip Paeps #define	PCRF_CZ_ADVSY_NON_FATAL_STAT_WIDTH 1
1170e948693eSPhilip Paeps #define	PCRF_AZ_RPLY_TMR_TOUT_STAT_LBN 12
1171e948693eSPhilip Paeps #define	PCRF_AZ_RPLY_TMR_TOUT_STAT_WIDTH 1
1172e948693eSPhilip Paeps #define	PCRF_AZ_RPLAY_NUM_RO_STAT_LBN 8
1173e948693eSPhilip Paeps #define	PCRF_AZ_RPLAY_NUM_RO_STAT_WIDTH 1
1174e948693eSPhilip Paeps #define	PCRF_AZ_BAD_DLLP_STAT_LBN 7
1175e948693eSPhilip Paeps #define	PCRF_AZ_BAD_DLLP_STAT_WIDTH 1
1176e948693eSPhilip Paeps #define	PCRF_AZ_BAD_TLP_STAT_LBN 6
1177e948693eSPhilip Paeps #define	PCRF_AZ_BAD_TLP_STAT_WIDTH 1
1178e948693eSPhilip Paeps #define	PCRF_AZ_RX_ERR_STAT_LBN 0
1179e948693eSPhilip Paeps #define	PCRF_AZ_RX_ERR_STAT_WIDTH 1
1180e948693eSPhilip Paeps 
1181e948693eSPhilip Paeps /*
1182e948693eSPhilip Paeps  * PC_AER_CORR_ERR_MASK_REG(32bit):
1183e948693eSPhilip Paeps  * AER Correctable error status register
1184e948693eSPhilip Paeps  */
1185e948693eSPhilip Paeps 
1186e948693eSPhilip Paeps #define	PCR_AZ_AER_CORR_ERR_MASK_REG 0x00000114
1187e948693eSPhilip Paeps /* falcona0,falconb0,sienaa0,hunta0=pci_f0_config */
1188e948693eSPhilip Paeps 
1189e948693eSPhilip Paeps #define	PCRF_CZ_ADVSY_NON_FATAL_MASK_LBN 13
1190e948693eSPhilip Paeps #define	PCRF_CZ_ADVSY_NON_FATAL_MASK_WIDTH 1
1191e948693eSPhilip Paeps #define	PCRF_AZ_RPLY_TMR_TOUT_MASK_LBN 12
1192e948693eSPhilip Paeps #define	PCRF_AZ_RPLY_TMR_TOUT_MASK_WIDTH 1
1193e948693eSPhilip Paeps #define	PCRF_AZ_RPLAY_NUM_RO_MASK_LBN 8
1194e948693eSPhilip Paeps #define	PCRF_AZ_RPLAY_NUM_RO_MASK_WIDTH 1
1195e948693eSPhilip Paeps #define	PCRF_AZ_BAD_DLLP_MASK_LBN 7
1196e948693eSPhilip Paeps #define	PCRF_AZ_BAD_DLLP_MASK_WIDTH 1
1197e948693eSPhilip Paeps #define	PCRF_AZ_BAD_TLP_MASK_LBN 6
1198e948693eSPhilip Paeps #define	PCRF_AZ_BAD_TLP_MASK_WIDTH 1
1199e948693eSPhilip Paeps #define	PCRF_AZ_RX_ERR_MASK_LBN 0
1200e948693eSPhilip Paeps #define	PCRF_AZ_RX_ERR_MASK_WIDTH 1
1201e948693eSPhilip Paeps 
1202e948693eSPhilip Paeps /*
1203e948693eSPhilip Paeps  * PC_AER_CAP_CTL_REG(32bit):
1204e948693eSPhilip Paeps  * AER capability and control register
1205e948693eSPhilip Paeps  */
1206e948693eSPhilip Paeps 
1207e948693eSPhilip Paeps #define	PCR_AZ_AER_CAP_CTL_REG 0x00000118
1208e948693eSPhilip Paeps /* falcona0,falconb0,sienaa0,hunta0=pci_f0_config */
1209e948693eSPhilip Paeps 
1210e948693eSPhilip Paeps #define	PCRF_AZ_ECRC_CHK_EN_LBN 8
1211e948693eSPhilip Paeps #define	PCRF_AZ_ECRC_CHK_EN_WIDTH 1
1212e948693eSPhilip Paeps #define	PCRF_AZ_ECRC_CHK_CAP_LBN 7
1213e948693eSPhilip Paeps #define	PCRF_AZ_ECRC_CHK_CAP_WIDTH 1
1214e948693eSPhilip Paeps #define	PCRF_AZ_ECRC_GEN_EN_LBN 6
1215e948693eSPhilip Paeps #define	PCRF_AZ_ECRC_GEN_EN_WIDTH 1
1216e948693eSPhilip Paeps #define	PCRF_AZ_ECRC_GEN_CAP_LBN 5
1217e948693eSPhilip Paeps #define	PCRF_AZ_ECRC_GEN_CAP_WIDTH 1
1218e948693eSPhilip Paeps #define	PCRF_AZ_1ST_ERR_PTR_LBN 0
1219e948693eSPhilip Paeps #define	PCRF_AZ_1ST_ERR_PTR_WIDTH 5
1220e948693eSPhilip Paeps 
1221e948693eSPhilip Paeps /*
1222e948693eSPhilip Paeps  * PC_AER_HDR_LOG_REG(128bit):
1223e948693eSPhilip Paeps  * AER Header log register
1224e948693eSPhilip Paeps  */
1225e948693eSPhilip Paeps 
1226e948693eSPhilip Paeps #define	PCR_AZ_AER_HDR_LOG_REG 0x0000011c
1227e948693eSPhilip Paeps /* falcona0,falconb0,sienaa0,hunta0=pci_f0_config */
1228e948693eSPhilip Paeps 
1229e948693eSPhilip Paeps #define	PCRF_AZ_HDR_LOG_LBN 0
1230e948693eSPhilip Paeps #define	PCRF_AZ_HDR_LOG_WIDTH 128
1231e948693eSPhilip Paeps 
1232e948693eSPhilip Paeps /*
1233e948693eSPhilip Paeps  * PC_DEVSN_CAP_HDR_REG(32bit):
1234e948693eSPhilip Paeps  * Device serial number capability header register
1235e948693eSPhilip Paeps  */
1236e948693eSPhilip Paeps 
12373c838a9fSAndrew Rybchenko #define	PCR_CZ_DEVSN_CAP_HDR_REG 0x00000140
12383c838a9fSAndrew Rybchenko /* sienaa0,hunta0=pci_f0_config */
1239e948693eSPhilip Paeps 
1240e948693eSPhilip Paeps #define	PCRF_CZ_DEVSNCAPHDR_NXT_PTR_LBN 20
1241e948693eSPhilip Paeps #define	PCRF_CZ_DEVSNCAPHDR_NXT_PTR_WIDTH 12
1242e948693eSPhilip Paeps #define	PCRF_CZ_DEVSNCAPHDR_VER_LBN 16
1243e948693eSPhilip Paeps #define	PCRF_CZ_DEVSNCAPHDR_VER_WIDTH 4
1244e948693eSPhilip Paeps #define	PCRF_CZ_DEVSNCAPHDR_ID_LBN 0
1245e948693eSPhilip Paeps #define	PCRF_CZ_DEVSNCAPHDR_ID_WIDTH 16
1246e948693eSPhilip Paeps 
1247e948693eSPhilip Paeps /*
1248e948693eSPhilip Paeps  * PC_DEVSN_DWORD0_REG(32bit):
1249e948693eSPhilip Paeps  * Device serial number DWORD0
1250e948693eSPhilip Paeps  */
1251e948693eSPhilip Paeps 
12523c838a9fSAndrew Rybchenko #define	PCR_CZ_DEVSN_DWORD0_REG 0x00000144
12533c838a9fSAndrew Rybchenko /* sienaa0,hunta0=pci_f0_config */
1254e948693eSPhilip Paeps 
1255e948693eSPhilip Paeps #define	PCRF_CZ_DEVSN_DWORD0_LBN 0
1256e948693eSPhilip Paeps #define	PCRF_CZ_DEVSN_DWORD0_WIDTH 32
1257e948693eSPhilip Paeps 
1258e948693eSPhilip Paeps /*
1259e948693eSPhilip Paeps  * PC_DEVSN_DWORD1_REG(32bit):
1260e948693eSPhilip Paeps  * Device serial number DWORD0
1261e948693eSPhilip Paeps  */
1262e948693eSPhilip Paeps 
12633c838a9fSAndrew Rybchenko #define	PCR_CZ_DEVSN_DWORD1_REG 0x00000148
12643c838a9fSAndrew Rybchenko /* sienaa0,hunta0=pci_f0_config */
1265e948693eSPhilip Paeps 
1266e948693eSPhilip Paeps #define	PCRF_CZ_DEVSN_DWORD1_LBN 0
1267e948693eSPhilip Paeps #define	PCRF_CZ_DEVSN_DWORD1_WIDTH 32
1268e948693eSPhilip Paeps 
1269e948693eSPhilip Paeps /*
1270e948693eSPhilip Paeps  * PC_ARI_CAP_HDR_REG(32bit):
1271e948693eSPhilip Paeps  * ARI capability header register
1272e948693eSPhilip Paeps  */
1273e948693eSPhilip Paeps 
12743c838a9fSAndrew Rybchenko #define	PCR_CZ_ARI_CAP_HDR_REG 0x00000150
12753c838a9fSAndrew Rybchenko /* sienaa0,hunta0=pci_f0_config */
1276e948693eSPhilip Paeps 
1277e948693eSPhilip Paeps #define	PCRF_CZ_ARICAPHDR_NXT_PTR_LBN 20
1278e948693eSPhilip Paeps #define	PCRF_CZ_ARICAPHDR_NXT_PTR_WIDTH 12
1279e948693eSPhilip Paeps #define	PCRF_CZ_ARICAPHDR_VER_LBN 16
1280e948693eSPhilip Paeps #define	PCRF_CZ_ARICAPHDR_VER_WIDTH 4
1281e948693eSPhilip Paeps #define	PCRF_CZ_ARICAPHDR_ID_LBN 0
1282e948693eSPhilip Paeps #define	PCRF_CZ_ARICAPHDR_ID_WIDTH 16
1283e948693eSPhilip Paeps 
1284e948693eSPhilip Paeps /*
1285e948693eSPhilip Paeps  * PC_ARI_CAP_REG(16bit):
1286e948693eSPhilip Paeps  * ARI Capabilities
1287e948693eSPhilip Paeps  */
1288e948693eSPhilip Paeps 
12893c838a9fSAndrew Rybchenko #define	PCR_CZ_ARI_CAP_REG 0x00000154
12903c838a9fSAndrew Rybchenko /* sienaa0,hunta0=pci_f0_config */
1291e948693eSPhilip Paeps 
1292e948693eSPhilip Paeps #define	PCRF_CZ_ARI_NXT_FN_NUM_LBN 8
1293e948693eSPhilip Paeps #define	PCRF_CZ_ARI_NXT_FN_NUM_WIDTH 8
1294e948693eSPhilip Paeps #define	PCRF_CZ_ARI_ACS_FNGRP_CAP_LBN 1
1295e948693eSPhilip Paeps #define	PCRF_CZ_ARI_ACS_FNGRP_CAP_WIDTH 1
1296e948693eSPhilip Paeps #define	PCRF_CZ_ARI_MFVC_FNGRP_CAP_LBN 0
1297e948693eSPhilip Paeps #define	PCRF_CZ_ARI_MFVC_FNGRP_CAP_WIDTH 1
1298e948693eSPhilip Paeps 
1299e948693eSPhilip Paeps /*
1300e948693eSPhilip Paeps  * PC_ARI_CTL_REG(16bit):
1301e948693eSPhilip Paeps  * ARI Control
1302e948693eSPhilip Paeps  */
1303e948693eSPhilip Paeps 
13043c838a9fSAndrew Rybchenko #define	PCR_CZ_ARI_CTL_REG 0x00000156
13053c838a9fSAndrew Rybchenko /* sienaa0,hunta0=pci_f0_config */
1306e948693eSPhilip Paeps 
1307e948693eSPhilip Paeps #define	PCRF_CZ_ARI_FN_GRP_LBN 4
1308e948693eSPhilip Paeps #define	PCRF_CZ_ARI_FN_GRP_WIDTH 3
1309e948693eSPhilip Paeps #define	PCRF_CZ_ARI_ACS_FNGRP_EN_LBN 1
1310e948693eSPhilip Paeps #define	PCRF_CZ_ARI_ACS_FNGRP_EN_WIDTH 1
1311e948693eSPhilip Paeps #define	PCRF_CZ_ARI_MFVC_FNGRP_EN_LBN 0
1312e948693eSPhilip Paeps #define	PCRF_CZ_ARI_MFVC_FNGRP_EN_WIDTH 1
1313e948693eSPhilip Paeps 
1314e948693eSPhilip Paeps /*
13153c838a9fSAndrew Rybchenko  * PC_SEC_PCIE_CAP_REG(32bit):
13163c838a9fSAndrew Rybchenko  * Secondary PCIE Capability Register
13173c838a9fSAndrew Rybchenko  */
13183c838a9fSAndrew Rybchenko 
13193c838a9fSAndrew Rybchenko #define	PCR_DZ_SEC_PCIE_CAP_REG 0x00000160
13203c838a9fSAndrew Rybchenko /* hunta0=pci_f0_config */
13213c838a9fSAndrew Rybchenko 
13223c838a9fSAndrew Rybchenko #define	PCRF_DZ_SEC_NXT_PTR_LBN 20
13233c838a9fSAndrew Rybchenko #define	PCRF_DZ_SEC_NXT_PTR_WIDTH 12
13243c838a9fSAndrew Rybchenko #define	PCRF_DZ_SEC_VERSION_LBN 16
13253c838a9fSAndrew Rybchenko #define	PCRF_DZ_SEC_VERSION_WIDTH 4
13263c838a9fSAndrew Rybchenko #define	PCRF_DZ_SEC_EXT_CAP_ID_LBN 0
13273c838a9fSAndrew Rybchenko #define	PCRF_DZ_SEC_EXT_CAP_ID_WIDTH 16
13283c838a9fSAndrew Rybchenko 
13293c838a9fSAndrew Rybchenko /*
1330e948693eSPhilip Paeps  * PC_SRIOV_CAP_HDR_REG(32bit):
1331e948693eSPhilip Paeps  * SRIOV capability header register
1332e948693eSPhilip Paeps  */
1333e948693eSPhilip Paeps 
1334e948693eSPhilip Paeps #define	PCR_CC_SRIOV_CAP_HDR_REG 0x00000160
1335e948693eSPhilip Paeps /* sienaa0=pci_f0_config */
1336e948693eSPhilip Paeps 
13373c838a9fSAndrew Rybchenko #define	PCR_DZ_SRIOV_CAP_HDR_REG 0x00000180
1338e948693eSPhilip Paeps /* hunta0=pci_f0_config */
1339e948693eSPhilip Paeps 
1340e948693eSPhilip Paeps #define	PCRF_CZ_SRIOVCAPHDR_NXT_PTR_LBN 20
1341e948693eSPhilip Paeps #define	PCRF_CZ_SRIOVCAPHDR_NXT_PTR_WIDTH 12
1342e948693eSPhilip Paeps #define	PCRF_CZ_SRIOVCAPHDR_VER_LBN 16
1343e948693eSPhilip Paeps #define	PCRF_CZ_SRIOVCAPHDR_VER_WIDTH 4
1344e948693eSPhilip Paeps #define	PCRF_CZ_SRIOVCAPHDR_ID_LBN 0
1345e948693eSPhilip Paeps #define	PCRF_CZ_SRIOVCAPHDR_ID_WIDTH 16
1346e948693eSPhilip Paeps 
1347e948693eSPhilip Paeps /*
1348e948693eSPhilip Paeps  * PC_SRIOV_CAP_REG(32bit):
1349e948693eSPhilip Paeps  * SRIOV Capabilities
1350e948693eSPhilip Paeps  */
1351e948693eSPhilip Paeps 
1352e948693eSPhilip Paeps #define	PCR_CC_SRIOV_CAP_REG 0x00000164
1353e948693eSPhilip Paeps /* sienaa0=pci_f0_config */
1354e948693eSPhilip Paeps 
13553c838a9fSAndrew Rybchenko #define	PCR_DZ_SRIOV_CAP_REG 0x00000184
1356e948693eSPhilip Paeps /* hunta0=pci_f0_config */
1357e948693eSPhilip Paeps 
1358e948693eSPhilip Paeps #define	PCRF_CZ_VF_MIGR_INT_MSG_NUM_LBN 21
1359e948693eSPhilip Paeps #define	PCRF_CZ_VF_MIGR_INT_MSG_NUM_WIDTH 11
13603c838a9fSAndrew Rybchenko #define	PCRF_DZ_VF_ARI_CAP_PRESV_LBN 1
13613c838a9fSAndrew Rybchenko #define	PCRF_DZ_VF_ARI_CAP_PRESV_WIDTH 1
1362e948693eSPhilip Paeps #define	PCRF_CZ_VF_MIGR_CAP_LBN 0
1363e948693eSPhilip Paeps #define	PCRF_CZ_VF_MIGR_CAP_WIDTH 1
1364e948693eSPhilip Paeps 
1365e948693eSPhilip Paeps /*
13663c838a9fSAndrew Rybchenko  * PC_LINK_CONTROL3_REG(32bit):
13673c838a9fSAndrew Rybchenko  * Link Control 3.
13683c838a9fSAndrew Rybchenko  */
13693c838a9fSAndrew Rybchenko 
13703c838a9fSAndrew Rybchenko #define	PCR_DZ_LINK_CONTROL3_REG 0x00000164
13713c838a9fSAndrew Rybchenko /* hunta0=pci_f0_config */
13723c838a9fSAndrew Rybchenko 
13733c838a9fSAndrew Rybchenko #define	PCRF_DZ_LINK_EQ_INT_EN_LBN 1
13743c838a9fSAndrew Rybchenko #define	PCRF_DZ_LINK_EQ_INT_EN_WIDTH 1
13753c838a9fSAndrew Rybchenko #define	PCRF_DZ_PERFORM_EQL_LBN 0
13763c838a9fSAndrew Rybchenko #define	PCRF_DZ_PERFORM_EQL_WIDTH 1
13773c838a9fSAndrew Rybchenko 
13783c838a9fSAndrew Rybchenko /*
13793c838a9fSAndrew Rybchenko  * PC_LANE_ERROR_STAT_REG(32bit):
13803c838a9fSAndrew Rybchenko  * Lane Error Status Register.
13813c838a9fSAndrew Rybchenko  */
13823c838a9fSAndrew Rybchenko 
13833c838a9fSAndrew Rybchenko #define	PCR_DZ_LANE_ERROR_STAT_REG 0x00000168
13843c838a9fSAndrew Rybchenko /* hunta0=pci_f0_config */
13853c838a9fSAndrew Rybchenko 
13863c838a9fSAndrew Rybchenko #define	PCRF_DZ_LANE_STATUS_LBN 0
13873c838a9fSAndrew Rybchenko #define	PCRF_DZ_LANE_STATUS_WIDTH 8
13883c838a9fSAndrew Rybchenko 
13893c838a9fSAndrew Rybchenko /*
1390e948693eSPhilip Paeps  * PC_SRIOV_CTL_REG(16bit):
1391e948693eSPhilip Paeps  * SRIOV Control
1392e948693eSPhilip Paeps  */
1393e948693eSPhilip Paeps 
1394e948693eSPhilip Paeps #define	PCR_CC_SRIOV_CTL_REG 0x00000168
1395e948693eSPhilip Paeps /* sienaa0=pci_f0_config */
1396e948693eSPhilip Paeps 
13973c838a9fSAndrew Rybchenko #define	PCR_DZ_SRIOV_CTL_REG 0x00000188
1398e948693eSPhilip Paeps /* hunta0=pci_f0_config */
1399e948693eSPhilip Paeps 
1400e948693eSPhilip Paeps #define	PCRF_CZ_VF_ARI_CAP_HRCHY_LBN 4
1401e948693eSPhilip Paeps #define	PCRF_CZ_VF_ARI_CAP_HRCHY_WIDTH 1
1402e948693eSPhilip Paeps #define	PCRF_CZ_VF_MSE_LBN 3
1403e948693eSPhilip Paeps #define	PCRF_CZ_VF_MSE_WIDTH 1
1404e948693eSPhilip Paeps #define	PCRF_CZ_VF_MIGR_INT_EN_LBN 2
1405e948693eSPhilip Paeps #define	PCRF_CZ_VF_MIGR_INT_EN_WIDTH 1
1406e948693eSPhilip Paeps #define	PCRF_CZ_VF_MIGR_EN_LBN 1
1407e948693eSPhilip Paeps #define	PCRF_CZ_VF_MIGR_EN_WIDTH 1
1408e948693eSPhilip Paeps #define	PCRF_CZ_VF_EN_LBN 0
1409e948693eSPhilip Paeps #define	PCRF_CZ_VF_EN_WIDTH 1
1410e948693eSPhilip Paeps 
1411e948693eSPhilip Paeps /*
1412e948693eSPhilip Paeps  * PC_SRIOV_STAT_REG(16bit):
1413e948693eSPhilip Paeps  * SRIOV Status
1414e948693eSPhilip Paeps  */
1415e948693eSPhilip Paeps 
1416e948693eSPhilip Paeps #define	PCR_CC_SRIOV_STAT_REG 0x0000016a
1417e948693eSPhilip Paeps /* sienaa0=pci_f0_config */
1418e948693eSPhilip Paeps 
14193c838a9fSAndrew Rybchenko #define	PCR_DZ_SRIOV_STAT_REG 0x0000018a
1420e948693eSPhilip Paeps /* hunta0=pci_f0_config */
1421e948693eSPhilip Paeps 
1422e948693eSPhilip Paeps #define	PCRF_CZ_VF_MIGR_STAT_LBN 0
1423e948693eSPhilip Paeps #define	PCRF_CZ_VF_MIGR_STAT_WIDTH 1
1424e948693eSPhilip Paeps 
1425e948693eSPhilip Paeps /*
14263c838a9fSAndrew Rybchenko  * PC_LANE01_EQU_CONTROL_REG(32bit):
14273c838a9fSAndrew Rybchenko  * Lanes 0,1 Equalization Control Register.
14283c838a9fSAndrew Rybchenko  */
14293c838a9fSAndrew Rybchenko 
14303c838a9fSAndrew Rybchenko #define	PCR_DZ_LANE01_EQU_CONTROL_REG 0x0000016c
14313c838a9fSAndrew Rybchenko /* hunta0=pci_f0_config */
14323c838a9fSAndrew Rybchenko 
14333c838a9fSAndrew Rybchenko #define	PCRF_DZ_LANE1_EQ_CTRL_LBN 16
14343c838a9fSAndrew Rybchenko #define	PCRF_DZ_LANE1_EQ_CTRL_WIDTH 16
14353c838a9fSAndrew Rybchenko #define	PCRF_DZ_LANE0_EQ_CTRL_LBN 0
14363c838a9fSAndrew Rybchenko #define	PCRF_DZ_LANE0_EQ_CTRL_WIDTH 16
14373c838a9fSAndrew Rybchenko 
14383c838a9fSAndrew Rybchenko /*
1439e948693eSPhilip Paeps  * PC_SRIOV_INITIALVFS_REG(16bit):
1440e948693eSPhilip Paeps  * SRIOV Initial VFs
1441e948693eSPhilip Paeps  */
1442e948693eSPhilip Paeps 
1443e948693eSPhilip Paeps #define	PCR_CC_SRIOV_INITIALVFS_REG 0x0000016c
1444e948693eSPhilip Paeps /* sienaa0=pci_f0_config */
1445e948693eSPhilip Paeps 
14463c838a9fSAndrew Rybchenko #define	PCR_DZ_SRIOV_INITIALVFS_REG 0x0000018c
1447e948693eSPhilip Paeps /* hunta0=pci_f0_config */
1448e948693eSPhilip Paeps 
1449e948693eSPhilip Paeps #define	PCRF_CZ_VF_INITIALVFS_LBN 0
1450e948693eSPhilip Paeps #define	PCRF_CZ_VF_INITIALVFS_WIDTH 16
1451e948693eSPhilip Paeps 
1452e948693eSPhilip Paeps /*
1453e948693eSPhilip Paeps  * PC_SRIOV_TOTALVFS_REG(10bit):
1454e948693eSPhilip Paeps  * SRIOV Total VFs
1455e948693eSPhilip Paeps  */
1456e948693eSPhilip Paeps 
1457e948693eSPhilip Paeps #define	PCR_CC_SRIOV_TOTALVFS_REG 0x0000016e
1458e948693eSPhilip Paeps /* sienaa0=pci_f0_config */
1459e948693eSPhilip Paeps 
14603c838a9fSAndrew Rybchenko #define	PCR_DZ_SRIOV_TOTALVFS_REG 0x0000018e
1461e948693eSPhilip Paeps /* hunta0=pci_f0_config */
1462e948693eSPhilip Paeps 
1463e948693eSPhilip Paeps #define	PCRF_CZ_VF_TOTALVFS_LBN 0
1464e948693eSPhilip Paeps #define	PCRF_CZ_VF_TOTALVFS_WIDTH 16
1465e948693eSPhilip Paeps 
1466e948693eSPhilip Paeps /*
1467e948693eSPhilip Paeps  * PC_SRIOV_NUMVFS_REG(16bit):
1468e948693eSPhilip Paeps  * SRIOV Number of VFs
1469e948693eSPhilip Paeps  */
1470e948693eSPhilip Paeps 
1471e948693eSPhilip Paeps #define	PCR_CC_SRIOV_NUMVFS_REG 0x00000170
1472e948693eSPhilip Paeps /* sienaa0=pci_f0_config */
1473e948693eSPhilip Paeps 
14743c838a9fSAndrew Rybchenko #define	PCR_DZ_SRIOV_NUMVFS_REG 0x00000190
1475e948693eSPhilip Paeps /* hunta0=pci_f0_config */
1476e948693eSPhilip Paeps 
1477e948693eSPhilip Paeps #define	PCRF_CZ_VF_NUMVFS_LBN 0
1478e948693eSPhilip Paeps #define	PCRF_CZ_VF_NUMVFS_WIDTH 16
1479e948693eSPhilip Paeps 
1480e948693eSPhilip Paeps /*
14813c838a9fSAndrew Rybchenko  * PC_LANE23_EQU_CONTROL_REG(32bit):
14823c838a9fSAndrew Rybchenko  * Lanes 2,3 Equalization Control Register.
14833c838a9fSAndrew Rybchenko  */
14843c838a9fSAndrew Rybchenko 
14853c838a9fSAndrew Rybchenko #define	PCR_DZ_LANE23_EQU_CONTROL_REG 0x00000170
14863c838a9fSAndrew Rybchenko /* hunta0=pci_f0_config */
14873c838a9fSAndrew Rybchenko 
14883c838a9fSAndrew Rybchenko #define	PCRF_DZ_LANE3_EQ_CTRL_LBN 16
14893c838a9fSAndrew Rybchenko #define	PCRF_DZ_LANE3_EQ_CTRL_WIDTH 16
14903c838a9fSAndrew Rybchenko #define	PCRF_DZ_LANE2_EQ_CTRL_LBN 0
14913c838a9fSAndrew Rybchenko #define	PCRF_DZ_LANE2_EQ_CTRL_WIDTH 16
14923c838a9fSAndrew Rybchenko 
14933c838a9fSAndrew Rybchenko /*
1494e948693eSPhilip Paeps  * PC_SRIOV_FN_DPND_LNK_REG(16bit):
1495e948693eSPhilip Paeps  * SRIOV Function dependency link
1496e948693eSPhilip Paeps  */
1497e948693eSPhilip Paeps 
1498e948693eSPhilip Paeps #define	PCR_CC_SRIOV_FN_DPND_LNK_REG 0x00000172
1499e948693eSPhilip Paeps /* sienaa0=pci_f0_config */
1500e948693eSPhilip Paeps 
15013c838a9fSAndrew Rybchenko #define	PCR_DZ_SRIOV_FN_DPND_LNK_REG 0x00000192
1502e948693eSPhilip Paeps /* hunta0=pci_f0_config */
1503e948693eSPhilip Paeps 
1504e948693eSPhilip Paeps #define	PCRF_CZ_SRIOV_FN_DPND_LNK_LBN 0
1505e948693eSPhilip Paeps #define	PCRF_CZ_SRIOV_FN_DPND_LNK_WIDTH 8
1506e948693eSPhilip Paeps 
1507e948693eSPhilip Paeps /*
1508e948693eSPhilip Paeps  * PC_SRIOV_1STVF_OFFSET_REG(16bit):
1509e948693eSPhilip Paeps  * SRIOV First VF Offset
1510e948693eSPhilip Paeps  */
1511e948693eSPhilip Paeps 
1512e948693eSPhilip Paeps #define	PCR_CC_SRIOV_1STVF_OFFSET_REG 0x00000174
1513e948693eSPhilip Paeps /* sienaa0=pci_f0_config */
1514e948693eSPhilip Paeps 
15153c838a9fSAndrew Rybchenko #define	PCR_DZ_SRIOV_1STVF_OFFSET_REG 0x00000194
1516e948693eSPhilip Paeps /* hunta0=pci_f0_config */
1517e948693eSPhilip Paeps 
1518e948693eSPhilip Paeps #define	PCRF_CZ_VF_1STVF_OFFSET_LBN 0
1519e948693eSPhilip Paeps #define	PCRF_CZ_VF_1STVF_OFFSET_WIDTH 16
1520e948693eSPhilip Paeps 
1521e948693eSPhilip Paeps /*
15223c838a9fSAndrew Rybchenko  * PC_LANE45_EQU_CONTROL_REG(32bit):
15233c838a9fSAndrew Rybchenko  * Lanes 4,5 Equalization Control Register.
15243c838a9fSAndrew Rybchenko  */
15253c838a9fSAndrew Rybchenko 
15263c838a9fSAndrew Rybchenko #define	PCR_DZ_LANE45_EQU_CONTROL_REG 0x00000174
15273c838a9fSAndrew Rybchenko /* hunta0=pci_f0_config */
15283c838a9fSAndrew Rybchenko 
15293c838a9fSAndrew Rybchenko #define	PCRF_DZ_LANE5_EQ_CTRL_LBN 16
15303c838a9fSAndrew Rybchenko #define	PCRF_DZ_LANE5_EQ_CTRL_WIDTH 16
15313c838a9fSAndrew Rybchenko #define	PCRF_DZ_LANE4_EQ_CTRL_LBN 0
15323c838a9fSAndrew Rybchenko #define	PCRF_DZ_LANE4_EQ_CTRL_WIDTH 16
15333c838a9fSAndrew Rybchenko 
15343c838a9fSAndrew Rybchenko /*
1535e948693eSPhilip Paeps  * PC_SRIOV_VFSTRIDE_REG(16bit):
1536e948693eSPhilip Paeps  * SRIOV VF Stride
1537e948693eSPhilip Paeps  */
1538e948693eSPhilip Paeps 
1539e948693eSPhilip Paeps #define	PCR_CC_SRIOV_VFSTRIDE_REG 0x00000176
1540e948693eSPhilip Paeps /* sienaa0=pci_f0_config */
1541e948693eSPhilip Paeps 
15423c838a9fSAndrew Rybchenko #define	PCR_DZ_SRIOV_VFSTRIDE_REG 0x00000196
1543e948693eSPhilip Paeps /* hunta0=pci_f0_config */
1544e948693eSPhilip Paeps 
1545e948693eSPhilip Paeps #define	PCRF_CZ_VF_VFSTRIDE_LBN 0
1546e948693eSPhilip Paeps #define	PCRF_CZ_VF_VFSTRIDE_WIDTH 16
1547e948693eSPhilip Paeps 
1548e948693eSPhilip Paeps /*
15493c838a9fSAndrew Rybchenko  * PC_LANE67_EQU_CONTROL_REG(32bit):
15503c838a9fSAndrew Rybchenko  * Lanes 6,7 Equalization Control Register.
15513c838a9fSAndrew Rybchenko  */
15523c838a9fSAndrew Rybchenko 
15533c838a9fSAndrew Rybchenko #define	PCR_DZ_LANE67_EQU_CONTROL_REG 0x00000178
15543c838a9fSAndrew Rybchenko /* hunta0=pci_f0_config */
15553c838a9fSAndrew Rybchenko 
15563c838a9fSAndrew Rybchenko #define	PCRF_DZ_LANE7_EQ_CTRL_LBN 16
15573c838a9fSAndrew Rybchenko #define	PCRF_DZ_LANE7_EQ_CTRL_WIDTH 16
15583c838a9fSAndrew Rybchenko #define	PCRF_DZ_LANE6_EQ_CTRL_LBN 0
15593c838a9fSAndrew Rybchenko #define	PCRF_DZ_LANE6_EQ_CTRL_WIDTH 16
15603c838a9fSAndrew Rybchenko 
15613c838a9fSAndrew Rybchenko /*
1562e948693eSPhilip Paeps  * PC_SRIOV_DEVID_REG(16bit):
1563e948693eSPhilip Paeps  * SRIOV VF Device ID
1564e948693eSPhilip Paeps  */
1565e948693eSPhilip Paeps 
1566e948693eSPhilip Paeps #define	PCR_CC_SRIOV_DEVID_REG 0x0000017a
1567e948693eSPhilip Paeps /* sienaa0=pci_f0_config */
1568e948693eSPhilip Paeps 
15693c838a9fSAndrew Rybchenko #define	PCR_DZ_SRIOV_DEVID_REG 0x0000019a
1570e948693eSPhilip Paeps /* hunta0=pci_f0_config */
1571e948693eSPhilip Paeps 
1572e948693eSPhilip Paeps #define	PCRF_CZ_VF_DEVID_LBN 0
1573e948693eSPhilip Paeps #define	PCRF_CZ_VF_DEVID_WIDTH 16
1574e948693eSPhilip Paeps 
1575e948693eSPhilip Paeps /*
1576e948693eSPhilip Paeps  * PC_SRIOV_SUP_PAGESZ_REG(16bit):
1577e948693eSPhilip Paeps  * SRIOV Supported Page Sizes
1578e948693eSPhilip Paeps  */
1579e948693eSPhilip Paeps 
1580e948693eSPhilip Paeps #define	PCR_CC_SRIOV_SUP_PAGESZ_REG 0x0000017c
1581e948693eSPhilip Paeps /* sienaa0=pci_f0_config */
1582e948693eSPhilip Paeps 
15833c838a9fSAndrew Rybchenko #define	PCR_DZ_SRIOV_SUP_PAGESZ_REG 0x0000019c
1584e948693eSPhilip Paeps /* hunta0=pci_f0_config */
1585e948693eSPhilip Paeps 
1586e948693eSPhilip Paeps #define	PCRF_CZ_VF_SUP_PAGESZ_LBN 0
1587e948693eSPhilip Paeps #define	PCRF_CZ_VF_SUP_PAGESZ_WIDTH 16
1588e948693eSPhilip Paeps 
1589e948693eSPhilip Paeps /*
1590e948693eSPhilip Paeps  * PC_SRIOV_SYS_PAGESZ_REG(32bit):
1591e948693eSPhilip Paeps  * SRIOV System Page Size
1592e948693eSPhilip Paeps  */
1593e948693eSPhilip Paeps 
1594e948693eSPhilip Paeps #define	PCR_CC_SRIOV_SYS_PAGESZ_REG 0x00000180
1595e948693eSPhilip Paeps /* sienaa0=pci_f0_config */
1596e948693eSPhilip Paeps 
15973c838a9fSAndrew Rybchenko #define	PCR_DZ_SRIOV_SYS_PAGESZ_REG 0x000001a0
1598e948693eSPhilip Paeps /* hunta0=pci_f0_config */
1599e948693eSPhilip Paeps 
1600e948693eSPhilip Paeps #define	PCRF_CZ_VF_SYS_PAGESZ_LBN 0
1601e948693eSPhilip Paeps #define	PCRF_CZ_VF_SYS_PAGESZ_WIDTH 16
1602e948693eSPhilip Paeps 
1603e948693eSPhilip Paeps /*
1604e948693eSPhilip Paeps  * PC_SRIOV_BAR0_REG(32bit):
1605e948693eSPhilip Paeps  * SRIOV VF Bar0
1606e948693eSPhilip Paeps  */
1607e948693eSPhilip Paeps 
1608e948693eSPhilip Paeps #define	PCR_CC_SRIOV_BAR0_REG 0x00000184
1609e948693eSPhilip Paeps /* sienaa0=pci_f0_config */
1610e948693eSPhilip Paeps 
16113c838a9fSAndrew Rybchenko #define	PCR_DZ_SRIOV_BAR0_REG 0x000001a4
1612e948693eSPhilip Paeps /* hunta0=pci_f0_config */
1613e948693eSPhilip Paeps 
1614e948693eSPhilip Paeps #define	PCRF_CC_VF_BAR_ADDRESS_LBN 0
1615e948693eSPhilip Paeps #define	PCRF_CC_VF_BAR_ADDRESS_WIDTH 32
16163c838a9fSAndrew Rybchenko #define	PCRF_DZ_VF_BAR0_ADDRESS_LBN 4
16173c838a9fSAndrew Rybchenko #define	PCRF_DZ_VF_BAR0_ADDRESS_WIDTH 28
16183c838a9fSAndrew Rybchenko #define	PCRF_DZ_VF_BAR0_PREF_LBN 3
16193c838a9fSAndrew Rybchenko #define	PCRF_DZ_VF_BAR0_PREF_WIDTH 1
16203c838a9fSAndrew Rybchenko #define	PCRF_DZ_VF_BAR0_TYPE_LBN 1
16213c838a9fSAndrew Rybchenko #define	PCRF_DZ_VF_BAR0_TYPE_WIDTH 2
16223c838a9fSAndrew Rybchenko #define	PCRF_DZ_VF_BAR0_IOM_LBN 0
16233c838a9fSAndrew Rybchenko #define	PCRF_DZ_VF_BAR0_IOM_WIDTH 1
1624e948693eSPhilip Paeps 
1625e948693eSPhilip Paeps /*
1626e948693eSPhilip Paeps  * PC_SRIOV_BAR1_REG(32bit):
1627e948693eSPhilip Paeps  * SRIOV Bar1
1628e948693eSPhilip Paeps  */
1629e948693eSPhilip Paeps 
1630e948693eSPhilip Paeps #define	PCR_CC_SRIOV_BAR1_REG 0x00000188
1631e948693eSPhilip Paeps /* sienaa0=pci_f0_config */
1632e948693eSPhilip Paeps 
16333c838a9fSAndrew Rybchenko #define	PCR_DZ_SRIOV_BAR1_REG 0x000001a8
1634e948693eSPhilip Paeps /* hunta0=pci_f0_config */
1635e948693eSPhilip Paeps 
1636e948693eSPhilip Paeps /* defined as PCRF_CC_VF_BAR_ADDRESS_LBN 0; */
1637e948693eSPhilip Paeps /* defined as PCRF_CC_VF_BAR_ADDRESS_WIDTH 32 */
1638e948693eSPhilip Paeps #define	PCRF_DZ_VF_BAR1_ADDRESS_LBN 0
1639e948693eSPhilip Paeps #define	PCRF_DZ_VF_BAR1_ADDRESS_WIDTH 32
1640e948693eSPhilip Paeps 
1641e948693eSPhilip Paeps /*
1642e948693eSPhilip Paeps  * PC_SRIOV_BAR2_REG(32bit):
1643e948693eSPhilip Paeps  * SRIOV Bar2
1644e948693eSPhilip Paeps  */
1645e948693eSPhilip Paeps 
1646e948693eSPhilip Paeps #define	PCR_CC_SRIOV_BAR2_REG 0x0000018c
1647e948693eSPhilip Paeps /* sienaa0=pci_f0_config */
1648e948693eSPhilip Paeps 
16493c838a9fSAndrew Rybchenko #define	PCR_DZ_SRIOV_BAR2_REG 0x000001ac
1650e948693eSPhilip Paeps /* hunta0=pci_f0_config */
1651e948693eSPhilip Paeps 
1652e948693eSPhilip Paeps /* defined as PCRF_CC_VF_BAR_ADDRESS_LBN 0; */
1653e948693eSPhilip Paeps /* defined as PCRF_CC_VF_BAR_ADDRESS_WIDTH 32 */
16543c838a9fSAndrew Rybchenko #define	PCRF_DZ_VF_BAR2_ADDRESS_LBN 4
16553c838a9fSAndrew Rybchenko #define	PCRF_DZ_VF_BAR2_ADDRESS_WIDTH 28
16563c838a9fSAndrew Rybchenko #define	PCRF_DZ_VF_BAR2_PREF_LBN 3
16573c838a9fSAndrew Rybchenko #define	PCRF_DZ_VF_BAR2_PREF_WIDTH 1
16583c838a9fSAndrew Rybchenko #define	PCRF_DZ_VF_BAR2_TYPE_LBN 1
16593c838a9fSAndrew Rybchenko #define	PCRF_DZ_VF_BAR2_TYPE_WIDTH 2
16603c838a9fSAndrew Rybchenko #define	PCRF_DZ_VF_BAR2_IOM_LBN 0
16613c838a9fSAndrew Rybchenko #define	PCRF_DZ_VF_BAR2_IOM_WIDTH 1
1662e948693eSPhilip Paeps 
1663e948693eSPhilip Paeps /*
1664e948693eSPhilip Paeps  * PC_SRIOV_BAR3_REG(32bit):
1665e948693eSPhilip Paeps  * SRIOV Bar3
1666e948693eSPhilip Paeps  */
1667e948693eSPhilip Paeps 
1668e948693eSPhilip Paeps #define	PCR_CC_SRIOV_BAR3_REG 0x00000190
1669e948693eSPhilip Paeps /* sienaa0=pci_f0_config */
1670e948693eSPhilip Paeps 
16713c838a9fSAndrew Rybchenko #define	PCR_DZ_SRIOV_BAR3_REG 0x000001b0
1672e948693eSPhilip Paeps /* hunta0=pci_f0_config */
1673e948693eSPhilip Paeps 
1674e948693eSPhilip Paeps /* defined as PCRF_CC_VF_BAR_ADDRESS_LBN 0; */
1675e948693eSPhilip Paeps /* defined as PCRF_CC_VF_BAR_ADDRESS_WIDTH 32 */
1676e948693eSPhilip Paeps #define	PCRF_DZ_VF_BAR3_ADDRESS_LBN 0
1677e948693eSPhilip Paeps #define	PCRF_DZ_VF_BAR3_ADDRESS_WIDTH 32
1678e948693eSPhilip Paeps 
1679e948693eSPhilip Paeps /*
1680e948693eSPhilip Paeps  * PC_SRIOV_BAR4_REG(32bit):
1681e948693eSPhilip Paeps  * SRIOV Bar4
1682e948693eSPhilip Paeps  */
1683e948693eSPhilip Paeps 
1684e948693eSPhilip Paeps #define	PCR_CC_SRIOV_BAR4_REG 0x00000194
1685e948693eSPhilip Paeps /* sienaa0=pci_f0_config */
1686e948693eSPhilip Paeps 
16873c838a9fSAndrew Rybchenko #define	PCR_DZ_SRIOV_BAR4_REG 0x000001b4
1688e948693eSPhilip Paeps /* hunta0=pci_f0_config */
1689e948693eSPhilip Paeps 
1690e948693eSPhilip Paeps /* defined as PCRF_CC_VF_BAR_ADDRESS_LBN 0; */
1691e948693eSPhilip Paeps /* defined as PCRF_CC_VF_BAR_ADDRESS_WIDTH 32 */
1692e948693eSPhilip Paeps #define	PCRF_DZ_VF_BAR4_ADDRESS_LBN 0
1693e948693eSPhilip Paeps #define	PCRF_DZ_VF_BAR4_ADDRESS_WIDTH 32
1694e948693eSPhilip Paeps 
1695e948693eSPhilip Paeps /*
1696e948693eSPhilip Paeps  * PC_SRIOV_BAR5_REG(32bit):
1697e948693eSPhilip Paeps  * SRIOV Bar5
1698e948693eSPhilip Paeps  */
1699e948693eSPhilip Paeps 
1700e948693eSPhilip Paeps #define	PCR_CC_SRIOV_BAR5_REG 0x00000198
1701e948693eSPhilip Paeps /* sienaa0=pci_f0_config */
1702e948693eSPhilip Paeps 
17033c838a9fSAndrew Rybchenko #define	PCR_DZ_SRIOV_BAR5_REG 0x000001b8
1704e948693eSPhilip Paeps /* hunta0=pci_f0_config */
1705e948693eSPhilip Paeps 
1706e948693eSPhilip Paeps /* defined as PCRF_CC_VF_BAR_ADDRESS_LBN 0; */
1707e948693eSPhilip Paeps /* defined as PCRF_CC_VF_BAR_ADDRESS_WIDTH 32 */
1708e948693eSPhilip Paeps #define	PCRF_DZ_VF_BAR5_ADDRESS_LBN 0
1709e948693eSPhilip Paeps #define	PCRF_DZ_VF_BAR5_ADDRESS_WIDTH 32
1710e948693eSPhilip Paeps 
1711e948693eSPhilip Paeps /*
17123c838a9fSAndrew Rybchenko  * PC_SRIOV_RSVD_REG(16bit):
17133c838a9fSAndrew Rybchenko  * Reserved register
17143c838a9fSAndrew Rybchenko  */
17153c838a9fSAndrew Rybchenko 
17163c838a9fSAndrew Rybchenko #define	PCR_DZ_SRIOV_RSVD_REG 0x00000198
17173c838a9fSAndrew Rybchenko /* hunta0=pci_f0_config */
17183c838a9fSAndrew Rybchenko 
17193c838a9fSAndrew Rybchenko #define	PCRF_DZ_VF_RSVD_LBN 0
17203c838a9fSAndrew Rybchenko #define	PCRF_DZ_VF_RSVD_WIDTH 16
17213c838a9fSAndrew Rybchenko 
17223c838a9fSAndrew Rybchenko /*
1723e948693eSPhilip Paeps  * PC_SRIOV_MIBR_SARRAY_OFFSET_REG(32bit):
1724e948693eSPhilip Paeps  * SRIOV VF Migration State Array Offset
1725e948693eSPhilip Paeps  */
1726e948693eSPhilip Paeps 
1727e948693eSPhilip Paeps #define	PCR_CC_SRIOV_MIBR_SARRAY_OFFSET_REG 0x0000019c
1728e948693eSPhilip Paeps /* sienaa0=pci_f0_config */
1729e948693eSPhilip Paeps 
17303c838a9fSAndrew Rybchenko #define	PCR_DZ_SRIOV_MIBR_SARRAY_OFFSET_REG 0x000001bc
1731e948693eSPhilip Paeps /* hunta0=pci_f0_config */
1732e948693eSPhilip Paeps 
1733e948693eSPhilip Paeps #define	PCRF_CZ_VF_MIGR_OFFSET_LBN 3
1734e948693eSPhilip Paeps #define	PCRF_CZ_VF_MIGR_OFFSET_WIDTH 29
1735e948693eSPhilip Paeps #define	PCRF_CZ_VF_MIGR_BIR_LBN 0
1736e948693eSPhilip Paeps #define	PCRF_CZ_VF_MIGR_BIR_WIDTH 3
1737e948693eSPhilip Paeps 
1738e948693eSPhilip Paeps /*
1739e948693eSPhilip Paeps  * PC_TPH_CAP_HDR_REG(32bit):
1740e948693eSPhilip Paeps  * TPH Capability Header Register
1741e948693eSPhilip Paeps  */
1742e948693eSPhilip Paeps 
17433c838a9fSAndrew Rybchenko #define	PCR_DZ_TPH_CAP_HDR_REG 0x000001c0
1744e948693eSPhilip Paeps /* hunta0=pci_f0_config */
1745e948693eSPhilip Paeps 
1746e948693eSPhilip Paeps #define	PCRF_DZ_TPH_NXT_PTR_LBN 20
1747e948693eSPhilip Paeps #define	PCRF_DZ_TPH_NXT_PTR_WIDTH 12
1748e948693eSPhilip Paeps #define	PCRF_DZ_TPH_VERSION_LBN 16
1749e948693eSPhilip Paeps #define	PCRF_DZ_TPH_VERSION_WIDTH 4
1750e948693eSPhilip Paeps #define	PCRF_DZ_TPH_EXT_CAP_ID_LBN 0
1751e948693eSPhilip Paeps #define	PCRF_DZ_TPH_EXT_CAP_ID_WIDTH 16
1752e948693eSPhilip Paeps 
1753e948693eSPhilip Paeps /*
1754e948693eSPhilip Paeps  * PC_TPH_REQ_CAP_REG(32bit):
1755e948693eSPhilip Paeps  * TPH Requester Capability Register
1756e948693eSPhilip Paeps  */
1757e948693eSPhilip Paeps 
17583c838a9fSAndrew Rybchenko #define	PCR_DZ_TPH_REQ_CAP_REG 0x000001c4
1759e948693eSPhilip Paeps /* hunta0=pci_f0_config */
1760e948693eSPhilip Paeps 
1761e948693eSPhilip Paeps #define	PCRF_DZ_ST_TBLE_SIZE_LBN 16
1762e948693eSPhilip Paeps #define	PCRF_DZ_ST_TBLE_SIZE_WIDTH 11
1763e948693eSPhilip Paeps #define	PCRF_DZ_ST_TBLE_LOC_LBN 9
1764e948693eSPhilip Paeps #define	PCRF_DZ_ST_TBLE_LOC_WIDTH 2
1765e948693eSPhilip Paeps #define	PCRF_DZ_EXT_TPH_MODE_SUP_LBN 8
1766e948693eSPhilip Paeps #define	PCRF_DZ_EXT_TPH_MODE_SUP_WIDTH 1
1767e948693eSPhilip Paeps #define	PCRF_DZ_TPH_DEV_MODE_SUP_LBN 2
1768e948693eSPhilip Paeps #define	PCRF_DZ_TPH_DEV_MODE_SUP_WIDTH 1
1769e948693eSPhilip Paeps #define	PCRF_DZ_TPH_INT_MODE_SUP_LBN 1
1770e948693eSPhilip Paeps #define	PCRF_DZ_TPH_INT_MODE_SUP_WIDTH 1
1771e948693eSPhilip Paeps #define	PCRF_DZ_TPH_NOST_MODE_SUP_LBN 0
1772e948693eSPhilip Paeps #define	PCRF_DZ_TPH_NOST_MODE_SUP_WIDTH 1
1773e948693eSPhilip Paeps 
1774e948693eSPhilip Paeps /*
1775e948693eSPhilip Paeps  * PC_TPH_REQ_CTL_REG(32bit):
1776e948693eSPhilip Paeps  * TPH Requester Control Register
1777e948693eSPhilip Paeps  */
1778e948693eSPhilip Paeps 
17793c838a9fSAndrew Rybchenko #define	PCR_DZ_TPH_REQ_CTL_REG 0x000001c8
1780e948693eSPhilip Paeps /* hunta0=pci_f0_config */
1781e948693eSPhilip Paeps 
1782e948693eSPhilip Paeps #define	PCRF_DZ_TPH_REQ_ENABLE_LBN 8
1783e948693eSPhilip Paeps #define	PCRF_DZ_TPH_REQ_ENABLE_WIDTH 2
1784e948693eSPhilip Paeps #define	PCRF_DZ_TPH_ST_MODE_LBN 0
1785e948693eSPhilip Paeps #define	PCRF_DZ_TPH_ST_MODE_WIDTH 3
1786e948693eSPhilip Paeps 
1787e948693eSPhilip Paeps /*
17883c838a9fSAndrew Rybchenko  * PC_LTR_CAP_HDR_REG(32bit):
17893c838a9fSAndrew Rybchenko  * Latency Tolerance Reporting Cap Header Reg
1790e948693eSPhilip Paeps  */
1791e948693eSPhilip Paeps 
17923c838a9fSAndrew Rybchenko #define	PCR_DZ_LTR_CAP_HDR_REG 0x00000290
1793e948693eSPhilip Paeps /* hunta0=pci_f0_config */
1794e948693eSPhilip Paeps 
17953c838a9fSAndrew Rybchenko #define	PCRF_DZ_LTR_NXT_PTR_LBN 20
17963c838a9fSAndrew Rybchenko #define	PCRF_DZ_LTR_NXT_PTR_WIDTH 12
17973c838a9fSAndrew Rybchenko #define	PCRF_DZ_LTR_VERSION_LBN 16
17983c838a9fSAndrew Rybchenko #define	PCRF_DZ_LTR_VERSION_WIDTH 4
17993c838a9fSAndrew Rybchenko #define	PCRF_DZ_LTR_EXT_CAP_ID_LBN 0
18003c838a9fSAndrew Rybchenko #define	PCRF_DZ_LTR_EXT_CAP_ID_WIDTH 16
1801e948693eSPhilip Paeps 
1802e948693eSPhilip Paeps /*
18033c838a9fSAndrew Rybchenko  * PC_LTR_MAX_SNOOP_REG(32bit):
18043c838a9fSAndrew Rybchenko  * LTR Maximum Snoop/No Snoop Register
1805e948693eSPhilip Paeps  */
1806e948693eSPhilip Paeps 
18073c838a9fSAndrew Rybchenko #define	PCR_DZ_LTR_MAX_SNOOP_REG 0x00000294
1808e948693eSPhilip Paeps /* hunta0=pci_f0_config */
1809e948693eSPhilip Paeps 
18103c838a9fSAndrew Rybchenko #define	PCRF_DZ_LTR_MAX_NOSNOOP_SCALE_LBN 26
18113c838a9fSAndrew Rybchenko #define	PCRF_DZ_LTR_MAX_NOSNOOP_SCALE_WIDTH 3
18123c838a9fSAndrew Rybchenko #define	PCRF_DZ_LTR_MAX_NOSNOOP_LAT_LBN 16
18133c838a9fSAndrew Rybchenko #define	PCRF_DZ_LTR_MAX_NOSNOOP_LAT_WIDTH 10
18143c838a9fSAndrew Rybchenko #define	PCRF_DZ_LTR_MAX_SNOOP_SCALE_LBN 10
18153c838a9fSAndrew Rybchenko #define	PCRF_DZ_LTR_MAX_SNOOP_SCALE_WIDTH 3
18163c838a9fSAndrew Rybchenko #define	PCRF_DZ_LTR_MAX_SNOOP_LAT_LBN 0
18173c838a9fSAndrew Rybchenko #define	PCRF_DZ_LTR_MAX_SNOOP_LAT_WIDTH 10
1818e948693eSPhilip Paeps 
1819e948693eSPhilip Paeps /*
1820e948693eSPhilip Paeps  * PC_ACK_LAT_TMR_REG(32bit):
1821e948693eSPhilip Paeps  * ACK latency timer & replay timer register
1822e948693eSPhilip Paeps  */
1823e948693eSPhilip Paeps 
1824e948693eSPhilip Paeps #define	PCR_AC_ACK_LAT_TMR_REG 0x00000700
1825e948693eSPhilip Paeps /* falcona0,falconb0,sienaa0=pci_f0_config */
1826e948693eSPhilip Paeps 
1827e948693eSPhilip Paeps #define	PCRF_AC_RT_LBN 16
1828e948693eSPhilip Paeps #define	PCRF_AC_RT_WIDTH 16
1829e948693eSPhilip Paeps #define	PCRF_AC_ALT_LBN 0
1830e948693eSPhilip Paeps #define	PCRF_AC_ALT_WIDTH 16
1831e948693eSPhilip Paeps 
1832e948693eSPhilip Paeps /*
1833e948693eSPhilip Paeps  * PC_OTHER_MSG_REG(32bit):
1834e948693eSPhilip Paeps  * Other message register
1835e948693eSPhilip Paeps  */
1836e948693eSPhilip Paeps 
1837e948693eSPhilip Paeps #define	PCR_AC_OTHER_MSG_REG 0x00000704
1838e948693eSPhilip Paeps /* falcona0,falconb0,sienaa0=pci_f0_config */
1839e948693eSPhilip Paeps 
1840e948693eSPhilip Paeps #define	PCRF_AC_OM_CRPT3_LBN 24
1841e948693eSPhilip Paeps #define	PCRF_AC_OM_CRPT3_WIDTH 8
1842e948693eSPhilip Paeps #define	PCRF_AC_OM_CRPT2_LBN 16
1843e948693eSPhilip Paeps #define	PCRF_AC_OM_CRPT2_WIDTH 8
1844e948693eSPhilip Paeps #define	PCRF_AC_OM_CRPT1_LBN 8
1845e948693eSPhilip Paeps #define	PCRF_AC_OM_CRPT1_WIDTH 8
1846e948693eSPhilip Paeps #define	PCRF_AC_OM_CRPT0_LBN 0
1847e948693eSPhilip Paeps #define	PCRF_AC_OM_CRPT0_WIDTH 8
1848e948693eSPhilip Paeps 
1849e948693eSPhilip Paeps /*
1850e948693eSPhilip Paeps  * PC_FORCE_LNK_REG(24bit):
1851e948693eSPhilip Paeps  * Port force link register
1852e948693eSPhilip Paeps  */
1853e948693eSPhilip Paeps 
1854e948693eSPhilip Paeps #define	PCR_AC_FORCE_LNK_REG 0x00000708
1855e948693eSPhilip Paeps /* falcona0,falconb0,sienaa0=pci_f0_config */
1856e948693eSPhilip Paeps 
1857e948693eSPhilip Paeps #define	PCRF_AC_LFS_LBN 16
1858e948693eSPhilip Paeps #define	PCRF_AC_LFS_WIDTH 6
1859e948693eSPhilip Paeps #define	PCRF_AC_FL_LBN 15
1860e948693eSPhilip Paeps #define	PCRF_AC_FL_WIDTH 1
1861e948693eSPhilip Paeps #define	PCRF_AC_LN_LBN 0
1862e948693eSPhilip Paeps #define	PCRF_AC_LN_WIDTH 8
1863e948693eSPhilip Paeps 
1864e948693eSPhilip Paeps /*
1865e948693eSPhilip Paeps  * PC_ACK_FREQ_REG(32bit):
1866e948693eSPhilip Paeps  * ACK frequency register
1867e948693eSPhilip Paeps  */
1868e948693eSPhilip Paeps 
1869e948693eSPhilip Paeps #define	PCR_AC_ACK_FREQ_REG 0x0000070c
1870e948693eSPhilip Paeps /* falcona0,falconb0,sienaa0=pci_f0_config */
1871e948693eSPhilip Paeps 
1872e948693eSPhilip Paeps #define	PCRF_CC_ALLOW_L1_WITHOUT_L0S_LBN 30
1873e948693eSPhilip Paeps #define	PCRF_CC_ALLOW_L1_WITHOUT_L0S_WIDTH 1
1874e948693eSPhilip Paeps #define	PCRF_AC_L1_ENTR_LAT_LBN 27
1875e948693eSPhilip Paeps #define	PCRF_AC_L1_ENTR_LAT_WIDTH 3
1876e948693eSPhilip Paeps #define	PCRF_AC_L0_ENTR_LAT_LBN 24
1877e948693eSPhilip Paeps #define	PCRF_AC_L0_ENTR_LAT_WIDTH 3
1878e948693eSPhilip Paeps #define	PCRF_CC_COMM_NFTS_LBN 16
1879e948693eSPhilip Paeps #define	PCRF_CC_COMM_NFTS_WIDTH 8
1880e948693eSPhilip Paeps #define	PCRF_AB_ACK_FREQ_REG_RSVD0_LBN 16
1881e948693eSPhilip Paeps #define	PCRF_AB_ACK_FREQ_REG_RSVD0_WIDTH 3
1882e948693eSPhilip Paeps #define	PCRF_AC_MAX_FTS_LBN 8
1883e948693eSPhilip Paeps #define	PCRF_AC_MAX_FTS_WIDTH 8
1884e948693eSPhilip Paeps #define	PCRF_AC_ACK_FREQ_LBN 0
1885e948693eSPhilip Paeps #define	PCRF_AC_ACK_FREQ_WIDTH 8
1886e948693eSPhilip Paeps 
1887e948693eSPhilip Paeps /*
1888e948693eSPhilip Paeps  * PC_PORT_LNK_CTL_REG(32bit):
1889e948693eSPhilip Paeps  * Port link control register
1890e948693eSPhilip Paeps  */
1891e948693eSPhilip Paeps 
1892e948693eSPhilip Paeps #define	PCR_AC_PORT_LNK_CTL_REG 0x00000710
1893e948693eSPhilip Paeps /* falcona0,falconb0,sienaa0=pci_f0_config */
1894e948693eSPhilip Paeps 
1895e948693eSPhilip Paeps #define	PCRF_AB_LRE_LBN 27
1896e948693eSPhilip Paeps #define	PCRF_AB_LRE_WIDTH 1
1897e948693eSPhilip Paeps #define	PCRF_AB_ESYNC_LBN 26
1898e948693eSPhilip Paeps #define	PCRF_AB_ESYNC_WIDTH 1
1899e948693eSPhilip Paeps #define	PCRF_AB_CRPT_LBN 25
1900e948693eSPhilip Paeps #define	PCRF_AB_CRPT_WIDTH 1
1901e948693eSPhilip Paeps #define	PCRF_AB_XB_LBN 24
1902e948693eSPhilip Paeps #define	PCRF_AB_XB_WIDTH 1
1903e948693eSPhilip Paeps #define	PCRF_AC_LC_LBN 16
1904e948693eSPhilip Paeps #define	PCRF_AC_LC_WIDTH 6
1905e948693eSPhilip Paeps #define	PCRF_AC_LDR_LBN 8
1906e948693eSPhilip Paeps #define	PCRF_AC_LDR_WIDTH 4
1907e948693eSPhilip Paeps #define	PCRF_AC_FLM_LBN 7
1908e948693eSPhilip Paeps #define	PCRF_AC_FLM_WIDTH 1
1909e948693eSPhilip Paeps #define	PCRF_AC_LKD_LBN 6
1910e948693eSPhilip Paeps #define	PCRF_AC_LKD_WIDTH 1
1911e948693eSPhilip Paeps #define	PCRF_AC_DLE_LBN 5
1912e948693eSPhilip Paeps #define	PCRF_AC_DLE_WIDTH 1
1913e948693eSPhilip Paeps #define	PCRF_AB_PORT_LNK_CTL_REG_RSVD0_LBN 4
1914e948693eSPhilip Paeps #define	PCRF_AB_PORT_LNK_CTL_REG_RSVD0_WIDTH 1
1915e948693eSPhilip Paeps #define	PCRF_AC_RA_LBN 3
1916e948693eSPhilip Paeps #define	PCRF_AC_RA_WIDTH 1
1917e948693eSPhilip Paeps #define	PCRF_AC_LE_LBN 2
1918e948693eSPhilip Paeps #define	PCRF_AC_LE_WIDTH 1
1919e948693eSPhilip Paeps #define	PCRF_AC_SD_LBN 1
1920e948693eSPhilip Paeps #define	PCRF_AC_SD_WIDTH 1
1921e948693eSPhilip Paeps #define	PCRF_AC_OMR_LBN 0
1922e948693eSPhilip Paeps #define	PCRF_AC_OMR_WIDTH 1
1923e948693eSPhilip Paeps 
1924e948693eSPhilip Paeps /*
1925e948693eSPhilip Paeps  * PC_LN_SKEW_REG(32bit):
1926e948693eSPhilip Paeps  * Lane skew register
1927e948693eSPhilip Paeps  */
1928e948693eSPhilip Paeps 
1929e948693eSPhilip Paeps #define	PCR_AC_LN_SKEW_REG 0x00000714
1930e948693eSPhilip Paeps /* falcona0,falconb0,sienaa0=pci_f0_config */
1931e948693eSPhilip Paeps 
1932e948693eSPhilip Paeps #define	PCRF_AC_DIS_LBN 31
1933e948693eSPhilip Paeps #define	PCRF_AC_DIS_WIDTH 1
1934e948693eSPhilip Paeps #define	PCRF_AB_RST_LBN 30
1935e948693eSPhilip Paeps #define	PCRF_AB_RST_WIDTH 1
1936e948693eSPhilip Paeps #define	PCRF_AC_AD_LBN 25
1937e948693eSPhilip Paeps #define	PCRF_AC_AD_WIDTH 1
1938e948693eSPhilip Paeps #define	PCRF_AC_FCD_LBN 24
1939e948693eSPhilip Paeps #define	PCRF_AC_FCD_WIDTH 1
1940e948693eSPhilip Paeps #define	PCRF_AC_LS2_LBN 16
1941e948693eSPhilip Paeps #define	PCRF_AC_LS2_WIDTH 8
1942e948693eSPhilip Paeps #define	PCRF_AC_LS1_LBN 8
1943e948693eSPhilip Paeps #define	PCRF_AC_LS1_WIDTH 8
1944e948693eSPhilip Paeps #define	PCRF_AC_LS0_LBN 0
1945e948693eSPhilip Paeps #define	PCRF_AC_LS0_WIDTH 8
1946e948693eSPhilip Paeps 
1947e948693eSPhilip Paeps /*
1948e948693eSPhilip Paeps  * PC_SYM_NUM_REG(16bit):
1949e948693eSPhilip Paeps  * Symbol number register
1950e948693eSPhilip Paeps  */
1951e948693eSPhilip Paeps 
1952e948693eSPhilip Paeps #define	PCR_AC_SYM_NUM_REG 0x00000718
1953e948693eSPhilip Paeps /* falcona0,falconb0,sienaa0=pci_f0_config */
1954e948693eSPhilip Paeps 
1955e948693eSPhilip Paeps #define	PCRF_CC_MAX_FUNCTIONS_LBN 29
1956e948693eSPhilip Paeps #define	PCRF_CC_MAX_FUNCTIONS_WIDTH 3
1957e948693eSPhilip Paeps #define	PCRF_CC_FC_WATCHDOG_TMR_LBN 24
1958e948693eSPhilip Paeps #define	PCRF_CC_FC_WATCHDOG_TMR_WIDTH 5
1959e948693eSPhilip Paeps #define	PCRF_CC_ACK_NAK_TMR_MOD_LBN 19
1960e948693eSPhilip Paeps #define	PCRF_CC_ACK_NAK_TMR_MOD_WIDTH 5
1961e948693eSPhilip Paeps #define	PCRF_CC_REPLAY_TMR_MOD_LBN 14
1962e948693eSPhilip Paeps #define	PCRF_CC_REPLAY_TMR_MOD_WIDTH 5
1963e948693eSPhilip Paeps #define	PCRF_AB_ES_LBN 12
1964e948693eSPhilip Paeps #define	PCRF_AB_ES_WIDTH 3
1965e948693eSPhilip Paeps #define	PCRF_AB_SYM_NUM_REG_RSVD0_LBN 11
1966e948693eSPhilip Paeps #define	PCRF_AB_SYM_NUM_REG_RSVD0_WIDTH 1
1967e948693eSPhilip Paeps #define	PCRF_CC_NUM_SKP_SYMS_LBN 8
1968e948693eSPhilip Paeps #define	PCRF_CC_NUM_SKP_SYMS_WIDTH 3
1969e948693eSPhilip Paeps #define	PCRF_AB_TS2_LBN 4
1970e948693eSPhilip Paeps #define	PCRF_AB_TS2_WIDTH 4
1971e948693eSPhilip Paeps #define	PCRF_AC_TS1_LBN 0
1972e948693eSPhilip Paeps #define	PCRF_AC_TS1_WIDTH 4
1973e948693eSPhilip Paeps 
1974e948693eSPhilip Paeps /*
1975e948693eSPhilip Paeps  * PC_SYM_TMR_FLT_MSK_REG(16bit):
1976e948693eSPhilip Paeps  * Symbol timer and Filter Mask Register
1977e948693eSPhilip Paeps  */
1978e948693eSPhilip Paeps 
1979e948693eSPhilip Paeps #define	PCR_CC_SYM_TMR_FLT_MSK_REG 0x0000071c
1980e948693eSPhilip Paeps /* sienaa0=pci_f0_config */
1981e948693eSPhilip Paeps 
1982e948693eSPhilip Paeps #define	PCRF_CC_DEFAULT_FLT_MSK1_LBN 16
1983e948693eSPhilip Paeps #define	PCRF_CC_DEFAULT_FLT_MSK1_WIDTH 16
1984e948693eSPhilip Paeps #define	PCRF_CC_FC_WDOG_TMR_DIS_LBN 15
1985e948693eSPhilip Paeps #define	PCRF_CC_FC_WDOG_TMR_DIS_WIDTH 1
1986e948693eSPhilip Paeps #define	PCRF_CC_SI1_LBN 8
1987e948693eSPhilip Paeps #define	PCRF_CC_SI1_WIDTH 3
1988e948693eSPhilip Paeps #define	PCRF_CC_SKIP_INT_VAL_LBN 0
1989e948693eSPhilip Paeps #define	PCRF_CC_SKIP_INT_VAL_WIDTH 11
1990e948693eSPhilip Paeps #define	PCRF_CC_SI0_LBN 0
1991e948693eSPhilip Paeps #define	PCRF_CC_SI0_WIDTH 8
1992e948693eSPhilip Paeps 
1993e948693eSPhilip Paeps /*
1994e948693eSPhilip Paeps  * PC_SYM_TMR_REG(16bit):
1995e948693eSPhilip Paeps  * Symbol timer register
1996e948693eSPhilip Paeps  */
1997e948693eSPhilip Paeps 
1998e948693eSPhilip Paeps #define	PCR_AB_SYM_TMR_REG 0x0000071c
1999e948693eSPhilip Paeps /* falcona0,falconb0=pci_f0_config */
2000e948693eSPhilip Paeps 
2001e948693eSPhilip Paeps #define	PCRF_AB_ET_LBN 11
2002e948693eSPhilip Paeps #define	PCRF_AB_ET_WIDTH 4
2003e948693eSPhilip Paeps #define	PCRF_AB_SI1_LBN 8
2004e948693eSPhilip Paeps #define	PCRF_AB_SI1_WIDTH 3
2005e948693eSPhilip Paeps #define	PCRF_AB_SI0_LBN 0
2006e948693eSPhilip Paeps #define	PCRF_AB_SI0_WIDTH 8
2007e948693eSPhilip Paeps 
2008e948693eSPhilip Paeps /*
20093c838a9fSAndrew Rybchenko  * PC_FLT_MSK_REG(32bit):
20103c838a9fSAndrew Rybchenko  * Filter Mask Register 2
20113c838a9fSAndrew Rybchenko  */
20123c838a9fSAndrew Rybchenko 
20133c838a9fSAndrew Rybchenko #define	PCR_CC_FLT_MSK_REG 0x00000720
20143c838a9fSAndrew Rybchenko /* sienaa0=pci_f0_config */
20153c838a9fSAndrew Rybchenko 
20163c838a9fSAndrew Rybchenko #define	PCRF_CC_DEFAULT_FLT_MSK2_LBN 0
20173c838a9fSAndrew Rybchenko #define	PCRF_CC_DEFAULT_FLT_MSK2_WIDTH 32
20183c838a9fSAndrew Rybchenko 
20193c838a9fSAndrew Rybchenko /*
2020e948693eSPhilip Paeps  * PC_PHY_STAT_REG(32bit):
2021e948693eSPhilip Paeps  * PHY status register
2022e948693eSPhilip Paeps  */
2023e948693eSPhilip Paeps 
2024e948693eSPhilip Paeps #define	PCR_AB_PHY_STAT_REG 0x00000720
2025e948693eSPhilip Paeps /* falcona0,falconb0=pci_f0_config */
2026e948693eSPhilip Paeps 
2027e948693eSPhilip Paeps #define	PCR_CC_PHY_STAT_REG 0x00000810
2028e948693eSPhilip Paeps /* sienaa0=pci_f0_config */
2029e948693eSPhilip Paeps 
2030e948693eSPhilip Paeps #define	PCRF_AC_SSL_LBN 3
2031e948693eSPhilip Paeps #define	PCRF_AC_SSL_WIDTH 1
2032e948693eSPhilip Paeps #define	PCRF_AC_SSR_LBN 2
2033e948693eSPhilip Paeps #define	PCRF_AC_SSR_WIDTH 1
2034e948693eSPhilip Paeps #define	PCRF_AC_SSCL_LBN 1
2035e948693eSPhilip Paeps #define	PCRF_AC_SSCL_WIDTH 1
2036e948693eSPhilip Paeps #define	PCRF_AC_SSCD_LBN 0
2037e948693eSPhilip Paeps #define	PCRF_AC_SSCD_WIDTH 1
2038e948693eSPhilip Paeps 
2039e948693eSPhilip Paeps /*
2040e948693eSPhilip Paeps  * PC_PHY_CTL_REG(32bit):
2041e948693eSPhilip Paeps  * PHY control register
2042e948693eSPhilip Paeps  */
2043e948693eSPhilip Paeps 
2044e948693eSPhilip Paeps #define	PCR_AB_PHY_CTL_REG 0x00000724
2045e948693eSPhilip Paeps /* falcona0,falconb0=pci_f0_config */
2046e948693eSPhilip Paeps 
2047e948693eSPhilip Paeps #define	PCR_CC_PHY_CTL_REG 0x00000814
2048e948693eSPhilip Paeps /* sienaa0=pci_f0_config */
2049e948693eSPhilip Paeps 
2050e948693eSPhilip Paeps #define	PCRF_AC_BD_LBN 31
2051e948693eSPhilip Paeps #define	PCRF_AC_BD_WIDTH 1
2052e948693eSPhilip Paeps #define	PCRF_AC_CDS_LBN 30
2053e948693eSPhilip Paeps #define	PCRF_AC_CDS_WIDTH 1
2054e948693eSPhilip Paeps #define	PCRF_AC_DWRAP_LB_LBN 29
2055e948693eSPhilip Paeps #define	PCRF_AC_DWRAP_LB_WIDTH 1
2056e948693eSPhilip Paeps #define	PCRF_AC_EBD_LBN 28
2057e948693eSPhilip Paeps #define	PCRF_AC_EBD_WIDTH 1
2058e948693eSPhilip Paeps #define	PCRF_AC_SNR_LBN 27
2059e948693eSPhilip Paeps #define	PCRF_AC_SNR_WIDTH 1
2060e948693eSPhilip Paeps #define	PCRF_AC_RX_NOT_DET_LBN 2
2061e948693eSPhilip Paeps #define	PCRF_AC_RX_NOT_DET_WIDTH 1
2062e948693eSPhilip Paeps #define	PCRF_AC_FORCE_LOS_VAL_LBN 1
2063e948693eSPhilip Paeps #define	PCRF_AC_FORCE_LOS_VAL_WIDTH 1
2064e948693eSPhilip Paeps #define	PCRF_AC_FORCE_LOS_EN_LBN 0
2065e948693eSPhilip Paeps #define	PCRF_AC_FORCE_LOS_EN_WIDTH 1
2066e948693eSPhilip Paeps 
2067e948693eSPhilip Paeps /*
2068e948693eSPhilip Paeps  * PC_DEBUG0_REG(32bit):
2069e948693eSPhilip Paeps  * Debug register 0
2070e948693eSPhilip Paeps  */
2071e948693eSPhilip Paeps 
2072e948693eSPhilip Paeps #define	PCR_AC_DEBUG0_REG 0x00000728
2073e948693eSPhilip Paeps /* falcona0,falconb0,sienaa0=pci_f0_config */
2074e948693eSPhilip Paeps 
2075e948693eSPhilip Paeps #define	PCRF_AC_CDI03_LBN 24
2076e948693eSPhilip Paeps #define	PCRF_AC_CDI03_WIDTH 8
2077e948693eSPhilip Paeps #define	PCRF_AC_CDI0_LBN 0
2078e948693eSPhilip Paeps #define	PCRF_AC_CDI0_WIDTH 32
2079e948693eSPhilip Paeps #define	PCRF_AC_CDI02_LBN 16
2080e948693eSPhilip Paeps #define	PCRF_AC_CDI02_WIDTH 8
2081e948693eSPhilip Paeps #define	PCRF_AC_CDI01_LBN 8
2082e948693eSPhilip Paeps #define	PCRF_AC_CDI01_WIDTH 8
2083e948693eSPhilip Paeps #define	PCRF_AC_CDI00_LBN 0
2084e948693eSPhilip Paeps #define	PCRF_AC_CDI00_WIDTH 8
2085e948693eSPhilip Paeps 
2086e948693eSPhilip Paeps /*
2087e948693eSPhilip Paeps  * PC_DEBUG1_REG(32bit):
2088e948693eSPhilip Paeps  * Debug register 1
2089e948693eSPhilip Paeps  */
2090e948693eSPhilip Paeps 
2091e948693eSPhilip Paeps #define	PCR_AC_DEBUG1_REG 0x0000072c
2092e948693eSPhilip Paeps /* falcona0,falconb0,sienaa0=pci_f0_config */
2093e948693eSPhilip Paeps 
2094e948693eSPhilip Paeps #define	PCRF_AC_CDI13_LBN 24
2095e948693eSPhilip Paeps #define	PCRF_AC_CDI13_WIDTH 8
2096e948693eSPhilip Paeps #define	PCRF_AC_CDI1_LBN 0
2097e948693eSPhilip Paeps #define	PCRF_AC_CDI1_WIDTH 32
2098e948693eSPhilip Paeps #define	PCRF_AC_CDI12_LBN 16
2099e948693eSPhilip Paeps #define	PCRF_AC_CDI12_WIDTH 8
2100e948693eSPhilip Paeps #define	PCRF_AC_CDI11_LBN 8
2101e948693eSPhilip Paeps #define	PCRF_AC_CDI11_WIDTH 8
2102e948693eSPhilip Paeps #define	PCRF_AC_CDI10_LBN 0
2103e948693eSPhilip Paeps #define	PCRF_AC_CDI10_WIDTH 8
2104e948693eSPhilip Paeps 
2105e948693eSPhilip Paeps /*
2106e948693eSPhilip Paeps  * PC_XPFCC_STAT_REG(24bit):
2107e948693eSPhilip Paeps  * documentation to be written for sum_PC_XPFCC_STAT_REG
2108e948693eSPhilip Paeps  */
2109e948693eSPhilip Paeps 
2110e948693eSPhilip Paeps #define	PCR_AC_XPFCC_STAT_REG 0x00000730
2111e948693eSPhilip Paeps /* falcona0,falconb0,sienaa0=pci_f0_config */
2112e948693eSPhilip Paeps 
2113e948693eSPhilip Paeps #define	PCRF_AC_XPDC_LBN 12
2114e948693eSPhilip Paeps #define	PCRF_AC_XPDC_WIDTH 8
2115e948693eSPhilip Paeps #define	PCRF_AC_XPHC_LBN 0
2116e948693eSPhilip Paeps #define	PCRF_AC_XPHC_WIDTH 12
2117e948693eSPhilip Paeps 
2118e948693eSPhilip Paeps /*
2119e948693eSPhilip Paeps  * PC_XNPFCC_STAT_REG(24bit):
2120e948693eSPhilip Paeps  * documentation to be written for sum_PC_XNPFCC_STAT_REG
2121e948693eSPhilip Paeps  */
2122e948693eSPhilip Paeps 
2123e948693eSPhilip Paeps #define	PCR_AC_XNPFCC_STAT_REG 0x00000734
2124e948693eSPhilip Paeps /* falcona0,falconb0,sienaa0=pci_f0_config */
2125e948693eSPhilip Paeps 
2126e948693eSPhilip Paeps #define	PCRF_AC_XNPDC_LBN 12
2127e948693eSPhilip Paeps #define	PCRF_AC_XNPDC_WIDTH 8
2128e948693eSPhilip Paeps #define	PCRF_AC_XNPHC_LBN 0
2129e948693eSPhilip Paeps #define	PCRF_AC_XNPHC_WIDTH 12
2130e948693eSPhilip Paeps 
2131e948693eSPhilip Paeps /*
2132e948693eSPhilip Paeps  * PC_XCFCC_STAT_REG(24bit):
2133e948693eSPhilip Paeps  * documentation to be written for sum_PC_XCFCC_STAT_REG
2134e948693eSPhilip Paeps  */
2135e948693eSPhilip Paeps 
2136e948693eSPhilip Paeps #define	PCR_AC_XCFCC_STAT_REG 0x00000738
2137e948693eSPhilip Paeps /* falcona0,falconb0,sienaa0=pci_f0_config */
2138e948693eSPhilip Paeps 
2139e948693eSPhilip Paeps #define	PCRF_AC_XCDC_LBN 12
2140e948693eSPhilip Paeps #define	PCRF_AC_XCDC_WIDTH 8
2141e948693eSPhilip Paeps #define	PCRF_AC_XCHC_LBN 0
2142e948693eSPhilip Paeps #define	PCRF_AC_XCHC_WIDTH 12
2143e948693eSPhilip Paeps 
2144e948693eSPhilip Paeps /*
2145e948693eSPhilip Paeps  * PC_Q_STAT_REG(8bit):
2146e948693eSPhilip Paeps  * documentation to be written for sum_PC_Q_STAT_REG
2147e948693eSPhilip Paeps  */
2148e948693eSPhilip Paeps 
2149e948693eSPhilip Paeps #define	PCR_AC_Q_STAT_REG 0x0000073c
2150e948693eSPhilip Paeps /* falcona0,falconb0,sienaa0=pci_f0_config */
2151e948693eSPhilip Paeps 
2152e948693eSPhilip Paeps #define	PCRF_AC_RQNE_LBN 2
2153e948693eSPhilip Paeps #define	PCRF_AC_RQNE_WIDTH 1
2154e948693eSPhilip Paeps #define	PCRF_AC_XRNE_LBN 1
2155e948693eSPhilip Paeps #define	PCRF_AC_XRNE_WIDTH 1
2156e948693eSPhilip Paeps #define	PCRF_AC_RCNR_LBN 0
2157e948693eSPhilip Paeps #define	PCRF_AC_RCNR_WIDTH 1
2158e948693eSPhilip Paeps 
2159e948693eSPhilip Paeps /*
2160e948693eSPhilip Paeps  * PC_VC_XMIT_ARB1_REG(32bit):
2161e948693eSPhilip Paeps  * VC Transmit Arbitration Register 1
2162e948693eSPhilip Paeps  */
2163e948693eSPhilip Paeps 
2164e948693eSPhilip Paeps #define	PCR_CC_VC_XMIT_ARB1_REG 0x00000740
2165e948693eSPhilip Paeps /* sienaa0=pci_f0_config */
2166e948693eSPhilip Paeps 
2167e948693eSPhilip Paeps /*
2168e948693eSPhilip Paeps  * PC_VC_XMIT_ARB2_REG(32bit):
2169e948693eSPhilip Paeps  * VC Transmit Arbitration Register 2
2170e948693eSPhilip Paeps  */
2171e948693eSPhilip Paeps 
2172e948693eSPhilip Paeps #define	PCR_CC_VC_XMIT_ARB2_REG 0x00000744
2173e948693eSPhilip Paeps /* sienaa0=pci_f0_config */
2174e948693eSPhilip Paeps 
2175e948693eSPhilip Paeps /*
2176e948693eSPhilip Paeps  * PC_VC0_P_RQ_CTL_REG(32bit):
2177e948693eSPhilip Paeps  * VC0 Posted Receive Queue Control
2178e948693eSPhilip Paeps  */
2179e948693eSPhilip Paeps 
2180e948693eSPhilip Paeps #define	PCR_CC_VC0_P_RQ_CTL_REG 0x00000748
2181e948693eSPhilip Paeps /* sienaa0=pci_f0_config */
2182e948693eSPhilip Paeps 
2183e948693eSPhilip Paeps /*
2184e948693eSPhilip Paeps  * PC_VC0_NP_RQ_CTL_REG(32bit):
2185e948693eSPhilip Paeps  * VC0 Non-Posted Receive Queue Control
2186e948693eSPhilip Paeps  */
2187e948693eSPhilip Paeps 
2188e948693eSPhilip Paeps #define	PCR_CC_VC0_NP_RQ_CTL_REG 0x0000074c
2189e948693eSPhilip Paeps /* sienaa0=pci_f0_config */
2190e948693eSPhilip Paeps 
2191e948693eSPhilip Paeps /*
2192e948693eSPhilip Paeps  * PC_VC0_C_RQ_CTL_REG(32bit):
2193e948693eSPhilip Paeps  * VC0 Completion Receive Queue Control
2194e948693eSPhilip Paeps  */
2195e948693eSPhilip Paeps 
2196e948693eSPhilip Paeps #define	PCR_CC_VC0_C_RQ_CTL_REG 0x00000750
2197e948693eSPhilip Paeps /* sienaa0=pci_f0_config */
2198e948693eSPhilip Paeps 
2199e948693eSPhilip Paeps /*
2200e948693eSPhilip Paeps  * PC_GEN2_REG(32bit):
2201e948693eSPhilip Paeps  * Gen2 Register
2202e948693eSPhilip Paeps  */
2203e948693eSPhilip Paeps 
2204e948693eSPhilip Paeps #define	PCR_CC_GEN2_REG 0x0000080c
2205e948693eSPhilip Paeps /* sienaa0=pci_f0_config */
2206e948693eSPhilip Paeps 
2207e948693eSPhilip Paeps #define	PCRF_CC_SET_DE_EMPHASIS_LBN 20
2208e948693eSPhilip Paeps #define	PCRF_CC_SET_DE_EMPHASIS_WIDTH 1
2209e948693eSPhilip Paeps #define	PCRF_CC_CFG_TX_COMPLIANCE_LBN 19
2210e948693eSPhilip Paeps #define	PCRF_CC_CFG_TX_COMPLIANCE_WIDTH 1
2211e948693eSPhilip Paeps #define	PCRF_CC_CFG_TX_SWING_LBN 18
2212e948693eSPhilip Paeps #define	PCRF_CC_CFG_TX_SWING_WIDTH 1
2213e948693eSPhilip Paeps #define	PCRF_CC_DIR_SPEED_CHANGE_LBN 17
2214e948693eSPhilip Paeps #define	PCRF_CC_DIR_SPEED_CHANGE_WIDTH 1
2215e948693eSPhilip Paeps #define	PCRF_CC_LANE_ENABLE_LBN 8
2216e948693eSPhilip Paeps #define	PCRF_CC_LANE_ENABLE_WIDTH 9
2217e948693eSPhilip Paeps #define	PCRF_CC_NUM_FTS_LBN 0
2218e948693eSPhilip Paeps #define	PCRF_CC_NUM_FTS_WIDTH 8
2219e948693eSPhilip Paeps 
2220e948693eSPhilip Paeps #ifdef	__cplusplus
2221e948693eSPhilip Paeps }
2222e948693eSPhilip Paeps #endif
2223e948693eSPhilip Paeps 
2224e948693eSPhilip Paeps #endif /* _SYS_EFX_REGS_PCI_H */
2225