17ec59eeaSAnirudh Venkataramanan /* SPDX-License-Identifier: GPL-2.0 */ 27ec59eeaSAnirudh Venkataramanan /* Copyright (c) 2018, Intel Corporation. */ 37ec59eeaSAnirudh Venkataramanan 47ec59eeaSAnirudh Venkataramanan /* Machine-generated file */ 57ec59eeaSAnirudh Venkataramanan 67ec59eeaSAnirudh Venkataramanan #ifndef _ICE_HW_AUTOGEN_H_ 77ec59eeaSAnirudh Venkataramanan #define _ICE_HW_AUTOGEN_H_ 87ec59eeaSAnirudh Venkataramanan 9cdedef59SAnirudh Venkataramanan #define QTX_COMM_DBELL(_DBQM) (0x002C0000 + ((_DBQM) * 4)) 10807bc98dSBrett Creeley #define QTX_COMM_HEAD(_DBQM) (0x000E0000 + ((_DBQM) * 4)) 11807bc98dSBrett Creeley #define QTX_COMM_HEAD_HEAD_S 0 12807bc98dSBrett Creeley #define QTX_COMM_HEAD_HEAD_M ICE_M(0x1FFF, 0) 137ec59eeaSAnirudh Venkataramanan #define PF_FW_ARQBAH 0x00080180 147ec59eeaSAnirudh Venkataramanan #define PF_FW_ARQBAL 0x00080080 157ec59eeaSAnirudh Venkataramanan #define PF_FW_ARQH 0x00080380 16f80eaa42SAnirudh Venkataramanan #define PF_FW_ARQH_ARQH_M ICE_M(0x3FF, 0) 177ec59eeaSAnirudh Venkataramanan #define PF_FW_ARQLEN 0x00080280 18f80eaa42SAnirudh Venkataramanan #define PF_FW_ARQLEN_ARQLEN_M ICE_M(0x3FF, 0) 19f80eaa42SAnirudh Venkataramanan #define PF_FW_ARQLEN_ARQVFE_M BIT(28) 20f80eaa42SAnirudh Venkataramanan #define PF_FW_ARQLEN_ARQOVFL_M BIT(29) 21f80eaa42SAnirudh Venkataramanan #define PF_FW_ARQLEN_ARQCRIT_M BIT(30) 22f80eaa42SAnirudh Venkataramanan #define PF_FW_ARQLEN_ARQENABLE_M BIT(31) 237ec59eeaSAnirudh Venkataramanan #define PF_FW_ARQT 0x00080480 247ec59eeaSAnirudh Venkataramanan #define PF_FW_ATQBAH 0x00080100 257ec59eeaSAnirudh Venkataramanan #define PF_FW_ATQBAL 0x00080000 267ec59eeaSAnirudh Venkataramanan #define PF_FW_ATQH 0x00080300 27f80eaa42SAnirudh Venkataramanan #define PF_FW_ATQH_ATQH_M ICE_M(0x3FF, 0) 287ec59eeaSAnirudh Venkataramanan #define PF_FW_ATQLEN 0x00080200 29f80eaa42SAnirudh Venkataramanan #define PF_FW_ATQLEN_ATQLEN_M ICE_M(0x3FF, 0) 30f80eaa42SAnirudh Venkataramanan #define PF_FW_ATQLEN_ATQVFE_M BIT(28) 31f80eaa42SAnirudh Venkataramanan #define PF_FW_ATQLEN_ATQOVFL_M BIT(29) 32f80eaa42SAnirudh Venkataramanan #define PF_FW_ATQLEN_ATQCRIT_M BIT(30) 3382ba0128SMitch Williams #define VF_MBX_ARQLEN(_VF) (0x0022BC00 + ((_VF) * 4)) 348679f07aSBrett Creeley #define VF_MBX_ATQLEN(_VF) (0x0022A800 + ((_VF) * 4)) 35f80eaa42SAnirudh Venkataramanan #define PF_FW_ATQLEN_ATQENABLE_M BIT(31) 367ec59eeaSAnirudh Venkataramanan #define PF_FW_ATQT 0x00080400 3775d2b253SAnirudh Venkataramanan #define PF_MBX_ARQBAH 0x0022E400 3875d2b253SAnirudh Venkataramanan #define PF_MBX_ARQBAL 0x0022E380 3975d2b253SAnirudh Venkataramanan #define PF_MBX_ARQH 0x0022E500 4075d2b253SAnirudh Venkataramanan #define PF_MBX_ARQH_ARQH_M ICE_M(0x3FF, 0) 4175d2b253SAnirudh Venkataramanan #define PF_MBX_ARQLEN 0x0022E480 4275d2b253SAnirudh Venkataramanan #define PF_MBX_ARQLEN_ARQLEN_M ICE_M(0x3FF, 0) 43b5c7f857SEvan Swanson #define PF_MBX_ARQLEN_ARQCRIT_M BIT(30) 4475d2b253SAnirudh Venkataramanan #define PF_MBX_ARQLEN_ARQENABLE_M BIT(31) 4575d2b253SAnirudh Venkataramanan #define PF_MBX_ARQT 0x0022E580 4675d2b253SAnirudh Venkataramanan #define PF_MBX_ATQBAH 0x0022E180 4775d2b253SAnirudh Venkataramanan #define PF_MBX_ATQBAL 0x0022E100 4875d2b253SAnirudh Venkataramanan #define PF_MBX_ATQH 0x0022E280 4975d2b253SAnirudh Venkataramanan #define PF_MBX_ATQH_ATQH_M ICE_M(0x3FF, 0) 5075d2b253SAnirudh Venkataramanan #define PF_MBX_ATQLEN 0x0022E200 5175d2b253SAnirudh Venkataramanan #define PF_MBX_ATQLEN_ATQLEN_M ICE_M(0x3FF, 0) 52b5c7f857SEvan Swanson #define PF_MBX_ATQLEN_ATQCRIT_M BIT(30) 5375d2b253SAnirudh Venkataramanan #define PF_MBX_ATQLEN_ATQENABLE_M BIT(31) 5475d2b253SAnirudh Venkataramanan #define PF_MBX_ATQT 0x0022E300 558f5ee3c4SJacob Keller #define PF_SB_ARQBAH 0x0022FF00 568f5ee3c4SJacob Keller #define PF_SB_ARQBAH_ARQBAH_S 0 578f5ee3c4SJacob Keller #define PF_SB_ARQBAH_ARQBAH_M ICE_M(0xFFFFFFFF, 0) 588f5ee3c4SJacob Keller #define PF_SB_ARQBAL 0x0022FE80 598f5ee3c4SJacob Keller #define PF_SB_ARQBAL_ARQBAL_LSB_S 0 608f5ee3c4SJacob Keller #define PF_SB_ARQBAL_ARQBAL_LSB_M ICE_M(0x3F, 0) 618f5ee3c4SJacob Keller #define PF_SB_ARQBAL_ARQBAL_S 6 628f5ee3c4SJacob Keller #define PF_SB_ARQBAL_ARQBAL_M ICE_M(0x3FFFFFF, 6) 638f5ee3c4SJacob Keller #define PF_SB_ARQH 0x00230000 648f5ee3c4SJacob Keller #define PF_SB_ARQH_ARQH_S 0 658f5ee3c4SJacob Keller #define PF_SB_ARQH_ARQH_M ICE_M(0x3FF, 0) 668f5ee3c4SJacob Keller #define PF_SB_ARQLEN 0x0022FF80 678f5ee3c4SJacob Keller #define PF_SB_ARQLEN_ARQLEN_S 0 688f5ee3c4SJacob Keller #define PF_SB_ARQLEN_ARQLEN_M ICE_M(0x3FF, 0) 698f5ee3c4SJacob Keller #define PF_SB_ARQLEN_ARQVFE_S 28 708f5ee3c4SJacob Keller #define PF_SB_ARQLEN_ARQVFE_M BIT(28) 718f5ee3c4SJacob Keller #define PF_SB_ARQLEN_ARQOVFL_S 29 728f5ee3c4SJacob Keller #define PF_SB_ARQLEN_ARQOVFL_M BIT(29) 738f5ee3c4SJacob Keller #define PF_SB_ARQLEN_ARQCRIT_S 30 748f5ee3c4SJacob Keller #define PF_SB_ARQLEN_ARQCRIT_M BIT(30) 758f5ee3c4SJacob Keller #define PF_SB_ARQLEN_ARQENABLE_S 31 768f5ee3c4SJacob Keller #define PF_SB_ARQLEN_ARQENABLE_M BIT(31) 778f5ee3c4SJacob Keller #define PF_SB_ARQT 0x00230080 788f5ee3c4SJacob Keller #define PF_SB_ARQT_ARQT_S 0 798f5ee3c4SJacob Keller #define PF_SB_ARQT_ARQT_M ICE_M(0x3FF, 0) 808f5ee3c4SJacob Keller #define PF_SB_ATQBAH 0x0022FC80 818f5ee3c4SJacob Keller #define PF_SB_ATQBAH_ATQBAH_S 0 828f5ee3c4SJacob Keller #define PF_SB_ATQBAH_ATQBAH_M ICE_M(0xFFFFFFFF, 0) 838f5ee3c4SJacob Keller #define PF_SB_ATQBAL 0x0022FC00 848f5ee3c4SJacob Keller #define PF_SB_ATQBAL_ATQBAL_S 6 858f5ee3c4SJacob Keller #define PF_SB_ATQBAL_ATQBAL_M ICE_M(0x3FFFFFF, 6) 868f5ee3c4SJacob Keller #define PF_SB_ATQH 0x0022FD80 878f5ee3c4SJacob Keller #define PF_SB_ATQH_ATQH_S 0 888f5ee3c4SJacob Keller #define PF_SB_ATQH_ATQH_M ICE_M(0x3FF, 0) 898f5ee3c4SJacob Keller #define PF_SB_ATQLEN 0x0022FD00 908f5ee3c4SJacob Keller #define PF_SB_ATQLEN_ATQLEN_S 0 918f5ee3c4SJacob Keller #define PF_SB_ATQLEN_ATQLEN_M ICE_M(0x3FF, 0) 928f5ee3c4SJacob Keller #define PF_SB_ATQLEN_ATQVFE_S 28 938f5ee3c4SJacob Keller #define PF_SB_ATQLEN_ATQVFE_M BIT(28) 948f5ee3c4SJacob Keller #define PF_SB_ATQLEN_ATQOVFL_S 29 958f5ee3c4SJacob Keller #define PF_SB_ATQLEN_ATQOVFL_M BIT(29) 968f5ee3c4SJacob Keller #define PF_SB_ATQLEN_ATQCRIT_S 30 978f5ee3c4SJacob Keller #define PF_SB_ATQLEN_ATQCRIT_M BIT(30) 988f5ee3c4SJacob Keller #define PF_SB_ATQLEN_ATQENABLE_S 31 998f5ee3c4SJacob Keller #define PF_SB_ATQLEN_ATQENABLE_M BIT(31) 1008f5ee3c4SJacob Keller #define PF_SB_ATQT 0x0022FE00 1018f5ee3c4SJacob Keller #define PF_SB_ATQT_ATQT_S 0 1028f5ee3c4SJacob Keller #define PF_SB_ATQT_ATQT_M ICE_M(0x3FF, 0) 1033a749623SJacob Keller #define PF_SB_REM_DEV_CTL 0x002300F0 104b94b013eSDave Ertman #define PRTDCB_GENC 0x00083000 105b94b013eSDave Ertman #define PRTDCB_GENC_PFCLDA_S 16 106b94b013eSDave Ertman #define PRTDCB_GENC_PFCLDA_M ICE_M(0xFFFF, 16) 10737b6f646SAnirudh Venkataramanan #define PRTDCB_GENS 0x00083020 10837b6f646SAnirudh Venkataramanan #define PRTDCB_GENS_DCBX_STATUS_S 0 10937b6f646SAnirudh Venkataramanan #define PRTDCB_GENS_DCBX_STATUS_M ICE_M(0x7, 0) 1107dbc63f0STony Nguyen #define PRTDCB_TUP2TC 0x001D26C0 111c7648810STony Nguyen #define GL_PREEXT_L2_PMASK0(_i) (0x0020F0FC + ((_i) * 4)) 112c7648810STony Nguyen #define GL_PREEXT_L2_PMASK1(_i) (0x0020F108 + ((_i) * 4)) 113e753df8fSMichal Jaron #define GLFLXP_RXDID_FLAGS(_i, _j) (0x0045D000 + ((_i) * 4 + (_j) * 256)) 114e753df8fSMichal Jaron #define GLFLXP_RXDID_FLAGS_FLEXIFLAG_4N_S 0 115e753df8fSMichal Jaron #define GLFLXP_RXDID_FLAGS_FLEXIFLAG_4N_M ICE_M(0x3F, 0) 116cdedef59SAnirudh Venkataramanan #define GLFLXP_RXDID_FLX_WRD_0(_i) (0x0045c800 + ((_i) * 4)) 117cdedef59SAnirudh Venkataramanan #define GLFLXP_RXDID_FLX_WRD_0_PROT_MDID_S 0 118f80eaa42SAnirudh Venkataramanan #define GLFLXP_RXDID_FLX_WRD_0_PROT_MDID_M ICE_M(0xFF, 0) 119cdedef59SAnirudh Venkataramanan #define GLFLXP_RXDID_FLX_WRD_0_RXDID_OPCODE_S 30 120f80eaa42SAnirudh Venkataramanan #define GLFLXP_RXDID_FLX_WRD_0_RXDID_OPCODE_M ICE_M(0x3, 30) 121cdedef59SAnirudh Venkataramanan #define GLFLXP_RXDID_FLX_WRD_1(_i) (0x0045c900 + ((_i) * 4)) 122cdedef59SAnirudh Venkataramanan #define GLFLXP_RXDID_FLX_WRD_1_PROT_MDID_S 0 123f80eaa42SAnirudh Venkataramanan #define GLFLXP_RXDID_FLX_WRD_1_PROT_MDID_M ICE_M(0xFF, 0) 124cdedef59SAnirudh Venkataramanan #define GLFLXP_RXDID_FLX_WRD_1_RXDID_OPCODE_S 30 125f80eaa42SAnirudh Venkataramanan #define GLFLXP_RXDID_FLX_WRD_1_RXDID_OPCODE_M ICE_M(0x3, 30) 126cdedef59SAnirudh Venkataramanan #define GLFLXP_RXDID_FLX_WRD_2(_i) (0x0045ca00 + ((_i) * 4)) 127cdedef59SAnirudh Venkataramanan #define GLFLXP_RXDID_FLX_WRD_2_PROT_MDID_S 0 128f80eaa42SAnirudh Venkataramanan #define GLFLXP_RXDID_FLX_WRD_2_PROT_MDID_M ICE_M(0xFF, 0) 129cdedef59SAnirudh Venkataramanan #define GLFLXP_RXDID_FLX_WRD_2_RXDID_OPCODE_S 30 130f80eaa42SAnirudh Venkataramanan #define GLFLXP_RXDID_FLX_WRD_2_RXDID_OPCODE_M ICE_M(0x3, 30) 131cdedef59SAnirudh Venkataramanan #define GLFLXP_RXDID_FLX_WRD_3(_i) (0x0045cb00 + ((_i) * 4)) 132cdedef59SAnirudh Venkataramanan #define GLFLXP_RXDID_FLX_WRD_3_PROT_MDID_S 0 133f80eaa42SAnirudh Venkataramanan #define GLFLXP_RXDID_FLX_WRD_3_PROT_MDID_M ICE_M(0xFF, 0) 134cdedef59SAnirudh Venkataramanan #define GLFLXP_RXDID_FLX_WRD_3_RXDID_OPCODE_S 30 135f80eaa42SAnirudh Venkataramanan #define GLFLXP_RXDID_FLX_WRD_3_RXDID_OPCODE_M ICE_M(0x3, 30) 136cdedef59SAnirudh Venkataramanan #define QRXFLXP_CNTXT(_QRX) (0x00480000 + ((_QRX) * 4)) 137cdedef59SAnirudh Venkataramanan #define QRXFLXP_CNTXT_RXDID_IDX_S 0 138f80eaa42SAnirudh Venkataramanan #define QRXFLXP_CNTXT_RXDID_IDX_M ICE_M(0x3F, 0) 139cdedef59SAnirudh Venkataramanan #define QRXFLXP_CNTXT_RXDID_PRIO_S 8 140f80eaa42SAnirudh Venkataramanan #define QRXFLXP_CNTXT_RXDID_PRIO_M ICE_M(0x7, 8) 14136be2baaSBrett Creeley #define QRXFLXP_CNTXT_TS_M BIT(11) 1424f8a1497SBen Shelton #define GLGEN_CLKSTAT_SRC_PSM_CLK_SRC_S 4 1434f8a1497SBen Shelton #define GLGEN_CLKSTAT_SRC_PSM_CLK_SRC_M ICE_M(0x3, 4) 1444f8a1497SBen Shelton #define GLGEN_CLKSTAT_SRC 0x000B826C 145172db5f9SMaciej Machnikowski #define GLGEN_GPIO_CTL(_i) (0x000880C8 + ((_i) * 4)) 146172db5f9SMaciej Machnikowski #define GLGEN_GPIO_CTL_PIN_DIR_M BIT(4) 147172db5f9SMaciej Machnikowski #define GLGEN_GPIO_CTL_PIN_FUNC_S 8 148172db5f9SMaciej Machnikowski #define GLGEN_GPIO_CTL_PIN_FUNC_M ICE_M(0xF, 8) 149f31e4b6fSAnirudh Venkataramanan #define GLGEN_RSTAT 0x000B8188 150f80eaa42SAnirudh Venkataramanan #define GLGEN_RSTAT_DEVSTATE_M ICE_M(0x3, 0) 151f31e4b6fSAnirudh Venkataramanan #define GLGEN_RSTCTL 0x000B8180 152f31e4b6fSAnirudh Venkataramanan #define GLGEN_RSTCTL_GRSTDEL_S 0 153f31e4b6fSAnirudh Venkataramanan #define GLGEN_RSTCTL_GRSTDEL_M ICE_M(0x3F, GLGEN_RSTCTL_GRSTDEL_S) 1540b28b702SAnirudh Venkataramanan #define GLGEN_RSTAT_RESET_TYPE_S 2 155f80eaa42SAnirudh Venkataramanan #define GLGEN_RSTAT_RESET_TYPE_M ICE_M(0x3, 2) 156f31e4b6fSAnirudh Venkataramanan #define GLGEN_RTRIG 0x000B8190 157f80eaa42SAnirudh Venkataramanan #define GLGEN_RTRIG_CORER_M BIT(0) 158f80eaa42SAnirudh Venkataramanan #define GLGEN_RTRIG_GLOBR_M BIT(1) 159f31e4b6fSAnirudh Venkataramanan #define GLGEN_STAT 0x000B612C 160ddf30f7fSAnirudh Venkataramanan #define GLGEN_VFLRSTAT(_i) (0x00093A04 + ((_i) * 4)) 161f31e4b6fSAnirudh Venkataramanan #define PFGEN_CTRL 0x00091000 162f80eaa42SAnirudh Venkataramanan #define PFGEN_CTRL_PFSWR_M BIT(0) 163fcea6f3dSAnirudh Venkataramanan #define PFGEN_STATE 0x00088000 164fcea6f3dSAnirudh Venkataramanan #define PRTGEN_STATUS 0x000B8100 165ddf30f7fSAnirudh Venkataramanan #define VFGEN_RSTAT(_VF) (0x00074000 + ((_VF) * 4)) 166ddf30f7fSAnirudh Venkataramanan #define VPGEN_VFRSTAT(_VF) (0x00090800 + ((_VF) * 4)) 167ddf30f7fSAnirudh Venkataramanan #define VPGEN_VFRSTAT_VFRD_M BIT(0) 168ddf30f7fSAnirudh Venkataramanan #define VPGEN_VFRTRIG(_VF) (0x00090000 + ((_VF) * 4)) 169ddf30f7fSAnirudh Venkataramanan #define VPGEN_VFRTRIG_VFSWR_M BIT(0) 17070457520SBrett Creeley #define GLINT_CTL 0x0016CC54 17170457520SBrett Creeley #define GLINT_CTL_DIS_AUTOMASK_M BIT(0) 17270457520SBrett Creeley #define GLINT_CTL_ITR_GRAN_200_S 16 17370457520SBrett Creeley #define GLINT_CTL_ITR_GRAN_200_M ICE_M(0xF, 16) 17470457520SBrett Creeley #define GLINT_CTL_ITR_GRAN_100_S 20 17570457520SBrett Creeley #define GLINT_CTL_ITR_GRAN_100_M ICE_M(0xF, 20) 17670457520SBrett Creeley #define GLINT_CTL_ITR_GRAN_50_S 24 17770457520SBrett Creeley #define GLINT_CTL_ITR_GRAN_50_M ICE_M(0xF, 24) 17870457520SBrett Creeley #define GLINT_CTL_ITR_GRAN_25_S 28 17970457520SBrett Creeley #define GLINT_CTL_ITR_GRAN_25_M ICE_M(0xF, 28) 180940b61afSAnirudh Venkataramanan #define GLINT_DYN_CTL(_INT) (0x00160000 + ((_INT) * 4)) 181f80eaa42SAnirudh Venkataramanan #define GLINT_DYN_CTL_INTENA_M BIT(0) 182f80eaa42SAnirudh Venkataramanan #define GLINT_DYN_CTL_CLEARPBA_M BIT(1) 183f80eaa42SAnirudh Venkataramanan #define GLINT_DYN_CTL_SWINT_TRIG_M BIT(2) 184940b61afSAnirudh Venkataramanan #define GLINT_DYN_CTL_ITR_INDX_S 3 1852ab28bb0SBrett Creeley #define GLINT_DYN_CTL_ITR_INDX_M ICE_M(0x3, 3) 18663f545edSBrett Creeley #define GLINT_DYN_CTL_INTERVAL_S 5 1872ab28bb0SBrett Creeley #define GLINT_DYN_CTL_INTERVAL_M ICE_M(0xFFF, 5) 188b7306b42SJesse Brandeburg #define GLINT_DYN_CTL_SW_ITR_INDX_ENA_M BIT(24) 18923be7075SJesse Brandeburg #define GLINT_DYN_CTL_SW_ITR_INDX_S 25 190f80eaa42SAnirudh Venkataramanan #define GLINT_DYN_CTL_SW_ITR_INDX_M ICE_M(0x3, 25) 1912ab28bb0SBrett Creeley #define GLINT_DYN_CTL_WB_ON_ITR_M BIT(30) 192f80eaa42SAnirudh Venkataramanan #define GLINT_DYN_CTL_INTENA_MSK_M BIT(31) 193940b61afSAnirudh Venkataramanan #define GLINT_ITR(_i, _INT) (0x00154000 + ((_i) * 8192 + (_INT) * 4)) 1949e4ab4c2SBrett Creeley #define GLINT_RATE(_INT) (0x0015A000 + ((_INT) * 4)) 1959e4ab4c2SBrett Creeley #define GLINT_RATE_INTRL_ENA_M BIT(6) 196ddf30f7fSAnirudh Venkataramanan #define GLINT_VECT2FUNC(_INT) (0x00162000 + ((_INT) * 4)) 197ddf30f7fSAnirudh Venkataramanan #define GLINT_VECT2FUNC_VF_NUM_S 0 198ddf30f7fSAnirudh Venkataramanan #define GLINT_VECT2FUNC_VF_NUM_M ICE_M(0xFF, 0) 199ddf30f7fSAnirudh Venkataramanan #define GLINT_VECT2FUNC_PF_NUM_S 12 200ddf30f7fSAnirudh Venkataramanan #define GLINT_VECT2FUNC_PF_NUM_M ICE_M(0x7, 12) 201ddf30f7fSAnirudh Venkataramanan #define GLINT_VECT2FUNC_IS_PF_S 16 202ddf30f7fSAnirudh Venkataramanan #define GLINT_VECT2FUNC_IS_PF_M BIT(16) 203940b61afSAnirudh Venkataramanan #define PFINT_FW_CTL 0x0016C800 204f80eaa42SAnirudh Venkataramanan #define PFINT_FW_CTL_MSIX_INDX_M ICE_M(0x7FF, 0) 205940b61afSAnirudh Venkataramanan #define PFINT_FW_CTL_ITR_INDX_S 11 206f80eaa42SAnirudh Venkataramanan #define PFINT_FW_CTL_ITR_INDX_M ICE_M(0x3, 11) 207f80eaa42SAnirudh Venkataramanan #define PFINT_FW_CTL_CAUSE_ENA_M BIT(30) 20875d2b253SAnirudh Venkataramanan #define PFINT_MBX_CTL 0x0016B280 20975d2b253SAnirudh Venkataramanan #define PFINT_MBX_CTL_MSIX_INDX_M ICE_M(0x7FF, 0) 21075d2b253SAnirudh Venkataramanan #define PFINT_MBX_CTL_ITR_INDX_S 11 21175d2b253SAnirudh Venkataramanan #define PFINT_MBX_CTL_ITR_INDX_M ICE_M(0x3, 11) 21275d2b253SAnirudh Venkataramanan #define PFINT_MBX_CTL_CAUSE_ENA_M BIT(30) 213940b61afSAnirudh Venkataramanan #define PFINT_OICR 0x0016CA00 214ea9b847cSJacob Keller #define PFINT_OICR_TSYN_TX_M BIT(11) 215172db5f9SMaciej Machnikowski #define PFINT_OICR_TSYN_EVNT_M BIT(12) 216f80eaa42SAnirudh Venkataramanan #define PFINT_OICR_ECC_ERR_M BIT(16) 217f80eaa42SAnirudh Venkataramanan #define PFINT_OICR_MAL_DETECT_M BIT(19) 218f80eaa42SAnirudh Venkataramanan #define PFINT_OICR_GRST_M BIT(20) 219f80eaa42SAnirudh Venkataramanan #define PFINT_OICR_PCI_EXCEPTION_M BIT(21) 220f80eaa42SAnirudh Venkataramanan #define PFINT_OICR_HMC_ERR_M BIT(26) 221348048e7SDave Ertman #define PFINT_OICR_PE_PUSH_M BIT(27) 222f80eaa42SAnirudh Venkataramanan #define PFINT_OICR_PE_CRITERR_M BIT(28) 223007676b4SAnirudh Venkataramanan #define PFINT_OICR_VFLR_M BIT(29) 2240e674aebSAnirudh Venkataramanan #define PFINT_OICR_SWINT_M BIT(31) 225940b61afSAnirudh Venkataramanan #define PFINT_OICR_CTL 0x0016CA80 226f80eaa42SAnirudh Venkataramanan #define PFINT_OICR_CTL_MSIX_INDX_M ICE_M(0x7FF, 0) 227940b61afSAnirudh Venkataramanan #define PFINT_OICR_CTL_ITR_INDX_S 11 228f80eaa42SAnirudh Venkataramanan #define PFINT_OICR_CTL_ITR_INDX_M ICE_M(0x3, 11) 229f80eaa42SAnirudh Venkataramanan #define PFINT_OICR_CTL_CAUSE_ENA_M BIT(30) 230940b61afSAnirudh Venkataramanan #define PFINT_OICR_ENA 0x0016C900 2318f5ee3c4SJacob Keller #define PFINT_SB_CTL 0x0016B600 2328f5ee3c4SJacob Keller #define PFINT_SB_CTL_MSIX_INDX_M ICE_M(0x7FF, 0) 2338f5ee3c4SJacob Keller #define PFINT_SB_CTL_CAUSE_ENA_M BIT(30) 234cdedef59SAnirudh Venkataramanan #define QINT_RQCTL(_QRX) (0x00150000 + ((_QRX) * 4)) 235cdedef59SAnirudh Venkataramanan #define QINT_RQCTL_MSIX_INDX_S 0 236ba0db585SMichal Swiatkowski #define QINT_RQCTL_MSIX_INDX_M ICE_M(0x7FF, 0) 237cdedef59SAnirudh Venkataramanan #define QINT_RQCTL_ITR_INDX_S 11 238ba0db585SMichal Swiatkowski #define QINT_RQCTL_ITR_INDX_M ICE_M(0x3, 11) 239f80eaa42SAnirudh Venkataramanan #define QINT_RQCTL_CAUSE_ENA_M BIT(30) 240cdedef59SAnirudh Venkataramanan #define QINT_TQCTL(_DBQM) (0x00140000 + ((_DBQM) * 4)) 241cdedef59SAnirudh Venkataramanan #define QINT_TQCTL_MSIX_INDX_S 0 242ba0db585SMichal Swiatkowski #define QINT_TQCTL_MSIX_INDX_M ICE_M(0x7FF, 0) 243cdedef59SAnirudh Venkataramanan #define QINT_TQCTL_ITR_INDX_S 11 244ba0db585SMichal Swiatkowski #define QINT_TQCTL_ITR_INDX_M ICE_M(0x3, 11) 245f80eaa42SAnirudh Venkataramanan #define QINT_TQCTL_CAUSE_ENA_M BIT(30) 246ddf30f7fSAnirudh Venkataramanan #define VPINT_ALLOC(_VF) (0x001D1000 + ((_VF) * 4)) 247ddf30f7fSAnirudh Venkataramanan #define VPINT_ALLOC_FIRST_S 0 248ddf30f7fSAnirudh Venkataramanan #define VPINT_ALLOC_FIRST_M ICE_M(0x7FF, 0) 249ddf30f7fSAnirudh Venkataramanan #define VPINT_ALLOC_LAST_S 12 250ddf30f7fSAnirudh Venkataramanan #define VPINT_ALLOC_LAST_M ICE_M(0x7FF, 12) 251ddf30f7fSAnirudh Venkataramanan #define VPINT_ALLOC_VALID_M BIT(31) 252982b1219SAnirudh Venkataramanan #define VPINT_ALLOC_PCI(_VF) (0x0009D000 + ((_VF) * 4)) 253982b1219SAnirudh Venkataramanan #define VPINT_ALLOC_PCI_FIRST_S 0 254982b1219SAnirudh Venkataramanan #define VPINT_ALLOC_PCI_FIRST_M ICE_M(0x7FF, 0) 255982b1219SAnirudh Venkataramanan #define VPINT_ALLOC_PCI_LAST_S 12 256982b1219SAnirudh Venkataramanan #define VPINT_ALLOC_PCI_LAST_M ICE_M(0x7FF, 12) 257982b1219SAnirudh Venkataramanan #define VPINT_ALLOC_PCI_VALID_M BIT(31) 258a7c9b47bSMitch Williams #define VPINT_MBX_CTL(_VSI) (0x0016A000 + ((_VSI) * 4)) 259a7c9b47bSMitch Williams #define VPINT_MBX_CTL_CAUSE_ENA_M BIT(30) 260f203dca3SAnirudh Venkataramanan #define GLLAN_RCTL_0 0x002941F8 261cdedef59SAnirudh Venkataramanan #define QRX_CONTEXT(_i, _QRX) (0x00280000 + ((_i) * 8192 + (_QRX) * 4)) 262cdedef59SAnirudh Venkataramanan #define QRX_CTRL(_QRX) (0x00120000 + ((_QRX) * 4)) 263cdedef59SAnirudh Venkataramanan #define QRX_CTRL_MAX_INDEX 2047 264cdedef59SAnirudh Venkataramanan #define QRX_CTRL_QENA_REQ_S 0 265f80eaa42SAnirudh Venkataramanan #define QRX_CTRL_QENA_REQ_M BIT(0) 266cdedef59SAnirudh Venkataramanan #define QRX_CTRL_QENA_STAT_S 2 267f80eaa42SAnirudh Venkataramanan #define QRX_CTRL_QENA_STAT_M BIT(2) 268fcea6f3dSAnirudh Venkataramanan #define QRX_ITR(_QRX) (0x00292000 + ((_QRX) * 4)) 269cdedef59SAnirudh Venkataramanan #define QRX_TAIL(_QRX) (0x00290000 + ((_QRX) * 4)) 270b3969fd7SSudheer Mogilappagari #define QRX_TAIL_MAX_INDEX 2047 271b3969fd7SSudheer Mogilappagari #define QRX_TAIL_TAIL_S 0 272b3969fd7SSudheer Mogilappagari #define QRX_TAIL_TAIL_M ICE_M(0x1FFF, 0) 273ddf30f7fSAnirudh Venkataramanan #define VPLAN_RX_QBASE(_VF) (0x00072000 + ((_VF) * 4)) 274ddf30f7fSAnirudh Venkataramanan #define VPLAN_RX_QBASE_VFFIRSTQ_S 0 275ddf30f7fSAnirudh Venkataramanan #define VPLAN_RX_QBASE_VFFIRSTQ_M ICE_M(0x7FF, 0) 276ddf30f7fSAnirudh Venkataramanan #define VPLAN_RX_QBASE_VFNUMQ_S 16 277ddf30f7fSAnirudh Venkataramanan #define VPLAN_RX_QBASE_VFNUMQ_M ICE_M(0xFF, 16) 278ddf30f7fSAnirudh Venkataramanan #define VPLAN_RXQ_MAPENA(_VF) (0x00073000 + ((_VF) * 4)) 279ddf30f7fSAnirudh Venkataramanan #define VPLAN_RXQ_MAPENA_RX_ENA_M BIT(0) 280ddf30f7fSAnirudh Venkataramanan #define VPLAN_TX_QBASE(_VF) (0x001D1800 + ((_VF) * 4)) 281ddf30f7fSAnirudh Venkataramanan #define VPLAN_TX_QBASE_VFFIRSTQ_S 0 282ddf30f7fSAnirudh Venkataramanan #define VPLAN_TX_QBASE_VFFIRSTQ_M ICE_M(0x3FFF, 0) 283ddf30f7fSAnirudh Venkataramanan #define VPLAN_TX_QBASE_VFNUMQ_S 16 284ddf30f7fSAnirudh Venkataramanan #define VPLAN_TX_QBASE_VFNUMQ_M ICE_M(0xFF, 16) 285ddf30f7fSAnirudh Venkataramanan #define VPLAN_TXQ_MAPENA(_VF) (0x00073800 + ((_VF) * 4)) 286ddf30f7fSAnirudh Venkataramanan #define VPLAN_TXQ_MAPENA_TX_ENA_M BIT(0) 28742449105SAnirudh Venkataramanan #define PRTMAC_HSEC_CTL_TX_PAUSE_QUANTA(_i) (0x001E36E0 + ((_i) * 32)) 28842449105SAnirudh Venkataramanan #define PRTMAC_HSEC_CTL_TX_PAUSE_QUANTA_MAX_INDEX 8 28942449105SAnirudh Venkataramanan #define PRTMAC_HSEC_CTL_TX_PAUSE_QUANTA_HSEC_CTL_TX_PAUSE_QUANTA_M ICE_M(0xFFFF, 0) 29042449105SAnirudh Venkataramanan #define PRTMAC_HSEC_CTL_TX_PAUSE_REFRESH_TIMER(_i) (0x001E3800 + ((_i) * 32)) 29142449105SAnirudh Venkataramanan #define PRTMAC_HSEC_CTL_TX_PAUSE_REFRESH_TIMER_M ICE_M(0xFFFF, 0) 2929d5c5a52SPaul Greenwalt #define GL_MDCK_TX_TDPU 0x00049348 2939d5c5a52SPaul Greenwalt #define GL_MDCK_TX_TDPU_RCU_ANTISPOOF_ITR_DIS_M BIT(1) 294b3969fd7SSudheer Mogilappagari #define GL_MDET_RX 0x00294C00 295b3969fd7SSudheer Mogilappagari #define GL_MDET_RX_QNUM_S 0 296b3969fd7SSudheer Mogilappagari #define GL_MDET_RX_QNUM_M ICE_M(0x7FFF, 0) 297b3969fd7SSudheer Mogilappagari #define GL_MDET_RX_VF_NUM_S 15 298b3969fd7SSudheer Mogilappagari #define GL_MDET_RX_VF_NUM_M ICE_M(0xFF, 15) 299b3969fd7SSudheer Mogilappagari #define GL_MDET_RX_PF_NUM_S 23 300b3969fd7SSudheer Mogilappagari #define GL_MDET_RX_PF_NUM_M ICE_M(0x7, 23) 301b3969fd7SSudheer Mogilappagari #define GL_MDET_RX_MAL_TYPE_S 26 302b3969fd7SSudheer Mogilappagari #define GL_MDET_RX_MAL_TYPE_M ICE_M(0x1F, 26) 303b3969fd7SSudheer Mogilappagari #define GL_MDET_RX_VALID_M BIT(31) 304b3969fd7SSudheer Mogilappagari #define GL_MDET_TX_PQM 0x002D2E00 305b3969fd7SSudheer Mogilappagari #define GL_MDET_TX_PQM_PF_NUM_S 0 306b3969fd7SSudheer Mogilappagari #define GL_MDET_TX_PQM_PF_NUM_M ICE_M(0x7, 0) 307b3969fd7SSudheer Mogilappagari #define GL_MDET_TX_PQM_VF_NUM_S 4 308b3969fd7SSudheer Mogilappagari #define GL_MDET_TX_PQM_VF_NUM_M ICE_M(0xFF, 4) 309b3969fd7SSudheer Mogilappagari #define GL_MDET_TX_PQM_QNUM_S 12 310b3969fd7SSudheer Mogilappagari #define GL_MDET_TX_PQM_QNUM_M ICE_M(0x3FFF, 12) 311b3969fd7SSudheer Mogilappagari #define GL_MDET_TX_PQM_MAL_TYPE_S 26 312b3969fd7SSudheer Mogilappagari #define GL_MDET_TX_PQM_MAL_TYPE_M ICE_M(0x1F, 26) 313b3969fd7SSudheer Mogilappagari #define GL_MDET_TX_PQM_VALID_M BIT(31) 314b3969fd7SSudheer Mogilappagari #define GL_MDET_TX_TCLAN 0x000FC068 315b3969fd7SSudheer Mogilappagari #define GL_MDET_TX_TCLAN_QNUM_S 0 316b3969fd7SSudheer Mogilappagari #define GL_MDET_TX_TCLAN_QNUM_M ICE_M(0x7FFF, 0) 317b3969fd7SSudheer Mogilappagari #define GL_MDET_TX_TCLAN_VF_NUM_S 15 318b3969fd7SSudheer Mogilappagari #define GL_MDET_TX_TCLAN_VF_NUM_M ICE_M(0xFF, 15) 319b3969fd7SSudheer Mogilappagari #define GL_MDET_TX_TCLAN_PF_NUM_S 23 320b3969fd7SSudheer Mogilappagari #define GL_MDET_TX_TCLAN_PF_NUM_M ICE_M(0x7, 23) 321b3969fd7SSudheer Mogilappagari #define GL_MDET_TX_TCLAN_MAL_TYPE_S 26 322b3969fd7SSudheer Mogilappagari #define GL_MDET_TX_TCLAN_MAL_TYPE_M ICE_M(0x1F, 26) 323b3969fd7SSudheer Mogilappagari #define GL_MDET_TX_TCLAN_VALID_M BIT(31) 324b3969fd7SSudheer Mogilappagari #define PF_MDET_RX 0x00294280 325b3969fd7SSudheer Mogilappagari #define PF_MDET_RX_VALID_M BIT(0) 326b3969fd7SSudheer Mogilappagari #define PF_MDET_TX_PQM 0x002D2C80 327b3969fd7SSudheer Mogilappagari #define PF_MDET_TX_PQM_VALID_M BIT(0) 328b3969fd7SSudheer Mogilappagari #define PF_MDET_TX_TCLAN 0x000FC000 329b3969fd7SSudheer Mogilappagari #define PF_MDET_TX_TCLAN_VALID_M BIT(0) 3307c4bc1f5SAnirudh Venkataramanan #define VP_MDET_RX(_VF) (0x00294400 + ((_VF) * 4)) 3317c4bc1f5SAnirudh Venkataramanan #define VP_MDET_RX_VALID_M BIT(0) 3327c4bc1f5SAnirudh Venkataramanan #define VP_MDET_TX_PQM(_VF) (0x002D2000 + ((_VF) * 4)) 3337c4bc1f5SAnirudh Venkataramanan #define VP_MDET_TX_PQM_VALID_M BIT(0) 3347c4bc1f5SAnirudh Venkataramanan #define VP_MDET_TX_TCLAN(_VF) (0x000FB800 + ((_VF) * 4)) 3357c4bc1f5SAnirudh Venkataramanan #define VP_MDET_TX_TCLAN_VALID_M BIT(0) 3367c4bc1f5SAnirudh Venkataramanan #define VP_MDET_TX_TDPU(_VF) (0x00040000 + ((_VF) * 4)) 3377c4bc1f5SAnirudh Venkataramanan #define VP_MDET_TX_TDPU_VALID_M BIT(0) 338*5708155dSJan Sokolowski #define GL_MNG_FWSM 0x000B6134 339*5708155dSJan Sokolowski #define GL_MNG_FWSM_FW_LOADING_M BIT(30) 340f31e4b6fSAnirudh Venkataramanan #define GLNVM_FLA 0x000B6108 341f80eaa42SAnirudh Venkataramanan #define GLNVM_FLA_LOCKED_M BIT(6) 342f31e4b6fSAnirudh Venkataramanan #define GLNVM_GENS 0x000B6100 343f31e4b6fSAnirudh Venkataramanan #define GLNVM_GENS_SR_SIZE_S 5 344f80eaa42SAnirudh Venkataramanan #define GLNVM_GENS_SR_SIZE_M ICE_M(0x7, 5) 345f31e4b6fSAnirudh Venkataramanan #define GLNVM_ULD 0x000B6008 346cf8fc2a0SBruce Allan #define GLNVM_ULD_PCIER_DONE_M BIT(0) 347cf8fc2a0SBruce Allan #define GLNVM_ULD_PCIER_DONE_1_M BIT(1) 348f80eaa42SAnirudh Venkataramanan #define GLNVM_ULD_CORER_DONE_M BIT(3) 349f80eaa42SAnirudh Venkataramanan #define GLNVM_ULD_GLOBR_DONE_M BIT(4) 350cf8fc2a0SBruce Allan #define GLNVM_ULD_POR_DONE_M BIT(5) 351cf8fc2a0SBruce Allan #define GLNVM_ULD_POR_DONE_1_M BIT(8) 352cf8fc2a0SBruce Allan #define GLNVM_ULD_PCIER_DONE_2_M BIT(9) 353cf8fc2a0SBruce Allan #define GLNVM_ULD_PE_DONE_M BIT(10) 354c585ea42SBrett Creeley #define GLPCI_CNF2 0x000BE004 355c585ea42SBrett Creeley #define GLPCI_CNF2_CACHELINE_SIZE_M BIT(1) 356f31e4b6fSAnirudh Venkataramanan #define PF_FUNC_RID 0x0009E880 357f31e4b6fSAnirudh Venkataramanan #define PF_FUNC_RID_FUNC_NUM_S 0 358f80eaa42SAnirudh Venkataramanan #define PF_FUNC_RID_FUNC_NUM_M ICE_M(0x7, 0) 359ddf30f7fSAnirudh Venkataramanan #define PF_PCI_CIAA 0x0009E580 360ddf30f7fSAnirudh Venkataramanan #define PF_PCI_CIAA_VF_NUM_S 12 361ddf30f7fSAnirudh Venkataramanan #define PF_PCI_CIAD 0x0009E500 3629e4ab4c2SBrett Creeley #define GL_PWR_MODE_CTL 0x000B820C 3639e4ab4c2SBrett Creeley #define GL_PWR_MODE_CTL_CAR_MAX_BW_S 30 3649e4ab4c2SBrett Creeley #define GL_PWR_MODE_CTL_CAR_MAX_BW_M ICE_M(0x3, 30) 365cac2a27cSHenry Tieman #define GLQF_FD_CNT 0x00460018 366cac2a27cSHenry Tieman #define GLQF_FD_CNT_FD_BCNT_S 16 367cac2a27cSHenry Tieman #define GLQF_FD_CNT_FD_BCNT_M ICE_M(0x7FFF, 16) 368148beb61SHenry Tieman #define GLQF_FD_SIZE 0x00460010 369148beb61SHenry Tieman #define GLQF_FD_SIZE_FD_GSIZE_S 0 370148beb61SHenry Tieman #define GLQF_FD_SIZE_FD_GSIZE_M ICE_M(0x7FFF, 0) 371148beb61SHenry Tieman #define GLQF_FD_SIZE_FD_BSIZE_S 16 372148beb61SHenry Tieman #define GLQF_FD_SIZE_FD_BSIZE_M ICE_M(0x7FFF, 16) 373148beb61SHenry Tieman #define GLQF_FDINSET(_i, _j) (0x00412000 + ((_i) * 4 + (_j) * 512)) 374b199dddbSQi Zhang #define GLQF_FDMASK(_i) (0x00410800 + ((_i) * 4)) 375b199dddbSQi Zhang #define GLQF_FDMASK_MAX_INDEX 31 376b199dddbSQi Zhang #define GLQF_FDMASK_MSK_INDEX_S 0 377b199dddbSQi Zhang #define GLQF_FDMASK_MSK_INDEX_M ICE_M(0x1F, 0) 378b199dddbSQi Zhang #define GLQF_FDMASK_MASK_S 16 379b199dddbSQi Zhang #define GLQF_FDMASK_MASK_M ICE_M(0xFFFF, 16) 380148beb61SHenry Tieman #define GLQF_FDMASK_SEL(_i) (0x00410400 + ((_i) * 4)) 381148beb61SHenry Tieman #define GLQF_FDSWAP(_i, _j) (0x00413000 + ((_i) * 4 + (_j) * 512)) 382b199dddbSQi Zhang #define GLQF_HMASK(_i) (0x0040FC00 + ((_i) * 4)) 383b199dddbSQi Zhang #define GLQF_HMASK_MAX_INDEX 31 384b199dddbSQi Zhang #define GLQF_HMASK_MSK_INDEX_S 0 385b199dddbSQi Zhang #define GLQF_HMASK_MSK_INDEX_M ICE_M(0x1F, 0) 386b199dddbSQi Zhang #define GLQF_HMASK_MASK_S 16 387b199dddbSQi Zhang #define GLQF_HMASK_MASK_M ICE_M(0xFFFF, 16) 388b199dddbSQi Zhang #define GLQF_HMASK_SEL(_i) (0x00410000 + ((_i) * 4)) 389b199dddbSQi Zhang #define GLQF_HMASK_SEL_MAX_INDEX 127 390b199dddbSQi Zhang #define GLQF_HMASK_SEL_MASK_SEL_S 0 391148beb61SHenry Tieman #define PFQF_FD_ENA 0x0043A000 392148beb61SHenry Tieman #define PFQF_FD_ENA_FD_ENA_M BIT(0) 393148beb61SHenry Tieman #define PFQF_FD_SIZE 0x00460100 3942309ae38SBrett Creeley #define GLDCB_RTCTQ_RXQNUM_S 0 3952309ae38SBrett Creeley #define GLDCB_RTCTQ_RXQNUM_M ICE_M(0x7FF, 0) 396fcea6f3dSAnirudh Venkataramanan #define GLPRT_BPRCL(_i) (0x00381380 + ((_i) * 8)) 397fcea6f3dSAnirudh Venkataramanan #define GLPRT_BPTCL(_i) (0x00381240 + ((_i) * 8)) 398fcea6f3dSAnirudh Venkataramanan #define GLPRT_CRCERRS(_i) (0x00380100 + ((_i) * 8)) 399fcea6f3dSAnirudh Venkataramanan #define GLPRT_GORCL(_i) (0x00380000 + ((_i) * 8)) 400fcea6f3dSAnirudh Venkataramanan #define GLPRT_GOTCL(_i) (0x00380B40 + ((_i) * 8)) 401fcea6f3dSAnirudh Venkataramanan #define GLPRT_ILLERRC(_i) (0x003801C0 + ((_i) * 8)) 402fcea6f3dSAnirudh Venkataramanan #define GLPRT_LXOFFRXC(_i) (0x003802C0 + ((_i) * 8)) 403fcea6f3dSAnirudh Venkataramanan #define GLPRT_LXOFFTXC(_i) (0x00381180 + ((_i) * 8)) 404fcea6f3dSAnirudh Venkataramanan #define GLPRT_LXONRXC(_i) (0x00380280 + ((_i) * 8)) 405fcea6f3dSAnirudh Venkataramanan #define GLPRT_LXONTXC(_i) (0x00381140 + ((_i) * 8)) 406fcea6f3dSAnirudh Venkataramanan #define GLPRT_MLFC(_i) (0x00380040 + ((_i) * 8)) 407fcea6f3dSAnirudh Venkataramanan #define GLPRT_MPRCL(_i) (0x00381340 + ((_i) * 8)) 408fcea6f3dSAnirudh Venkataramanan #define GLPRT_MPTCL(_i) (0x00381200 + ((_i) * 8)) 409fcea6f3dSAnirudh Venkataramanan #define GLPRT_MRFC(_i) (0x00380080 + ((_i) * 8)) 410fcea6f3dSAnirudh Venkataramanan #define GLPRT_PRC1023L(_i) (0x00380A00 + ((_i) * 8)) 411fcea6f3dSAnirudh Venkataramanan #define GLPRT_PRC127L(_i) (0x00380940 + ((_i) * 8)) 412fcea6f3dSAnirudh Venkataramanan #define GLPRT_PRC1522L(_i) (0x00380A40 + ((_i) * 8)) 413fcea6f3dSAnirudh Venkataramanan #define GLPRT_PRC255L(_i) (0x00380980 + ((_i) * 8)) 414fcea6f3dSAnirudh Venkataramanan #define GLPRT_PRC511L(_i) (0x003809C0 + ((_i) * 8)) 415fcea6f3dSAnirudh Venkataramanan #define GLPRT_PRC64L(_i) (0x00380900 + ((_i) * 8)) 416fcea6f3dSAnirudh Venkataramanan #define GLPRT_PRC9522L(_i) (0x00380A80 + ((_i) * 8)) 417fcea6f3dSAnirudh Venkataramanan #define GLPRT_PTC1023L(_i) (0x00380C80 + ((_i) * 8)) 418fcea6f3dSAnirudh Venkataramanan #define GLPRT_PTC127L(_i) (0x00380BC0 + ((_i) * 8)) 419fcea6f3dSAnirudh Venkataramanan #define GLPRT_PTC1522L(_i) (0x00380CC0 + ((_i) * 8)) 420fcea6f3dSAnirudh Venkataramanan #define GLPRT_PTC255L(_i) (0x00380C00 + ((_i) * 8)) 421fcea6f3dSAnirudh Venkataramanan #define GLPRT_PTC511L(_i) (0x00380C40 + ((_i) * 8)) 422fcea6f3dSAnirudh Venkataramanan #define GLPRT_PTC64L(_i) (0x00380B80 + ((_i) * 8)) 423fcea6f3dSAnirudh Venkataramanan #define GLPRT_PTC9522L(_i) (0x00380D00 + ((_i) * 8)) 4244b0fdcebSAnirudh Venkataramanan #define GLPRT_PXOFFRXC(_i, _j) (0x00380500 + ((_i) * 8 + (_j) * 64)) 4254b0fdcebSAnirudh Venkataramanan #define GLPRT_PXOFFTXC(_i, _j) (0x00380F40 + ((_i) * 8 + (_j) * 64)) 4264b0fdcebSAnirudh Venkataramanan #define GLPRT_PXONRXC(_i, _j) (0x00380300 + ((_i) * 8 + (_j) * 64)) 4274b0fdcebSAnirudh Venkataramanan #define GLPRT_PXONTXC(_i, _j) (0x00380D40 + ((_i) * 8 + (_j) * 64)) 428fcea6f3dSAnirudh Venkataramanan #define GLPRT_RFC(_i) (0x00380AC0 + ((_i) * 8)) 429fcea6f3dSAnirudh Venkataramanan #define GLPRT_RJC(_i) (0x00380B00 + ((_i) * 8)) 430fcea6f3dSAnirudh Venkataramanan #define GLPRT_RLEC(_i) (0x00380140 + ((_i) * 8)) 431fcea6f3dSAnirudh Venkataramanan #define GLPRT_ROC(_i) (0x00380240 + ((_i) * 8)) 432fcea6f3dSAnirudh Venkataramanan #define GLPRT_RUC(_i) (0x00380200 + ((_i) * 8)) 4334b0fdcebSAnirudh Venkataramanan #define GLPRT_RXON2OFFCNT(_i, _j) (0x00380700 + ((_i) * 8 + (_j) * 64)) 434fcea6f3dSAnirudh Venkataramanan #define GLPRT_TDOLD(_i) (0x00381280 + ((_i) * 8)) 435fcea6f3dSAnirudh Venkataramanan #define GLPRT_UPRCL(_i) (0x00381300 + ((_i) * 8)) 436fcea6f3dSAnirudh Venkataramanan #define GLPRT_UPTCL(_i) (0x003811C0 + ((_i) * 8)) 4374ab95646SHenry Tieman #define GLSTAT_FD_CNT0L(_i) (0x003A0000 + ((_i) * 8)) 438fcea6f3dSAnirudh Venkataramanan #define GLV_BPRCL(_i) (0x003B6000 + ((_i) * 8)) 439fcea6f3dSAnirudh Venkataramanan #define GLV_BPTCL(_i) (0x0030E000 + ((_i) * 8)) 440fcea6f3dSAnirudh Venkataramanan #define GLV_GORCL(_i) (0x003B0000 + ((_i) * 8)) 441fcea6f3dSAnirudh Venkataramanan #define GLV_GOTCL(_i) (0x00300000 + ((_i) * 8)) 442fcea6f3dSAnirudh Venkataramanan #define GLV_MPRCL(_i) (0x003B4000 + ((_i) * 8)) 443fcea6f3dSAnirudh Venkataramanan #define GLV_MPTCL(_i) (0x0030C000 + ((_i) * 8)) 444fcea6f3dSAnirudh Venkataramanan #define GLV_RDPC(_i) (0x00294C04 + ((_i) * 4)) 445fcea6f3dSAnirudh Venkataramanan #define GLV_TEPC(_VSI) (0x00312000 + ((_VSI) * 4)) 446fcea6f3dSAnirudh Venkataramanan #define GLV_UPRCL(_i) (0x003B2000 + ((_i) * 8)) 447fcea6f3dSAnirudh Venkataramanan #define GLV_UPTCL(_i) (0x0030A000 + ((_i) * 8)) 4487dbc63f0STony Nguyen #define PRTRPB_RDPC 0x000AC260 44913a64f0bSJacob Keller #define GLHH_ART_CTL 0x000A41D4 45013a64f0bSJacob Keller #define GLHH_ART_CTL_ACTIVE_M BIT(0) 45113a64f0bSJacob Keller #define GLHH_ART_TIME_H 0x000A41D8 45213a64f0bSJacob Keller #define GLHH_ART_TIME_L 0x000A41DC 453172db5f9SMaciej Machnikowski #define GLTSYN_AUX_IN_0(_i) (0x000889D8 + ((_i) * 4)) 454172db5f9SMaciej Machnikowski #define GLTSYN_AUX_IN_0_INT_ENA_M BIT(4) 455172db5f9SMaciej Machnikowski #define GLTSYN_AUX_OUT_0(_i) (0x00088998 + ((_i) * 4)) 456172db5f9SMaciej Machnikowski #define GLTSYN_AUX_OUT_0_OUT_ENA_M BIT(0) 457172db5f9SMaciej Machnikowski #define GLTSYN_AUX_OUT_0_OUTMOD_M ICE_M(0x3, 1) 458172db5f9SMaciej Machnikowski #define GLTSYN_CLKO_0(_i) (0x000889B8 + ((_i) * 4)) 45903cb4473SJacob Keller #define GLTSYN_CMD 0x00088810 46003cb4473SJacob Keller #define GLTSYN_CMD_SYNC 0x00088814 46103cb4473SJacob Keller #define GLTSYN_ENA(_i) (0x00088808 + ((_i) * 4)) 46203cb4473SJacob Keller #define GLTSYN_ENA_TSYN_ENA_M BIT(0) 463172db5f9SMaciej Machnikowski #define GLTSYN_EVNT_H_0(_i) (0x00088970 + ((_i) * 4)) 464172db5f9SMaciej Machnikowski #define GLTSYN_EVNT_L_0(_i) (0x00088968 + ((_i) * 4)) 46513a64f0bSJacob Keller #define GLTSYN_HHTIME_H(_i) (0x00088900 + ((_i) * 4)) 46613a64f0bSJacob Keller #define GLTSYN_HHTIME_L(_i) (0x000888F8 + ((_i) * 4)) 46703cb4473SJacob Keller #define GLTSYN_INCVAL_H(_i) (0x00088920 + ((_i) * 4)) 46803cb4473SJacob Keller #define GLTSYN_INCVAL_L(_i) (0x00088918 + ((_i) * 4)) 46903cb4473SJacob Keller #define GLTSYN_SHADJ_H(_i) (0x00088910 + ((_i) * 4)) 47003cb4473SJacob Keller #define GLTSYN_SHADJ_L(_i) (0x00088908 + ((_i) * 4)) 47103cb4473SJacob Keller #define GLTSYN_SHTIME_0(_i) (0x000888E0 + ((_i) * 4)) 47203cb4473SJacob Keller #define GLTSYN_SHTIME_H(_i) (0x000888F0 + ((_i) * 4)) 47303cb4473SJacob Keller #define GLTSYN_SHTIME_L(_i) (0x000888E8 + ((_i) * 4)) 47403cb4473SJacob Keller #define GLTSYN_STAT(_i) (0x000888C0 + ((_i) * 4)) 475172db5f9SMaciej Machnikowski #define GLTSYN_STAT_EVENT0_M BIT(0) 476172db5f9SMaciej Machnikowski #define GLTSYN_STAT_EVENT1_M BIT(1) 477172db5f9SMaciej Machnikowski #define GLTSYN_STAT_EVENT2_M BIT(2) 47803cb4473SJacob Keller #define GLTSYN_SYNC_DLAY 0x00088818 479172db5f9SMaciej Machnikowski #define GLTSYN_TGT_H_0(_i) (0x00088930 + ((_i) * 4)) 480172db5f9SMaciej Machnikowski #define GLTSYN_TGT_L_0(_i) (0x00088928 + ((_i) * 4)) 48103cb4473SJacob Keller #define GLTSYN_TIME_H(_i) (0x000888D8 + ((_i) * 4)) 48203cb4473SJacob Keller #define GLTSYN_TIME_L(_i) (0x000888D0 + ((_i) * 4)) 48313a64f0bSJacob Keller #define PFHH_SEM 0x000A4200 /* Reset Source: PFR */ 48413a64f0bSJacob Keller #define PFHH_SEM_BUSY_M BIT(0) 48503cb4473SJacob Keller #define PFTSYN_SEM 0x00088880 48603cb4473SJacob Keller #define PFTSYN_SEM_BUSY_M BIT(0) 487cac2a27cSHenry Tieman #define VSIQF_FD_CNT(_VSI) (0x00464000 + ((_VSI) * 4)) 488cac2a27cSHenry Tieman #define VSIQF_FD_CNT_FD_GCNT_S 0 489cac2a27cSHenry Tieman #define VSIQF_FD_CNT_FD_GCNT_M ICE_M(0x3FFF, 0) 490d6218317SQi Zhang #define VSIQF_FD_CNT_FD_BCNT_S 16 491d6218317SQi Zhang #define VSIQF_FD_CNT_FD_BCNT_M ICE_M(0x3FFF, 16) 492d6218317SQi Zhang #define VSIQF_FD_SIZE(_VSI) (0x00462000 + ((_VSI) * 4)) 493fcea6f3dSAnirudh Venkataramanan #define VSIQF_HKEY_MAX_INDEX 12 494769c500dSAkeem G Abodunrin #define PFPM_APM 0x000B8080 495769c500dSAkeem G Abodunrin #define PFPM_APM_APME_M BIT(0) 496769c500dSAkeem G Abodunrin #define PFPM_WUFC 0x0009DC00 497769c500dSAkeem G Abodunrin #define PFPM_WUFC_MAG_M BIT(1) 498769c500dSAkeem G Abodunrin #define PFPM_WUS 0x0009DB80 499769c500dSAkeem G Abodunrin #define PFPM_WUS_LNKC_M BIT(0) 500769c500dSAkeem G Abodunrin #define PFPM_WUS_MAG_M BIT(1) 501769c500dSAkeem G Abodunrin #define PFPM_WUS_MNG_M BIT(3) 502769c500dSAkeem G Abodunrin #define PFPM_WUS_FW_RST_WK_M BIT(31) 503ddf30f7fSAnirudh Venkataramanan #define VFINT_DYN_CTLN(_i) (0x00003800 + ((_i) * 4)) 504ddf30f7fSAnirudh Venkataramanan #define VFINT_DYN_CTLN_CLEARPBA_M BIT(1) 5057ec59eeaSAnirudh Venkataramanan 5067ec59eeaSAnirudh Venkataramanan #endif /* _ICE_HW_AUTOGEN_H_ */ 507