linux/drivers/net/ethernet/intel/ice/ice_hw_autogen.h
<<
>>
Prefs
   1/* SPDX-License-Identifier: GPL-2.0 */
   2/* Copyright (c) 2018, Intel Corporation. */
   3
   4/* Machine-generated file */
   5
   6#ifndef _ICE_HW_AUTOGEN_H_
   7#define _ICE_HW_AUTOGEN_H_
   8
   9#define QTX_COMM_DBELL(_DBQM)                   (0x002C0000 + ((_DBQM) * 4))
  10#define QTX_COMM_HEAD(_DBQM)                    (0x000E0000 + ((_DBQM) * 4))
  11#define QTX_COMM_HEAD_HEAD_S                    0
  12#define QTX_COMM_HEAD_HEAD_M                    ICE_M(0x1FFF, 0)
  13#define PF_FW_ARQBAH                            0x00080180
  14#define PF_FW_ARQBAL                            0x00080080
  15#define PF_FW_ARQH                              0x00080380
  16#define PF_FW_ARQH_ARQH_M                       ICE_M(0x3FF, 0)
  17#define PF_FW_ARQLEN                            0x00080280
  18#define PF_FW_ARQLEN_ARQLEN_M                   ICE_M(0x3FF, 0)
  19#define PF_FW_ARQLEN_ARQVFE_M                   BIT(28)
  20#define PF_FW_ARQLEN_ARQOVFL_M                  BIT(29)
  21#define PF_FW_ARQLEN_ARQCRIT_M                  BIT(30)
  22#define PF_FW_ARQLEN_ARQENABLE_M                BIT(31)
  23#define PF_FW_ARQT                              0x00080480
  24#define PF_FW_ATQBAH                            0x00080100
  25#define PF_FW_ATQBAL                            0x00080000
  26#define PF_FW_ATQH                              0x00080300
  27#define PF_FW_ATQH_ATQH_M                       ICE_M(0x3FF, 0)
  28#define PF_FW_ATQLEN                            0x00080200
  29#define PF_FW_ATQLEN_ATQLEN_M                   ICE_M(0x3FF, 0)
  30#define PF_FW_ATQLEN_ATQVFE_M                   BIT(28)
  31#define PF_FW_ATQLEN_ATQOVFL_M                  BIT(29)
  32#define PF_FW_ATQLEN_ATQCRIT_M                  BIT(30)
  33#define VF_MBX_ARQLEN(_VF)                      (0x0022BC00 + ((_VF) * 4))
  34#define VF_MBX_ATQLEN(_VF)                      (0x0022A800 + ((_VF) * 4))
  35#define PF_FW_ATQLEN_ATQENABLE_M                BIT(31)
  36#define PF_FW_ATQT                              0x00080400
  37#define PF_MBX_ARQBAH                           0x0022E400
  38#define PF_MBX_ARQBAL                           0x0022E380
  39#define PF_MBX_ARQH                             0x0022E500
  40#define PF_MBX_ARQH_ARQH_M                      ICE_M(0x3FF, 0)
  41#define PF_MBX_ARQLEN                           0x0022E480
  42#define PF_MBX_ARQLEN_ARQLEN_M                  ICE_M(0x3FF, 0)
  43#define PF_MBX_ARQLEN_ARQCRIT_M                 BIT(30)
  44#define PF_MBX_ARQLEN_ARQENABLE_M               BIT(31)
  45#define PF_MBX_ARQT                             0x0022E580
  46#define PF_MBX_ATQBAH                           0x0022E180
  47#define PF_MBX_ATQBAL                           0x0022E100
  48#define PF_MBX_ATQH                             0x0022E280
  49#define PF_MBX_ATQH_ATQH_M                      ICE_M(0x3FF, 0)
  50#define PF_MBX_ATQLEN                           0x0022E200
  51#define PF_MBX_ATQLEN_ATQLEN_M                  ICE_M(0x3FF, 0)
  52#define PF_MBX_ATQLEN_ATQCRIT_M                 BIT(30)
  53#define PF_MBX_ATQLEN_ATQENABLE_M               BIT(31)
  54#define PF_MBX_ATQT                             0x0022E300
  55#define PRTDCB_GENC                             0x00083000
  56#define PRTDCB_GENC_PFCLDA_S                    16
  57#define PRTDCB_GENC_PFCLDA_M                    ICE_M(0xFFFF, 16)
  58#define PRTDCB_GENS                             0x00083020
  59#define PRTDCB_GENS_DCBX_STATUS_S               0
  60#define PRTDCB_GENS_DCBX_STATUS_M               ICE_M(0x7, 0)
  61#define PRTDCB_TUP2TC                           0x001D26C0
  62#define GL_PREEXT_L2_PMASK0(_i)                 (0x0020F0FC + ((_i) * 4))
  63#define GL_PREEXT_L2_PMASK1(_i)                 (0x0020F108 + ((_i) * 4))
  64#define GLFLXP_RXDID_FLX_WRD_0(_i)              (0x0045c800 + ((_i) * 4))
  65#define GLFLXP_RXDID_FLX_WRD_0_PROT_MDID_S      0
  66#define GLFLXP_RXDID_FLX_WRD_0_PROT_MDID_M      ICE_M(0xFF, 0)
  67#define GLFLXP_RXDID_FLX_WRD_0_RXDID_OPCODE_S   30
  68#define GLFLXP_RXDID_FLX_WRD_0_RXDID_OPCODE_M   ICE_M(0x3, 30)
  69#define GLFLXP_RXDID_FLX_WRD_1(_i)              (0x0045c900 + ((_i) * 4))
  70#define GLFLXP_RXDID_FLX_WRD_1_PROT_MDID_S      0
  71#define GLFLXP_RXDID_FLX_WRD_1_PROT_MDID_M      ICE_M(0xFF, 0)
  72#define GLFLXP_RXDID_FLX_WRD_1_RXDID_OPCODE_S   30
  73#define GLFLXP_RXDID_FLX_WRD_1_RXDID_OPCODE_M   ICE_M(0x3, 30)
  74#define GLFLXP_RXDID_FLX_WRD_2(_i)              (0x0045ca00 + ((_i) * 4))
  75#define GLFLXP_RXDID_FLX_WRD_2_PROT_MDID_S      0
  76#define GLFLXP_RXDID_FLX_WRD_2_PROT_MDID_M      ICE_M(0xFF, 0)
  77#define GLFLXP_RXDID_FLX_WRD_2_RXDID_OPCODE_S   30
  78#define GLFLXP_RXDID_FLX_WRD_2_RXDID_OPCODE_M   ICE_M(0x3, 30)
  79#define GLFLXP_RXDID_FLX_WRD_3(_i)              (0x0045cb00 + ((_i) * 4))
  80#define GLFLXP_RXDID_FLX_WRD_3_PROT_MDID_S      0
  81#define GLFLXP_RXDID_FLX_WRD_3_PROT_MDID_M      ICE_M(0xFF, 0)
  82#define GLFLXP_RXDID_FLX_WRD_3_RXDID_OPCODE_S   30
  83#define GLFLXP_RXDID_FLX_WRD_3_RXDID_OPCODE_M   ICE_M(0x3, 30)
  84#define QRXFLXP_CNTXT(_QRX)                     (0x00480000 + ((_QRX) * 4))
  85#define QRXFLXP_CNTXT_RXDID_IDX_S               0
  86#define QRXFLXP_CNTXT_RXDID_IDX_M               ICE_M(0x3F, 0)
  87#define QRXFLXP_CNTXT_RXDID_PRIO_S              8
  88#define QRXFLXP_CNTXT_RXDID_PRIO_M              ICE_M(0x7, 8)
  89#define QRXFLXP_CNTXT_TS_M                      BIT(11)
  90#define GLGEN_CLKSTAT_SRC_PSM_CLK_SRC_S         4
  91#define GLGEN_CLKSTAT_SRC_PSM_CLK_SRC_M         ICE_M(0x3, 4)
  92#define GLGEN_CLKSTAT_SRC                       0x000B826C
  93#define GLGEN_RSTAT                             0x000B8188
  94#define GLGEN_RSTAT_DEVSTATE_M                  ICE_M(0x3, 0)
  95#define GLGEN_RSTCTL                            0x000B8180
  96#define GLGEN_RSTCTL_GRSTDEL_S                  0
  97#define GLGEN_RSTCTL_GRSTDEL_M                  ICE_M(0x3F, GLGEN_RSTCTL_GRSTDEL_S)
  98#define GLGEN_RSTAT_RESET_TYPE_S                2
  99#define GLGEN_RSTAT_RESET_TYPE_M                ICE_M(0x3, 2)
 100#define GLGEN_RTRIG                             0x000B8190
 101#define GLGEN_RTRIG_CORER_M                     BIT(0)
 102#define GLGEN_RTRIG_GLOBR_M                     BIT(1)
 103#define GLGEN_STAT                              0x000B612C
 104#define GLGEN_VFLRSTAT(_i)                      (0x00093A04 + ((_i) * 4))
 105#define PFGEN_CTRL                              0x00091000
 106#define PFGEN_CTRL_PFSWR_M                      BIT(0)
 107#define PFGEN_STATE                             0x00088000
 108#define PRTGEN_STATUS                           0x000B8100
 109#define VFGEN_RSTAT(_VF)                        (0x00074000 + ((_VF) * 4))
 110#define VPGEN_VFRSTAT(_VF)                      (0x00090800 + ((_VF) * 4))
 111#define VPGEN_VFRSTAT_VFRD_M                    BIT(0)
 112#define VPGEN_VFRTRIG(_VF)                      (0x00090000 + ((_VF) * 4))
 113#define VPGEN_VFRTRIG_VFSWR_M                   BIT(0)
 114#define PFHMC_ERRORDATA                         0x00520500
 115#define PFHMC_ERRORINFO                         0x00520400
 116#define GLINT_CTL                               0x0016CC54
 117#define GLINT_CTL_DIS_AUTOMASK_M                BIT(0)
 118#define GLINT_CTL_ITR_GRAN_200_S                16
 119#define GLINT_CTL_ITR_GRAN_200_M                ICE_M(0xF, 16)
 120#define GLINT_CTL_ITR_GRAN_100_S                20
 121#define GLINT_CTL_ITR_GRAN_100_M                ICE_M(0xF, 20)
 122#define GLINT_CTL_ITR_GRAN_50_S                 24
 123#define GLINT_CTL_ITR_GRAN_50_M                 ICE_M(0xF, 24)
 124#define GLINT_CTL_ITR_GRAN_25_S                 28
 125#define GLINT_CTL_ITR_GRAN_25_M                 ICE_M(0xF, 28)
 126#define GLINT_DYN_CTL(_INT)                     (0x00160000 + ((_INT) * 4))
 127#define GLINT_DYN_CTL_INTENA_M                  BIT(0)
 128#define GLINT_DYN_CTL_CLEARPBA_M                BIT(1)
 129#define GLINT_DYN_CTL_SWINT_TRIG_M              BIT(2)
 130#define GLINT_DYN_CTL_ITR_INDX_S                3
 131#define GLINT_DYN_CTL_ITR_INDX_M                ICE_M(0x3, 3)
 132#define GLINT_DYN_CTL_INTERVAL_S                5
 133#define GLINT_DYN_CTL_INTERVAL_M                ICE_M(0xFFF, 5)
 134#define GLINT_DYN_CTL_SW_ITR_INDX_ENA_M         BIT(24)
 135#define GLINT_DYN_CTL_SW_ITR_INDX_M             ICE_M(0x3, 25)
 136#define GLINT_DYN_CTL_WB_ON_ITR_M               BIT(30)
 137#define GLINT_DYN_CTL_INTENA_MSK_M              BIT(31)
 138#define GLINT_ITR(_i, _INT)                     (0x00154000 + ((_i) * 8192 + (_INT) * 4))
 139#define GLINT_RATE(_INT)                        (0x0015A000 + ((_INT) * 4))
 140#define GLINT_RATE_INTRL_ENA_M                  BIT(6)
 141#define GLINT_VECT2FUNC(_INT)                   (0x00162000 + ((_INT) * 4))
 142#define GLINT_VECT2FUNC_VF_NUM_S                0
 143#define GLINT_VECT2FUNC_VF_NUM_M                ICE_M(0xFF, 0)
 144#define GLINT_VECT2FUNC_PF_NUM_S                12
 145#define GLINT_VECT2FUNC_PF_NUM_M                ICE_M(0x7, 12)
 146#define GLINT_VECT2FUNC_IS_PF_S                 16
 147#define GLINT_VECT2FUNC_IS_PF_M                 BIT(16)
 148#define PFINT_FW_CTL                            0x0016C800
 149#define PFINT_FW_CTL_MSIX_INDX_M                ICE_M(0x7FF, 0)
 150#define PFINT_FW_CTL_ITR_INDX_S                 11
 151#define PFINT_FW_CTL_ITR_INDX_M                 ICE_M(0x3, 11)
 152#define PFINT_FW_CTL_CAUSE_ENA_M                BIT(30)
 153#define PFINT_MBX_CTL                           0x0016B280
 154#define PFINT_MBX_CTL_MSIX_INDX_M               ICE_M(0x7FF, 0)
 155#define PFINT_MBX_CTL_ITR_INDX_S                11
 156#define PFINT_MBX_CTL_ITR_INDX_M                ICE_M(0x3, 11)
 157#define PFINT_MBX_CTL_CAUSE_ENA_M               BIT(30)
 158#define PFINT_OICR                              0x0016CA00
 159#define PFINT_OICR_ECC_ERR_M                    BIT(16)
 160#define PFINT_OICR_MAL_DETECT_M                 BIT(19)
 161#define PFINT_OICR_GRST_M                       BIT(20)
 162#define PFINT_OICR_PCI_EXCEPTION_M              BIT(21)
 163#define PFINT_OICR_HMC_ERR_M                    BIT(26)
 164#define PFINT_OICR_PE_CRITERR_M                 BIT(28)
 165#define PFINT_OICR_VFLR_M                       BIT(29)
 166#define PFINT_OICR_SWINT_M                      BIT(31)
 167#define PFINT_OICR_CTL                          0x0016CA80
 168#define PFINT_OICR_CTL_MSIX_INDX_M              ICE_M(0x7FF, 0)
 169#define PFINT_OICR_CTL_ITR_INDX_S               11
 170#define PFINT_OICR_CTL_ITR_INDX_M               ICE_M(0x3, 11)
 171#define PFINT_OICR_CTL_CAUSE_ENA_M              BIT(30)
 172#define PFINT_OICR_ENA                          0x0016C900
 173#define QINT_RQCTL(_QRX)                        (0x00150000 + ((_QRX) * 4))
 174#define QINT_RQCTL_MSIX_INDX_S                  0
 175#define QINT_RQCTL_MSIX_INDX_M                  ICE_M(0x7FF, 0)
 176#define QINT_RQCTL_ITR_INDX_S                   11
 177#define QINT_RQCTL_ITR_INDX_M                   ICE_M(0x3, 11)
 178#define QINT_RQCTL_CAUSE_ENA_M                  BIT(30)
 179#define QINT_TQCTL(_DBQM)                       (0x00140000 + ((_DBQM) * 4))
 180#define QINT_TQCTL_MSIX_INDX_S                  0
 181#define QINT_TQCTL_MSIX_INDX_M                  ICE_M(0x7FF, 0)
 182#define QINT_TQCTL_ITR_INDX_S                   11
 183#define QINT_TQCTL_ITR_INDX_M                   ICE_M(0x3, 11)
 184#define QINT_TQCTL_CAUSE_ENA_M                  BIT(30)
 185#define VPINT_ALLOC(_VF)                        (0x001D1000 + ((_VF) * 4))
 186#define VPINT_ALLOC_FIRST_S                     0
 187#define VPINT_ALLOC_FIRST_M                     ICE_M(0x7FF, 0)
 188#define VPINT_ALLOC_LAST_S                      12
 189#define VPINT_ALLOC_LAST_M                      ICE_M(0x7FF, 12)
 190#define VPINT_ALLOC_VALID_M                     BIT(31)
 191#define VPINT_ALLOC_PCI(_VF)                    (0x0009D000 + ((_VF) * 4))
 192#define VPINT_ALLOC_PCI_FIRST_S                 0
 193#define VPINT_ALLOC_PCI_FIRST_M                 ICE_M(0x7FF, 0)
 194#define VPINT_ALLOC_PCI_LAST_S                  12
 195#define VPINT_ALLOC_PCI_LAST_M                  ICE_M(0x7FF, 12)
 196#define VPINT_ALLOC_PCI_VALID_M                 BIT(31)
 197#define VPINT_MBX_CTL(_VSI)                     (0x0016A000 + ((_VSI) * 4))
 198#define VPINT_MBX_CTL_CAUSE_ENA_M               BIT(30)
 199#define GLLAN_RCTL_0                            0x002941F8
 200#define QRX_CONTEXT(_i, _QRX)                   (0x00280000 + ((_i) * 8192 + (_QRX) * 4))
 201#define QRX_CTRL(_QRX)                          (0x00120000 + ((_QRX) * 4))
 202#define QRX_CTRL_MAX_INDEX                      2047
 203#define QRX_CTRL_QENA_REQ_S                     0
 204#define QRX_CTRL_QENA_REQ_M                     BIT(0)
 205#define QRX_CTRL_QENA_STAT_S                    2
 206#define QRX_CTRL_QENA_STAT_M                    BIT(2)
 207#define QRX_ITR(_QRX)                           (0x00292000 + ((_QRX) * 4))
 208#define QRX_TAIL(_QRX)                          (0x00290000 + ((_QRX) * 4))
 209#define QRX_TAIL_MAX_INDEX                      2047
 210#define QRX_TAIL_TAIL_S                         0
 211#define QRX_TAIL_TAIL_M                         ICE_M(0x1FFF, 0)
 212#define VPLAN_RX_QBASE(_VF)                     (0x00072000 + ((_VF) * 4))
 213#define VPLAN_RX_QBASE_VFFIRSTQ_S               0
 214#define VPLAN_RX_QBASE_VFFIRSTQ_M               ICE_M(0x7FF, 0)
 215#define VPLAN_RX_QBASE_VFNUMQ_S                 16
 216#define VPLAN_RX_QBASE_VFNUMQ_M                 ICE_M(0xFF, 16)
 217#define VPLAN_RXQ_MAPENA(_VF)                   (0x00073000 + ((_VF) * 4))
 218#define VPLAN_RXQ_MAPENA_RX_ENA_M               BIT(0)
 219#define VPLAN_TX_QBASE(_VF)                     (0x001D1800 + ((_VF) * 4))
 220#define VPLAN_TX_QBASE_VFFIRSTQ_S               0
 221#define VPLAN_TX_QBASE_VFFIRSTQ_M               ICE_M(0x3FFF, 0)
 222#define VPLAN_TX_QBASE_VFNUMQ_S                 16
 223#define VPLAN_TX_QBASE_VFNUMQ_M                 ICE_M(0xFF, 16)
 224#define VPLAN_TXQ_MAPENA(_VF)                   (0x00073800 + ((_VF) * 4))
 225#define VPLAN_TXQ_MAPENA_TX_ENA_M               BIT(0)
 226#define PRTMAC_HSEC_CTL_TX_PAUSE_QUANTA(_i)     (0x001E36E0 + ((_i) * 32))
 227#define PRTMAC_HSEC_CTL_TX_PAUSE_QUANTA_MAX_INDEX 8
 228#define PRTMAC_HSEC_CTL_TX_PAUSE_QUANTA_HSEC_CTL_TX_PAUSE_QUANTA_M ICE_M(0xFFFF, 0)
 229#define PRTMAC_HSEC_CTL_TX_PAUSE_REFRESH_TIMER(_i) (0x001E3800 + ((_i) * 32))
 230#define PRTMAC_HSEC_CTL_TX_PAUSE_REFRESH_TIMER_M ICE_M(0xFFFF, 0)
 231#define GL_MDCK_TX_TDPU                         0x00049348
 232#define GL_MDCK_TX_TDPU_RCU_ANTISPOOF_ITR_DIS_M BIT(1)
 233#define GL_MDET_RX                              0x00294C00
 234#define GL_MDET_RX_QNUM_S                       0
 235#define GL_MDET_RX_QNUM_M                       ICE_M(0x7FFF, 0)
 236#define GL_MDET_RX_VF_NUM_S                     15
 237#define GL_MDET_RX_VF_NUM_M                     ICE_M(0xFF, 15)
 238#define GL_MDET_RX_PF_NUM_S                     23
 239#define GL_MDET_RX_PF_NUM_M                     ICE_M(0x7, 23)
 240#define GL_MDET_RX_MAL_TYPE_S                   26
 241#define GL_MDET_RX_MAL_TYPE_M                   ICE_M(0x1F, 26)
 242#define GL_MDET_RX_VALID_M                      BIT(31)
 243#define GL_MDET_TX_PQM                          0x002D2E00
 244#define GL_MDET_TX_PQM_PF_NUM_S                 0
 245#define GL_MDET_TX_PQM_PF_NUM_M                 ICE_M(0x7, 0)
 246#define GL_MDET_TX_PQM_VF_NUM_S                 4
 247#define GL_MDET_TX_PQM_VF_NUM_M                 ICE_M(0xFF, 4)
 248#define GL_MDET_TX_PQM_QNUM_S                   12
 249#define GL_MDET_TX_PQM_QNUM_M                   ICE_M(0x3FFF, 12)
 250#define GL_MDET_TX_PQM_MAL_TYPE_S               26
 251#define GL_MDET_TX_PQM_MAL_TYPE_M               ICE_M(0x1F, 26)
 252#define GL_MDET_TX_PQM_VALID_M                  BIT(31)
 253#define GL_MDET_TX_TCLAN                        0x000FC068
 254#define GL_MDET_TX_TCLAN_QNUM_S                 0
 255#define GL_MDET_TX_TCLAN_QNUM_M                 ICE_M(0x7FFF, 0)
 256#define GL_MDET_TX_TCLAN_VF_NUM_S               15
 257#define GL_MDET_TX_TCLAN_VF_NUM_M               ICE_M(0xFF, 15)
 258#define GL_MDET_TX_TCLAN_PF_NUM_S               23
 259#define GL_MDET_TX_TCLAN_PF_NUM_M               ICE_M(0x7, 23)
 260#define GL_MDET_TX_TCLAN_MAL_TYPE_S             26
 261#define GL_MDET_TX_TCLAN_MAL_TYPE_M             ICE_M(0x1F, 26)
 262#define GL_MDET_TX_TCLAN_VALID_M                BIT(31)
 263#define PF_MDET_RX                              0x00294280
 264#define PF_MDET_RX_VALID_M                      BIT(0)
 265#define PF_MDET_TX_PQM                          0x002D2C80
 266#define PF_MDET_TX_PQM_VALID_M                  BIT(0)
 267#define PF_MDET_TX_TCLAN                        0x000FC000
 268#define PF_MDET_TX_TCLAN_VALID_M                BIT(0)
 269#define VP_MDET_RX(_VF)                         (0x00294400 + ((_VF) * 4))
 270#define VP_MDET_RX_VALID_M                      BIT(0)
 271#define VP_MDET_TX_PQM(_VF)                     (0x002D2000 + ((_VF) * 4))
 272#define VP_MDET_TX_PQM_VALID_M                  BIT(0)
 273#define VP_MDET_TX_TCLAN(_VF)                   (0x000FB800 + ((_VF) * 4))
 274#define VP_MDET_TX_TCLAN_VALID_M                BIT(0)
 275#define VP_MDET_TX_TDPU(_VF)                    (0x00040000 + ((_VF) * 4))
 276#define VP_MDET_TX_TDPU_VALID_M                 BIT(0)
 277#define GLNVM_FLA                               0x000B6108
 278#define GLNVM_FLA_LOCKED_M                      BIT(6)
 279#define GLNVM_GENS                              0x000B6100
 280#define GLNVM_GENS_SR_SIZE_S                    5
 281#define GLNVM_GENS_SR_SIZE_M                    ICE_M(0x7, 5)
 282#define GLNVM_ULD                               0x000B6008
 283#define GLNVM_ULD_PCIER_DONE_M                  BIT(0)
 284#define GLNVM_ULD_PCIER_DONE_1_M                BIT(1)
 285#define GLNVM_ULD_CORER_DONE_M                  BIT(3)
 286#define GLNVM_ULD_GLOBR_DONE_M                  BIT(4)
 287#define GLNVM_ULD_POR_DONE_M                    BIT(5)
 288#define GLNVM_ULD_POR_DONE_1_M                  BIT(8)
 289#define GLNVM_ULD_PCIER_DONE_2_M                BIT(9)
 290#define GLNVM_ULD_PE_DONE_M                     BIT(10)
 291#define GLPCI_CNF2                              0x000BE004
 292#define GLPCI_CNF2_CACHELINE_SIZE_M             BIT(1)
 293#define PF_FUNC_RID                             0x0009E880
 294#define PF_FUNC_RID_FUNC_NUM_S                  0
 295#define PF_FUNC_RID_FUNC_NUM_M                  ICE_M(0x7, 0)
 296#define PF_PCI_CIAA                             0x0009E580
 297#define PF_PCI_CIAA_VF_NUM_S                    12
 298#define PF_PCI_CIAD                             0x0009E500
 299#define GL_PWR_MODE_CTL                         0x000B820C
 300#define GL_PWR_MODE_CTL_CAR_MAX_BW_S            30
 301#define GL_PWR_MODE_CTL_CAR_MAX_BW_M            ICE_M(0x3, 30)
 302#define GLQF_FD_CNT                             0x00460018
 303#define GLQF_FD_CNT_FD_BCNT_S                   16
 304#define GLQF_FD_CNT_FD_BCNT_M                   ICE_M(0x7FFF, 16)
 305#define GLQF_FD_SIZE                            0x00460010
 306#define GLQF_FD_SIZE_FD_GSIZE_S                 0
 307#define GLQF_FD_SIZE_FD_GSIZE_M                 ICE_M(0x7FFF, 0)
 308#define GLQF_FD_SIZE_FD_BSIZE_S                 16
 309#define GLQF_FD_SIZE_FD_BSIZE_M                 ICE_M(0x7FFF, 16)
 310#define GLQF_FDINSET(_i, _j)                    (0x00412000 + ((_i) * 4 + (_j) * 512))
 311#define GLQF_FDMASK(_i)                         (0x00410800 + ((_i) * 4))
 312#define GLQF_FDMASK_MAX_INDEX                   31
 313#define GLQF_FDMASK_MSK_INDEX_S                 0
 314#define GLQF_FDMASK_MSK_INDEX_M                 ICE_M(0x1F, 0)
 315#define GLQF_FDMASK_MASK_S                      16
 316#define GLQF_FDMASK_MASK_M                      ICE_M(0xFFFF, 16)
 317#define GLQF_FDMASK_SEL(_i)                     (0x00410400 + ((_i) * 4))
 318#define GLQF_FDSWAP(_i, _j)                     (0x00413000 + ((_i) * 4 + (_j) * 512))
 319#define GLQF_HMASK(_i)                          (0x0040FC00 + ((_i) * 4))
 320#define GLQF_HMASK_MAX_INDEX                    31
 321#define GLQF_HMASK_MSK_INDEX_S                  0
 322#define GLQF_HMASK_MSK_INDEX_M                  ICE_M(0x1F, 0)
 323#define GLQF_HMASK_MASK_S                       16
 324#define GLQF_HMASK_MASK_M                       ICE_M(0xFFFF, 16)
 325#define GLQF_HMASK_SEL(_i)                      (0x00410000 + ((_i) * 4))
 326#define GLQF_HMASK_SEL_MAX_INDEX                127
 327#define GLQF_HMASK_SEL_MASK_SEL_S               0
 328#define PFQF_FD_ENA                             0x0043A000
 329#define PFQF_FD_ENA_FD_ENA_M                    BIT(0)
 330#define PFQF_FD_SIZE                            0x00460100
 331#define GLDCB_RTCTQ_RXQNUM_S                    0
 332#define GLDCB_RTCTQ_RXQNUM_M                    ICE_M(0x7FF, 0)
 333#define GLPRT_BPRCL(_i)                         (0x00381380 + ((_i) * 8))
 334#define GLPRT_BPTCL(_i)                         (0x00381240 + ((_i) * 8))
 335#define GLPRT_CRCERRS(_i)                       (0x00380100 + ((_i) * 8))
 336#define GLPRT_GORCL(_i)                         (0x00380000 + ((_i) * 8))
 337#define GLPRT_GOTCL(_i)                         (0x00380B40 + ((_i) * 8))
 338#define GLPRT_ILLERRC(_i)                       (0x003801C0 + ((_i) * 8))
 339#define GLPRT_LXOFFRXC(_i)                      (0x003802C0 + ((_i) * 8))
 340#define GLPRT_LXOFFTXC(_i)                      (0x00381180 + ((_i) * 8))
 341#define GLPRT_LXONRXC(_i)                       (0x00380280 + ((_i) * 8))
 342#define GLPRT_LXONTXC(_i)                       (0x00381140 + ((_i) * 8))
 343#define GLPRT_MLFC(_i)                          (0x00380040 + ((_i) * 8))
 344#define GLPRT_MPRCL(_i)                         (0x00381340 + ((_i) * 8))
 345#define GLPRT_MPTCL(_i)                         (0x00381200 + ((_i) * 8))
 346#define GLPRT_MRFC(_i)                          (0x00380080 + ((_i) * 8))
 347#define GLPRT_PRC1023L(_i)                      (0x00380A00 + ((_i) * 8))
 348#define GLPRT_PRC127L(_i)                       (0x00380940 + ((_i) * 8))
 349#define GLPRT_PRC1522L(_i)                      (0x00380A40 + ((_i) * 8))
 350#define GLPRT_PRC255L(_i)                       (0x00380980 + ((_i) * 8))
 351#define GLPRT_PRC511L(_i)                       (0x003809C0 + ((_i) * 8))
 352#define GLPRT_PRC64L(_i)                        (0x00380900 + ((_i) * 8))
 353#define GLPRT_PRC9522L(_i)                      (0x00380A80 + ((_i) * 8))
 354#define GLPRT_PTC1023L(_i)                      (0x00380C80 + ((_i) * 8))
 355#define GLPRT_PTC127L(_i)                       (0x00380BC0 + ((_i) * 8))
 356#define GLPRT_PTC1522L(_i)                      (0x00380CC0 + ((_i) * 8))
 357#define GLPRT_PTC255L(_i)                       (0x00380C00 + ((_i) * 8))
 358#define GLPRT_PTC511L(_i)                       (0x00380C40 + ((_i) * 8))
 359#define GLPRT_PTC64L(_i)                        (0x00380B80 + ((_i) * 8))
 360#define GLPRT_PTC9522L(_i)                      (0x00380D00 + ((_i) * 8))
 361#define GLPRT_PXOFFRXC(_i, _j)                  (0x00380500 + ((_i) * 8 + (_j) * 64))
 362#define GLPRT_PXOFFTXC(_i, _j)                  (0x00380F40 + ((_i) * 8 + (_j) * 64))
 363#define GLPRT_PXONRXC(_i, _j)                   (0x00380300 + ((_i) * 8 + (_j) * 64))
 364#define GLPRT_PXONTXC(_i, _j)                   (0x00380D40 + ((_i) * 8 + (_j) * 64))
 365#define GLPRT_RFC(_i)                           (0x00380AC0 + ((_i) * 8))
 366#define GLPRT_RJC(_i)                           (0x00380B00 + ((_i) * 8))
 367#define GLPRT_RLEC(_i)                          (0x00380140 + ((_i) * 8))
 368#define GLPRT_ROC(_i)                           (0x00380240 + ((_i) * 8))
 369#define GLPRT_RUC(_i)                           (0x00380200 + ((_i) * 8))
 370#define GLPRT_RXON2OFFCNT(_i, _j)               (0x00380700 + ((_i) * 8 + (_j) * 64))
 371#define GLPRT_TDOLD(_i)                         (0x00381280 + ((_i) * 8))
 372#define GLPRT_UPRCL(_i)                         (0x00381300 + ((_i) * 8))
 373#define GLPRT_UPTCL(_i)                         (0x003811C0 + ((_i) * 8))
 374#define GLSTAT_FD_CNT0L(_i)                     (0x003A0000 + ((_i) * 8))
 375#define GLV_BPRCL(_i)                           (0x003B6000 + ((_i) * 8))
 376#define GLV_BPTCL(_i)                           (0x0030E000 + ((_i) * 8))
 377#define GLV_GORCL(_i)                           (0x003B0000 + ((_i) * 8))
 378#define GLV_GOTCL(_i)                           (0x00300000 + ((_i) * 8))
 379#define GLV_MPRCL(_i)                           (0x003B4000 + ((_i) * 8))
 380#define GLV_MPTCL(_i)                           (0x0030C000 + ((_i) * 8))
 381#define GLV_RDPC(_i)                            (0x00294C04 + ((_i) * 4))
 382#define GLV_TEPC(_VSI)                          (0x00312000 + ((_VSI) * 4))
 383#define GLV_UPRCL(_i)                           (0x003B2000 + ((_i) * 8))
 384#define GLV_UPTCL(_i)                           (0x0030A000 + ((_i) * 8))
 385#define PRTRPB_RDPC                             0x000AC260
 386#define VSIQF_FD_CNT(_VSI)                      (0x00464000 + ((_VSI) * 4))
 387#define VSIQF_FD_CNT_FD_GCNT_S                  0
 388#define VSIQF_FD_CNT_FD_GCNT_M                  ICE_M(0x3FFF, 0)
 389#define VSIQF_FD_CNT_FD_BCNT_S                  16
 390#define VSIQF_FD_CNT_FD_BCNT_M                  ICE_M(0x3FFF, 16)
 391#define VSIQF_FD_SIZE(_VSI)                     (0x00462000 + ((_VSI) * 4))
 392#define VSIQF_HKEY_MAX_INDEX                    12
 393#define VSIQF_HLUT_MAX_INDEX                    15
 394#define PFPM_APM                                0x000B8080
 395#define PFPM_APM_APME_M                         BIT(0)
 396#define PFPM_WUFC                               0x0009DC00
 397#define PFPM_WUFC_MAG_M                         BIT(1)
 398#define PFPM_WUS                                0x0009DB80
 399#define PFPM_WUS_LNKC_M                         BIT(0)
 400#define PFPM_WUS_MAG_M                          BIT(1)
 401#define PFPM_WUS_MNG_M                          BIT(3)
 402#define PFPM_WUS_FW_RST_WK_M                    BIT(31)
 403#define VFINT_DYN_CTLN(_i)                      (0x00003800 + ((_i) * 4))
 404#define VFINT_DYN_CTLN_CLEARPBA_M               BIT(1)
 405
 406#endif /* _ICE_HW_AUTOGEN_H_ */
 407