1e948693eSPhilip Paeps /*- 2*929c7febSAndrew Rybchenko * Copyright (c) 2007-2016 Solarflare Communications Inc. 33c838a9fSAndrew Rybchenko * All rights reserved. 4e948693eSPhilip Paeps * 5e948693eSPhilip Paeps * Redistribution and use in source and binary forms, with or without 63c838a9fSAndrew Rybchenko * modification, are permitted provided that the following conditions are met: 7e948693eSPhilip Paeps * 83c838a9fSAndrew Rybchenko * 1. Redistributions of source code must retain the above copyright notice, 93c838a9fSAndrew Rybchenko * this list of conditions and the following disclaimer. 103c838a9fSAndrew Rybchenko * 2. Redistributions in binary form must reproduce the above copyright notice, 113c838a9fSAndrew Rybchenko * this list of conditions and the following disclaimer in the documentation 123c838a9fSAndrew Rybchenko * and/or other materials provided with the distribution. 133c838a9fSAndrew Rybchenko * 143c838a9fSAndrew Rybchenko * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 153c838a9fSAndrew Rybchenko * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, 163c838a9fSAndrew Rybchenko * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 173c838a9fSAndrew Rybchenko * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 183c838a9fSAndrew Rybchenko * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 193c838a9fSAndrew Rybchenko * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 203c838a9fSAndrew Rybchenko * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 213c838a9fSAndrew Rybchenko * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 223c838a9fSAndrew Rybchenko * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 233c838a9fSAndrew Rybchenko * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 243c838a9fSAndrew Rybchenko * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 253c838a9fSAndrew Rybchenko * 263c838a9fSAndrew Rybchenko * The views and conclusions contained in the software and documentation are 273c838a9fSAndrew Rybchenko * those of the authors and should not be interpreted as representing official 283c838a9fSAndrew Rybchenko * policies, either expressed or implied, of the FreeBSD Project. 295dee87d7SPhilip Paeps * 305dee87d7SPhilip Paeps * $FreeBSD$ 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 /* 53e948693eSPhilip Paeps * PC_DEV_ID_REG(16bit): 54e948693eSPhilip Paeps * Device ID register 55e948693eSPhilip Paeps */ 56e948693eSPhilip Paeps 57e948693eSPhilip Paeps #define PCR_AZ_DEV_ID_REG 0x00000002 58e948693eSPhilip Paeps /* falcona0,falconb0,sienaa0,hunta0=pci_f0_config */ 59e948693eSPhilip Paeps 60e948693eSPhilip Paeps #define PCRF_AZ_DEV_ID_LBN 0 61e948693eSPhilip Paeps #define PCRF_AZ_DEV_ID_WIDTH 16 62e948693eSPhilip Paeps 63e948693eSPhilip Paeps 64e948693eSPhilip Paeps /* 65e948693eSPhilip Paeps * PC_CMD_REG(16bit): 66e948693eSPhilip Paeps * Command register 67e948693eSPhilip Paeps */ 68e948693eSPhilip Paeps 69e948693eSPhilip Paeps #define PCR_AZ_CMD_REG 0x00000004 70e948693eSPhilip Paeps /* falcona0,falconb0,sienaa0,hunta0=pci_f0_config */ 71e948693eSPhilip Paeps 72e948693eSPhilip Paeps #define PCRF_AZ_INTX_DIS_LBN 10 73e948693eSPhilip Paeps #define PCRF_AZ_INTX_DIS_WIDTH 1 74e948693eSPhilip Paeps #define PCRF_AZ_FB2B_EN_LBN 9 75e948693eSPhilip Paeps #define PCRF_AZ_FB2B_EN_WIDTH 1 76e948693eSPhilip Paeps #define PCRF_AZ_SERR_EN_LBN 8 77e948693eSPhilip Paeps #define PCRF_AZ_SERR_EN_WIDTH 1 78e948693eSPhilip Paeps #define PCRF_AZ_IDSEL_CTL_LBN 7 79e948693eSPhilip Paeps #define PCRF_AZ_IDSEL_CTL_WIDTH 1 80e948693eSPhilip Paeps #define PCRF_AZ_PERR_EN_LBN 6 81e948693eSPhilip Paeps #define PCRF_AZ_PERR_EN_WIDTH 1 82e948693eSPhilip Paeps #define PCRF_AZ_VGA_PAL_SNP_LBN 5 83e948693eSPhilip Paeps #define PCRF_AZ_VGA_PAL_SNP_WIDTH 1 84e948693eSPhilip Paeps #define PCRF_AZ_MWI_EN_LBN 4 85e948693eSPhilip Paeps #define PCRF_AZ_MWI_EN_WIDTH 1 86e948693eSPhilip Paeps #define PCRF_AZ_SPEC_CYC_LBN 3 87e948693eSPhilip Paeps #define PCRF_AZ_SPEC_CYC_WIDTH 1 88e948693eSPhilip Paeps #define PCRF_AZ_MST_EN_LBN 2 89e948693eSPhilip Paeps #define PCRF_AZ_MST_EN_WIDTH 1 90e948693eSPhilip Paeps #define PCRF_AZ_MEM_EN_LBN 1 91e948693eSPhilip Paeps #define PCRF_AZ_MEM_EN_WIDTH 1 92e948693eSPhilip Paeps #define PCRF_AZ_IO_EN_LBN 0 93e948693eSPhilip Paeps #define PCRF_AZ_IO_EN_WIDTH 1 94e948693eSPhilip Paeps 95e948693eSPhilip Paeps 96e948693eSPhilip Paeps /* 97e948693eSPhilip Paeps * PC_STAT_REG(16bit): 98e948693eSPhilip Paeps * Status register 99e948693eSPhilip Paeps */ 100e948693eSPhilip Paeps 101e948693eSPhilip Paeps #define PCR_AZ_STAT_REG 0x00000006 102e948693eSPhilip Paeps /* falcona0,falconb0,sienaa0,hunta0=pci_f0_config */ 103e948693eSPhilip Paeps 104e948693eSPhilip Paeps #define PCRF_AZ_DET_PERR_LBN 15 105e948693eSPhilip Paeps #define PCRF_AZ_DET_PERR_WIDTH 1 106e948693eSPhilip Paeps #define PCRF_AZ_SIG_SERR_LBN 14 107e948693eSPhilip Paeps #define PCRF_AZ_SIG_SERR_WIDTH 1 108e948693eSPhilip Paeps #define PCRF_AZ_GOT_MABRT_LBN 13 109e948693eSPhilip Paeps #define PCRF_AZ_GOT_MABRT_WIDTH 1 110e948693eSPhilip Paeps #define PCRF_AZ_GOT_TABRT_LBN 12 111e948693eSPhilip Paeps #define PCRF_AZ_GOT_TABRT_WIDTH 1 112e948693eSPhilip Paeps #define PCRF_AZ_SIG_TABRT_LBN 11 113e948693eSPhilip Paeps #define PCRF_AZ_SIG_TABRT_WIDTH 1 114e948693eSPhilip Paeps #define PCRF_AZ_DEVSEL_TIM_LBN 9 115e948693eSPhilip Paeps #define PCRF_AZ_DEVSEL_TIM_WIDTH 2 116e948693eSPhilip Paeps #define PCRF_AZ_MDAT_PERR_LBN 8 117e948693eSPhilip Paeps #define PCRF_AZ_MDAT_PERR_WIDTH 1 118e948693eSPhilip Paeps #define PCRF_AZ_FB2B_CAP_LBN 7 119e948693eSPhilip Paeps #define PCRF_AZ_FB2B_CAP_WIDTH 1 120e948693eSPhilip Paeps #define PCRF_AZ_66MHZ_CAP_LBN 5 121e948693eSPhilip Paeps #define PCRF_AZ_66MHZ_CAP_WIDTH 1 122e948693eSPhilip Paeps #define PCRF_AZ_CAP_LIST_LBN 4 123e948693eSPhilip Paeps #define PCRF_AZ_CAP_LIST_WIDTH 1 124e948693eSPhilip Paeps #define PCRF_AZ_INTX_STAT_LBN 3 125e948693eSPhilip Paeps #define PCRF_AZ_INTX_STAT_WIDTH 1 126e948693eSPhilip Paeps 127e948693eSPhilip Paeps 128e948693eSPhilip Paeps /* 129e948693eSPhilip Paeps * PC_REV_ID_REG(8bit): 130e948693eSPhilip Paeps * Class code & revision ID register 131e948693eSPhilip Paeps */ 132e948693eSPhilip Paeps 133e948693eSPhilip Paeps #define PCR_AZ_REV_ID_REG 0x00000008 134e948693eSPhilip Paeps /* falcona0,falconb0,sienaa0,hunta0=pci_f0_config */ 135e948693eSPhilip Paeps 136e948693eSPhilip Paeps #define PCRF_AZ_REV_ID_LBN 0 137e948693eSPhilip Paeps #define PCRF_AZ_REV_ID_WIDTH 8 138e948693eSPhilip Paeps 139e948693eSPhilip Paeps 140e948693eSPhilip Paeps /* 141e948693eSPhilip Paeps * PC_CC_REG(24bit): 142e948693eSPhilip Paeps * Class code register 143e948693eSPhilip Paeps */ 144e948693eSPhilip Paeps 145e948693eSPhilip Paeps #define PCR_AZ_CC_REG 0x00000009 146e948693eSPhilip Paeps /* falcona0,falconb0,sienaa0,hunta0=pci_f0_config */ 147e948693eSPhilip Paeps 148e948693eSPhilip Paeps #define PCRF_AZ_BASE_CC_LBN 16 149e948693eSPhilip Paeps #define PCRF_AZ_BASE_CC_WIDTH 8 150e948693eSPhilip Paeps #define PCRF_AZ_SUB_CC_LBN 8 151e948693eSPhilip Paeps #define PCRF_AZ_SUB_CC_WIDTH 8 152e948693eSPhilip Paeps #define PCRF_AZ_PROG_IF_LBN 0 153e948693eSPhilip Paeps #define PCRF_AZ_PROG_IF_WIDTH 8 154e948693eSPhilip Paeps 155e948693eSPhilip Paeps 156e948693eSPhilip Paeps /* 157e948693eSPhilip Paeps * PC_CACHE_LSIZE_REG(8bit): 158e948693eSPhilip Paeps * Cache line size 159e948693eSPhilip Paeps */ 160e948693eSPhilip Paeps 161e948693eSPhilip Paeps #define PCR_AZ_CACHE_LSIZE_REG 0x0000000c 162e948693eSPhilip Paeps /* falcona0,falconb0,sienaa0,hunta0=pci_f0_config */ 163e948693eSPhilip Paeps 164e948693eSPhilip Paeps #define PCRF_AZ_CACHE_LSIZE_LBN 0 165e948693eSPhilip Paeps #define PCRF_AZ_CACHE_LSIZE_WIDTH 8 166e948693eSPhilip Paeps 167e948693eSPhilip Paeps 168e948693eSPhilip Paeps /* 169e948693eSPhilip Paeps * PC_MST_LAT_REG(8bit): 170e948693eSPhilip Paeps * Master latency timer register 171e948693eSPhilip Paeps */ 172e948693eSPhilip Paeps 173e948693eSPhilip Paeps #define PCR_AZ_MST_LAT_REG 0x0000000d 174e948693eSPhilip Paeps /* falcona0,falconb0,sienaa0,hunta0=pci_f0_config */ 175e948693eSPhilip Paeps 176e948693eSPhilip Paeps #define PCRF_AZ_MST_LAT_LBN 0 177e948693eSPhilip Paeps #define PCRF_AZ_MST_LAT_WIDTH 8 178e948693eSPhilip Paeps 179e948693eSPhilip Paeps 180e948693eSPhilip Paeps /* 181e948693eSPhilip Paeps * PC_HDR_TYPE_REG(8bit): 182e948693eSPhilip Paeps * Header type register 183e948693eSPhilip Paeps */ 184e948693eSPhilip Paeps 185e948693eSPhilip Paeps #define PCR_AZ_HDR_TYPE_REG 0x0000000e 186e948693eSPhilip Paeps /* falcona0,falconb0,sienaa0,hunta0=pci_f0_config */ 187e948693eSPhilip Paeps 188e948693eSPhilip Paeps #define PCRF_AZ_MULT_FUNC_LBN 7 189e948693eSPhilip Paeps #define PCRF_AZ_MULT_FUNC_WIDTH 1 190e948693eSPhilip Paeps #define PCRF_AZ_TYPE_LBN 0 191e948693eSPhilip Paeps #define PCRF_AZ_TYPE_WIDTH 7 192e948693eSPhilip Paeps 193e948693eSPhilip Paeps 194e948693eSPhilip Paeps /* 195e948693eSPhilip Paeps * PC_BIST_REG(8bit): 196e948693eSPhilip Paeps * BIST register 197e948693eSPhilip Paeps */ 198e948693eSPhilip Paeps 199e948693eSPhilip Paeps #define PCR_AZ_BIST_REG 0x0000000f 200e948693eSPhilip Paeps /* falcona0,falconb0,sienaa0,hunta0=pci_f0_config */ 201e948693eSPhilip Paeps 202e948693eSPhilip Paeps #define PCRF_AZ_BIST_LBN 0 203e948693eSPhilip Paeps #define PCRF_AZ_BIST_WIDTH 8 204e948693eSPhilip Paeps 205e948693eSPhilip Paeps 206e948693eSPhilip Paeps /* 207e948693eSPhilip Paeps * PC_BAR0_REG(32bit): 208e948693eSPhilip Paeps * Primary function base address register 0 209e948693eSPhilip Paeps */ 210e948693eSPhilip Paeps 211e948693eSPhilip Paeps #define PCR_AZ_BAR0_REG 0x00000010 212e948693eSPhilip Paeps /* falcona0,falconb0,sienaa0,hunta0=pci_f0_config */ 213e948693eSPhilip Paeps 214e948693eSPhilip Paeps #define PCRF_AZ_BAR0_LBN 4 215e948693eSPhilip Paeps #define PCRF_AZ_BAR0_WIDTH 28 216e948693eSPhilip Paeps #define PCRF_AZ_BAR0_PREF_LBN 3 217e948693eSPhilip Paeps #define PCRF_AZ_BAR0_PREF_WIDTH 1 218e948693eSPhilip Paeps #define PCRF_AZ_BAR0_TYPE_LBN 1 219e948693eSPhilip Paeps #define PCRF_AZ_BAR0_TYPE_WIDTH 2 220e948693eSPhilip Paeps #define PCRF_AZ_BAR0_IOM_LBN 0 221e948693eSPhilip Paeps #define PCRF_AZ_BAR0_IOM_WIDTH 1 222e948693eSPhilip Paeps 223e948693eSPhilip Paeps 224e948693eSPhilip Paeps /* 225e948693eSPhilip Paeps * PC_BAR1_REG(32bit): 226e948693eSPhilip Paeps * Primary function base address register 1, BAR1 is not implemented so read only. 227e948693eSPhilip Paeps */ 228e948693eSPhilip Paeps 229e948693eSPhilip Paeps #define PCR_DZ_BAR1_REG 0x00000014 230e948693eSPhilip Paeps /* hunta0=pci_f0_config */ 231e948693eSPhilip Paeps 232e948693eSPhilip Paeps #define PCRF_DZ_BAR1_LBN 0 233e948693eSPhilip Paeps #define PCRF_DZ_BAR1_WIDTH 32 234e948693eSPhilip Paeps 235e948693eSPhilip Paeps 236e948693eSPhilip Paeps /* 237e948693eSPhilip Paeps * PC_BAR2_LO_REG(32bit): 238e948693eSPhilip Paeps * Primary function base address register 2 low bits 239e948693eSPhilip Paeps */ 240e948693eSPhilip Paeps 241e948693eSPhilip Paeps #define PCR_AZ_BAR2_LO_REG 0x00000018 242e948693eSPhilip Paeps /* falcona0,falconb0,sienaa0,hunta0=pci_f0_config */ 243e948693eSPhilip Paeps 244e948693eSPhilip Paeps #define PCRF_AZ_BAR2_LO_LBN 4 245e948693eSPhilip Paeps #define PCRF_AZ_BAR2_LO_WIDTH 28 246e948693eSPhilip Paeps #define PCRF_AZ_BAR2_PREF_LBN 3 247e948693eSPhilip Paeps #define PCRF_AZ_BAR2_PREF_WIDTH 1 248e948693eSPhilip Paeps #define PCRF_AZ_BAR2_TYPE_LBN 1 249e948693eSPhilip Paeps #define PCRF_AZ_BAR2_TYPE_WIDTH 2 250e948693eSPhilip Paeps #define PCRF_AZ_BAR2_IOM_LBN 0 251e948693eSPhilip Paeps #define PCRF_AZ_BAR2_IOM_WIDTH 1 252e948693eSPhilip Paeps 253e948693eSPhilip Paeps 254e948693eSPhilip Paeps /* 255e948693eSPhilip Paeps * PC_BAR2_HI_REG(32bit): 256e948693eSPhilip Paeps * Primary function base address register 2 high bits 257e948693eSPhilip Paeps */ 258e948693eSPhilip Paeps 259e948693eSPhilip Paeps #define PCR_AZ_BAR2_HI_REG 0x0000001c 260e948693eSPhilip Paeps /* falcona0,falconb0,sienaa0,hunta0=pci_f0_config */ 261e948693eSPhilip Paeps 262e948693eSPhilip Paeps #define PCRF_AZ_BAR2_HI_LBN 0 263e948693eSPhilip Paeps #define PCRF_AZ_BAR2_HI_WIDTH 32 264e948693eSPhilip Paeps 265e948693eSPhilip Paeps 266e948693eSPhilip Paeps /* 267e948693eSPhilip Paeps * PC_BAR4_LO_REG(32bit): 268e948693eSPhilip Paeps * Primary function base address register 2 low bits 269e948693eSPhilip Paeps */ 270e948693eSPhilip Paeps 271e948693eSPhilip Paeps #define PCR_CZ_BAR4_LO_REG 0x00000020 272e948693eSPhilip Paeps /* sienaa0,hunta0=pci_f0_config */ 273e948693eSPhilip Paeps 274e948693eSPhilip Paeps #define PCRF_CZ_BAR4_LO_LBN 4 275e948693eSPhilip Paeps #define PCRF_CZ_BAR4_LO_WIDTH 28 276e948693eSPhilip Paeps #define PCRF_CZ_BAR4_PREF_LBN 3 277e948693eSPhilip Paeps #define PCRF_CZ_BAR4_PREF_WIDTH 1 278e948693eSPhilip Paeps #define PCRF_CZ_BAR4_TYPE_LBN 1 279e948693eSPhilip Paeps #define PCRF_CZ_BAR4_TYPE_WIDTH 2 280e948693eSPhilip Paeps #define PCRF_CZ_BAR4_IOM_LBN 0 281e948693eSPhilip Paeps #define PCRF_CZ_BAR4_IOM_WIDTH 1 282e948693eSPhilip Paeps 283e948693eSPhilip Paeps 284e948693eSPhilip Paeps /* 285e948693eSPhilip Paeps * PC_BAR4_HI_REG(32bit): 286e948693eSPhilip Paeps * Primary function base address register 2 high bits 287e948693eSPhilip Paeps */ 288e948693eSPhilip Paeps 289e948693eSPhilip Paeps #define PCR_CZ_BAR4_HI_REG 0x00000024 290e948693eSPhilip Paeps /* sienaa0,hunta0=pci_f0_config */ 291e948693eSPhilip Paeps 292e948693eSPhilip Paeps #define PCRF_CZ_BAR4_HI_LBN 0 293e948693eSPhilip Paeps #define PCRF_CZ_BAR4_HI_WIDTH 32 294e948693eSPhilip Paeps 295e948693eSPhilip Paeps 296e948693eSPhilip Paeps /* 297e948693eSPhilip Paeps * PC_SS_VEND_ID_REG(16bit): 298e948693eSPhilip Paeps * Sub-system vendor ID register 299e948693eSPhilip Paeps */ 300e948693eSPhilip Paeps 301e948693eSPhilip Paeps #define PCR_AZ_SS_VEND_ID_REG 0x0000002c 302e948693eSPhilip Paeps /* falcona0,falconb0,sienaa0,hunta0=pci_f0_config */ 303e948693eSPhilip Paeps 304e948693eSPhilip Paeps #define PCRF_AZ_SS_VEND_ID_LBN 0 305e948693eSPhilip Paeps #define PCRF_AZ_SS_VEND_ID_WIDTH 16 306e948693eSPhilip Paeps 307e948693eSPhilip Paeps 308e948693eSPhilip Paeps /* 309e948693eSPhilip Paeps * PC_SS_ID_REG(16bit): 310e948693eSPhilip Paeps * Sub-system ID register 311e948693eSPhilip Paeps */ 312e948693eSPhilip Paeps 313e948693eSPhilip Paeps #define PCR_AZ_SS_ID_REG 0x0000002e 314e948693eSPhilip Paeps /* falcona0,falconb0,sienaa0,hunta0=pci_f0_config */ 315e948693eSPhilip Paeps 316e948693eSPhilip Paeps #define PCRF_AZ_SS_ID_LBN 0 317e948693eSPhilip Paeps #define PCRF_AZ_SS_ID_WIDTH 16 318e948693eSPhilip Paeps 319e948693eSPhilip Paeps 320e948693eSPhilip Paeps /* 321e948693eSPhilip Paeps * PC_EXPROM_BAR_REG(32bit): 322e948693eSPhilip Paeps * Expansion ROM base address register 323e948693eSPhilip Paeps */ 324e948693eSPhilip Paeps 325e948693eSPhilip Paeps #define PCR_AZ_EXPROM_BAR_REG 0x00000030 326e948693eSPhilip Paeps /* falcona0,falconb0,sienaa0,hunta0=pci_f0_config */ 327e948693eSPhilip Paeps 328e948693eSPhilip Paeps #define PCRF_AZ_EXPROM_BAR_LBN 11 329e948693eSPhilip Paeps #define PCRF_AZ_EXPROM_BAR_WIDTH 21 330e948693eSPhilip Paeps #define PCRF_AB_EXPROM_MIN_SIZE_LBN 2 331e948693eSPhilip Paeps #define PCRF_AB_EXPROM_MIN_SIZE_WIDTH 9 332e948693eSPhilip Paeps #define PCRF_CZ_EXPROM_MIN_SIZE_LBN 1 333e948693eSPhilip Paeps #define PCRF_CZ_EXPROM_MIN_SIZE_WIDTH 10 334e948693eSPhilip Paeps #define PCRF_AB_EXPROM_FEATURE_ENABLE_LBN 1 335e948693eSPhilip Paeps #define PCRF_AB_EXPROM_FEATURE_ENABLE_WIDTH 1 336e948693eSPhilip Paeps #define PCRF_AZ_EXPROM_EN_LBN 0 337e948693eSPhilip Paeps #define PCRF_AZ_EXPROM_EN_WIDTH 1 338e948693eSPhilip Paeps 339e948693eSPhilip Paeps 340e948693eSPhilip Paeps /* 341e948693eSPhilip Paeps * PC_CAP_PTR_REG(8bit): 342e948693eSPhilip Paeps * Capability pointer register 343e948693eSPhilip Paeps */ 344e948693eSPhilip Paeps 345e948693eSPhilip Paeps #define PCR_AZ_CAP_PTR_REG 0x00000034 346e948693eSPhilip Paeps /* falcona0,falconb0,sienaa0,hunta0=pci_f0_config */ 347e948693eSPhilip Paeps 348e948693eSPhilip Paeps #define PCRF_AZ_CAP_PTR_LBN 0 349e948693eSPhilip Paeps #define PCRF_AZ_CAP_PTR_WIDTH 8 350e948693eSPhilip Paeps 351e948693eSPhilip Paeps 352e948693eSPhilip Paeps /* 353e948693eSPhilip Paeps * PC_INT_LINE_REG(8bit): 354e948693eSPhilip Paeps * Interrupt line register 355e948693eSPhilip Paeps */ 356e948693eSPhilip Paeps 357e948693eSPhilip Paeps #define PCR_AZ_INT_LINE_REG 0x0000003c 358e948693eSPhilip Paeps /* falcona0,falconb0,sienaa0,hunta0=pci_f0_config */ 359e948693eSPhilip Paeps 360e948693eSPhilip Paeps #define PCRF_AZ_INT_LINE_LBN 0 361e948693eSPhilip Paeps #define PCRF_AZ_INT_LINE_WIDTH 8 362e948693eSPhilip Paeps 363e948693eSPhilip Paeps 364e948693eSPhilip Paeps /* 365e948693eSPhilip Paeps * PC_INT_PIN_REG(8bit): 366e948693eSPhilip Paeps * Interrupt pin register 367e948693eSPhilip Paeps */ 368e948693eSPhilip Paeps 369e948693eSPhilip Paeps #define PCR_AZ_INT_PIN_REG 0x0000003d 370e948693eSPhilip Paeps /* falcona0,falconb0,sienaa0,hunta0=pci_f0_config */ 371e948693eSPhilip Paeps 372e948693eSPhilip Paeps #define PCRF_AZ_INT_PIN_LBN 0 373e948693eSPhilip Paeps #define PCRF_AZ_INT_PIN_WIDTH 8 3743c838a9fSAndrew Rybchenko #define PCFE_DZ_INTPIN_INTD 4 3753c838a9fSAndrew Rybchenko #define PCFE_DZ_INTPIN_INTC 3 3763c838a9fSAndrew Rybchenko #define PCFE_DZ_INTPIN_INTB 2 3773c838a9fSAndrew Rybchenko #define PCFE_DZ_INTPIN_INTA 1 378e948693eSPhilip Paeps 379e948693eSPhilip Paeps 380e948693eSPhilip Paeps /* 381e948693eSPhilip Paeps * PC_PM_CAP_ID_REG(8bit): 382e948693eSPhilip Paeps * Power management capability ID 383e948693eSPhilip Paeps */ 384e948693eSPhilip Paeps 3853c838a9fSAndrew Rybchenko #define PCR_AZ_PM_CAP_ID_REG 0x00000040 3863c838a9fSAndrew Rybchenko /* falcona0,falconb0,sienaa0,hunta0=pci_f0_config */ 387e948693eSPhilip Paeps 388e948693eSPhilip Paeps #define PCRF_AZ_PM_CAP_ID_LBN 0 389e948693eSPhilip Paeps #define PCRF_AZ_PM_CAP_ID_WIDTH 8 390e948693eSPhilip Paeps 391e948693eSPhilip Paeps 392e948693eSPhilip Paeps /* 393e948693eSPhilip Paeps * PC_PM_NXT_PTR_REG(8bit): 394e948693eSPhilip Paeps * Power management next item pointer 395e948693eSPhilip Paeps */ 396e948693eSPhilip Paeps 3973c838a9fSAndrew Rybchenko #define PCR_AZ_PM_NXT_PTR_REG 0x00000041 3983c838a9fSAndrew Rybchenko /* falcona0,falconb0,sienaa0,hunta0=pci_f0_config */ 399e948693eSPhilip Paeps 400e948693eSPhilip Paeps #define PCRF_AZ_PM_NXT_PTR_LBN 0 401e948693eSPhilip Paeps #define PCRF_AZ_PM_NXT_PTR_WIDTH 8 402e948693eSPhilip Paeps 403e948693eSPhilip Paeps 404e948693eSPhilip Paeps /* 405e948693eSPhilip Paeps * PC_PM_CAP_REG(16bit): 406e948693eSPhilip Paeps * Power management capabilities register 407e948693eSPhilip Paeps */ 408e948693eSPhilip Paeps 4093c838a9fSAndrew Rybchenko #define PCR_AZ_PM_CAP_REG 0x00000042 4103c838a9fSAndrew Rybchenko /* falcona0,falconb0,sienaa0,hunta0=pci_f0_config */ 411e948693eSPhilip Paeps 412e948693eSPhilip Paeps #define PCRF_AZ_PM_PME_SUPT_LBN 11 413e948693eSPhilip Paeps #define PCRF_AZ_PM_PME_SUPT_WIDTH 5 414e948693eSPhilip Paeps #define PCRF_AZ_PM_D2_SUPT_LBN 10 415e948693eSPhilip Paeps #define PCRF_AZ_PM_D2_SUPT_WIDTH 1 416e948693eSPhilip Paeps #define PCRF_AZ_PM_D1_SUPT_LBN 9 417e948693eSPhilip Paeps #define PCRF_AZ_PM_D1_SUPT_WIDTH 1 418e948693eSPhilip Paeps #define PCRF_AZ_PM_AUX_CURR_LBN 6 419e948693eSPhilip Paeps #define PCRF_AZ_PM_AUX_CURR_WIDTH 3 420e948693eSPhilip Paeps #define PCRF_AZ_PM_DSI_LBN 5 421e948693eSPhilip Paeps #define PCRF_AZ_PM_DSI_WIDTH 1 422e948693eSPhilip Paeps #define PCRF_AZ_PM_PME_CLK_LBN 3 423e948693eSPhilip Paeps #define PCRF_AZ_PM_PME_CLK_WIDTH 1 424e948693eSPhilip Paeps #define PCRF_AZ_PM_PME_VER_LBN 0 425e948693eSPhilip Paeps #define PCRF_AZ_PM_PME_VER_WIDTH 3 426e948693eSPhilip Paeps 427e948693eSPhilip Paeps 428e948693eSPhilip Paeps /* 429e948693eSPhilip Paeps * PC_PM_CS_REG(16bit): 430e948693eSPhilip Paeps * Power management control & status register 431e948693eSPhilip Paeps */ 432e948693eSPhilip Paeps 4333c838a9fSAndrew Rybchenko #define PCR_AZ_PM_CS_REG 0x00000044 4343c838a9fSAndrew Rybchenko /* falcona0,falconb0,sienaa0,hunta0=pci_f0_config */ 435e948693eSPhilip Paeps 436e948693eSPhilip Paeps #define PCRF_AZ_PM_PME_STAT_LBN 15 437e948693eSPhilip Paeps #define PCRF_AZ_PM_PME_STAT_WIDTH 1 438e948693eSPhilip Paeps #define PCRF_AZ_PM_DAT_SCALE_LBN 13 439e948693eSPhilip Paeps #define PCRF_AZ_PM_DAT_SCALE_WIDTH 2 440e948693eSPhilip Paeps #define PCRF_AZ_PM_DAT_SEL_LBN 9 441e948693eSPhilip Paeps #define PCRF_AZ_PM_DAT_SEL_WIDTH 4 442e948693eSPhilip Paeps #define PCRF_AZ_PM_PME_EN_LBN 8 443e948693eSPhilip Paeps #define PCRF_AZ_PM_PME_EN_WIDTH 1 444e948693eSPhilip Paeps #define PCRF_CZ_NO_SOFT_RESET_LBN 3 445e948693eSPhilip Paeps #define PCRF_CZ_NO_SOFT_RESET_WIDTH 1 446e948693eSPhilip Paeps #define PCRF_AZ_PM_PWR_ST_LBN 0 447e948693eSPhilip Paeps #define PCRF_AZ_PM_PWR_ST_WIDTH 2 448e948693eSPhilip Paeps 449e948693eSPhilip Paeps 450e948693eSPhilip Paeps /* 451e948693eSPhilip Paeps * PC_MSI_CAP_ID_REG(8bit): 452e948693eSPhilip Paeps * MSI capability ID 453e948693eSPhilip Paeps */ 454e948693eSPhilip Paeps 4553c838a9fSAndrew Rybchenko #define PCR_AZ_MSI_CAP_ID_REG 0x00000050 4563c838a9fSAndrew Rybchenko /* falcona0,falconb0,sienaa0,hunta0=pci_f0_config */ 457e948693eSPhilip Paeps 458e948693eSPhilip Paeps #define PCRF_AZ_MSI_CAP_ID_LBN 0 459e948693eSPhilip Paeps #define PCRF_AZ_MSI_CAP_ID_WIDTH 8 460e948693eSPhilip Paeps 461e948693eSPhilip Paeps 462e948693eSPhilip Paeps /* 463e948693eSPhilip Paeps * PC_MSI_NXT_PTR_REG(8bit): 464e948693eSPhilip Paeps * MSI next item pointer 465e948693eSPhilip Paeps */ 466e948693eSPhilip Paeps 4673c838a9fSAndrew Rybchenko #define PCR_AZ_MSI_NXT_PTR_REG 0x00000051 4683c838a9fSAndrew Rybchenko /* falcona0,falconb0,sienaa0,hunta0=pci_f0_config */ 469e948693eSPhilip Paeps 470e948693eSPhilip Paeps #define PCRF_AZ_MSI_NXT_PTR_LBN 0 471e948693eSPhilip Paeps #define PCRF_AZ_MSI_NXT_PTR_WIDTH 8 472e948693eSPhilip Paeps 473e948693eSPhilip Paeps 474e948693eSPhilip Paeps /* 475e948693eSPhilip Paeps * PC_MSI_CTL_REG(16bit): 476e948693eSPhilip Paeps * MSI control register 477e948693eSPhilip Paeps */ 478e948693eSPhilip Paeps 4793c838a9fSAndrew Rybchenko #define PCR_AZ_MSI_CTL_REG 0x00000052 4803c838a9fSAndrew Rybchenko /* falcona0,falconb0,sienaa0,hunta0=pci_f0_config */ 481e948693eSPhilip Paeps 482e948693eSPhilip Paeps #define PCRF_AZ_MSI_64_EN_LBN 7 483e948693eSPhilip Paeps #define PCRF_AZ_MSI_64_EN_WIDTH 1 484e948693eSPhilip Paeps #define PCRF_AZ_MSI_MULT_MSG_EN_LBN 4 485e948693eSPhilip Paeps #define PCRF_AZ_MSI_MULT_MSG_EN_WIDTH 3 486e948693eSPhilip Paeps #define PCRF_AZ_MSI_MULT_MSG_CAP_LBN 1 487e948693eSPhilip Paeps #define PCRF_AZ_MSI_MULT_MSG_CAP_WIDTH 3 488e948693eSPhilip Paeps #define PCRF_AZ_MSI_EN_LBN 0 489e948693eSPhilip Paeps #define PCRF_AZ_MSI_EN_WIDTH 1 490e948693eSPhilip Paeps 491e948693eSPhilip Paeps 492e948693eSPhilip Paeps /* 493e948693eSPhilip Paeps * PC_MSI_ADR_LO_REG(32bit): 494e948693eSPhilip Paeps * MSI low 32 bits address register 495e948693eSPhilip Paeps */ 496e948693eSPhilip Paeps 4973c838a9fSAndrew Rybchenko #define PCR_AZ_MSI_ADR_LO_REG 0x00000054 4983c838a9fSAndrew Rybchenko /* falcona0,falconb0,sienaa0,hunta0=pci_f0_config */ 499e948693eSPhilip Paeps 500e948693eSPhilip Paeps #define PCRF_AZ_MSI_ADR_LO_LBN 2 501e948693eSPhilip Paeps #define PCRF_AZ_MSI_ADR_LO_WIDTH 30 502e948693eSPhilip Paeps 503e948693eSPhilip Paeps 504e948693eSPhilip Paeps /* 505e948693eSPhilip Paeps * PC_MSI_ADR_HI_REG(32bit): 506e948693eSPhilip Paeps * MSI high 32 bits address register 507e948693eSPhilip Paeps */ 508e948693eSPhilip Paeps 5093c838a9fSAndrew Rybchenko #define PCR_AZ_MSI_ADR_HI_REG 0x00000058 5103c838a9fSAndrew Rybchenko /* falcona0,falconb0,sienaa0,hunta0=pci_f0_config */ 511e948693eSPhilip Paeps 512e948693eSPhilip Paeps #define PCRF_AZ_MSI_ADR_HI_LBN 0 513e948693eSPhilip Paeps #define PCRF_AZ_MSI_ADR_HI_WIDTH 32 514e948693eSPhilip Paeps 515e948693eSPhilip Paeps 516e948693eSPhilip Paeps /* 517e948693eSPhilip Paeps * PC_MSI_DAT_REG(16bit): 518e948693eSPhilip Paeps * MSI data register 519e948693eSPhilip Paeps */ 520e948693eSPhilip Paeps 5213c838a9fSAndrew Rybchenko #define PCR_AZ_MSI_DAT_REG 0x0000005c 5223c838a9fSAndrew Rybchenko /* falcona0,falconb0,sienaa0,hunta0=pci_f0_config */ 523e948693eSPhilip Paeps 524e948693eSPhilip Paeps #define PCRF_AZ_MSI_DAT_LBN 0 525e948693eSPhilip Paeps #define PCRF_AZ_MSI_DAT_WIDTH 16 526e948693eSPhilip Paeps 527e948693eSPhilip Paeps 528e948693eSPhilip Paeps /* 529e948693eSPhilip Paeps * PC_PCIE_CAP_LIST_REG(16bit): 530e948693eSPhilip Paeps * PCIe capability list register 531e948693eSPhilip Paeps */ 532e948693eSPhilip Paeps 533e948693eSPhilip Paeps #define PCR_AB_PCIE_CAP_LIST_REG 0x00000060 534e948693eSPhilip Paeps /* falcona0,falconb0=pci_f0_config */ 535e948693eSPhilip Paeps 5363c838a9fSAndrew Rybchenko #define PCR_CZ_PCIE_CAP_LIST_REG 0x00000070 5373c838a9fSAndrew Rybchenko /* sienaa0,hunta0=pci_f0_config */ 538e948693eSPhilip Paeps 539e948693eSPhilip Paeps #define PCRF_AZ_PCIE_NXT_PTR_LBN 8 540e948693eSPhilip Paeps #define PCRF_AZ_PCIE_NXT_PTR_WIDTH 8 541e948693eSPhilip Paeps #define PCRF_AZ_PCIE_CAP_ID_LBN 0 542e948693eSPhilip Paeps #define PCRF_AZ_PCIE_CAP_ID_WIDTH 8 543e948693eSPhilip Paeps 544e948693eSPhilip Paeps 545e948693eSPhilip Paeps /* 546e948693eSPhilip Paeps * PC_PCIE_CAP_REG(16bit): 547e948693eSPhilip Paeps * PCIe capability register 548e948693eSPhilip Paeps */ 549e948693eSPhilip Paeps 550e948693eSPhilip Paeps #define PCR_AB_PCIE_CAP_REG 0x00000062 551e948693eSPhilip Paeps /* falcona0,falconb0=pci_f0_config */ 552e948693eSPhilip Paeps 5533c838a9fSAndrew Rybchenko #define PCR_CZ_PCIE_CAP_REG 0x00000072 5543c838a9fSAndrew Rybchenko /* sienaa0,hunta0=pci_f0_config */ 555e948693eSPhilip Paeps 556e948693eSPhilip Paeps #define PCRF_AZ_PCIE_INT_MSG_NUM_LBN 9 557e948693eSPhilip Paeps #define PCRF_AZ_PCIE_INT_MSG_NUM_WIDTH 5 558e948693eSPhilip Paeps #define PCRF_AZ_PCIE_SLOT_IMP_LBN 8 559e948693eSPhilip Paeps #define PCRF_AZ_PCIE_SLOT_IMP_WIDTH 1 560e948693eSPhilip Paeps #define PCRF_AZ_PCIE_DEV_PORT_TYPE_LBN 4 561e948693eSPhilip Paeps #define PCRF_AZ_PCIE_DEV_PORT_TYPE_WIDTH 4 562e948693eSPhilip Paeps #define PCRF_AZ_PCIE_CAP_VER_LBN 0 563e948693eSPhilip Paeps #define PCRF_AZ_PCIE_CAP_VER_WIDTH 4 564e948693eSPhilip Paeps 565e948693eSPhilip Paeps 566e948693eSPhilip Paeps /* 567e948693eSPhilip Paeps * PC_DEV_CAP_REG(32bit): 568e948693eSPhilip Paeps * PCIe device capabilities register 569e948693eSPhilip Paeps */ 570e948693eSPhilip Paeps 571e948693eSPhilip Paeps #define PCR_AB_DEV_CAP_REG 0x00000064 572e948693eSPhilip Paeps /* falcona0,falconb0=pci_f0_config */ 573e948693eSPhilip Paeps 5743c838a9fSAndrew Rybchenko #define PCR_CZ_DEV_CAP_REG 0x00000074 5753c838a9fSAndrew Rybchenko /* sienaa0=pci_f0_config,hunta0=pci_f0_config */ 576e948693eSPhilip Paeps 577e948693eSPhilip Paeps #define PCRF_CZ_CAP_FN_LEVEL_RESET_LBN 28 578e948693eSPhilip Paeps #define PCRF_CZ_CAP_FN_LEVEL_RESET_WIDTH 1 579e948693eSPhilip Paeps #define PCRF_AZ_CAP_SLOT_PWR_SCL_LBN 26 580e948693eSPhilip Paeps #define PCRF_AZ_CAP_SLOT_PWR_SCL_WIDTH 2 581e948693eSPhilip Paeps #define PCRF_AZ_CAP_SLOT_PWR_VAL_LBN 18 582e948693eSPhilip Paeps #define PCRF_AZ_CAP_SLOT_PWR_VAL_WIDTH 8 583e948693eSPhilip Paeps #define PCRF_CZ_ROLE_BASE_ERR_REPORTING_LBN 15 584e948693eSPhilip Paeps #define PCRF_CZ_ROLE_BASE_ERR_REPORTING_WIDTH 1 585e948693eSPhilip Paeps #define PCRF_AB_PWR_IND_LBN 14 586e948693eSPhilip Paeps #define PCRF_AB_PWR_IND_WIDTH 1 587e948693eSPhilip Paeps #define PCRF_AB_ATTN_IND_LBN 13 588e948693eSPhilip Paeps #define PCRF_AB_ATTN_IND_WIDTH 1 589e948693eSPhilip Paeps #define PCRF_AB_ATTN_BUTTON_LBN 12 590e948693eSPhilip Paeps #define PCRF_AB_ATTN_BUTTON_WIDTH 1 591e948693eSPhilip Paeps #define PCRF_AZ_ENDPT_L1_LAT_LBN 9 592e948693eSPhilip Paeps #define PCRF_AZ_ENDPT_L1_LAT_WIDTH 3 593e948693eSPhilip Paeps #define PCRF_AZ_ENDPT_L0_LAT_LBN 6 594e948693eSPhilip Paeps #define PCRF_AZ_ENDPT_L0_LAT_WIDTH 3 595e948693eSPhilip Paeps #define PCRF_AZ_TAG_FIELD_LBN 5 596e948693eSPhilip Paeps #define PCRF_AZ_TAG_FIELD_WIDTH 1 597e948693eSPhilip Paeps #define PCRF_AZ_PHAN_FUNC_LBN 3 598e948693eSPhilip Paeps #define PCRF_AZ_PHAN_FUNC_WIDTH 2 599e948693eSPhilip Paeps #define PCRF_AZ_MAX_PAYL_SIZE_SUPT_LBN 0 600e948693eSPhilip Paeps #define PCRF_AZ_MAX_PAYL_SIZE_SUPT_WIDTH 3 601e948693eSPhilip Paeps 602e948693eSPhilip Paeps 603e948693eSPhilip Paeps /* 604e948693eSPhilip Paeps * PC_DEV_CTL_REG(16bit): 605e948693eSPhilip Paeps * PCIe device control register 606e948693eSPhilip Paeps */ 607e948693eSPhilip Paeps 608e948693eSPhilip Paeps #define PCR_AB_DEV_CTL_REG 0x00000068 609e948693eSPhilip Paeps /* falcona0,falconb0=pci_f0_config */ 610e948693eSPhilip Paeps 6113c838a9fSAndrew Rybchenko #define PCR_CZ_DEV_CTL_REG 0x00000078 6123c838a9fSAndrew Rybchenko /* sienaa0,hunta0=pci_f0_config */ 613e948693eSPhilip Paeps 614e948693eSPhilip Paeps #define PCRF_CZ_FN_LEVEL_RESET_LBN 15 615e948693eSPhilip Paeps #define PCRF_CZ_FN_LEVEL_RESET_WIDTH 1 616e948693eSPhilip Paeps #define PCRF_AZ_MAX_RD_REQ_SIZE_LBN 12 617e948693eSPhilip Paeps #define PCRF_AZ_MAX_RD_REQ_SIZE_WIDTH 3 618e948693eSPhilip Paeps #define PCFE_AZ_MAX_RD_REQ_SIZE_4096 5 619e948693eSPhilip Paeps #define PCFE_AZ_MAX_RD_REQ_SIZE_2048 4 620e948693eSPhilip Paeps #define PCFE_AZ_MAX_RD_REQ_SIZE_1024 3 621e948693eSPhilip Paeps #define PCFE_AZ_MAX_RD_REQ_SIZE_512 2 622e948693eSPhilip Paeps #define PCFE_AZ_MAX_RD_REQ_SIZE_256 1 623e948693eSPhilip Paeps #define PCFE_AZ_MAX_RD_REQ_SIZE_128 0 624e948693eSPhilip Paeps #define PCRF_AZ_EN_NO_SNOOP_LBN 11 625e948693eSPhilip Paeps #define PCRF_AZ_EN_NO_SNOOP_WIDTH 1 626e948693eSPhilip Paeps #define PCRF_AZ_AUX_PWR_PM_EN_LBN 10 627e948693eSPhilip Paeps #define PCRF_AZ_AUX_PWR_PM_EN_WIDTH 1 628e948693eSPhilip Paeps #define PCRF_AZ_PHAN_FUNC_EN_LBN 9 629e948693eSPhilip Paeps #define PCRF_AZ_PHAN_FUNC_EN_WIDTH 1 630e948693eSPhilip Paeps #define PCRF_AB_DEV_CAP_REG_RSVD0_LBN 8 631e948693eSPhilip Paeps #define PCRF_AB_DEV_CAP_REG_RSVD0_WIDTH 1 632e948693eSPhilip Paeps #define PCRF_CZ_EXTENDED_TAG_EN_LBN 8 633e948693eSPhilip Paeps #define PCRF_CZ_EXTENDED_TAG_EN_WIDTH 1 634e948693eSPhilip Paeps #define PCRF_AZ_MAX_PAYL_SIZE_LBN 5 635e948693eSPhilip Paeps #define PCRF_AZ_MAX_PAYL_SIZE_WIDTH 3 636e948693eSPhilip Paeps #define PCFE_AZ_MAX_PAYL_SIZE_4096 5 637e948693eSPhilip Paeps #define PCFE_AZ_MAX_PAYL_SIZE_2048 4 638e948693eSPhilip Paeps #define PCFE_AZ_MAX_PAYL_SIZE_1024 3 639e948693eSPhilip Paeps #define PCFE_AZ_MAX_PAYL_SIZE_512 2 640e948693eSPhilip Paeps #define PCFE_AZ_MAX_PAYL_SIZE_256 1 641e948693eSPhilip Paeps #define PCFE_AZ_MAX_PAYL_SIZE_128 0 642e948693eSPhilip Paeps #define PCRF_AZ_EN_RELAX_ORDER_LBN 4 643e948693eSPhilip Paeps #define PCRF_AZ_EN_RELAX_ORDER_WIDTH 1 644e948693eSPhilip Paeps #define PCRF_AZ_UNSUP_REQ_RPT_EN_LBN 3 645e948693eSPhilip Paeps #define PCRF_AZ_UNSUP_REQ_RPT_EN_WIDTH 1 646e948693eSPhilip Paeps #define PCRF_AZ_FATAL_ERR_RPT_EN_LBN 2 647e948693eSPhilip Paeps #define PCRF_AZ_FATAL_ERR_RPT_EN_WIDTH 1 648e948693eSPhilip Paeps #define PCRF_AZ_NONFATAL_ERR_RPT_EN_LBN 1 649e948693eSPhilip Paeps #define PCRF_AZ_NONFATAL_ERR_RPT_EN_WIDTH 1 650e948693eSPhilip Paeps #define PCRF_AZ_CORR_ERR_RPT_EN_LBN 0 651e948693eSPhilip Paeps #define PCRF_AZ_CORR_ERR_RPT_EN_WIDTH 1 652e948693eSPhilip Paeps 653e948693eSPhilip Paeps 654e948693eSPhilip Paeps /* 655e948693eSPhilip Paeps * PC_DEV_STAT_REG(16bit): 656e948693eSPhilip Paeps * PCIe device status register 657e948693eSPhilip Paeps */ 658e948693eSPhilip Paeps 659e948693eSPhilip Paeps #define PCR_AB_DEV_STAT_REG 0x0000006a 660e948693eSPhilip Paeps /* falcona0,falconb0=pci_f0_config */ 661e948693eSPhilip Paeps 6623c838a9fSAndrew Rybchenko #define PCR_CZ_DEV_STAT_REG 0x0000007a 6633c838a9fSAndrew Rybchenko /* sienaa0,hunta0=pci_f0_config */ 664e948693eSPhilip Paeps 665e948693eSPhilip Paeps #define PCRF_AZ_TRNS_PEND_LBN 5 666e948693eSPhilip Paeps #define PCRF_AZ_TRNS_PEND_WIDTH 1 667e948693eSPhilip Paeps #define PCRF_AZ_AUX_PWR_DET_LBN 4 668e948693eSPhilip Paeps #define PCRF_AZ_AUX_PWR_DET_WIDTH 1 669e948693eSPhilip Paeps #define PCRF_AZ_UNSUP_REQ_DET_LBN 3 670e948693eSPhilip Paeps #define PCRF_AZ_UNSUP_REQ_DET_WIDTH 1 671e948693eSPhilip Paeps #define PCRF_AZ_FATAL_ERR_DET_LBN 2 672e948693eSPhilip Paeps #define PCRF_AZ_FATAL_ERR_DET_WIDTH 1 673e948693eSPhilip Paeps #define PCRF_AZ_NONFATAL_ERR_DET_LBN 1 674e948693eSPhilip Paeps #define PCRF_AZ_NONFATAL_ERR_DET_WIDTH 1 675e948693eSPhilip Paeps #define PCRF_AZ_CORR_ERR_DET_LBN 0 676e948693eSPhilip Paeps #define PCRF_AZ_CORR_ERR_DET_WIDTH 1 677e948693eSPhilip Paeps 678e948693eSPhilip Paeps 679e948693eSPhilip Paeps /* 680e948693eSPhilip Paeps * PC_LNK_CAP_REG(32bit): 681e948693eSPhilip Paeps * PCIe link capabilities register 682e948693eSPhilip Paeps */ 683e948693eSPhilip Paeps 684e948693eSPhilip Paeps #define PCR_AB_LNK_CAP_REG 0x0000006c 685e948693eSPhilip Paeps /* falcona0,falconb0=pci_f0_config */ 686e948693eSPhilip Paeps 6873c838a9fSAndrew Rybchenko #define PCR_CZ_LNK_CAP_REG 0x0000007c 6883c838a9fSAndrew Rybchenko /* sienaa0,hunta0=pci_f0_config */ 689e948693eSPhilip Paeps 690e948693eSPhilip Paeps #define PCRF_AZ_PORT_NUM_LBN 24 691e948693eSPhilip Paeps #define PCRF_AZ_PORT_NUM_WIDTH 8 6923c838a9fSAndrew Rybchenko #define PCRF_DZ_ASPM_OPTIONALITY_CAP_LBN 22 6933c838a9fSAndrew Rybchenko #define PCRF_DZ_ASPM_OPTIONALITY_CAP_WIDTH 1 694e948693eSPhilip Paeps #define PCRF_CZ_LINK_BWDITH_NOTIF_CAP_LBN 21 695e948693eSPhilip Paeps #define PCRF_CZ_LINK_BWDITH_NOTIF_CAP_WIDTH 1 696e948693eSPhilip Paeps #define PCRF_CZ_DATA_LINK_ACTIVE_RPT_CAP_LBN 20 697e948693eSPhilip Paeps #define PCRF_CZ_DATA_LINK_ACTIVE_RPT_CAP_WIDTH 1 698e948693eSPhilip Paeps #define PCRF_CZ_SURPISE_DOWN_RPT_CAP_LBN 19 699e948693eSPhilip Paeps #define PCRF_CZ_SURPISE_DOWN_RPT_CAP_WIDTH 1 700e948693eSPhilip Paeps #define PCRF_CZ_CLOCK_PWR_MNGMNT_CAP_LBN 18 701e948693eSPhilip Paeps #define PCRF_CZ_CLOCK_PWR_MNGMNT_CAP_WIDTH 1 702e948693eSPhilip Paeps #define PCRF_AZ_DEF_L1_EXIT_LAT_LBN 15 703e948693eSPhilip Paeps #define PCRF_AZ_DEF_L1_EXIT_LAT_WIDTH 3 704e948693eSPhilip Paeps #define PCRF_AZ_DEF_L0_EXIT_LATPORT_NUM_LBN 12 705e948693eSPhilip Paeps #define PCRF_AZ_DEF_L0_EXIT_LATPORT_NUM_WIDTH 3 706e948693eSPhilip Paeps #define PCRF_AZ_AS_LNK_PM_SUPT_LBN 10 707e948693eSPhilip Paeps #define PCRF_AZ_AS_LNK_PM_SUPT_WIDTH 2 708e948693eSPhilip Paeps #define PCRF_AZ_MAX_LNK_WIDTH_LBN 4 709e948693eSPhilip Paeps #define PCRF_AZ_MAX_LNK_WIDTH_WIDTH 6 710e948693eSPhilip Paeps #define PCRF_AZ_MAX_LNK_SP_LBN 0 711e948693eSPhilip Paeps #define PCRF_AZ_MAX_LNK_SP_WIDTH 4 712e948693eSPhilip Paeps 713e948693eSPhilip Paeps 714e948693eSPhilip Paeps /* 715e948693eSPhilip Paeps * PC_LNK_CTL_REG(16bit): 716e948693eSPhilip Paeps * PCIe link control register 717e948693eSPhilip Paeps */ 718e948693eSPhilip Paeps 719e948693eSPhilip Paeps #define PCR_AB_LNK_CTL_REG 0x00000070 720e948693eSPhilip Paeps /* falcona0,falconb0=pci_f0_config */ 721e948693eSPhilip Paeps 7223c838a9fSAndrew Rybchenko #define PCR_CZ_LNK_CTL_REG 0x00000080 7233c838a9fSAndrew Rybchenko /* sienaa0,hunta0=pci_f0_config */ 724e948693eSPhilip Paeps 725e948693eSPhilip Paeps #define PCRF_AZ_EXT_SYNC_LBN 7 726e948693eSPhilip Paeps #define PCRF_AZ_EXT_SYNC_WIDTH 1 727e948693eSPhilip Paeps #define PCRF_AZ_COMM_CLK_CFG_LBN 6 728e948693eSPhilip Paeps #define PCRF_AZ_COMM_CLK_CFG_WIDTH 1 729e948693eSPhilip Paeps #define PCRF_AB_LNK_CTL_REG_RSVD0_LBN 5 730e948693eSPhilip Paeps #define PCRF_AB_LNK_CTL_REG_RSVD0_WIDTH 1 731e948693eSPhilip Paeps #define PCRF_CZ_LNK_RETRAIN_LBN 5 732e948693eSPhilip Paeps #define PCRF_CZ_LNK_RETRAIN_WIDTH 1 733e948693eSPhilip Paeps #define PCRF_AZ_LNK_DIS_LBN 4 734e948693eSPhilip Paeps #define PCRF_AZ_LNK_DIS_WIDTH 1 735e948693eSPhilip Paeps #define PCRF_AZ_RD_COM_BDRY_LBN 3 736e948693eSPhilip Paeps #define PCRF_AZ_RD_COM_BDRY_WIDTH 1 737e948693eSPhilip Paeps #define PCRF_AZ_ACT_ST_LNK_PM_CTL_LBN 0 738e948693eSPhilip Paeps #define PCRF_AZ_ACT_ST_LNK_PM_CTL_WIDTH 2 739e948693eSPhilip Paeps 740e948693eSPhilip Paeps 741e948693eSPhilip Paeps /* 742e948693eSPhilip Paeps * PC_LNK_STAT_REG(16bit): 743e948693eSPhilip Paeps * PCIe link status register 744e948693eSPhilip Paeps */ 745e948693eSPhilip Paeps 746e948693eSPhilip Paeps #define PCR_AB_LNK_STAT_REG 0x00000072 747e948693eSPhilip Paeps /* falcona0,falconb0=pci_f0_config */ 748e948693eSPhilip Paeps 7493c838a9fSAndrew Rybchenko #define PCR_CZ_LNK_STAT_REG 0x00000082 7503c838a9fSAndrew Rybchenko /* sienaa0,hunta0=pci_f0_config */ 751e948693eSPhilip Paeps 752e948693eSPhilip Paeps #define PCRF_AZ_SLOT_CLK_CFG_LBN 12 753e948693eSPhilip Paeps #define PCRF_AZ_SLOT_CLK_CFG_WIDTH 1 754e948693eSPhilip Paeps #define PCRF_AZ_LNK_TRAIN_LBN 11 755e948693eSPhilip Paeps #define PCRF_AZ_LNK_TRAIN_WIDTH 1 756e948693eSPhilip Paeps #define PCRF_AB_TRAIN_ERR_LBN 10 757e948693eSPhilip Paeps #define PCRF_AB_TRAIN_ERR_WIDTH 1 758e948693eSPhilip Paeps #define PCRF_AZ_LNK_WIDTH_LBN 4 759e948693eSPhilip Paeps #define PCRF_AZ_LNK_WIDTH_WIDTH 6 760e948693eSPhilip Paeps #define PCRF_AZ_LNK_SP_LBN 0 761e948693eSPhilip Paeps #define PCRF_AZ_LNK_SP_WIDTH 4 762e948693eSPhilip Paeps 763e948693eSPhilip Paeps 764e948693eSPhilip Paeps /* 765e948693eSPhilip Paeps * PC_SLOT_CAP_REG(32bit): 766e948693eSPhilip Paeps * PCIe slot capabilities register 767e948693eSPhilip Paeps */ 768e948693eSPhilip Paeps 769e948693eSPhilip Paeps #define PCR_AB_SLOT_CAP_REG 0x00000074 770e948693eSPhilip Paeps /* falcona0,falconb0=pci_f0_config */ 771e948693eSPhilip Paeps 772e948693eSPhilip Paeps #define PCRF_AB_SLOT_NUM_LBN 19 773e948693eSPhilip Paeps #define PCRF_AB_SLOT_NUM_WIDTH 13 774e948693eSPhilip Paeps #define PCRF_AB_SLOT_PWR_LIM_SCL_LBN 15 775e948693eSPhilip Paeps #define PCRF_AB_SLOT_PWR_LIM_SCL_WIDTH 2 776e948693eSPhilip Paeps #define PCRF_AB_SLOT_PWR_LIM_VAL_LBN 7 777e948693eSPhilip Paeps #define PCRF_AB_SLOT_PWR_LIM_VAL_WIDTH 8 778e948693eSPhilip Paeps #define PCRF_AB_SLOT_HP_CAP_LBN 6 779e948693eSPhilip Paeps #define PCRF_AB_SLOT_HP_CAP_WIDTH 1 780e948693eSPhilip Paeps #define PCRF_AB_SLOT_HP_SURP_LBN 5 781e948693eSPhilip Paeps #define PCRF_AB_SLOT_HP_SURP_WIDTH 1 782e948693eSPhilip Paeps #define PCRF_AB_SLOT_PWR_IND_PRST_LBN 4 783e948693eSPhilip Paeps #define PCRF_AB_SLOT_PWR_IND_PRST_WIDTH 1 784e948693eSPhilip Paeps #define PCRF_AB_SLOT_ATTN_IND_PRST_LBN 3 785e948693eSPhilip Paeps #define PCRF_AB_SLOT_ATTN_IND_PRST_WIDTH 1 786e948693eSPhilip Paeps #define PCRF_AB_SLOT_MRL_SENS_PRST_LBN 2 787e948693eSPhilip Paeps #define PCRF_AB_SLOT_MRL_SENS_PRST_WIDTH 1 788e948693eSPhilip Paeps #define PCRF_AB_SLOT_PWR_CTL_PRST_LBN 1 789e948693eSPhilip Paeps #define PCRF_AB_SLOT_PWR_CTL_PRST_WIDTH 1 790e948693eSPhilip Paeps #define PCRF_AB_SLOT_ATTN_BUT_PRST_LBN 0 791e948693eSPhilip Paeps #define PCRF_AB_SLOT_ATTN_BUT_PRST_WIDTH 1 792e948693eSPhilip Paeps 793e948693eSPhilip Paeps 794e948693eSPhilip Paeps /* 795e948693eSPhilip Paeps * PC_SLOT_CTL_REG(16bit): 796e948693eSPhilip Paeps * PCIe slot control register 797e948693eSPhilip Paeps */ 798e948693eSPhilip Paeps 799e948693eSPhilip Paeps #define PCR_AB_SLOT_CTL_REG 0x00000078 800e948693eSPhilip Paeps /* falcona0,falconb0=pci_f0_config */ 801e948693eSPhilip Paeps 802e948693eSPhilip Paeps #define PCRF_AB_SLOT_PWR_CTLR_CTL_LBN 10 803e948693eSPhilip Paeps #define PCRF_AB_SLOT_PWR_CTLR_CTL_WIDTH 1 804e948693eSPhilip Paeps #define PCRF_AB_SLOT_PWR_IND_CTL_LBN 8 805e948693eSPhilip Paeps #define PCRF_AB_SLOT_PWR_IND_CTL_WIDTH 2 806e948693eSPhilip Paeps #define PCRF_AB_SLOT_ATT_IND_CTL_LBN 6 807e948693eSPhilip Paeps #define PCRF_AB_SLOT_ATT_IND_CTL_WIDTH 2 808e948693eSPhilip Paeps #define PCRF_AB_SLOT_HP_INT_EN_LBN 5 809e948693eSPhilip Paeps #define PCRF_AB_SLOT_HP_INT_EN_WIDTH 1 810e948693eSPhilip Paeps #define PCRF_AB_SLOT_CMD_COMP_INT_EN_LBN 4 811e948693eSPhilip Paeps #define PCRF_AB_SLOT_CMD_COMP_INT_EN_WIDTH 1 812e948693eSPhilip Paeps #define PCRF_AB_SLOT_PRES_DET_CHG_EN_LBN 3 813e948693eSPhilip Paeps #define PCRF_AB_SLOT_PRES_DET_CHG_EN_WIDTH 1 814e948693eSPhilip Paeps #define PCRF_AB_SLOT_MRL_SENS_CHG_EN_LBN 2 815e948693eSPhilip Paeps #define PCRF_AB_SLOT_MRL_SENS_CHG_EN_WIDTH 1 816e948693eSPhilip Paeps #define PCRF_AB_SLOT_PWR_FLTDET_EN_LBN 1 817e948693eSPhilip Paeps #define PCRF_AB_SLOT_PWR_FLTDET_EN_WIDTH 1 818e948693eSPhilip Paeps #define PCRF_AB_SLOT_ATTN_BUT_EN_LBN 0 819e948693eSPhilip Paeps #define PCRF_AB_SLOT_ATTN_BUT_EN_WIDTH 1 820e948693eSPhilip Paeps 821e948693eSPhilip Paeps 822e948693eSPhilip Paeps /* 823e948693eSPhilip Paeps * PC_SLOT_STAT_REG(16bit): 824e948693eSPhilip Paeps * PCIe slot status register 825e948693eSPhilip Paeps */ 826e948693eSPhilip Paeps 827e948693eSPhilip Paeps #define PCR_AB_SLOT_STAT_REG 0x0000007a 828e948693eSPhilip Paeps /* falcona0,falconb0=pci_f0_config */ 829e948693eSPhilip Paeps 830e948693eSPhilip Paeps #define PCRF_AB_PRES_DET_ST_LBN 6 831e948693eSPhilip Paeps #define PCRF_AB_PRES_DET_ST_WIDTH 1 832e948693eSPhilip Paeps #define PCRF_AB_MRL_SENS_ST_LBN 5 833e948693eSPhilip Paeps #define PCRF_AB_MRL_SENS_ST_WIDTH 1 834e948693eSPhilip Paeps #define PCRF_AB_SLOT_PWR_IND_LBN 4 835e948693eSPhilip Paeps #define PCRF_AB_SLOT_PWR_IND_WIDTH 1 836e948693eSPhilip Paeps #define PCRF_AB_SLOT_ATTN_IND_LBN 3 837e948693eSPhilip Paeps #define PCRF_AB_SLOT_ATTN_IND_WIDTH 1 838e948693eSPhilip Paeps #define PCRF_AB_SLOT_MRL_SENS_LBN 2 839e948693eSPhilip Paeps #define PCRF_AB_SLOT_MRL_SENS_WIDTH 1 840e948693eSPhilip Paeps #define PCRF_AB_PWR_FLTDET_LBN 1 841e948693eSPhilip Paeps #define PCRF_AB_PWR_FLTDET_WIDTH 1 842e948693eSPhilip Paeps #define PCRF_AB_ATTN_BUTDET_LBN 0 843e948693eSPhilip Paeps #define PCRF_AB_ATTN_BUTDET_WIDTH 1 844e948693eSPhilip Paeps 845e948693eSPhilip Paeps 846e948693eSPhilip Paeps /* 847e948693eSPhilip Paeps * PC_MSIX_CAP_ID_REG(8bit): 848e948693eSPhilip Paeps * MSIX Capability ID 849e948693eSPhilip Paeps */ 850e948693eSPhilip Paeps 851e948693eSPhilip Paeps #define PCR_BB_MSIX_CAP_ID_REG 0x00000090 852e948693eSPhilip Paeps /* falconb0=pci_f0_config */ 853e948693eSPhilip Paeps 854e948693eSPhilip Paeps #define PCR_CZ_MSIX_CAP_ID_REG 0x000000b0 855e948693eSPhilip Paeps /* sienaa0,hunta0=pci_f0_config */ 856e948693eSPhilip Paeps 857e948693eSPhilip Paeps #define PCRF_BZ_MSIX_CAP_ID_LBN 0 858e948693eSPhilip Paeps #define PCRF_BZ_MSIX_CAP_ID_WIDTH 8 859e948693eSPhilip Paeps 860e948693eSPhilip Paeps 861e948693eSPhilip Paeps /* 862e948693eSPhilip Paeps * PC_MSIX_NXT_PTR_REG(8bit): 863e948693eSPhilip Paeps * MSIX Capability Next Capability Ptr 864e948693eSPhilip Paeps */ 865e948693eSPhilip Paeps 866e948693eSPhilip Paeps #define PCR_BB_MSIX_NXT_PTR_REG 0x00000091 867e948693eSPhilip Paeps /* falconb0=pci_f0_config */ 868e948693eSPhilip Paeps 869e948693eSPhilip Paeps #define PCR_CZ_MSIX_NXT_PTR_REG 0x000000b1 870e948693eSPhilip Paeps /* sienaa0,hunta0=pci_f0_config */ 871e948693eSPhilip Paeps 872e948693eSPhilip Paeps #define PCRF_BZ_MSIX_NXT_PTR_LBN 0 873e948693eSPhilip Paeps #define PCRF_BZ_MSIX_NXT_PTR_WIDTH 8 874e948693eSPhilip Paeps 875e948693eSPhilip Paeps 876e948693eSPhilip Paeps /* 877e948693eSPhilip Paeps * PC_MSIX_CTL_REG(16bit): 878e948693eSPhilip Paeps * MSIX control register 879e948693eSPhilip Paeps */ 880e948693eSPhilip Paeps 881e948693eSPhilip Paeps #define PCR_BB_MSIX_CTL_REG 0x00000092 882e948693eSPhilip Paeps /* falconb0=pci_f0_config */ 883e948693eSPhilip Paeps 884e948693eSPhilip Paeps #define PCR_CZ_MSIX_CTL_REG 0x000000b2 885e948693eSPhilip Paeps /* sienaa0,hunta0=pci_f0_config */ 886e948693eSPhilip Paeps 887e948693eSPhilip Paeps #define PCRF_BZ_MSIX_EN_LBN 15 888e948693eSPhilip Paeps #define PCRF_BZ_MSIX_EN_WIDTH 1 889e948693eSPhilip Paeps #define PCRF_BZ_MSIX_FUNC_MASK_LBN 14 890e948693eSPhilip Paeps #define PCRF_BZ_MSIX_FUNC_MASK_WIDTH 1 891e948693eSPhilip Paeps #define PCRF_BZ_MSIX_TBL_SIZE_LBN 0 892e948693eSPhilip Paeps #define PCRF_BZ_MSIX_TBL_SIZE_WIDTH 11 893e948693eSPhilip Paeps 894e948693eSPhilip Paeps 895e948693eSPhilip Paeps /* 896e948693eSPhilip Paeps * PC_MSIX_TBL_BASE_REG(32bit): 897e948693eSPhilip Paeps * MSIX Capability Vector Table Base 898e948693eSPhilip Paeps */ 899e948693eSPhilip Paeps 900e948693eSPhilip Paeps #define PCR_BB_MSIX_TBL_BASE_REG 0x00000094 901e948693eSPhilip Paeps /* falconb0=pci_f0_config */ 902e948693eSPhilip Paeps 903e948693eSPhilip Paeps #define PCR_CZ_MSIX_TBL_BASE_REG 0x000000b4 904e948693eSPhilip Paeps /* sienaa0,hunta0=pci_f0_config */ 905e948693eSPhilip Paeps 906e948693eSPhilip Paeps #define PCRF_BZ_MSIX_TBL_OFF_LBN 3 907e948693eSPhilip Paeps #define PCRF_BZ_MSIX_TBL_OFF_WIDTH 29 908e948693eSPhilip Paeps #define PCRF_BZ_MSIX_TBL_BIR_LBN 0 909e948693eSPhilip Paeps #define PCRF_BZ_MSIX_TBL_BIR_WIDTH 3 910e948693eSPhilip Paeps 911e948693eSPhilip Paeps 912e948693eSPhilip Paeps /* 9133c838a9fSAndrew Rybchenko * PC_DEV_CAP2_REG(32bit): 9143c838a9fSAndrew Rybchenko * PCIe Device Capabilities 2 9153c838a9fSAndrew Rybchenko */ 9163c838a9fSAndrew Rybchenko 9173c838a9fSAndrew Rybchenko #define PCR_CZ_DEV_CAP2_REG 0x00000094 9183c838a9fSAndrew Rybchenko /* sienaa0=pci_f0_config,hunta0=pci_f0_config */ 9193c838a9fSAndrew Rybchenko 9203c838a9fSAndrew Rybchenko #define PCRF_DZ_OBFF_SUPPORTED_LBN 18 9213c838a9fSAndrew Rybchenko #define PCRF_DZ_OBFF_SUPPORTED_WIDTH 2 9223c838a9fSAndrew Rybchenko #define PCRF_DZ_TPH_CMPL_SUPPORTED_LBN 12 9233c838a9fSAndrew Rybchenko #define PCRF_DZ_TPH_CMPL_SUPPORTED_WIDTH 2 9243c838a9fSAndrew Rybchenko #define PCRF_DZ_LTR_M_SUPPORTED_LBN 11 9253c838a9fSAndrew Rybchenko #define PCRF_DZ_LTR_M_SUPPORTED_WIDTH 1 9263c838a9fSAndrew Rybchenko #define PCRF_CC_CMPL_TIMEOUT_DIS_LBN 4 9273c838a9fSAndrew Rybchenko #define PCRF_CC_CMPL_TIMEOUT_DIS_WIDTH 1 9283c838a9fSAndrew Rybchenko #define PCRF_DZ_CMPL_TIMEOUT_DIS_SUPPORTED_LBN 4 9293c838a9fSAndrew Rybchenko #define PCRF_DZ_CMPL_TIMEOUT_DIS_SUPPORTED_WIDTH 1 9303c838a9fSAndrew Rybchenko #define PCRF_CZ_CMPL_TIMEOUT_LBN 0 9313c838a9fSAndrew Rybchenko #define PCRF_CZ_CMPL_TIMEOUT_WIDTH 4 9323c838a9fSAndrew Rybchenko #define PCFE_CZ_CMPL_TIMEOUT_17000_TO_6400MS 14 9333c838a9fSAndrew Rybchenko #define PCFE_CZ_CMPL_TIMEOUT_4000_TO_1300MS 13 9343c838a9fSAndrew Rybchenko #define PCFE_CZ_CMPL_TIMEOUT_1000_TO_3500MS 10 9353c838a9fSAndrew Rybchenko #define PCFE_CZ_CMPL_TIMEOUT_260_TO_900MS 9 9363c838a9fSAndrew Rybchenko #define PCFE_CZ_CMPL_TIMEOUT_65_TO_210MS 6 9373c838a9fSAndrew Rybchenko #define PCFE_CZ_CMPL_TIMEOUT_16_TO_55MS 5 9383c838a9fSAndrew Rybchenko #define PCFE_CZ_CMPL_TIMEOUT_1_TO_10MS 2 9393c838a9fSAndrew Rybchenko #define PCFE_CZ_CMPL_TIMEOUT_50_TO_100US 1 9403c838a9fSAndrew Rybchenko #define PCFE_CZ_CMPL_TIMEOUT_DEFAULT 0 9413c838a9fSAndrew Rybchenko 9423c838a9fSAndrew Rybchenko 9433c838a9fSAndrew Rybchenko /* 944e948693eSPhilip Paeps * PC_DEV_CTL2_REG(16bit): 945e948693eSPhilip Paeps * PCIe Device Control 2 946e948693eSPhilip Paeps */ 947e948693eSPhilip Paeps 9483c838a9fSAndrew Rybchenko #define PCR_CZ_DEV_CTL2_REG 0x00000098 9493c838a9fSAndrew Rybchenko /* sienaa0,hunta0=pci_f0_config */ 950e948693eSPhilip Paeps 9513c838a9fSAndrew Rybchenko #define PCRF_DZ_OBFF_ENABLE_LBN 13 9523c838a9fSAndrew Rybchenko #define PCRF_DZ_OBFF_ENABLE_WIDTH 2 9533c838a9fSAndrew Rybchenko #define PCRF_DZ_LTR_ENABLE_LBN 10 9543c838a9fSAndrew Rybchenko #define PCRF_DZ_LTR_ENABLE_WIDTH 1 9553c838a9fSAndrew Rybchenko #define PCRF_DZ_IDO_COMPLETION_ENABLE_LBN 9 9563c838a9fSAndrew Rybchenko #define PCRF_DZ_IDO_COMPLETION_ENABLE_WIDTH 1 9573c838a9fSAndrew Rybchenko #define PCRF_DZ_IDO_REQUEST_ENABLE_LBN 8 9583c838a9fSAndrew Rybchenko #define PCRF_DZ_IDO_REQUEST_ENABLE_WIDTH 1 959e948693eSPhilip Paeps #define PCRF_CZ_CMPL_TIMEOUT_DIS_CTL_LBN 4 960e948693eSPhilip Paeps #define PCRF_CZ_CMPL_TIMEOUT_DIS_CTL_WIDTH 1 961e948693eSPhilip Paeps #define PCRF_CZ_CMPL_TIMEOUT_CTL_LBN 0 962e948693eSPhilip Paeps #define PCRF_CZ_CMPL_TIMEOUT_CTL_WIDTH 4 963e948693eSPhilip Paeps 964e948693eSPhilip Paeps 965e948693eSPhilip Paeps /* 966e948693eSPhilip Paeps * PC_MSIX_PBA_BASE_REG(32bit): 967e948693eSPhilip Paeps * MSIX Capability PBA Base 968e948693eSPhilip Paeps */ 969e948693eSPhilip Paeps 970e948693eSPhilip Paeps #define PCR_BB_MSIX_PBA_BASE_REG 0x00000098 971e948693eSPhilip Paeps /* falconb0=pci_f0_config */ 972e948693eSPhilip Paeps 973e948693eSPhilip Paeps #define PCR_CZ_MSIX_PBA_BASE_REG 0x000000b8 974e948693eSPhilip Paeps /* sienaa0,hunta0=pci_f0_config */ 975e948693eSPhilip Paeps 976e948693eSPhilip Paeps #define PCRF_BZ_MSIX_PBA_OFF_LBN 3 977e948693eSPhilip Paeps #define PCRF_BZ_MSIX_PBA_OFF_WIDTH 29 978e948693eSPhilip Paeps #define PCRF_BZ_MSIX_PBA_BIR_LBN 0 979e948693eSPhilip Paeps #define PCRF_BZ_MSIX_PBA_BIR_WIDTH 3 980e948693eSPhilip Paeps 981e948693eSPhilip Paeps 982e948693eSPhilip Paeps /* 9833c838a9fSAndrew Rybchenko * PC_LNK_CAP2_REG(32bit): 9843c838a9fSAndrew Rybchenko * PCIe Link Capability 2 9853c838a9fSAndrew Rybchenko */ 9863c838a9fSAndrew Rybchenko 9873c838a9fSAndrew Rybchenko #define PCR_DZ_LNK_CAP2_REG 0x0000009c 9883c838a9fSAndrew Rybchenko /* hunta0=pci_f0_config */ 9893c838a9fSAndrew Rybchenko 9903c838a9fSAndrew Rybchenko #define PCRF_DZ_LNK_SPEED_SUP_LBN 1 9913c838a9fSAndrew Rybchenko #define PCRF_DZ_LNK_SPEED_SUP_WIDTH 7 9923c838a9fSAndrew Rybchenko 9933c838a9fSAndrew Rybchenko 9943c838a9fSAndrew Rybchenko /* 995e948693eSPhilip Paeps * PC_LNK_CTL2_REG(16bit): 996e948693eSPhilip Paeps * PCIe Link Control 2 997e948693eSPhilip Paeps */ 998e948693eSPhilip Paeps 9993c838a9fSAndrew Rybchenko #define PCR_CZ_LNK_CTL2_REG 0x000000a0 10003c838a9fSAndrew Rybchenko /* sienaa0,hunta0=pci_f0_config */ 1001e948693eSPhilip Paeps 1002e948693eSPhilip Paeps #define PCRF_CZ_POLLING_DEEMPH_LVL_LBN 12 1003e948693eSPhilip Paeps #define PCRF_CZ_POLLING_DEEMPH_LVL_WIDTH 1 1004e948693eSPhilip Paeps #define PCRF_CZ_COMPLIANCE_SOS_CTL_LBN 11 1005e948693eSPhilip Paeps #define PCRF_CZ_COMPLIANCE_SOS_CTL_WIDTH 1 1006e948693eSPhilip Paeps #define PCRF_CZ_ENTER_MODIFIED_COMPLIANCE_CTL_LBN 10 1007e948693eSPhilip Paeps #define PCRF_CZ_ENTER_MODIFIED_COMPLIANCE_CTL_WIDTH 1 1008e948693eSPhilip Paeps #define PCRF_CZ_TRANSMIT_MARGIN_LBN 7 1009e948693eSPhilip Paeps #define PCRF_CZ_TRANSMIT_MARGIN_WIDTH 3 1010e948693eSPhilip Paeps #define PCRF_CZ_SELECT_DEEMPH_LBN 6 1011e948693eSPhilip Paeps #define PCRF_CZ_SELECT_DEEMPH_WIDTH 1 1012e948693eSPhilip Paeps #define PCRF_CZ_HW_AUTONOMOUS_SPEED_DIS_LBN 5 1013e948693eSPhilip Paeps #define PCRF_CZ_HW_AUTONOMOUS_SPEED_DIS_WIDTH 1 1014e948693eSPhilip Paeps #define PCRF_CZ_ENTER_COMPLIANCE_CTL_LBN 4 1015e948693eSPhilip Paeps #define PCRF_CZ_ENTER_COMPLIANCE_CTL_WIDTH 1 1016e948693eSPhilip Paeps #define PCRF_CZ_TGT_LNK_SPEED_CTL_LBN 0 1017e948693eSPhilip Paeps #define PCRF_CZ_TGT_LNK_SPEED_CTL_WIDTH 4 10183c838a9fSAndrew Rybchenko #define PCFE_DZ_LCTL2_TGT_SPEED_GEN3 3 10193c838a9fSAndrew Rybchenko #define PCFE_DZ_LCTL2_TGT_SPEED_GEN2 2 10203c838a9fSAndrew Rybchenko #define PCFE_DZ_LCTL2_TGT_SPEED_GEN1 1 1021e948693eSPhilip Paeps 1022e948693eSPhilip Paeps 1023e948693eSPhilip Paeps /* 1024e948693eSPhilip Paeps * PC_LNK_STAT2_REG(16bit): 1025e948693eSPhilip Paeps * PCIe Link Status 2 1026e948693eSPhilip Paeps */ 1027e948693eSPhilip Paeps 10283c838a9fSAndrew Rybchenko #define PCR_CZ_LNK_STAT2_REG 0x000000a2 10293c838a9fSAndrew Rybchenko /* sienaa0,hunta0=pci_f0_config */ 1030e948693eSPhilip Paeps 1031e948693eSPhilip Paeps #define PCRF_CZ_CURRENT_DEEMPH_LBN 0 1032e948693eSPhilip Paeps #define PCRF_CZ_CURRENT_DEEMPH_WIDTH 1 1033e948693eSPhilip Paeps 1034e948693eSPhilip Paeps 1035e948693eSPhilip Paeps /* 1036e948693eSPhilip Paeps * PC_VPD_CAP_ID_REG(8bit): 1037e948693eSPhilip Paeps * VPD data register 1038e948693eSPhilip Paeps */ 1039e948693eSPhilip Paeps 1040e948693eSPhilip Paeps #define PCR_AB_VPD_CAP_ID_REG 0x000000b0 1041e948693eSPhilip Paeps /* falcona0,falconb0=pci_f0_config */ 1042e948693eSPhilip Paeps 1043e948693eSPhilip Paeps #define PCRF_AB_VPD_CAP_ID_LBN 0 1044e948693eSPhilip Paeps #define PCRF_AB_VPD_CAP_ID_WIDTH 8 1045e948693eSPhilip Paeps 1046e948693eSPhilip Paeps 1047e948693eSPhilip Paeps /* 1048e948693eSPhilip Paeps * PC_VPD_NXT_PTR_REG(8bit): 1049e948693eSPhilip Paeps * VPD next item pointer 1050e948693eSPhilip Paeps */ 1051e948693eSPhilip Paeps 1052e948693eSPhilip Paeps #define PCR_AB_VPD_NXT_PTR_REG 0x000000b1 1053e948693eSPhilip Paeps /* falcona0,falconb0=pci_f0_config */ 1054e948693eSPhilip Paeps 1055e948693eSPhilip Paeps #define PCRF_AB_VPD_NXT_PTR_LBN 0 1056e948693eSPhilip Paeps #define PCRF_AB_VPD_NXT_PTR_WIDTH 8 1057e948693eSPhilip Paeps 1058e948693eSPhilip Paeps 1059e948693eSPhilip Paeps /* 1060e948693eSPhilip Paeps * PC_VPD_ADDR_REG(16bit): 1061e948693eSPhilip Paeps * VPD address register 1062e948693eSPhilip Paeps */ 1063e948693eSPhilip Paeps 1064e948693eSPhilip Paeps #define PCR_AB_VPD_ADDR_REG 0x000000b2 1065e948693eSPhilip Paeps /* falcona0,falconb0=pci_f0_config */ 1066e948693eSPhilip Paeps 1067e948693eSPhilip Paeps #define PCRF_AB_VPD_FLAG_LBN 15 1068e948693eSPhilip Paeps #define PCRF_AB_VPD_FLAG_WIDTH 1 1069e948693eSPhilip Paeps #define PCRF_AB_VPD_ADDR_LBN 0 1070e948693eSPhilip Paeps #define PCRF_AB_VPD_ADDR_WIDTH 15 1071e948693eSPhilip Paeps 1072e948693eSPhilip Paeps 1073e948693eSPhilip Paeps /* 10743c838a9fSAndrew Rybchenko * PC_VPD_CAP_DATA_REG(32bit): 10753c838a9fSAndrew Rybchenko * documentation to be written for sum_PC_VPD_CAP_DATA_REG 10763c838a9fSAndrew Rybchenko */ 10773c838a9fSAndrew Rybchenko 10783c838a9fSAndrew Rybchenko #define PCR_AB_VPD_CAP_DATA_REG 0x000000b4 10793c838a9fSAndrew Rybchenko /* falcona0,falconb0=pci_f0_config */ 10803c838a9fSAndrew Rybchenko 10813c838a9fSAndrew Rybchenko #define PCR_CZ_VPD_CAP_DATA_REG 0x000000d4 10823c838a9fSAndrew Rybchenko /* sienaa0,hunta0=pci_f0_config */ 10833c838a9fSAndrew Rybchenko 10843c838a9fSAndrew Rybchenko #define PCRF_AZ_VPD_DATA_LBN 0 10853c838a9fSAndrew Rybchenko #define PCRF_AZ_VPD_DATA_WIDTH 32 10863c838a9fSAndrew Rybchenko 10873c838a9fSAndrew Rybchenko 10883c838a9fSAndrew Rybchenko /* 10893c838a9fSAndrew Rybchenko * PC_VPD_CAP_CTL_REG(8bit): 10903c838a9fSAndrew Rybchenko * VPD control and capabilities register 10913c838a9fSAndrew Rybchenko */ 10923c838a9fSAndrew Rybchenko 10933c838a9fSAndrew Rybchenko #define PCR_CZ_VPD_CAP_CTL_REG 0x000000d0 10943c838a9fSAndrew Rybchenko /* sienaa0,hunta0=pci_f0_config */ 10953c838a9fSAndrew Rybchenko 10963c838a9fSAndrew Rybchenko #define PCRF_CZ_VPD_FLAG_LBN 31 10973c838a9fSAndrew Rybchenko #define PCRF_CZ_VPD_FLAG_WIDTH 1 10983c838a9fSAndrew Rybchenko #define PCRF_CZ_VPD_ADDR_LBN 16 10993c838a9fSAndrew Rybchenko #define PCRF_CZ_VPD_ADDR_WIDTH 15 11003c838a9fSAndrew Rybchenko #define PCRF_CZ_VPD_NXT_PTR_LBN 8 11013c838a9fSAndrew Rybchenko #define PCRF_CZ_VPD_NXT_PTR_WIDTH 8 11023c838a9fSAndrew Rybchenko #define PCRF_CZ_VPD_CAP_ID_LBN 0 11033c838a9fSAndrew Rybchenko #define PCRF_CZ_VPD_CAP_ID_WIDTH 8 11043c838a9fSAndrew Rybchenko 11053c838a9fSAndrew Rybchenko 11063c838a9fSAndrew Rybchenko /* 1107e948693eSPhilip Paeps * PC_AER_CAP_HDR_REG(32bit): 1108e948693eSPhilip Paeps * AER capability header register 1109e948693eSPhilip Paeps */ 1110e948693eSPhilip Paeps 1111e948693eSPhilip Paeps #define PCR_AZ_AER_CAP_HDR_REG 0x00000100 1112e948693eSPhilip Paeps /* falcona0,falconb0,sienaa0,hunta0=pci_f0_config */ 1113e948693eSPhilip Paeps 1114e948693eSPhilip Paeps #define PCRF_AZ_AERCAPHDR_NXT_PTR_LBN 20 1115e948693eSPhilip Paeps #define PCRF_AZ_AERCAPHDR_NXT_PTR_WIDTH 12 1116e948693eSPhilip Paeps #define PCRF_AZ_AERCAPHDR_VER_LBN 16 1117e948693eSPhilip Paeps #define PCRF_AZ_AERCAPHDR_VER_WIDTH 4 1118e948693eSPhilip Paeps #define PCRF_AZ_AERCAPHDR_ID_LBN 0 1119e948693eSPhilip Paeps #define PCRF_AZ_AERCAPHDR_ID_WIDTH 16 1120e948693eSPhilip Paeps 1121e948693eSPhilip Paeps 1122e948693eSPhilip Paeps /* 1123e948693eSPhilip Paeps * PC_AER_UNCORR_ERR_STAT_REG(32bit): 1124e948693eSPhilip Paeps * AER Uncorrectable error status register 1125e948693eSPhilip Paeps */ 1126e948693eSPhilip Paeps 1127e948693eSPhilip Paeps #define PCR_AZ_AER_UNCORR_ERR_STAT_REG 0x00000104 1128e948693eSPhilip Paeps /* falcona0,falconb0,sienaa0,hunta0=pci_f0_config */ 1129e948693eSPhilip Paeps 1130e948693eSPhilip Paeps #define PCRF_AZ_UNSUPT_REQ_ERR_STAT_LBN 20 1131e948693eSPhilip Paeps #define PCRF_AZ_UNSUPT_REQ_ERR_STAT_WIDTH 1 1132e948693eSPhilip Paeps #define PCRF_AZ_ECRC_ERR_STAT_LBN 19 1133e948693eSPhilip Paeps #define PCRF_AZ_ECRC_ERR_STAT_WIDTH 1 1134e948693eSPhilip Paeps #define PCRF_AZ_MALF_TLP_STAT_LBN 18 1135e948693eSPhilip Paeps #define PCRF_AZ_MALF_TLP_STAT_WIDTH 1 1136e948693eSPhilip Paeps #define PCRF_AZ_RX_OVF_STAT_LBN 17 1137e948693eSPhilip Paeps #define PCRF_AZ_RX_OVF_STAT_WIDTH 1 1138e948693eSPhilip Paeps #define PCRF_AZ_UNEXP_COMP_STAT_LBN 16 1139e948693eSPhilip Paeps #define PCRF_AZ_UNEXP_COMP_STAT_WIDTH 1 1140e948693eSPhilip Paeps #define PCRF_AZ_COMP_ABRT_STAT_LBN 15 1141e948693eSPhilip Paeps #define PCRF_AZ_COMP_ABRT_STAT_WIDTH 1 1142e948693eSPhilip Paeps #define PCRF_AZ_COMP_TIMEOUT_STAT_LBN 14 1143e948693eSPhilip Paeps #define PCRF_AZ_COMP_TIMEOUT_STAT_WIDTH 1 1144e948693eSPhilip Paeps #define PCRF_AZ_FC_PROTO_ERR_STAT_LBN 13 1145e948693eSPhilip Paeps #define PCRF_AZ_FC_PROTO_ERR_STAT_WIDTH 1 1146e948693eSPhilip Paeps #define PCRF_AZ_PSON_TLP_STAT_LBN 12 1147e948693eSPhilip Paeps #define PCRF_AZ_PSON_TLP_STAT_WIDTH 1 1148e948693eSPhilip Paeps #define PCRF_AZ_DL_PROTO_ERR_STAT_LBN 4 1149e948693eSPhilip Paeps #define PCRF_AZ_DL_PROTO_ERR_STAT_WIDTH 1 1150e948693eSPhilip Paeps #define PCRF_AB_TRAIN_ERR_STAT_LBN 0 1151e948693eSPhilip Paeps #define PCRF_AB_TRAIN_ERR_STAT_WIDTH 1 1152e948693eSPhilip Paeps 1153e948693eSPhilip Paeps 1154e948693eSPhilip Paeps /* 1155e948693eSPhilip Paeps * PC_AER_UNCORR_ERR_MASK_REG(32bit): 1156e948693eSPhilip Paeps * AER Uncorrectable error mask register 1157e948693eSPhilip Paeps */ 1158e948693eSPhilip Paeps 1159e948693eSPhilip Paeps #define PCR_AZ_AER_UNCORR_ERR_MASK_REG 0x00000108 1160e948693eSPhilip Paeps /* falcona0,falconb0,sienaa0,hunta0=pci_f0_config */ 1161e948693eSPhilip Paeps 11623c838a9fSAndrew Rybchenko #define PCRF_DZ_ATOMIC_OP_EGR_BLOCKED_MASK_LBN 24 11633c838a9fSAndrew Rybchenko #define PCRF_DZ_ATOMIC_OP_EGR_BLOCKED_MASK_WIDTH 1 11643c838a9fSAndrew Rybchenko #define PCRF_DZ_UNCORR_INT_ERR_MASK_LBN 22 11653c838a9fSAndrew Rybchenko #define PCRF_DZ_UNCORR_INT_ERR_MASK_WIDTH 1 1166e948693eSPhilip Paeps #define PCRF_AZ_UNSUPT_REQ_ERR_MASK_LBN 20 1167e948693eSPhilip Paeps #define PCRF_AZ_UNSUPT_REQ_ERR_MASK_WIDTH 1 1168e948693eSPhilip Paeps #define PCRF_AZ_ECRC_ERR_MASK_LBN 19 1169e948693eSPhilip Paeps #define PCRF_AZ_ECRC_ERR_MASK_WIDTH 1 1170e948693eSPhilip Paeps #define PCRF_AZ_MALF_TLP_MASK_LBN 18 1171e948693eSPhilip Paeps #define PCRF_AZ_MALF_TLP_MASK_WIDTH 1 1172e948693eSPhilip Paeps #define PCRF_AZ_RX_OVF_MASK_LBN 17 1173e948693eSPhilip Paeps #define PCRF_AZ_RX_OVF_MASK_WIDTH 1 1174e948693eSPhilip Paeps #define PCRF_AZ_UNEXP_COMP_MASK_LBN 16 1175e948693eSPhilip Paeps #define PCRF_AZ_UNEXP_COMP_MASK_WIDTH 1 1176e948693eSPhilip Paeps #define PCRF_AZ_COMP_ABRT_MASK_LBN 15 1177e948693eSPhilip Paeps #define PCRF_AZ_COMP_ABRT_MASK_WIDTH 1 1178e948693eSPhilip Paeps #define PCRF_AZ_COMP_TIMEOUT_MASK_LBN 14 1179e948693eSPhilip Paeps #define PCRF_AZ_COMP_TIMEOUT_MASK_WIDTH 1 1180e948693eSPhilip Paeps #define PCRF_AZ_FC_PROTO_ERR_MASK_LBN 13 1181e948693eSPhilip Paeps #define PCRF_AZ_FC_PROTO_ERR_MASK_WIDTH 1 1182e948693eSPhilip Paeps #define PCRF_AZ_PSON_TLP_MASK_LBN 12 1183e948693eSPhilip Paeps #define PCRF_AZ_PSON_TLP_MASK_WIDTH 1 1184e948693eSPhilip Paeps #define PCRF_AZ_DL_PROTO_ERR_MASK_LBN 4 1185e948693eSPhilip Paeps #define PCRF_AZ_DL_PROTO_ERR_MASK_WIDTH 1 1186e948693eSPhilip Paeps #define PCRF_AB_TRAIN_ERR_MASK_LBN 0 1187e948693eSPhilip Paeps #define PCRF_AB_TRAIN_ERR_MASK_WIDTH 1 1188e948693eSPhilip Paeps 1189e948693eSPhilip Paeps 1190e948693eSPhilip Paeps /* 1191e948693eSPhilip Paeps * PC_AER_UNCORR_ERR_SEV_REG(32bit): 1192e948693eSPhilip Paeps * AER Uncorrectable error severity register 1193e948693eSPhilip Paeps */ 1194e948693eSPhilip Paeps 1195e948693eSPhilip Paeps #define PCR_AZ_AER_UNCORR_ERR_SEV_REG 0x0000010c 1196e948693eSPhilip Paeps /* falcona0,falconb0,sienaa0,hunta0=pci_f0_config */ 1197e948693eSPhilip Paeps 1198e948693eSPhilip Paeps #define PCRF_AZ_UNSUPT_REQ_ERR_SEV_LBN 20 1199e948693eSPhilip Paeps #define PCRF_AZ_UNSUPT_REQ_ERR_SEV_WIDTH 1 1200e948693eSPhilip Paeps #define PCRF_AZ_ECRC_ERR_SEV_LBN 19 1201e948693eSPhilip Paeps #define PCRF_AZ_ECRC_ERR_SEV_WIDTH 1 1202e948693eSPhilip Paeps #define PCRF_AZ_MALF_TLP_SEV_LBN 18 1203e948693eSPhilip Paeps #define PCRF_AZ_MALF_TLP_SEV_WIDTH 1 1204e948693eSPhilip Paeps #define PCRF_AZ_RX_OVF_SEV_LBN 17 1205e948693eSPhilip Paeps #define PCRF_AZ_RX_OVF_SEV_WIDTH 1 1206e948693eSPhilip Paeps #define PCRF_AZ_UNEXP_COMP_SEV_LBN 16 1207e948693eSPhilip Paeps #define PCRF_AZ_UNEXP_COMP_SEV_WIDTH 1 1208e948693eSPhilip Paeps #define PCRF_AZ_COMP_ABRT_SEV_LBN 15 1209e948693eSPhilip Paeps #define PCRF_AZ_COMP_ABRT_SEV_WIDTH 1 1210e948693eSPhilip Paeps #define PCRF_AZ_COMP_TIMEOUT_SEV_LBN 14 1211e948693eSPhilip Paeps #define PCRF_AZ_COMP_TIMEOUT_SEV_WIDTH 1 1212e948693eSPhilip Paeps #define PCRF_AZ_FC_PROTO_ERR_SEV_LBN 13 1213e948693eSPhilip Paeps #define PCRF_AZ_FC_PROTO_ERR_SEV_WIDTH 1 1214e948693eSPhilip Paeps #define PCRF_AZ_PSON_TLP_SEV_LBN 12 1215e948693eSPhilip Paeps #define PCRF_AZ_PSON_TLP_SEV_WIDTH 1 1216e948693eSPhilip Paeps #define PCRF_AZ_DL_PROTO_ERR_SEV_LBN 4 1217e948693eSPhilip Paeps #define PCRF_AZ_DL_PROTO_ERR_SEV_WIDTH 1 1218e948693eSPhilip Paeps #define PCRF_AB_TRAIN_ERR_SEV_LBN 0 1219e948693eSPhilip Paeps #define PCRF_AB_TRAIN_ERR_SEV_WIDTH 1 1220e948693eSPhilip Paeps 1221e948693eSPhilip Paeps 1222e948693eSPhilip Paeps /* 1223e948693eSPhilip Paeps * PC_AER_CORR_ERR_STAT_REG(32bit): 1224e948693eSPhilip Paeps * AER Correctable error status register 1225e948693eSPhilip Paeps */ 1226e948693eSPhilip Paeps 1227e948693eSPhilip Paeps #define PCR_AZ_AER_CORR_ERR_STAT_REG 0x00000110 1228e948693eSPhilip Paeps /* falcona0,falconb0,sienaa0,hunta0=pci_f0_config */ 1229e948693eSPhilip Paeps 1230e948693eSPhilip Paeps #define PCRF_CZ_ADVSY_NON_FATAL_STAT_LBN 13 1231e948693eSPhilip Paeps #define PCRF_CZ_ADVSY_NON_FATAL_STAT_WIDTH 1 1232e948693eSPhilip Paeps #define PCRF_AZ_RPLY_TMR_TOUT_STAT_LBN 12 1233e948693eSPhilip Paeps #define PCRF_AZ_RPLY_TMR_TOUT_STAT_WIDTH 1 1234e948693eSPhilip Paeps #define PCRF_AZ_RPLAY_NUM_RO_STAT_LBN 8 1235e948693eSPhilip Paeps #define PCRF_AZ_RPLAY_NUM_RO_STAT_WIDTH 1 1236e948693eSPhilip Paeps #define PCRF_AZ_BAD_DLLP_STAT_LBN 7 1237e948693eSPhilip Paeps #define PCRF_AZ_BAD_DLLP_STAT_WIDTH 1 1238e948693eSPhilip Paeps #define PCRF_AZ_BAD_TLP_STAT_LBN 6 1239e948693eSPhilip Paeps #define PCRF_AZ_BAD_TLP_STAT_WIDTH 1 1240e948693eSPhilip Paeps #define PCRF_AZ_RX_ERR_STAT_LBN 0 1241e948693eSPhilip Paeps #define PCRF_AZ_RX_ERR_STAT_WIDTH 1 1242e948693eSPhilip Paeps 1243e948693eSPhilip Paeps 1244e948693eSPhilip Paeps /* 1245e948693eSPhilip Paeps * PC_AER_CORR_ERR_MASK_REG(32bit): 1246e948693eSPhilip Paeps * AER Correctable error status register 1247e948693eSPhilip Paeps */ 1248e948693eSPhilip Paeps 1249e948693eSPhilip Paeps #define PCR_AZ_AER_CORR_ERR_MASK_REG 0x00000114 1250e948693eSPhilip Paeps /* falcona0,falconb0,sienaa0,hunta0=pci_f0_config */ 1251e948693eSPhilip Paeps 1252e948693eSPhilip Paeps #define PCRF_CZ_ADVSY_NON_FATAL_MASK_LBN 13 1253e948693eSPhilip Paeps #define PCRF_CZ_ADVSY_NON_FATAL_MASK_WIDTH 1 1254e948693eSPhilip Paeps #define PCRF_AZ_RPLY_TMR_TOUT_MASK_LBN 12 1255e948693eSPhilip Paeps #define PCRF_AZ_RPLY_TMR_TOUT_MASK_WIDTH 1 1256e948693eSPhilip Paeps #define PCRF_AZ_RPLAY_NUM_RO_MASK_LBN 8 1257e948693eSPhilip Paeps #define PCRF_AZ_RPLAY_NUM_RO_MASK_WIDTH 1 1258e948693eSPhilip Paeps #define PCRF_AZ_BAD_DLLP_MASK_LBN 7 1259e948693eSPhilip Paeps #define PCRF_AZ_BAD_DLLP_MASK_WIDTH 1 1260e948693eSPhilip Paeps #define PCRF_AZ_BAD_TLP_MASK_LBN 6 1261e948693eSPhilip Paeps #define PCRF_AZ_BAD_TLP_MASK_WIDTH 1 1262e948693eSPhilip Paeps #define PCRF_AZ_RX_ERR_MASK_LBN 0 1263e948693eSPhilip Paeps #define PCRF_AZ_RX_ERR_MASK_WIDTH 1 1264e948693eSPhilip Paeps 1265e948693eSPhilip Paeps 1266e948693eSPhilip Paeps /* 1267e948693eSPhilip Paeps * PC_AER_CAP_CTL_REG(32bit): 1268e948693eSPhilip Paeps * AER capability and control register 1269e948693eSPhilip Paeps */ 1270e948693eSPhilip Paeps 1271e948693eSPhilip Paeps #define PCR_AZ_AER_CAP_CTL_REG 0x00000118 1272e948693eSPhilip Paeps /* falcona0,falconb0,sienaa0,hunta0=pci_f0_config */ 1273e948693eSPhilip Paeps 1274e948693eSPhilip Paeps #define PCRF_AZ_ECRC_CHK_EN_LBN 8 1275e948693eSPhilip Paeps #define PCRF_AZ_ECRC_CHK_EN_WIDTH 1 1276e948693eSPhilip Paeps #define PCRF_AZ_ECRC_CHK_CAP_LBN 7 1277e948693eSPhilip Paeps #define PCRF_AZ_ECRC_CHK_CAP_WIDTH 1 1278e948693eSPhilip Paeps #define PCRF_AZ_ECRC_GEN_EN_LBN 6 1279e948693eSPhilip Paeps #define PCRF_AZ_ECRC_GEN_EN_WIDTH 1 1280e948693eSPhilip Paeps #define PCRF_AZ_ECRC_GEN_CAP_LBN 5 1281e948693eSPhilip Paeps #define PCRF_AZ_ECRC_GEN_CAP_WIDTH 1 1282e948693eSPhilip Paeps #define PCRF_AZ_1ST_ERR_PTR_LBN 0 1283e948693eSPhilip Paeps #define PCRF_AZ_1ST_ERR_PTR_WIDTH 5 1284e948693eSPhilip Paeps 1285e948693eSPhilip Paeps 1286e948693eSPhilip Paeps /* 1287e948693eSPhilip Paeps * PC_AER_HDR_LOG_REG(128bit): 1288e948693eSPhilip Paeps * AER Header log register 1289e948693eSPhilip Paeps */ 1290e948693eSPhilip Paeps 1291e948693eSPhilip Paeps #define PCR_AZ_AER_HDR_LOG_REG 0x0000011c 1292e948693eSPhilip Paeps /* falcona0,falconb0,sienaa0,hunta0=pci_f0_config */ 1293e948693eSPhilip Paeps 1294e948693eSPhilip Paeps #define PCRF_AZ_HDR_LOG_LBN 0 1295e948693eSPhilip Paeps #define PCRF_AZ_HDR_LOG_WIDTH 128 1296e948693eSPhilip Paeps 1297e948693eSPhilip Paeps 1298e948693eSPhilip Paeps /* 1299e948693eSPhilip Paeps * PC_DEVSN_CAP_HDR_REG(32bit): 1300e948693eSPhilip Paeps * Device serial number capability header register 1301e948693eSPhilip Paeps */ 1302e948693eSPhilip Paeps 13033c838a9fSAndrew Rybchenko #define PCR_CZ_DEVSN_CAP_HDR_REG 0x00000140 13043c838a9fSAndrew Rybchenko /* sienaa0,hunta0=pci_f0_config */ 1305e948693eSPhilip Paeps 1306e948693eSPhilip Paeps #define PCRF_CZ_DEVSNCAPHDR_NXT_PTR_LBN 20 1307e948693eSPhilip Paeps #define PCRF_CZ_DEVSNCAPHDR_NXT_PTR_WIDTH 12 1308e948693eSPhilip Paeps #define PCRF_CZ_DEVSNCAPHDR_VER_LBN 16 1309e948693eSPhilip Paeps #define PCRF_CZ_DEVSNCAPHDR_VER_WIDTH 4 1310e948693eSPhilip Paeps #define PCRF_CZ_DEVSNCAPHDR_ID_LBN 0 1311e948693eSPhilip Paeps #define PCRF_CZ_DEVSNCAPHDR_ID_WIDTH 16 1312e948693eSPhilip Paeps 1313e948693eSPhilip Paeps 1314e948693eSPhilip Paeps /* 1315e948693eSPhilip Paeps * PC_DEVSN_DWORD0_REG(32bit): 1316e948693eSPhilip Paeps * Device serial number DWORD0 1317e948693eSPhilip Paeps */ 1318e948693eSPhilip Paeps 13193c838a9fSAndrew Rybchenko #define PCR_CZ_DEVSN_DWORD0_REG 0x00000144 13203c838a9fSAndrew Rybchenko /* sienaa0,hunta0=pci_f0_config */ 1321e948693eSPhilip Paeps 1322e948693eSPhilip Paeps #define PCRF_CZ_DEVSN_DWORD0_LBN 0 1323e948693eSPhilip Paeps #define PCRF_CZ_DEVSN_DWORD0_WIDTH 32 1324e948693eSPhilip Paeps 1325e948693eSPhilip Paeps 1326e948693eSPhilip Paeps /* 1327e948693eSPhilip Paeps * PC_DEVSN_DWORD1_REG(32bit): 1328e948693eSPhilip Paeps * Device serial number DWORD0 1329e948693eSPhilip Paeps */ 1330e948693eSPhilip Paeps 13313c838a9fSAndrew Rybchenko #define PCR_CZ_DEVSN_DWORD1_REG 0x00000148 13323c838a9fSAndrew Rybchenko /* sienaa0,hunta0=pci_f0_config */ 1333e948693eSPhilip Paeps 1334e948693eSPhilip Paeps #define PCRF_CZ_DEVSN_DWORD1_LBN 0 1335e948693eSPhilip Paeps #define PCRF_CZ_DEVSN_DWORD1_WIDTH 32 1336e948693eSPhilip Paeps 1337e948693eSPhilip Paeps 1338e948693eSPhilip Paeps /* 1339e948693eSPhilip Paeps * PC_ARI_CAP_HDR_REG(32bit): 1340e948693eSPhilip Paeps * ARI capability header register 1341e948693eSPhilip Paeps */ 1342e948693eSPhilip Paeps 13433c838a9fSAndrew Rybchenko #define PCR_CZ_ARI_CAP_HDR_REG 0x00000150 13443c838a9fSAndrew Rybchenko /* sienaa0,hunta0=pci_f0_config */ 1345e948693eSPhilip Paeps 1346e948693eSPhilip Paeps #define PCRF_CZ_ARICAPHDR_NXT_PTR_LBN 20 1347e948693eSPhilip Paeps #define PCRF_CZ_ARICAPHDR_NXT_PTR_WIDTH 12 1348e948693eSPhilip Paeps #define PCRF_CZ_ARICAPHDR_VER_LBN 16 1349e948693eSPhilip Paeps #define PCRF_CZ_ARICAPHDR_VER_WIDTH 4 1350e948693eSPhilip Paeps #define PCRF_CZ_ARICAPHDR_ID_LBN 0 1351e948693eSPhilip Paeps #define PCRF_CZ_ARICAPHDR_ID_WIDTH 16 1352e948693eSPhilip Paeps 1353e948693eSPhilip Paeps 1354e948693eSPhilip Paeps /* 1355e948693eSPhilip Paeps * PC_ARI_CAP_REG(16bit): 1356e948693eSPhilip Paeps * ARI Capabilities 1357e948693eSPhilip Paeps */ 1358e948693eSPhilip Paeps 13593c838a9fSAndrew Rybchenko #define PCR_CZ_ARI_CAP_REG 0x00000154 13603c838a9fSAndrew Rybchenko /* sienaa0,hunta0=pci_f0_config */ 1361e948693eSPhilip Paeps 1362e948693eSPhilip Paeps #define PCRF_CZ_ARI_NXT_FN_NUM_LBN 8 1363e948693eSPhilip Paeps #define PCRF_CZ_ARI_NXT_FN_NUM_WIDTH 8 1364e948693eSPhilip Paeps #define PCRF_CZ_ARI_ACS_FNGRP_CAP_LBN 1 1365e948693eSPhilip Paeps #define PCRF_CZ_ARI_ACS_FNGRP_CAP_WIDTH 1 1366e948693eSPhilip Paeps #define PCRF_CZ_ARI_MFVC_FNGRP_CAP_LBN 0 1367e948693eSPhilip Paeps #define PCRF_CZ_ARI_MFVC_FNGRP_CAP_WIDTH 1 1368e948693eSPhilip Paeps 1369e948693eSPhilip Paeps 1370e948693eSPhilip Paeps /* 1371e948693eSPhilip Paeps * PC_ARI_CTL_REG(16bit): 1372e948693eSPhilip Paeps * ARI Control 1373e948693eSPhilip Paeps */ 1374e948693eSPhilip Paeps 13753c838a9fSAndrew Rybchenko #define PCR_CZ_ARI_CTL_REG 0x00000156 13763c838a9fSAndrew Rybchenko /* sienaa0,hunta0=pci_f0_config */ 1377e948693eSPhilip Paeps 1378e948693eSPhilip Paeps #define PCRF_CZ_ARI_FN_GRP_LBN 4 1379e948693eSPhilip Paeps #define PCRF_CZ_ARI_FN_GRP_WIDTH 3 1380e948693eSPhilip Paeps #define PCRF_CZ_ARI_ACS_FNGRP_EN_LBN 1 1381e948693eSPhilip Paeps #define PCRF_CZ_ARI_ACS_FNGRP_EN_WIDTH 1 1382e948693eSPhilip Paeps #define PCRF_CZ_ARI_MFVC_FNGRP_EN_LBN 0 1383e948693eSPhilip Paeps #define PCRF_CZ_ARI_MFVC_FNGRP_EN_WIDTH 1 1384e948693eSPhilip Paeps 1385e948693eSPhilip Paeps 1386e948693eSPhilip Paeps /* 13873c838a9fSAndrew Rybchenko * PC_SEC_PCIE_CAP_REG(32bit): 13883c838a9fSAndrew Rybchenko * Secondary PCIE Capability Register 13893c838a9fSAndrew Rybchenko */ 13903c838a9fSAndrew Rybchenko 13913c838a9fSAndrew Rybchenko #define PCR_DZ_SEC_PCIE_CAP_REG 0x00000160 13923c838a9fSAndrew Rybchenko /* hunta0=pci_f0_config */ 13933c838a9fSAndrew Rybchenko 13943c838a9fSAndrew Rybchenko #define PCRF_DZ_SEC_NXT_PTR_LBN 20 13953c838a9fSAndrew Rybchenko #define PCRF_DZ_SEC_NXT_PTR_WIDTH 12 13963c838a9fSAndrew Rybchenko #define PCRF_DZ_SEC_VERSION_LBN 16 13973c838a9fSAndrew Rybchenko #define PCRF_DZ_SEC_VERSION_WIDTH 4 13983c838a9fSAndrew Rybchenko #define PCRF_DZ_SEC_EXT_CAP_ID_LBN 0 13993c838a9fSAndrew Rybchenko #define PCRF_DZ_SEC_EXT_CAP_ID_WIDTH 16 14003c838a9fSAndrew Rybchenko 14013c838a9fSAndrew Rybchenko 14023c838a9fSAndrew Rybchenko /* 1403e948693eSPhilip Paeps * PC_SRIOV_CAP_HDR_REG(32bit): 1404e948693eSPhilip Paeps * SRIOV capability header register 1405e948693eSPhilip Paeps */ 1406e948693eSPhilip Paeps 1407e948693eSPhilip Paeps #define PCR_CC_SRIOV_CAP_HDR_REG 0x00000160 1408e948693eSPhilip Paeps /* sienaa0=pci_f0_config */ 1409e948693eSPhilip Paeps 14103c838a9fSAndrew Rybchenko #define PCR_DZ_SRIOV_CAP_HDR_REG 0x00000180 1411e948693eSPhilip Paeps /* hunta0=pci_f0_config */ 1412e948693eSPhilip Paeps 1413e948693eSPhilip Paeps #define PCRF_CZ_SRIOVCAPHDR_NXT_PTR_LBN 20 1414e948693eSPhilip Paeps #define PCRF_CZ_SRIOVCAPHDR_NXT_PTR_WIDTH 12 1415e948693eSPhilip Paeps #define PCRF_CZ_SRIOVCAPHDR_VER_LBN 16 1416e948693eSPhilip Paeps #define PCRF_CZ_SRIOVCAPHDR_VER_WIDTH 4 1417e948693eSPhilip Paeps #define PCRF_CZ_SRIOVCAPHDR_ID_LBN 0 1418e948693eSPhilip Paeps #define PCRF_CZ_SRIOVCAPHDR_ID_WIDTH 16 1419e948693eSPhilip Paeps 1420e948693eSPhilip Paeps 1421e948693eSPhilip Paeps /* 1422e948693eSPhilip Paeps * PC_SRIOV_CAP_REG(32bit): 1423e948693eSPhilip Paeps * SRIOV Capabilities 1424e948693eSPhilip Paeps */ 1425e948693eSPhilip Paeps 1426e948693eSPhilip Paeps #define PCR_CC_SRIOV_CAP_REG 0x00000164 1427e948693eSPhilip Paeps /* sienaa0=pci_f0_config */ 1428e948693eSPhilip Paeps 14293c838a9fSAndrew Rybchenko #define PCR_DZ_SRIOV_CAP_REG 0x00000184 1430e948693eSPhilip Paeps /* hunta0=pci_f0_config */ 1431e948693eSPhilip Paeps 1432e948693eSPhilip Paeps #define PCRF_CZ_VF_MIGR_INT_MSG_NUM_LBN 21 1433e948693eSPhilip Paeps #define PCRF_CZ_VF_MIGR_INT_MSG_NUM_WIDTH 11 14343c838a9fSAndrew Rybchenko #define PCRF_DZ_VF_ARI_CAP_PRESV_LBN 1 14353c838a9fSAndrew Rybchenko #define PCRF_DZ_VF_ARI_CAP_PRESV_WIDTH 1 1436e948693eSPhilip Paeps #define PCRF_CZ_VF_MIGR_CAP_LBN 0 1437e948693eSPhilip Paeps #define PCRF_CZ_VF_MIGR_CAP_WIDTH 1 1438e948693eSPhilip Paeps 1439e948693eSPhilip Paeps 1440e948693eSPhilip Paeps /* 14413c838a9fSAndrew Rybchenko * PC_LINK_CONTROL3_REG(32bit): 14423c838a9fSAndrew Rybchenko * Link Control 3. 14433c838a9fSAndrew Rybchenko */ 14443c838a9fSAndrew Rybchenko 14453c838a9fSAndrew Rybchenko #define PCR_DZ_LINK_CONTROL3_REG 0x00000164 14463c838a9fSAndrew Rybchenko /* hunta0=pci_f0_config */ 14473c838a9fSAndrew Rybchenko 14483c838a9fSAndrew Rybchenko #define PCRF_DZ_LINK_EQ_INT_EN_LBN 1 14493c838a9fSAndrew Rybchenko #define PCRF_DZ_LINK_EQ_INT_EN_WIDTH 1 14503c838a9fSAndrew Rybchenko #define PCRF_DZ_PERFORM_EQL_LBN 0 14513c838a9fSAndrew Rybchenko #define PCRF_DZ_PERFORM_EQL_WIDTH 1 14523c838a9fSAndrew Rybchenko 14533c838a9fSAndrew Rybchenko 14543c838a9fSAndrew Rybchenko /* 14553c838a9fSAndrew Rybchenko * PC_LANE_ERROR_STAT_REG(32bit): 14563c838a9fSAndrew Rybchenko * Lane Error Status Register. 14573c838a9fSAndrew Rybchenko */ 14583c838a9fSAndrew Rybchenko 14593c838a9fSAndrew Rybchenko #define PCR_DZ_LANE_ERROR_STAT_REG 0x00000168 14603c838a9fSAndrew Rybchenko /* hunta0=pci_f0_config */ 14613c838a9fSAndrew Rybchenko 14623c838a9fSAndrew Rybchenko #define PCRF_DZ_LANE_STATUS_LBN 0 14633c838a9fSAndrew Rybchenko #define PCRF_DZ_LANE_STATUS_WIDTH 8 14643c838a9fSAndrew Rybchenko 14653c838a9fSAndrew Rybchenko 14663c838a9fSAndrew Rybchenko /* 1467e948693eSPhilip Paeps * PC_SRIOV_CTL_REG(16bit): 1468e948693eSPhilip Paeps * SRIOV Control 1469e948693eSPhilip Paeps */ 1470e948693eSPhilip Paeps 1471e948693eSPhilip Paeps #define PCR_CC_SRIOV_CTL_REG 0x00000168 1472e948693eSPhilip Paeps /* sienaa0=pci_f0_config */ 1473e948693eSPhilip Paeps 14743c838a9fSAndrew Rybchenko #define PCR_DZ_SRIOV_CTL_REG 0x00000188 1475e948693eSPhilip Paeps /* hunta0=pci_f0_config */ 1476e948693eSPhilip Paeps 1477e948693eSPhilip Paeps #define PCRF_CZ_VF_ARI_CAP_HRCHY_LBN 4 1478e948693eSPhilip Paeps #define PCRF_CZ_VF_ARI_CAP_HRCHY_WIDTH 1 1479e948693eSPhilip Paeps #define PCRF_CZ_VF_MSE_LBN 3 1480e948693eSPhilip Paeps #define PCRF_CZ_VF_MSE_WIDTH 1 1481e948693eSPhilip Paeps #define PCRF_CZ_VF_MIGR_INT_EN_LBN 2 1482e948693eSPhilip Paeps #define PCRF_CZ_VF_MIGR_INT_EN_WIDTH 1 1483e948693eSPhilip Paeps #define PCRF_CZ_VF_MIGR_EN_LBN 1 1484e948693eSPhilip Paeps #define PCRF_CZ_VF_MIGR_EN_WIDTH 1 1485e948693eSPhilip Paeps #define PCRF_CZ_VF_EN_LBN 0 1486e948693eSPhilip Paeps #define PCRF_CZ_VF_EN_WIDTH 1 1487e948693eSPhilip Paeps 1488e948693eSPhilip Paeps 1489e948693eSPhilip Paeps /* 1490e948693eSPhilip Paeps * PC_SRIOV_STAT_REG(16bit): 1491e948693eSPhilip Paeps * SRIOV Status 1492e948693eSPhilip Paeps */ 1493e948693eSPhilip Paeps 1494e948693eSPhilip Paeps #define PCR_CC_SRIOV_STAT_REG 0x0000016a 1495e948693eSPhilip Paeps /* sienaa0=pci_f0_config */ 1496e948693eSPhilip Paeps 14973c838a9fSAndrew Rybchenko #define PCR_DZ_SRIOV_STAT_REG 0x0000018a 1498e948693eSPhilip Paeps /* hunta0=pci_f0_config */ 1499e948693eSPhilip Paeps 1500e948693eSPhilip Paeps #define PCRF_CZ_VF_MIGR_STAT_LBN 0 1501e948693eSPhilip Paeps #define PCRF_CZ_VF_MIGR_STAT_WIDTH 1 1502e948693eSPhilip Paeps 1503e948693eSPhilip Paeps 1504e948693eSPhilip Paeps /* 15053c838a9fSAndrew Rybchenko * PC_LANE01_EQU_CONTROL_REG(32bit): 15063c838a9fSAndrew Rybchenko * Lanes 0,1 Equalization Control Register. 15073c838a9fSAndrew Rybchenko */ 15083c838a9fSAndrew Rybchenko 15093c838a9fSAndrew Rybchenko #define PCR_DZ_LANE01_EQU_CONTROL_REG 0x0000016c 15103c838a9fSAndrew Rybchenko /* hunta0=pci_f0_config */ 15113c838a9fSAndrew Rybchenko 15123c838a9fSAndrew Rybchenko #define PCRF_DZ_LANE1_EQ_CTRL_LBN 16 15133c838a9fSAndrew Rybchenko #define PCRF_DZ_LANE1_EQ_CTRL_WIDTH 16 15143c838a9fSAndrew Rybchenko #define PCRF_DZ_LANE0_EQ_CTRL_LBN 0 15153c838a9fSAndrew Rybchenko #define PCRF_DZ_LANE0_EQ_CTRL_WIDTH 16 15163c838a9fSAndrew Rybchenko 15173c838a9fSAndrew Rybchenko 15183c838a9fSAndrew Rybchenko /* 1519e948693eSPhilip Paeps * PC_SRIOV_INITIALVFS_REG(16bit): 1520e948693eSPhilip Paeps * SRIOV Initial VFs 1521e948693eSPhilip Paeps */ 1522e948693eSPhilip Paeps 1523e948693eSPhilip Paeps #define PCR_CC_SRIOV_INITIALVFS_REG 0x0000016c 1524e948693eSPhilip Paeps /* sienaa0=pci_f0_config */ 1525e948693eSPhilip Paeps 15263c838a9fSAndrew Rybchenko #define PCR_DZ_SRIOV_INITIALVFS_REG 0x0000018c 1527e948693eSPhilip Paeps /* hunta0=pci_f0_config */ 1528e948693eSPhilip Paeps 1529e948693eSPhilip Paeps #define PCRF_CZ_VF_INITIALVFS_LBN 0 1530e948693eSPhilip Paeps #define PCRF_CZ_VF_INITIALVFS_WIDTH 16 1531e948693eSPhilip Paeps 1532e948693eSPhilip Paeps 1533e948693eSPhilip Paeps /* 1534e948693eSPhilip Paeps * PC_SRIOV_TOTALVFS_REG(10bit): 1535e948693eSPhilip Paeps * SRIOV Total VFs 1536e948693eSPhilip Paeps */ 1537e948693eSPhilip Paeps 1538e948693eSPhilip Paeps #define PCR_CC_SRIOV_TOTALVFS_REG 0x0000016e 1539e948693eSPhilip Paeps /* sienaa0=pci_f0_config */ 1540e948693eSPhilip Paeps 15413c838a9fSAndrew Rybchenko #define PCR_DZ_SRIOV_TOTALVFS_REG 0x0000018e 1542e948693eSPhilip Paeps /* hunta0=pci_f0_config */ 1543e948693eSPhilip Paeps 1544e948693eSPhilip Paeps #define PCRF_CZ_VF_TOTALVFS_LBN 0 1545e948693eSPhilip Paeps #define PCRF_CZ_VF_TOTALVFS_WIDTH 16 1546e948693eSPhilip Paeps 1547e948693eSPhilip Paeps 1548e948693eSPhilip Paeps /* 1549e948693eSPhilip Paeps * PC_SRIOV_NUMVFS_REG(16bit): 1550e948693eSPhilip Paeps * SRIOV Number of VFs 1551e948693eSPhilip Paeps */ 1552e948693eSPhilip Paeps 1553e948693eSPhilip Paeps #define PCR_CC_SRIOV_NUMVFS_REG 0x00000170 1554e948693eSPhilip Paeps /* sienaa0=pci_f0_config */ 1555e948693eSPhilip Paeps 15563c838a9fSAndrew Rybchenko #define PCR_DZ_SRIOV_NUMVFS_REG 0x00000190 1557e948693eSPhilip Paeps /* hunta0=pci_f0_config */ 1558e948693eSPhilip Paeps 1559e948693eSPhilip Paeps #define PCRF_CZ_VF_NUMVFS_LBN 0 1560e948693eSPhilip Paeps #define PCRF_CZ_VF_NUMVFS_WIDTH 16 1561e948693eSPhilip Paeps 1562e948693eSPhilip Paeps 1563e948693eSPhilip Paeps /* 15643c838a9fSAndrew Rybchenko * PC_LANE23_EQU_CONTROL_REG(32bit): 15653c838a9fSAndrew Rybchenko * Lanes 2,3 Equalization Control Register. 15663c838a9fSAndrew Rybchenko */ 15673c838a9fSAndrew Rybchenko 15683c838a9fSAndrew Rybchenko #define PCR_DZ_LANE23_EQU_CONTROL_REG 0x00000170 15693c838a9fSAndrew Rybchenko /* hunta0=pci_f0_config */ 15703c838a9fSAndrew Rybchenko 15713c838a9fSAndrew Rybchenko #define PCRF_DZ_LANE3_EQ_CTRL_LBN 16 15723c838a9fSAndrew Rybchenko #define PCRF_DZ_LANE3_EQ_CTRL_WIDTH 16 15733c838a9fSAndrew Rybchenko #define PCRF_DZ_LANE2_EQ_CTRL_LBN 0 15743c838a9fSAndrew Rybchenko #define PCRF_DZ_LANE2_EQ_CTRL_WIDTH 16 15753c838a9fSAndrew Rybchenko 15763c838a9fSAndrew Rybchenko 15773c838a9fSAndrew Rybchenko /* 1578e948693eSPhilip Paeps * PC_SRIOV_FN_DPND_LNK_REG(16bit): 1579e948693eSPhilip Paeps * SRIOV Function dependency link 1580e948693eSPhilip Paeps */ 1581e948693eSPhilip Paeps 1582e948693eSPhilip Paeps #define PCR_CC_SRIOV_FN_DPND_LNK_REG 0x00000172 1583e948693eSPhilip Paeps /* sienaa0=pci_f0_config */ 1584e948693eSPhilip Paeps 15853c838a9fSAndrew Rybchenko #define PCR_DZ_SRIOV_FN_DPND_LNK_REG 0x00000192 1586e948693eSPhilip Paeps /* hunta0=pci_f0_config */ 1587e948693eSPhilip Paeps 1588e948693eSPhilip Paeps #define PCRF_CZ_SRIOV_FN_DPND_LNK_LBN 0 1589e948693eSPhilip Paeps #define PCRF_CZ_SRIOV_FN_DPND_LNK_WIDTH 8 1590e948693eSPhilip Paeps 1591e948693eSPhilip Paeps 1592e948693eSPhilip Paeps /* 1593e948693eSPhilip Paeps * PC_SRIOV_1STVF_OFFSET_REG(16bit): 1594e948693eSPhilip Paeps * SRIOV First VF Offset 1595e948693eSPhilip Paeps */ 1596e948693eSPhilip Paeps 1597e948693eSPhilip Paeps #define PCR_CC_SRIOV_1STVF_OFFSET_REG 0x00000174 1598e948693eSPhilip Paeps /* sienaa0=pci_f0_config */ 1599e948693eSPhilip Paeps 16003c838a9fSAndrew Rybchenko #define PCR_DZ_SRIOV_1STVF_OFFSET_REG 0x00000194 1601e948693eSPhilip Paeps /* hunta0=pci_f0_config */ 1602e948693eSPhilip Paeps 1603e948693eSPhilip Paeps #define PCRF_CZ_VF_1STVF_OFFSET_LBN 0 1604e948693eSPhilip Paeps #define PCRF_CZ_VF_1STVF_OFFSET_WIDTH 16 1605e948693eSPhilip Paeps 1606e948693eSPhilip Paeps 1607e948693eSPhilip Paeps /* 16083c838a9fSAndrew Rybchenko * PC_LANE45_EQU_CONTROL_REG(32bit): 16093c838a9fSAndrew Rybchenko * Lanes 4,5 Equalization Control Register. 16103c838a9fSAndrew Rybchenko */ 16113c838a9fSAndrew Rybchenko 16123c838a9fSAndrew Rybchenko #define PCR_DZ_LANE45_EQU_CONTROL_REG 0x00000174 16133c838a9fSAndrew Rybchenko /* hunta0=pci_f0_config */ 16143c838a9fSAndrew Rybchenko 16153c838a9fSAndrew Rybchenko #define PCRF_DZ_LANE5_EQ_CTRL_LBN 16 16163c838a9fSAndrew Rybchenko #define PCRF_DZ_LANE5_EQ_CTRL_WIDTH 16 16173c838a9fSAndrew Rybchenko #define PCRF_DZ_LANE4_EQ_CTRL_LBN 0 16183c838a9fSAndrew Rybchenko #define PCRF_DZ_LANE4_EQ_CTRL_WIDTH 16 16193c838a9fSAndrew Rybchenko 16203c838a9fSAndrew Rybchenko 16213c838a9fSAndrew Rybchenko /* 1622e948693eSPhilip Paeps * PC_SRIOV_VFSTRIDE_REG(16bit): 1623e948693eSPhilip Paeps * SRIOV VF Stride 1624e948693eSPhilip Paeps */ 1625e948693eSPhilip Paeps 1626e948693eSPhilip Paeps #define PCR_CC_SRIOV_VFSTRIDE_REG 0x00000176 1627e948693eSPhilip Paeps /* sienaa0=pci_f0_config */ 1628e948693eSPhilip Paeps 16293c838a9fSAndrew Rybchenko #define PCR_DZ_SRIOV_VFSTRIDE_REG 0x00000196 1630e948693eSPhilip Paeps /* hunta0=pci_f0_config */ 1631e948693eSPhilip Paeps 1632e948693eSPhilip Paeps #define PCRF_CZ_VF_VFSTRIDE_LBN 0 1633e948693eSPhilip Paeps #define PCRF_CZ_VF_VFSTRIDE_WIDTH 16 1634e948693eSPhilip Paeps 1635e948693eSPhilip Paeps 1636e948693eSPhilip Paeps /* 16373c838a9fSAndrew Rybchenko * PC_LANE67_EQU_CONTROL_REG(32bit): 16383c838a9fSAndrew Rybchenko * Lanes 6,7 Equalization Control Register. 16393c838a9fSAndrew Rybchenko */ 16403c838a9fSAndrew Rybchenko 16413c838a9fSAndrew Rybchenko #define PCR_DZ_LANE67_EQU_CONTROL_REG 0x00000178 16423c838a9fSAndrew Rybchenko /* hunta0=pci_f0_config */ 16433c838a9fSAndrew Rybchenko 16443c838a9fSAndrew Rybchenko #define PCRF_DZ_LANE7_EQ_CTRL_LBN 16 16453c838a9fSAndrew Rybchenko #define PCRF_DZ_LANE7_EQ_CTRL_WIDTH 16 16463c838a9fSAndrew Rybchenko #define PCRF_DZ_LANE6_EQ_CTRL_LBN 0 16473c838a9fSAndrew Rybchenko #define PCRF_DZ_LANE6_EQ_CTRL_WIDTH 16 16483c838a9fSAndrew Rybchenko 16493c838a9fSAndrew Rybchenko 16503c838a9fSAndrew Rybchenko /* 1651e948693eSPhilip Paeps * PC_SRIOV_DEVID_REG(16bit): 1652e948693eSPhilip Paeps * SRIOV VF Device ID 1653e948693eSPhilip Paeps */ 1654e948693eSPhilip Paeps 1655e948693eSPhilip Paeps #define PCR_CC_SRIOV_DEVID_REG 0x0000017a 1656e948693eSPhilip Paeps /* sienaa0=pci_f0_config */ 1657e948693eSPhilip Paeps 16583c838a9fSAndrew Rybchenko #define PCR_DZ_SRIOV_DEVID_REG 0x0000019a 1659e948693eSPhilip Paeps /* hunta0=pci_f0_config */ 1660e948693eSPhilip Paeps 1661e948693eSPhilip Paeps #define PCRF_CZ_VF_DEVID_LBN 0 1662e948693eSPhilip Paeps #define PCRF_CZ_VF_DEVID_WIDTH 16 1663e948693eSPhilip Paeps 1664e948693eSPhilip Paeps 1665e948693eSPhilip Paeps /* 1666e948693eSPhilip Paeps * PC_SRIOV_SUP_PAGESZ_REG(16bit): 1667e948693eSPhilip Paeps * SRIOV Supported Page Sizes 1668e948693eSPhilip Paeps */ 1669e948693eSPhilip Paeps 1670e948693eSPhilip Paeps #define PCR_CC_SRIOV_SUP_PAGESZ_REG 0x0000017c 1671e948693eSPhilip Paeps /* sienaa0=pci_f0_config */ 1672e948693eSPhilip Paeps 16733c838a9fSAndrew Rybchenko #define PCR_DZ_SRIOV_SUP_PAGESZ_REG 0x0000019c 1674e948693eSPhilip Paeps /* hunta0=pci_f0_config */ 1675e948693eSPhilip Paeps 1676e948693eSPhilip Paeps #define PCRF_CZ_VF_SUP_PAGESZ_LBN 0 1677e948693eSPhilip Paeps #define PCRF_CZ_VF_SUP_PAGESZ_WIDTH 16 1678e948693eSPhilip Paeps 1679e948693eSPhilip Paeps 1680e948693eSPhilip Paeps /* 1681e948693eSPhilip Paeps * PC_SRIOV_SYS_PAGESZ_REG(32bit): 1682e948693eSPhilip Paeps * SRIOV System Page Size 1683e948693eSPhilip Paeps */ 1684e948693eSPhilip Paeps 1685e948693eSPhilip Paeps #define PCR_CC_SRIOV_SYS_PAGESZ_REG 0x00000180 1686e948693eSPhilip Paeps /* sienaa0=pci_f0_config */ 1687e948693eSPhilip Paeps 16883c838a9fSAndrew Rybchenko #define PCR_DZ_SRIOV_SYS_PAGESZ_REG 0x000001a0 1689e948693eSPhilip Paeps /* hunta0=pci_f0_config */ 1690e948693eSPhilip Paeps 1691e948693eSPhilip Paeps #define PCRF_CZ_VF_SYS_PAGESZ_LBN 0 1692e948693eSPhilip Paeps #define PCRF_CZ_VF_SYS_PAGESZ_WIDTH 16 1693e948693eSPhilip Paeps 1694e948693eSPhilip Paeps 1695e948693eSPhilip Paeps /* 1696e948693eSPhilip Paeps * PC_SRIOV_BAR0_REG(32bit): 1697e948693eSPhilip Paeps * SRIOV VF Bar0 1698e948693eSPhilip Paeps */ 1699e948693eSPhilip Paeps 1700e948693eSPhilip Paeps #define PCR_CC_SRIOV_BAR0_REG 0x00000184 1701e948693eSPhilip Paeps /* sienaa0=pci_f0_config */ 1702e948693eSPhilip Paeps 17033c838a9fSAndrew Rybchenko #define PCR_DZ_SRIOV_BAR0_REG 0x000001a4 1704e948693eSPhilip Paeps /* hunta0=pci_f0_config */ 1705e948693eSPhilip Paeps 1706e948693eSPhilip Paeps #define PCRF_CC_VF_BAR_ADDRESS_LBN 0 1707e948693eSPhilip Paeps #define PCRF_CC_VF_BAR_ADDRESS_WIDTH 32 17083c838a9fSAndrew Rybchenko #define PCRF_DZ_VF_BAR0_ADDRESS_LBN 4 17093c838a9fSAndrew Rybchenko #define PCRF_DZ_VF_BAR0_ADDRESS_WIDTH 28 17103c838a9fSAndrew Rybchenko #define PCRF_DZ_VF_BAR0_PREF_LBN 3 17113c838a9fSAndrew Rybchenko #define PCRF_DZ_VF_BAR0_PREF_WIDTH 1 17123c838a9fSAndrew Rybchenko #define PCRF_DZ_VF_BAR0_TYPE_LBN 1 17133c838a9fSAndrew Rybchenko #define PCRF_DZ_VF_BAR0_TYPE_WIDTH 2 17143c838a9fSAndrew Rybchenko #define PCRF_DZ_VF_BAR0_IOM_LBN 0 17153c838a9fSAndrew Rybchenko #define PCRF_DZ_VF_BAR0_IOM_WIDTH 1 1716e948693eSPhilip Paeps 1717e948693eSPhilip Paeps 1718e948693eSPhilip Paeps /* 1719e948693eSPhilip Paeps * PC_SRIOV_BAR1_REG(32bit): 1720e948693eSPhilip Paeps * SRIOV Bar1 1721e948693eSPhilip Paeps */ 1722e948693eSPhilip Paeps 1723e948693eSPhilip Paeps #define PCR_CC_SRIOV_BAR1_REG 0x00000188 1724e948693eSPhilip Paeps /* sienaa0=pci_f0_config */ 1725e948693eSPhilip Paeps 17263c838a9fSAndrew Rybchenko #define PCR_DZ_SRIOV_BAR1_REG 0x000001a8 1727e948693eSPhilip Paeps /* hunta0=pci_f0_config */ 1728e948693eSPhilip Paeps 1729e948693eSPhilip Paeps /* defined as PCRF_CC_VF_BAR_ADDRESS_LBN 0; */ 1730e948693eSPhilip Paeps /* defined as PCRF_CC_VF_BAR_ADDRESS_WIDTH 32 */ 1731e948693eSPhilip Paeps #define PCRF_DZ_VF_BAR1_ADDRESS_LBN 0 1732e948693eSPhilip Paeps #define PCRF_DZ_VF_BAR1_ADDRESS_WIDTH 32 1733e948693eSPhilip Paeps 1734e948693eSPhilip Paeps 1735e948693eSPhilip Paeps /* 1736e948693eSPhilip Paeps * PC_SRIOV_BAR2_REG(32bit): 1737e948693eSPhilip Paeps * SRIOV Bar2 1738e948693eSPhilip Paeps */ 1739e948693eSPhilip Paeps 1740e948693eSPhilip Paeps #define PCR_CC_SRIOV_BAR2_REG 0x0000018c 1741e948693eSPhilip Paeps /* sienaa0=pci_f0_config */ 1742e948693eSPhilip Paeps 17433c838a9fSAndrew Rybchenko #define PCR_DZ_SRIOV_BAR2_REG 0x000001ac 1744e948693eSPhilip Paeps /* hunta0=pci_f0_config */ 1745e948693eSPhilip Paeps 1746e948693eSPhilip Paeps /* defined as PCRF_CC_VF_BAR_ADDRESS_LBN 0; */ 1747e948693eSPhilip Paeps /* defined as PCRF_CC_VF_BAR_ADDRESS_WIDTH 32 */ 17483c838a9fSAndrew Rybchenko #define PCRF_DZ_VF_BAR2_ADDRESS_LBN 4 17493c838a9fSAndrew Rybchenko #define PCRF_DZ_VF_BAR2_ADDRESS_WIDTH 28 17503c838a9fSAndrew Rybchenko #define PCRF_DZ_VF_BAR2_PREF_LBN 3 17513c838a9fSAndrew Rybchenko #define PCRF_DZ_VF_BAR2_PREF_WIDTH 1 17523c838a9fSAndrew Rybchenko #define PCRF_DZ_VF_BAR2_TYPE_LBN 1 17533c838a9fSAndrew Rybchenko #define PCRF_DZ_VF_BAR2_TYPE_WIDTH 2 17543c838a9fSAndrew Rybchenko #define PCRF_DZ_VF_BAR2_IOM_LBN 0 17553c838a9fSAndrew Rybchenko #define PCRF_DZ_VF_BAR2_IOM_WIDTH 1 1756e948693eSPhilip Paeps 1757e948693eSPhilip Paeps 1758e948693eSPhilip Paeps /* 1759e948693eSPhilip Paeps * PC_SRIOV_BAR3_REG(32bit): 1760e948693eSPhilip Paeps * SRIOV Bar3 1761e948693eSPhilip Paeps */ 1762e948693eSPhilip Paeps 1763e948693eSPhilip Paeps #define PCR_CC_SRIOV_BAR3_REG 0x00000190 1764e948693eSPhilip Paeps /* sienaa0=pci_f0_config */ 1765e948693eSPhilip Paeps 17663c838a9fSAndrew Rybchenko #define PCR_DZ_SRIOV_BAR3_REG 0x000001b0 1767e948693eSPhilip Paeps /* hunta0=pci_f0_config */ 1768e948693eSPhilip Paeps 1769e948693eSPhilip Paeps /* defined as PCRF_CC_VF_BAR_ADDRESS_LBN 0; */ 1770e948693eSPhilip Paeps /* defined as PCRF_CC_VF_BAR_ADDRESS_WIDTH 32 */ 1771e948693eSPhilip Paeps #define PCRF_DZ_VF_BAR3_ADDRESS_LBN 0 1772e948693eSPhilip Paeps #define PCRF_DZ_VF_BAR3_ADDRESS_WIDTH 32 1773e948693eSPhilip Paeps 1774e948693eSPhilip Paeps 1775e948693eSPhilip Paeps /* 1776e948693eSPhilip Paeps * PC_SRIOV_BAR4_REG(32bit): 1777e948693eSPhilip Paeps * SRIOV Bar4 1778e948693eSPhilip Paeps */ 1779e948693eSPhilip Paeps 1780e948693eSPhilip Paeps #define PCR_CC_SRIOV_BAR4_REG 0x00000194 1781e948693eSPhilip Paeps /* sienaa0=pci_f0_config */ 1782e948693eSPhilip Paeps 17833c838a9fSAndrew Rybchenko #define PCR_DZ_SRIOV_BAR4_REG 0x000001b4 1784e948693eSPhilip Paeps /* hunta0=pci_f0_config */ 1785e948693eSPhilip Paeps 1786e948693eSPhilip Paeps /* defined as PCRF_CC_VF_BAR_ADDRESS_LBN 0; */ 1787e948693eSPhilip Paeps /* defined as PCRF_CC_VF_BAR_ADDRESS_WIDTH 32 */ 1788e948693eSPhilip Paeps #define PCRF_DZ_VF_BAR4_ADDRESS_LBN 0 1789e948693eSPhilip Paeps #define PCRF_DZ_VF_BAR4_ADDRESS_WIDTH 32 1790e948693eSPhilip Paeps 1791e948693eSPhilip Paeps 1792e948693eSPhilip Paeps /* 1793e948693eSPhilip Paeps * PC_SRIOV_BAR5_REG(32bit): 1794e948693eSPhilip Paeps * SRIOV Bar5 1795e948693eSPhilip Paeps */ 1796e948693eSPhilip Paeps 1797e948693eSPhilip Paeps #define PCR_CC_SRIOV_BAR5_REG 0x00000198 1798e948693eSPhilip Paeps /* sienaa0=pci_f0_config */ 1799e948693eSPhilip Paeps 18003c838a9fSAndrew Rybchenko #define PCR_DZ_SRIOV_BAR5_REG 0x000001b8 1801e948693eSPhilip Paeps /* hunta0=pci_f0_config */ 1802e948693eSPhilip Paeps 1803e948693eSPhilip Paeps /* defined as PCRF_CC_VF_BAR_ADDRESS_LBN 0; */ 1804e948693eSPhilip Paeps /* defined as PCRF_CC_VF_BAR_ADDRESS_WIDTH 32 */ 1805e948693eSPhilip Paeps #define PCRF_DZ_VF_BAR5_ADDRESS_LBN 0 1806e948693eSPhilip Paeps #define PCRF_DZ_VF_BAR5_ADDRESS_WIDTH 32 1807e948693eSPhilip Paeps 1808e948693eSPhilip Paeps 1809e948693eSPhilip Paeps /* 18103c838a9fSAndrew Rybchenko * PC_SRIOV_RSVD_REG(16bit): 18113c838a9fSAndrew Rybchenko * Reserved register 18123c838a9fSAndrew Rybchenko */ 18133c838a9fSAndrew Rybchenko 18143c838a9fSAndrew Rybchenko #define PCR_DZ_SRIOV_RSVD_REG 0x00000198 18153c838a9fSAndrew Rybchenko /* hunta0=pci_f0_config */ 18163c838a9fSAndrew Rybchenko 18173c838a9fSAndrew Rybchenko #define PCRF_DZ_VF_RSVD_LBN 0 18183c838a9fSAndrew Rybchenko #define PCRF_DZ_VF_RSVD_WIDTH 16 18193c838a9fSAndrew Rybchenko 18203c838a9fSAndrew Rybchenko 18213c838a9fSAndrew Rybchenko /* 1822e948693eSPhilip Paeps * PC_SRIOV_MIBR_SARRAY_OFFSET_REG(32bit): 1823e948693eSPhilip Paeps * SRIOV VF Migration State Array Offset 1824e948693eSPhilip Paeps */ 1825e948693eSPhilip Paeps 1826e948693eSPhilip Paeps #define PCR_CC_SRIOV_MIBR_SARRAY_OFFSET_REG 0x0000019c 1827e948693eSPhilip Paeps /* sienaa0=pci_f0_config */ 1828e948693eSPhilip Paeps 18293c838a9fSAndrew Rybchenko #define PCR_DZ_SRIOV_MIBR_SARRAY_OFFSET_REG 0x000001bc 1830e948693eSPhilip Paeps /* hunta0=pci_f0_config */ 1831e948693eSPhilip Paeps 1832e948693eSPhilip Paeps #define PCRF_CZ_VF_MIGR_OFFSET_LBN 3 1833e948693eSPhilip Paeps #define PCRF_CZ_VF_MIGR_OFFSET_WIDTH 29 1834e948693eSPhilip Paeps #define PCRF_CZ_VF_MIGR_BIR_LBN 0 1835e948693eSPhilip Paeps #define PCRF_CZ_VF_MIGR_BIR_WIDTH 3 1836e948693eSPhilip Paeps 1837e948693eSPhilip Paeps 1838e948693eSPhilip Paeps /* 1839e948693eSPhilip Paeps * PC_TPH_CAP_HDR_REG(32bit): 1840e948693eSPhilip Paeps * TPH Capability Header Register 1841e948693eSPhilip Paeps */ 1842e948693eSPhilip Paeps 18433c838a9fSAndrew Rybchenko #define PCR_DZ_TPH_CAP_HDR_REG 0x000001c0 1844e948693eSPhilip Paeps /* hunta0=pci_f0_config */ 1845e948693eSPhilip Paeps 1846e948693eSPhilip Paeps #define PCRF_DZ_TPH_NXT_PTR_LBN 20 1847e948693eSPhilip Paeps #define PCRF_DZ_TPH_NXT_PTR_WIDTH 12 1848e948693eSPhilip Paeps #define PCRF_DZ_TPH_VERSION_LBN 16 1849e948693eSPhilip Paeps #define PCRF_DZ_TPH_VERSION_WIDTH 4 1850e948693eSPhilip Paeps #define PCRF_DZ_TPH_EXT_CAP_ID_LBN 0 1851e948693eSPhilip Paeps #define PCRF_DZ_TPH_EXT_CAP_ID_WIDTH 16 1852e948693eSPhilip Paeps 1853e948693eSPhilip Paeps 1854e948693eSPhilip Paeps /* 1855e948693eSPhilip Paeps * PC_TPH_REQ_CAP_REG(32bit): 1856e948693eSPhilip Paeps * TPH Requester Capability Register 1857e948693eSPhilip Paeps */ 1858e948693eSPhilip Paeps 18593c838a9fSAndrew Rybchenko #define PCR_DZ_TPH_REQ_CAP_REG 0x000001c4 1860e948693eSPhilip Paeps /* hunta0=pci_f0_config */ 1861e948693eSPhilip Paeps 1862e948693eSPhilip Paeps #define PCRF_DZ_ST_TBLE_SIZE_LBN 16 1863e948693eSPhilip Paeps #define PCRF_DZ_ST_TBLE_SIZE_WIDTH 11 1864e948693eSPhilip Paeps #define PCRF_DZ_ST_TBLE_LOC_LBN 9 1865e948693eSPhilip Paeps #define PCRF_DZ_ST_TBLE_LOC_WIDTH 2 1866e948693eSPhilip Paeps #define PCRF_DZ_EXT_TPH_MODE_SUP_LBN 8 1867e948693eSPhilip Paeps #define PCRF_DZ_EXT_TPH_MODE_SUP_WIDTH 1 1868e948693eSPhilip Paeps #define PCRF_DZ_TPH_DEV_MODE_SUP_LBN 2 1869e948693eSPhilip Paeps #define PCRF_DZ_TPH_DEV_MODE_SUP_WIDTH 1 1870e948693eSPhilip Paeps #define PCRF_DZ_TPH_INT_MODE_SUP_LBN 1 1871e948693eSPhilip Paeps #define PCRF_DZ_TPH_INT_MODE_SUP_WIDTH 1 1872e948693eSPhilip Paeps #define PCRF_DZ_TPH_NOST_MODE_SUP_LBN 0 1873e948693eSPhilip Paeps #define PCRF_DZ_TPH_NOST_MODE_SUP_WIDTH 1 1874e948693eSPhilip Paeps 1875e948693eSPhilip Paeps 1876e948693eSPhilip Paeps /* 1877e948693eSPhilip Paeps * PC_TPH_REQ_CTL_REG(32bit): 1878e948693eSPhilip Paeps * TPH Requester Control Register 1879e948693eSPhilip Paeps */ 1880e948693eSPhilip Paeps 18813c838a9fSAndrew Rybchenko #define PCR_DZ_TPH_REQ_CTL_REG 0x000001c8 1882e948693eSPhilip Paeps /* hunta0=pci_f0_config */ 1883e948693eSPhilip Paeps 1884e948693eSPhilip Paeps #define PCRF_DZ_TPH_REQ_ENABLE_LBN 8 1885e948693eSPhilip Paeps #define PCRF_DZ_TPH_REQ_ENABLE_WIDTH 2 1886e948693eSPhilip Paeps #define PCRF_DZ_TPH_ST_MODE_LBN 0 1887e948693eSPhilip Paeps #define PCRF_DZ_TPH_ST_MODE_WIDTH 3 1888e948693eSPhilip Paeps 1889e948693eSPhilip Paeps 1890e948693eSPhilip Paeps /* 18913c838a9fSAndrew Rybchenko * PC_LTR_CAP_HDR_REG(32bit): 18923c838a9fSAndrew Rybchenko * Latency Tolerance Reporting Cap Header Reg 1893e948693eSPhilip Paeps */ 1894e948693eSPhilip Paeps 18953c838a9fSAndrew Rybchenko #define PCR_DZ_LTR_CAP_HDR_REG 0x00000290 1896e948693eSPhilip Paeps /* hunta0=pci_f0_config */ 1897e948693eSPhilip Paeps 18983c838a9fSAndrew Rybchenko #define PCRF_DZ_LTR_NXT_PTR_LBN 20 18993c838a9fSAndrew Rybchenko #define PCRF_DZ_LTR_NXT_PTR_WIDTH 12 19003c838a9fSAndrew Rybchenko #define PCRF_DZ_LTR_VERSION_LBN 16 19013c838a9fSAndrew Rybchenko #define PCRF_DZ_LTR_VERSION_WIDTH 4 19023c838a9fSAndrew Rybchenko #define PCRF_DZ_LTR_EXT_CAP_ID_LBN 0 19033c838a9fSAndrew Rybchenko #define PCRF_DZ_LTR_EXT_CAP_ID_WIDTH 16 1904e948693eSPhilip Paeps 1905e948693eSPhilip Paeps 1906e948693eSPhilip Paeps /* 19073c838a9fSAndrew Rybchenko * PC_LTR_MAX_SNOOP_REG(32bit): 19083c838a9fSAndrew Rybchenko * LTR Maximum Snoop/No Snoop Register 1909e948693eSPhilip Paeps */ 1910e948693eSPhilip Paeps 19113c838a9fSAndrew Rybchenko #define PCR_DZ_LTR_MAX_SNOOP_REG 0x00000294 1912e948693eSPhilip Paeps /* hunta0=pci_f0_config */ 1913e948693eSPhilip Paeps 19143c838a9fSAndrew Rybchenko #define PCRF_DZ_LTR_MAX_NOSNOOP_SCALE_LBN 26 19153c838a9fSAndrew Rybchenko #define PCRF_DZ_LTR_MAX_NOSNOOP_SCALE_WIDTH 3 19163c838a9fSAndrew Rybchenko #define PCRF_DZ_LTR_MAX_NOSNOOP_LAT_LBN 16 19173c838a9fSAndrew Rybchenko #define PCRF_DZ_LTR_MAX_NOSNOOP_LAT_WIDTH 10 19183c838a9fSAndrew Rybchenko #define PCRF_DZ_LTR_MAX_SNOOP_SCALE_LBN 10 19193c838a9fSAndrew Rybchenko #define PCRF_DZ_LTR_MAX_SNOOP_SCALE_WIDTH 3 19203c838a9fSAndrew Rybchenko #define PCRF_DZ_LTR_MAX_SNOOP_LAT_LBN 0 19213c838a9fSAndrew Rybchenko #define PCRF_DZ_LTR_MAX_SNOOP_LAT_WIDTH 10 1922e948693eSPhilip Paeps 1923e948693eSPhilip Paeps 1924e948693eSPhilip Paeps /* 1925e948693eSPhilip Paeps * PC_ACK_LAT_TMR_REG(32bit): 1926e948693eSPhilip Paeps * ACK latency timer & replay timer register 1927e948693eSPhilip Paeps */ 1928e948693eSPhilip Paeps 1929e948693eSPhilip Paeps #define PCR_AC_ACK_LAT_TMR_REG 0x00000700 1930e948693eSPhilip Paeps /* falcona0,falconb0,sienaa0=pci_f0_config */ 1931e948693eSPhilip Paeps 1932e948693eSPhilip Paeps #define PCRF_AC_RT_LBN 16 1933e948693eSPhilip Paeps #define PCRF_AC_RT_WIDTH 16 1934e948693eSPhilip Paeps #define PCRF_AC_ALT_LBN 0 1935e948693eSPhilip Paeps #define PCRF_AC_ALT_WIDTH 16 1936e948693eSPhilip Paeps 1937e948693eSPhilip Paeps 1938e948693eSPhilip Paeps /* 1939e948693eSPhilip Paeps * PC_OTHER_MSG_REG(32bit): 1940e948693eSPhilip Paeps * Other message register 1941e948693eSPhilip Paeps */ 1942e948693eSPhilip Paeps 1943e948693eSPhilip Paeps #define PCR_AC_OTHER_MSG_REG 0x00000704 1944e948693eSPhilip Paeps /* falcona0,falconb0,sienaa0=pci_f0_config */ 1945e948693eSPhilip Paeps 1946e948693eSPhilip Paeps #define PCRF_AC_OM_CRPT3_LBN 24 1947e948693eSPhilip Paeps #define PCRF_AC_OM_CRPT3_WIDTH 8 1948e948693eSPhilip Paeps #define PCRF_AC_OM_CRPT2_LBN 16 1949e948693eSPhilip Paeps #define PCRF_AC_OM_CRPT2_WIDTH 8 1950e948693eSPhilip Paeps #define PCRF_AC_OM_CRPT1_LBN 8 1951e948693eSPhilip Paeps #define PCRF_AC_OM_CRPT1_WIDTH 8 1952e948693eSPhilip Paeps #define PCRF_AC_OM_CRPT0_LBN 0 1953e948693eSPhilip Paeps #define PCRF_AC_OM_CRPT0_WIDTH 8 1954e948693eSPhilip Paeps 1955e948693eSPhilip Paeps 1956e948693eSPhilip Paeps /* 1957e948693eSPhilip Paeps * PC_FORCE_LNK_REG(24bit): 1958e948693eSPhilip Paeps * Port force link register 1959e948693eSPhilip Paeps */ 1960e948693eSPhilip Paeps 1961e948693eSPhilip Paeps #define PCR_AC_FORCE_LNK_REG 0x00000708 1962e948693eSPhilip Paeps /* falcona0,falconb0,sienaa0=pci_f0_config */ 1963e948693eSPhilip Paeps 1964e948693eSPhilip Paeps #define PCRF_AC_LFS_LBN 16 1965e948693eSPhilip Paeps #define PCRF_AC_LFS_WIDTH 6 1966e948693eSPhilip Paeps #define PCRF_AC_FL_LBN 15 1967e948693eSPhilip Paeps #define PCRF_AC_FL_WIDTH 1 1968e948693eSPhilip Paeps #define PCRF_AC_LN_LBN 0 1969e948693eSPhilip Paeps #define PCRF_AC_LN_WIDTH 8 1970e948693eSPhilip Paeps 1971e948693eSPhilip Paeps 1972e948693eSPhilip Paeps /* 1973e948693eSPhilip Paeps * PC_ACK_FREQ_REG(32bit): 1974e948693eSPhilip Paeps * ACK frequency register 1975e948693eSPhilip Paeps */ 1976e948693eSPhilip Paeps 1977e948693eSPhilip Paeps #define PCR_AC_ACK_FREQ_REG 0x0000070c 1978e948693eSPhilip Paeps /* falcona0,falconb0,sienaa0=pci_f0_config */ 1979e948693eSPhilip Paeps 1980e948693eSPhilip Paeps #define PCRF_CC_ALLOW_L1_WITHOUT_L0S_LBN 30 1981e948693eSPhilip Paeps #define PCRF_CC_ALLOW_L1_WITHOUT_L0S_WIDTH 1 1982e948693eSPhilip Paeps #define PCRF_AC_L1_ENTR_LAT_LBN 27 1983e948693eSPhilip Paeps #define PCRF_AC_L1_ENTR_LAT_WIDTH 3 1984e948693eSPhilip Paeps #define PCRF_AC_L0_ENTR_LAT_LBN 24 1985e948693eSPhilip Paeps #define PCRF_AC_L0_ENTR_LAT_WIDTH 3 1986e948693eSPhilip Paeps #define PCRF_CC_COMM_NFTS_LBN 16 1987e948693eSPhilip Paeps #define PCRF_CC_COMM_NFTS_WIDTH 8 1988e948693eSPhilip Paeps #define PCRF_AB_ACK_FREQ_REG_RSVD0_LBN 16 1989e948693eSPhilip Paeps #define PCRF_AB_ACK_FREQ_REG_RSVD0_WIDTH 3 1990e948693eSPhilip Paeps #define PCRF_AC_MAX_FTS_LBN 8 1991e948693eSPhilip Paeps #define PCRF_AC_MAX_FTS_WIDTH 8 1992e948693eSPhilip Paeps #define PCRF_AC_ACK_FREQ_LBN 0 1993e948693eSPhilip Paeps #define PCRF_AC_ACK_FREQ_WIDTH 8 1994e948693eSPhilip Paeps 1995e948693eSPhilip Paeps 1996e948693eSPhilip Paeps /* 1997e948693eSPhilip Paeps * PC_PORT_LNK_CTL_REG(32bit): 1998e948693eSPhilip Paeps * Port link control register 1999e948693eSPhilip Paeps */ 2000e948693eSPhilip Paeps 2001e948693eSPhilip Paeps #define PCR_AC_PORT_LNK_CTL_REG 0x00000710 2002e948693eSPhilip Paeps /* falcona0,falconb0,sienaa0=pci_f0_config */ 2003e948693eSPhilip Paeps 2004e948693eSPhilip Paeps #define PCRF_AB_LRE_LBN 27 2005e948693eSPhilip Paeps #define PCRF_AB_LRE_WIDTH 1 2006e948693eSPhilip Paeps #define PCRF_AB_ESYNC_LBN 26 2007e948693eSPhilip Paeps #define PCRF_AB_ESYNC_WIDTH 1 2008e948693eSPhilip Paeps #define PCRF_AB_CRPT_LBN 25 2009e948693eSPhilip Paeps #define PCRF_AB_CRPT_WIDTH 1 2010e948693eSPhilip Paeps #define PCRF_AB_XB_LBN 24 2011e948693eSPhilip Paeps #define PCRF_AB_XB_WIDTH 1 2012e948693eSPhilip Paeps #define PCRF_AC_LC_LBN 16 2013e948693eSPhilip Paeps #define PCRF_AC_LC_WIDTH 6 2014e948693eSPhilip Paeps #define PCRF_AC_LDR_LBN 8 2015e948693eSPhilip Paeps #define PCRF_AC_LDR_WIDTH 4 2016e948693eSPhilip Paeps #define PCRF_AC_FLM_LBN 7 2017e948693eSPhilip Paeps #define PCRF_AC_FLM_WIDTH 1 2018e948693eSPhilip Paeps #define PCRF_AC_LKD_LBN 6 2019e948693eSPhilip Paeps #define PCRF_AC_LKD_WIDTH 1 2020e948693eSPhilip Paeps #define PCRF_AC_DLE_LBN 5 2021e948693eSPhilip Paeps #define PCRF_AC_DLE_WIDTH 1 2022e948693eSPhilip Paeps #define PCRF_AB_PORT_LNK_CTL_REG_RSVD0_LBN 4 2023e948693eSPhilip Paeps #define PCRF_AB_PORT_LNK_CTL_REG_RSVD0_WIDTH 1 2024e948693eSPhilip Paeps #define PCRF_AC_RA_LBN 3 2025e948693eSPhilip Paeps #define PCRF_AC_RA_WIDTH 1 2026e948693eSPhilip Paeps #define PCRF_AC_LE_LBN 2 2027e948693eSPhilip Paeps #define PCRF_AC_LE_WIDTH 1 2028e948693eSPhilip Paeps #define PCRF_AC_SD_LBN 1 2029e948693eSPhilip Paeps #define PCRF_AC_SD_WIDTH 1 2030e948693eSPhilip Paeps #define PCRF_AC_OMR_LBN 0 2031e948693eSPhilip Paeps #define PCRF_AC_OMR_WIDTH 1 2032e948693eSPhilip Paeps 2033e948693eSPhilip Paeps 2034e948693eSPhilip Paeps /* 2035e948693eSPhilip Paeps * PC_LN_SKEW_REG(32bit): 2036e948693eSPhilip Paeps * Lane skew register 2037e948693eSPhilip Paeps */ 2038e948693eSPhilip Paeps 2039e948693eSPhilip Paeps #define PCR_AC_LN_SKEW_REG 0x00000714 2040e948693eSPhilip Paeps /* falcona0,falconb0,sienaa0=pci_f0_config */ 2041e948693eSPhilip Paeps 2042e948693eSPhilip Paeps #define PCRF_AC_DIS_LBN 31 2043e948693eSPhilip Paeps #define PCRF_AC_DIS_WIDTH 1 2044e948693eSPhilip Paeps #define PCRF_AB_RST_LBN 30 2045e948693eSPhilip Paeps #define PCRF_AB_RST_WIDTH 1 2046e948693eSPhilip Paeps #define PCRF_AC_AD_LBN 25 2047e948693eSPhilip Paeps #define PCRF_AC_AD_WIDTH 1 2048e948693eSPhilip Paeps #define PCRF_AC_FCD_LBN 24 2049e948693eSPhilip Paeps #define PCRF_AC_FCD_WIDTH 1 2050e948693eSPhilip Paeps #define PCRF_AC_LS2_LBN 16 2051e948693eSPhilip Paeps #define PCRF_AC_LS2_WIDTH 8 2052e948693eSPhilip Paeps #define PCRF_AC_LS1_LBN 8 2053e948693eSPhilip Paeps #define PCRF_AC_LS1_WIDTH 8 2054e948693eSPhilip Paeps #define PCRF_AC_LS0_LBN 0 2055e948693eSPhilip Paeps #define PCRF_AC_LS0_WIDTH 8 2056e948693eSPhilip Paeps 2057e948693eSPhilip Paeps 2058e948693eSPhilip Paeps /* 2059e948693eSPhilip Paeps * PC_SYM_NUM_REG(16bit): 2060e948693eSPhilip Paeps * Symbol number register 2061e948693eSPhilip Paeps */ 2062e948693eSPhilip Paeps 2063e948693eSPhilip Paeps #define PCR_AC_SYM_NUM_REG 0x00000718 2064e948693eSPhilip Paeps /* falcona0,falconb0,sienaa0=pci_f0_config */ 2065e948693eSPhilip Paeps 2066e948693eSPhilip Paeps #define PCRF_CC_MAX_FUNCTIONS_LBN 29 2067e948693eSPhilip Paeps #define PCRF_CC_MAX_FUNCTIONS_WIDTH 3 2068e948693eSPhilip Paeps #define PCRF_CC_FC_WATCHDOG_TMR_LBN 24 2069e948693eSPhilip Paeps #define PCRF_CC_FC_WATCHDOG_TMR_WIDTH 5 2070e948693eSPhilip Paeps #define PCRF_CC_ACK_NAK_TMR_MOD_LBN 19 2071e948693eSPhilip Paeps #define PCRF_CC_ACK_NAK_TMR_MOD_WIDTH 5 2072e948693eSPhilip Paeps #define PCRF_CC_REPLAY_TMR_MOD_LBN 14 2073e948693eSPhilip Paeps #define PCRF_CC_REPLAY_TMR_MOD_WIDTH 5 2074e948693eSPhilip Paeps #define PCRF_AB_ES_LBN 12 2075e948693eSPhilip Paeps #define PCRF_AB_ES_WIDTH 3 2076e948693eSPhilip Paeps #define PCRF_AB_SYM_NUM_REG_RSVD0_LBN 11 2077e948693eSPhilip Paeps #define PCRF_AB_SYM_NUM_REG_RSVD0_WIDTH 1 2078e948693eSPhilip Paeps #define PCRF_CC_NUM_SKP_SYMS_LBN 8 2079e948693eSPhilip Paeps #define PCRF_CC_NUM_SKP_SYMS_WIDTH 3 2080e948693eSPhilip Paeps #define PCRF_AB_TS2_LBN 4 2081e948693eSPhilip Paeps #define PCRF_AB_TS2_WIDTH 4 2082e948693eSPhilip Paeps #define PCRF_AC_TS1_LBN 0 2083e948693eSPhilip Paeps #define PCRF_AC_TS1_WIDTH 4 2084e948693eSPhilip Paeps 2085e948693eSPhilip Paeps 2086e948693eSPhilip Paeps /* 2087e948693eSPhilip Paeps * PC_SYM_TMR_FLT_MSK_REG(16bit): 2088e948693eSPhilip Paeps * Symbol timer and Filter Mask Register 2089e948693eSPhilip Paeps */ 2090e948693eSPhilip Paeps 2091e948693eSPhilip Paeps #define PCR_CC_SYM_TMR_FLT_MSK_REG 0x0000071c 2092e948693eSPhilip Paeps /* sienaa0=pci_f0_config */ 2093e948693eSPhilip Paeps 2094e948693eSPhilip Paeps #define PCRF_CC_DEFAULT_FLT_MSK1_LBN 16 2095e948693eSPhilip Paeps #define PCRF_CC_DEFAULT_FLT_MSK1_WIDTH 16 2096e948693eSPhilip Paeps #define PCRF_CC_FC_WDOG_TMR_DIS_LBN 15 2097e948693eSPhilip Paeps #define PCRF_CC_FC_WDOG_TMR_DIS_WIDTH 1 2098e948693eSPhilip Paeps #define PCRF_CC_SI1_LBN 8 2099e948693eSPhilip Paeps #define PCRF_CC_SI1_WIDTH 3 2100e948693eSPhilip Paeps #define PCRF_CC_SKIP_INT_VAL_LBN 0 2101e948693eSPhilip Paeps #define PCRF_CC_SKIP_INT_VAL_WIDTH 11 2102e948693eSPhilip Paeps #define PCRF_CC_SI0_LBN 0 2103e948693eSPhilip Paeps #define PCRF_CC_SI0_WIDTH 8 2104e948693eSPhilip Paeps 2105e948693eSPhilip Paeps 2106e948693eSPhilip Paeps /* 2107e948693eSPhilip Paeps * PC_SYM_TMR_REG(16bit): 2108e948693eSPhilip Paeps * Symbol timer register 2109e948693eSPhilip Paeps */ 2110e948693eSPhilip Paeps 2111e948693eSPhilip Paeps #define PCR_AB_SYM_TMR_REG 0x0000071c 2112e948693eSPhilip Paeps /* falcona0,falconb0=pci_f0_config */ 2113e948693eSPhilip Paeps 2114e948693eSPhilip Paeps #define PCRF_AB_ET_LBN 11 2115e948693eSPhilip Paeps #define PCRF_AB_ET_WIDTH 4 2116e948693eSPhilip Paeps #define PCRF_AB_SI1_LBN 8 2117e948693eSPhilip Paeps #define PCRF_AB_SI1_WIDTH 3 2118e948693eSPhilip Paeps #define PCRF_AB_SI0_LBN 0 2119e948693eSPhilip Paeps #define PCRF_AB_SI0_WIDTH 8 2120e948693eSPhilip Paeps 2121e948693eSPhilip Paeps 2122e948693eSPhilip Paeps /* 21233c838a9fSAndrew Rybchenko * PC_FLT_MSK_REG(32bit): 21243c838a9fSAndrew Rybchenko * Filter Mask Register 2 21253c838a9fSAndrew Rybchenko */ 21263c838a9fSAndrew Rybchenko 21273c838a9fSAndrew Rybchenko #define PCR_CC_FLT_MSK_REG 0x00000720 21283c838a9fSAndrew Rybchenko /* sienaa0=pci_f0_config */ 21293c838a9fSAndrew Rybchenko 21303c838a9fSAndrew Rybchenko #define PCRF_CC_DEFAULT_FLT_MSK2_LBN 0 21313c838a9fSAndrew Rybchenko #define PCRF_CC_DEFAULT_FLT_MSK2_WIDTH 32 21323c838a9fSAndrew Rybchenko 21333c838a9fSAndrew Rybchenko 21343c838a9fSAndrew Rybchenko /* 2135e948693eSPhilip Paeps * PC_PHY_STAT_REG(32bit): 2136e948693eSPhilip Paeps * PHY status register 2137e948693eSPhilip Paeps */ 2138e948693eSPhilip Paeps 2139e948693eSPhilip Paeps #define PCR_AB_PHY_STAT_REG 0x00000720 2140e948693eSPhilip Paeps /* falcona0,falconb0=pci_f0_config */ 2141e948693eSPhilip Paeps 2142e948693eSPhilip Paeps #define PCR_CC_PHY_STAT_REG 0x00000810 2143e948693eSPhilip Paeps /* sienaa0=pci_f0_config */ 2144e948693eSPhilip Paeps 2145e948693eSPhilip Paeps #define PCRF_AC_SSL_LBN 3 2146e948693eSPhilip Paeps #define PCRF_AC_SSL_WIDTH 1 2147e948693eSPhilip Paeps #define PCRF_AC_SSR_LBN 2 2148e948693eSPhilip Paeps #define PCRF_AC_SSR_WIDTH 1 2149e948693eSPhilip Paeps #define PCRF_AC_SSCL_LBN 1 2150e948693eSPhilip Paeps #define PCRF_AC_SSCL_WIDTH 1 2151e948693eSPhilip Paeps #define PCRF_AC_SSCD_LBN 0 2152e948693eSPhilip Paeps #define PCRF_AC_SSCD_WIDTH 1 2153e948693eSPhilip Paeps 2154e948693eSPhilip Paeps 2155e948693eSPhilip Paeps /* 2156e948693eSPhilip Paeps * PC_PHY_CTL_REG(32bit): 2157e948693eSPhilip Paeps * PHY control register 2158e948693eSPhilip Paeps */ 2159e948693eSPhilip Paeps 2160e948693eSPhilip Paeps #define PCR_AB_PHY_CTL_REG 0x00000724 2161e948693eSPhilip Paeps /* falcona0,falconb0=pci_f0_config */ 2162e948693eSPhilip Paeps 2163e948693eSPhilip Paeps #define PCR_CC_PHY_CTL_REG 0x00000814 2164e948693eSPhilip Paeps /* sienaa0=pci_f0_config */ 2165e948693eSPhilip Paeps 2166e948693eSPhilip Paeps #define PCRF_AC_BD_LBN 31 2167e948693eSPhilip Paeps #define PCRF_AC_BD_WIDTH 1 2168e948693eSPhilip Paeps #define PCRF_AC_CDS_LBN 30 2169e948693eSPhilip Paeps #define PCRF_AC_CDS_WIDTH 1 2170e948693eSPhilip Paeps #define PCRF_AC_DWRAP_LB_LBN 29 2171e948693eSPhilip Paeps #define PCRF_AC_DWRAP_LB_WIDTH 1 2172e948693eSPhilip Paeps #define PCRF_AC_EBD_LBN 28 2173e948693eSPhilip Paeps #define PCRF_AC_EBD_WIDTH 1 2174e948693eSPhilip Paeps #define PCRF_AC_SNR_LBN 27 2175e948693eSPhilip Paeps #define PCRF_AC_SNR_WIDTH 1 2176e948693eSPhilip Paeps #define PCRF_AC_RX_NOT_DET_LBN 2 2177e948693eSPhilip Paeps #define PCRF_AC_RX_NOT_DET_WIDTH 1 2178e948693eSPhilip Paeps #define PCRF_AC_FORCE_LOS_VAL_LBN 1 2179e948693eSPhilip Paeps #define PCRF_AC_FORCE_LOS_VAL_WIDTH 1 2180e948693eSPhilip Paeps #define PCRF_AC_FORCE_LOS_EN_LBN 0 2181e948693eSPhilip Paeps #define PCRF_AC_FORCE_LOS_EN_WIDTH 1 2182e948693eSPhilip Paeps 2183e948693eSPhilip Paeps 2184e948693eSPhilip Paeps /* 2185e948693eSPhilip Paeps * PC_DEBUG0_REG(32bit): 2186e948693eSPhilip Paeps * Debug register 0 2187e948693eSPhilip Paeps */ 2188e948693eSPhilip Paeps 2189e948693eSPhilip Paeps #define PCR_AC_DEBUG0_REG 0x00000728 2190e948693eSPhilip Paeps /* falcona0,falconb0,sienaa0=pci_f0_config */ 2191e948693eSPhilip Paeps 2192e948693eSPhilip Paeps #define PCRF_AC_CDI03_LBN 24 2193e948693eSPhilip Paeps #define PCRF_AC_CDI03_WIDTH 8 2194e948693eSPhilip Paeps #define PCRF_AC_CDI0_LBN 0 2195e948693eSPhilip Paeps #define PCRF_AC_CDI0_WIDTH 32 2196e948693eSPhilip Paeps #define PCRF_AC_CDI02_LBN 16 2197e948693eSPhilip Paeps #define PCRF_AC_CDI02_WIDTH 8 2198e948693eSPhilip Paeps #define PCRF_AC_CDI01_LBN 8 2199e948693eSPhilip Paeps #define PCRF_AC_CDI01_WIDTH 8 2200e948693eSPhilip Paeps #define PCRF_AC_CDI00_LBN 0 2201e948693eSPhilip Paeps #define PCRF_AC_CDI00_WIDTH 8 2202e948693eSPhilip Paeps 2203e948693eSPhilip Paeps 2204e948693eSPhilip Paeps /* 2205e948693eSPhilip Paeps * PC_DEBUG1_REG(32bit): 2206e948693eSPhilip Paeps * Debug register 1 2207e948693eSPhilip Paeps */ 2208e948693eSPhilip Paeps 2209e948693eSPhilip Paeps #define PCR_AC_DEBUG1_REG 0x0000072c 2210e948693eSPhilip Paeps /* falcona0,falconb0,sienaa0=pci_f0_config */ 2211e948693eSPhilip Paeps 2212e948693eSPhilip Paeps #define PCRF_AC_CDI13_LBN 24 2213e948693eSPhilip Paeps #define PCRF_AC_CDI13_WIDTH 8 2214e948693eSPhilip Paeps #define PCRF_AC_CDI1_LBN 0 2215e948693eSPhilip Paeps #define PCRF_AC_CDI1_WIDTH 32 2216e948693eSPhilip Paeps #define PCRF_AC_CDI12_LBN 16 2217e948693eSPhilip Paeps #define PCRF_AC_CDI12_WIDTH 8 2218e948693eSPhilip Paeps #define PCRF_AC_CDI11_LBN 8 2219e948693eSPhilip Paeps #define PCRF_AC_CDI11_WIDTH 8 2220e948693eSPhilip Paeps #define PCRF_AC_CDI10_LBN 0 2221e948693eSPhilip Paeps #define PCRF_AC_CDI10_WIDTH 8 2222e948693eSPhilip Paeps 2223e948693eSPhilip Paeps 2224e948693eSPhilip Paeps /* 2225e948693eSPhilip Paeps * PC_XPFCC_STAT_REG(24bit): 2226e948693eSPhilip Paeps * documentation to be written for sum_PC_XPFCC_STAT_REG 2227e948693eSPhilip Paeps */ 2228e948693eSPhilip Paeps 2229e948693eSPhilip Paeps #define PCR_AC_XPFCC_STAT_REG 0x00000730 2230e948693eSPhilip Paeps /* falcona0,falconb0,sienaa0=pci_f0_config */ 2231e948693eSPhilip Paeps 2232e948693eSPhilip Paeps #define PCRF_AC_XPDC_LBN 12 2233e948693eSPhilip Paeps #define PCRF_AC_XPDC_WIDTH 8 2234e948693eSPhilip Paeps #define PCRF_AC_XPHC_LBN 0 2235e948693eSPhilip Paeps #define PCRF_AC_XPHC_WIDTH 12 2236e948693eSPhilip Paeps 2237e948693eSPhilip Paeps 2238e948693eSPhilip Paeps /* 2239e948693eSPhilip Paeps * PC_XNPFCC_STAT_REG(24bit): 2240e948693eSPhilip Paeps * documentation to be written for sum_PC_XNPFCC_STAT_REG 2241e948693eSPhilip Paeps */ 2242e948693eSPhilip Paeps 2243e948693eSPhilip Paeps #define PCR_AC_XNPFCC_STAT_REG 0x00000734 2244e948693eSPhilip Paeps /* falcona0,falconb0,sienaa0=pci_f0_config */ 2245e948693eSPhilip Paeps 2246e948693eSPhilip Paeps #define PCRF_AC_XNPDC_LBN 12 2247e948693eSPhilip Paeps #define PCRF_AC_XNPDC_WIDTH 8 2248e948693eSPhilip Paeps #define PCRF_AC_XNPHC_LBN 0 2249e948693eSPhilip Paeps #define PCRF_AC_XNPHC_WIDTH 12 2250e948693eSPhilip Paeps 2251e948693eSPhilip Paeps 2252e948693eSPhilip Paeps /* 2253e948693eSPhilip Paeps * PC_XCFCC_STAT_REG(24bit): 2254e948693eSPhilip Paeps * documentation to be written for sum_PC_XCFCC_STAT_REG 2255e948693eSPhilip Paeps */ 2256e948693eSPhilip Paeps 2257e948693eSPhilip Paeps #define PCR_AC_XCFCC_STAT_REG 0x00000738 2258e948693eSPhilip Paeps /* falcona0,falconb0,sienaa0=pci_f0_config */ 2259e948693eSPhilip Paeps 2260e948693eSPhilip Paeps #define PCRF_AC_XCDC_LBN 12 2261e948693eSPhilip Paeps #define PCRF_AC_XCDC_WIDTH 8 2262e948693eSPhilip Paeps #define PCRF_AC_XCHC_LBN 0 2263e948693eSPhilip Paeps #define PCRF_AC_XCHC_WIDTH 12 2264e948693eSPhilip Paeps 2265e948693eSPhilip Paeps 2266e948693eSPhilip Paeps /* 2267e948693eSPhilip Paeps * PC_Q_STAT_REG(8bit): 2268e948693eSPhilip Paeps * documentation to be written for sum_PC_Q_STAT_REG 2269e948693eSPhilip Paeps */ 2270e948693eSPhilip Paeps 2271e948693eSPhilip Paeps #define PCR_AC_Q_STAT_REG 0x0000073c 2272e948693eSPhilip Paeps /* falcona0,falconb0,sienaa0=pci_f0_config */ 2273e948693eSPhilip Paeps 2274e948693eSPhilip Paeps #define PCRF_AC_RQNE_LBN 2 2275e948693eSPhilip Paeps #define PCRF_AC_RQNE_WIDTH 1 2276e948693eSPhilip Paeps #define PCRF_AC_XRNE_LBN 1 2277e948693eSPhilip Paeps #define PCRF_AC_XRNE_WIDTH 1 2278e948693eSPhilip Paeps #define PCRF_AC_RCNR_LBN 0 2279e948693eSPhilip Paeps #define PCRF_AC_RCNR_WIDTH 1 2280e948693eSPhilip Paeps 2281e948693eSPhilip Paeps 2282e948693eSPhilip Paeps /* 2283e948693eSPhilip Paeps * PC_VC_XMIT_ARB1_REG(32bit): 2284e948693eSPhilip Paeps * VC Transmit Arbitration Register 1 2285e948693eSPhilip Paeps */ 2286e948693eSPhilip Paeps 2287e948693eSPhilip Paeps #define PCR_CC_VC_XMIT_ARB1_REG 0x00000740 2288e948693eSPhilip Paeps /* sienaa0=pci_f0_config */ 2289e948693eSPhilip Paeps 2290e948693eSPhilip Paeps 2291e948693eSPhilip Paeps 2292e948693eSPhilip Paeps /* 2293e948693eSPhilip Paeps * PC_VC_XMIT_ARB2_REG(32bit): 2294e948693eSPhilip Paeps * VC Transmit Arbitration Register 2 2295e948693eSPhilip Paeps */ 2296e948693eSPhilip Paeps 2297e948693eSPhilip Paeps #define PCR_CC_VC_XMIT_ARB2_REG 0x00000744 2298e948693eSPhilip Paeps /* sienaa0=pci_f0_config */ 2299e948693eSPhilip Paeps 2300e948693eSPhilip Paeps 2301e948693eSPhilip Paeps 2302e948693eSPhilip Paeps /* 2303e948693eSPhilip Paeps * PC_VC0_P_RQ_CTL_REG(32bit): 2304e948693eSPhilip Paeps * VC0 Posted Receive Queue Control 2305e948693eSPhilip Paeps */ 2306e948693eSPhilip Paeps 2307e948693eSPhilip Paeps #define PCR_CC_VC0_P_RQ_CTL_REG 0x00000748 2308e948693eSPhilip Paeps /* sienaa0=pci_f0_config */ 2309e948693eSPhilip Paeps 2310e948693eSPhilip Paeps 2311e948693eSPhilip Paeps 2312e948693eSPhilip Paeps /* 2313e948693eSPhilip Paeps * PC_VC0_NP_RQ_CTL_REG(32bit): 2314e948693eSPhilip Paeps * VC0 Non-Posted Receive Queue Control 2315e948693eSPhilip Paeps */ 2316e948693eSPhilip Paeps 2317e948693eSPhilip Paeps #define PCR_CC_VC0_NP_RQ_CTL_REG 0x0000074c 2318e948693eSPhilip Paeps /* sienaa0=pci_f0_config */ 2319e948693eSPhilip Paeps 2320e948693eSPhilip Paeps 2321e948693eSPhilip Paeps 2322e948693eSPhilip Paeps /* 2323e948693eSPhilip Paeps * PC_VC0_C_RQ_CTL_REG(32bit): 2324e948693eSPhilip Paeps * VC0 Completion Receive Queue Control 2325e948693eSPhilip Paeps */ 2326e948693eSPhilip Paeps 2327e948693eSPhilip Paeps #define PCR_CC_VC0_C_RQ_CTL_REG 0x00000750 2328e948693eSPhilip Paeps /* sienaa0=pci_f0_config */ 2329e948693eSPhilip Paeps 2330e948693eSPhilip Paeps 2331e948693eSPhilip Paeps 2332e948693eSPhilip Paeps /* 2333e948693eSPhilip Paeps * PC_GEN2_REG(32bit): 2334e948693eSPhilip Paeps * Gen2 Register 2335e948693eSPhilip Paeps */ 2336e948693eSPhilip Paeps 2337e948693eSPhilip Paeps #define PCR_CC_GEN2_REG 0x0000080c 2338e948693eSPhilip Paeps /* sienaa0=pci_f0_config */ 2339e948693eSPhilip Paeps 2340e948693eSPhilip Paeps #define PCRF_CC_SET_DE_EMPHASIS_LBN 20 2341e948693eSPhilip Paeps #define PCRF_CC_SET_DE_EMPHASIS_WIDTH 1 2342e948693eSPhilip Paeps #define PCRF_CC_CFG_TX_COMPLIANCE_LBN 19 2343e948693eSPhilip Paeps #define PCRF_CC_CFG_TX_COMPLIANCE_WIDTH 1 2344e948693eSPhilip Paeps #define PCRF_CC_CFG_TX_SWING_LBN 18 2345e948693eSPhilip Paeps #define PCRF_CC_CFG_TX_SWING_WIDTH 1 2346e948693eSPhilip Paeps #define PCRF_CC_DIR_SPEED_CHANGE_LBN 17 2347e948693eSPhilip Paeps #define PCRF_CC_DIR_SPEED_CHANGE_WIDTH 1 2348e948693eSPhilip Paeps #define PCRF_CC_LANE_ENABLE_LBN 8 2349e948693eSPhilip Paeps #define PCRF_CC_LANE_ENABLE_WIDTH 9 2350e948693eSPhilip Paeps #define PCRF_CC_NUM_FTS_LBN 0 2351e948693eSPhilip Paeps #define PCRF_CC_NUM_FTS_WIDTH 8 2352e948693eSPhilip Paeps 2353e948693eSPhilip Paeps 2354e948693eSPhilip Paeps #ifdef __cplusplus 2355e948693eSPhilip Paeps } 2356e948693eSPhilip Paeps #endif 2357e948693eSPhilip Paeps 2358e948693eSPhilip Paeps #endif /* _SYS_EFX_REGS_PCI_H */ 2359