1*493d26c5SEd Maste /* 2*493d26c5SEd Maste * aQuantia Corporation Network Driver 3*493d26c5SEd Maste * Copyright (C) 2014-2017 aQuantia Corporation. All rights reserved 4*493d26c5SEd Maste * 5*493d26c5SEd Maste * Redistribution and use in source and binary forms, with or without 6*493d26c5SEd Maste * modification, are permitted provided that the following conditions 7*493d26c5SEd Maste * are met: 8*493d26c5SEd Maste * 9*493d26c5SEd Maste * (1) Redistributions of source code must retain the above 10*493d26c5SEd Maste * copyright notice, this list of conditions and the following 11*493d26c5SEd Maste * disclaimer. 12*493d26c5SEd Maste * 13*493d26c5SEd Maste * (2) Redistributions in binary form must reproduce the above 14*493d26c5SEd Maste * copyright notice, this list of conditions and the following 15*493d26c5SEd Maste * disclaimer in the documentation and/or other materials provided 16*493d26c5SEd Maste * with the distribution. 17*493d26c5SEd Maste * 18*493d26c5SEd Maste * (3)The name of the author may not be used to endorse or promote 19*493d26c5SEd Maste * products derived from this software without specific prior 20*493d26c5SEd Maste * written permission. 21*493d26c5SEd Maste * 22*493d26c5SEd Maste * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS 23*493d26c5SEd Maste * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 24*493d26c5SEd Maste * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 25*493d26c5SEd Maste * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY 26*493d26c5SEd Maste * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 27*493d26c5SEd Maste * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE 28*493d26c5SEd Maste * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 29*493d26c5SEd Maste * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 30*493d26c5SEd Maste * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 31*493d26c5SEd Maste * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 32*493d26c5SEd Maste * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 33*493d26c5SEd Maste */ 34*493d26c5SEd Maste 35*493d26c5SEd Maste /* File aq_hw_llh_internal.h: Preprocessor definitions 36*493d26c5SEd Maste * for Atlantic registers. 37*493d26c5SEd Maste */ 38*493d26c5SEd Maste 39*493d26c5SEd Maste #ifndef HW_ATL_LLH_INTERNAL_H 40*493d26c5SEd Maste #define HW_ATL_LLH_INTERNAL_H 41*493d26c5SEd Maste 42*493d26c5SEd Maste /* global microprocessor semaphore definitions 43*493d26c5SEd Maste * base address: 0x000003a0 44*493d26c5SEd Maste * parameter: semaphore {s} | stride size 0x4 | range [0, 15] 45*493d26c5SEd Maste */ 46*493d26c5SEd Maste #define glb_cpu_sem_adr(semaphore) (0x000003a0u + (semaphore) * 0x4) 47*493d26c5SEd Maste /* register address for bitfield rx dma good octet counter lsw [1f:0] */ 48*493d26c5SEd Maste #define stats_rx_dma_good_octet_counterlsw__adr 0x00006808 49*493d26c5SEd Maste /* register address for bitfield rx dma good packet counter lsw [1f:0] */ 50*493d26c5SEd Maste #define stats_rx_dma_good_pkt_counterlsw__adr 0x00006800 51*493d26c5SEd Maste /* register address for bitfield tx dma good octet counter lsw [1f:0] */ 52*493d26c5SEd Maste #define stats_tx_dma_good_octet_counterlsw__adr 0x00008808 53*493d26c5SEd Maste /* register address for bitfield tx dma good packet counter lsw [1f:0] */ 54*493d26c5SEd Maste #define stats_tx_dma_good_pkt_counterlsw__adr 0x00008800 55*493d26c5SEd Maste 56*493d26c5SEd Maste /* register address for bitfield rx dma good octet counter msw [3f:20] */ 57*493d26c5SEd Maste #define stats_rx_dma_good_octet_countermsw__adr 0x0000680c 58*493d26c5SEd Maste /* register address for bitfield rx dma good packet counter msw [3f:20] */ 59*493d26c5SEd Maste #define stats_rx_dma_good_pkt_countermsw__adr 0x00006804 60*493d26c5SEd Maste /* register address for bitfield tx dma good octet counter msw [3f:20] */ 61*493d26c5SEd Maste #define stats_tx_dma_good_octet_countermsw__adr 0x0000880c 62*493d26c5SEd Maste /* register address for bitfield tx dma good packet counter msw [3f:20] */ 63*493d26c5SEd Maste #define stats_tx_dma_good_pkt_countermsw__adr 0x00008804 64*493d26c5SEd Maste /* register address for bitfield rx lro coalesced packet count lsw [1f:0] */ 65*493d26c5SEd Maste #define stats_rx_lo_coalesced_pkt_count0__addr 0x00006820u 66*493d26c5SEd Maste 67*493d26c5SEd Maste /* preprocessor definitions for msm rx errors counter register */ 68*493d26c5SEd Maste #define mac_msm_rx_errs_cnt_adr 0x00000120u 69*493d26c5SEd Maste 70*493d26c5SEd Maste /* preprocessor definitions for msm rx unicast frames counter register */ 71*493d26c5SEd Maste #define mac_msm_rx_ucst_frm_cnt_adr 0x000000e0u 72*493d26c5SEd Maste 73*493d26c5SEd Maste /* preprocessor definitions for msm rx multicast frames counter register */ 74*493d26c5SEd Maste #define mac_msm_rx_mcst_frm_cnt_adr 0x000000e8u 75*493d26c5SEd Maste 76*493d26c5SEd Maste /* preprocessor definitions for msm rx broadcast frames counter register */ 77*493d26c5SEd Maste #define mac_msm_rx_bcst_frm_cnt_adr 0x000000f0u 78*493d26c5SEd Maste 79*493d26c5SEd Maste /* preprocessor definitions for msm rx broadcast octets counter register 1 */ 80*493d26c5SEd Maste #define mac_msm_rx_bcst_octets_counter1_adr 0x000001b0u 81*493d26c5SEd Maste 82*493d26c5SEd Maste /* preprocessor definitions for msm rx broadcast octets counter register 2 */ 83*493d26c5SEd Maste #define mac_msm_rx_bcst_octets_counter2_adr 0x000001b4u 84*493d26c5SEd Maste 85*493d26c5SEd Maste /* preprocessor definitions for msm rx unicast octets counter register 0 */ 86*493d26c5SEd Maste #define mac_msm_rx_ucst_octets_counter0_adr 0x000001b8u 87*493d26c5SEd Maste 88*493d26c5SEd Maste /* preprocessor definitions for rx dma statistics counter 7 */ 89*493d26c5SEd Maste #define rx_dma_stat_counter7_adr 0x00006818u 90*493d26c5SEd Maste 91*493d26c5SEd Maste /* preprocessor definitions for msm tx unicast frames counter register */ 92*493d26c5SEd Maste #define mac_msm_tx_ucst_frm_cnt_adr 0x00000108u 93*493d26c5SEd Maste 94*493d26c5SEd Maste /* preprocessor definitions for msm tx multicast frames counter register */ 95*493d26c5SEd Maste #define mac_msm_tx_mcst_frm_cnt_adr 0x00000110u 96*493d26c5SEd Maste 97*493d26c5SEd Maste /*! @name Global FW Image Identification 1 Definitions 98*493d26c5SEd Maste * 99*493d26c5SEd Maste * Preprocessor definitions for Global FW Image Identification 1 100*493d26c5SEd Maste * Address: 0x00000018 101*493d26c5SEd Maste @{*/ 102*493d26c5SEd Maste #define glb_fw_image_id1_adr 0x00000018u 103*493d26c5SEd Maste /*@}*/ 104*493d26c5SEd Maste 105*493d26c5SEd Maste /* preprocessor definitions for global mif identification */ 106*493d26c5SEd Maste #define glb_mif_id_adr 0x0000001cu 107*493d26c5SEd Maste 108*493d26c5SEd Maste /* register address for bitfield iamr_lsw[1f:0] */ 109*493d26c5SEd Maste #define itr_iamrlsw_adr 0x00002090 110*493d26c5SEd Maste /* register address for bitfield rx dma drop packet counter [1f:0] */ 111*493d26c5SEd Maste #define rpb_rx_dma_drop_pkt_cnt_adr 0x00006818 112*493d26c5SEd Maste 113*493d26c5SEd Maste /* register address for bitfield imcr_lsw[1f:0] */ 114*493d26c5SEd Maste #define itr_imcrlsw_adr 0x00002070 115*493d26c5SEd Maste /* register address for bitfield imsr_lsw[1f:0] */ 116*493d26c5SEd Maste #define itr_imsrlsw_adr 0x00002060 117*493d26c5SEd Maste /* register address for bitfield itr_reg_res_dsbl */ 118*493d26c5SEd Maste #define itr_reg_res_dsbl_adr 0x00002300 119*493d26c5SEd Maste /* bitmask for bitfield itr_reg_res_dsbl */ 120*493d26c5SEd Maste #define itr_reg_res_dsbl_msk 0x20000000 121*493d26c5SEd Maste /* lower bit position of bitfield itr_reg_res_dsbl */ 122*493d26c5SEd Maste #define itr_reg_res_dsbl_shift 29 123*493d26c5SEd Maste /* register address for bitfield iscr_lsw[1f:0] */ 124*493d26c5SEd Maste #define itr_iscrlsw_adr 0x00002050 125*493d26c5SEd Maste /* register address for bitfield isr_lsw[1f:0] */ 126*493d26c5SEd Maste #define itr_isrlsw_adr 0x00002000 127*493d26c5SEd Maste /* register address for bitfield itr_reset */ 128*493d26c5SEd Maste #define itr_res_adr 0x00002300 129*493d26c5SEd Maste /* bitmask for bitfield itr_reset */ 130*493d26c5SEd Maste #define itr_res_msk 0x80000000 131*493d26c5SEd Maste /* lower bit position of bitfield itr_reset */ 132*493d26c5SEd Maste #define itr_res_shift 31 133*493d26c5SEd Maste /* register address for bitfield dca{d}_cpuid[7:0] */ 134*493d26c5SEd Maste #define rdm_dcadcpuid_adr(dca) (0x00006100 + (dca) * 0x4) 135*493d26c5SEd Maste /* bitmask for bitfield dca{d}_cpuid[7:0] */ 136*493d26c5SEd Maste #define rdm_dcadcpuid_msk 0x000000ff 137*493d26c5SEd Maste /* lower bit position of bitfield dca{d}_cpuid[7:0] */ 138*493d26c5SEd Maste #define rdm_dcadcpuid_shift 0 139*493d26c5SEd Maste /* register address for bitfield dca_en */ 140*493d26c5SEd Maste #define rdm_dca_en_adr 0x00006180 141*493d26c5SEd Maste 142*493d26c5SEd Maste /*! @name MIF Power Gating Enable Control Definitions 143*493d26c5SEd Maste * Preprocessor definitions for MIF Power Gating Enable Control 144*493d26c5SEd Maste * Address: 0x000032A8 145*493d26c5SEd Maste @{*/ 146*493d26c5SEd Maste #define mif_power_gating_enable_control_adr 0x000032A8u 147*493d26c5SEd Maste /*@}*/ 148*493d26c5SEd Maste 149*493d26c5SEd Maste /*! @name Global General Provisioning 9 Definitions 150*493d26c5SEd Maste * 151*493d26c5SEd Maste * Preprocessor definitions for Global General Provisioning 9 152*493d26c5SEd Maste * Address: 0x00000520 153*493d26c5SEd Maste @{*/ 154*493d26c5SEd Maste #define glb_general_provisioning9_adr 0x00000520u 155*493d26c5SEd Maste /*@}*/ 156*493d26c5SEd Maste 157*493d26c5SEd Maste /*! @name Global NVR Provisioning 2 Definitions 158*493d26c5SEd Maste * 159*493d26c5SEd Maste * Preprocessor definitions for Global NVR Provisioning 2 160*493d26c5SEd Maste * Address: 0x00000534 161*493d26c5SEd Maste @{*/ 162*493d26c5SEd Maste #define glb_nvr_provisioning2_adr 0x00000534u 163*493d26c5SEd Maste /*@}*/ 164*493d26c5SEd Maste 165*493d26c5SEd Maste /*! @name Global NVR Interface 1 Definitions 166*493d26c5SEd Maste * 167*493d26c5SEd Maste * Preprocessor definitions for Global NVR Interface 1 168*493d26c5SEd Maste * Address: 0x00000100 169*493d26c5SEd Maste @{*/ 170*493d26c5SEd Maste #define glb_nvr_interface1_adr 0x00000100u 171*493d26c5SEd Maste /*@}*/ 172*493d26c5SEd Maste 173*493d26c5SEd Maste 174*493d26c5SEd Maste /* rx dca_en bitfield definitions 175*493d26c5SEd Maste * preprocessor definitions for the bitfield "dca_en". 176*493d26c5SEd Maste * port="pif_rdm_dca_en_i" 177*493d26c5SEd Maste */ 178*493d26c5SEd Maste 179*493d26c5SEd Maste /* register address for bitfield dca_en */ 180*493d26c5SEd Maste #define rdm_dca_en_adr 0x00006180 181*493d26c5SEd Maste /* bitmask for bitfield dca_en */ 182*493d26c5SEd Maste #define rdm_dca_en_msk 0x80000000 183*493d26c5SEd Maste /* inverted bitmask for bitfield dca_en */ 184*493d26c5SEd Maste #define rdm_dca_en_mskn 0x7fffffff 185*493d26c5SEd Maste /* lower bit position of bitfield dca_en */ 186*493d26c5SEd Maste #define rdm_dca_en_shift 31 187*493d26c5SEd Maste /* width of bitfield dca_en */ 188*493d26c5SEd Maste #define rdm_dca_en_width 1 189*493d26c5SEd Maste /* default value of bitfield dca_en */ 190*493d26c5SEd Maste #define rdm_dca_en_default 0x1 191*493d26c5SEd Maste 192*493d26c5SEd Maste 193*493d26c5SEd Maste /*! @name MAC_PHY MPI register reset disable Bitfield Definitions 194*493d26c5SEd Maste * Preprocessor definitions for the bitfield "MPI register reset disable". 195*493d26c5SEd Maste * PORT="pif_mpi_reg_reset_dsbl_i" 196*493d26c5SEd Maste @{ */ 197*493d26c5SEd Maste /*! \brief Register address for bitfield MPI register reset disable */ 198*493d26c5SEd Maste #define mpi_tx_reg_res_dis_adr 0x00004000 199*493d26c5SEd Maste /*! \brief Bitmask for bitfield MPI register reset disable */ 200*493d26c5SEd Maste #define mpi_tx_reg_res_dis_msk 0x20000000 201*493d26c5SEd Maste /*! \brief Inverted bitmask for bitfield MPI register reset disable */ 202*493d26c5SEd Maste #define mpi_tx_reg_res_dis_mskn 0xDFFFFFFF 203*493d26c5SEd Maste /*! \brief Lower bit position of bitfield MPI register reset disable */ 204*493d26c5SEd Maste #define mpi_tx_reg_res_dis_shift 29 205*493d26c5SEd Maste /*! \brief Width of bitfield MPI register reset disable */ 206*493d26c5SEd Maste #define mpi_tx_reg_res_dis_width 1 207*493d26c5SEd Maste /*! \brief Default value of bitfield MPI register reset disable */ 208*493d26c5SEd Maste #define mpi_tx_reg_res_dis_default 0x1 209*493d26c5SEd Maste /*@}*/ 210*493d26c5SEd Maste 211*493d26c5SEd Maste 212*493d26c5SEd Maste /* rx dca_mode[3:0] bitfield definitions 213*493d26c5SEd Maste * preprocessor definitions for the bitfield "dca_mode[3:0]". 214*493d26c5SEd Maste * port="pif_rdm_dca_mode_i[3:0]" 215*493d26c5SEd Maste */ 216*493d26c5SEd Maste 217*493d26c5SEd Maste /* register address for bitfield dca_mode[3:0] */ 218*493d26c5SEd Maste #define rdm_dca_mode_adr 0x00006180 219*493d26c5SEd Maste /* bitmask for bitfield dca_mode[3:0] */ 220*493d26c5SEd Maste #define rdm_dca_mode_msk 0x0000000f 221*493d26c5SEd Maste /* inverted bitmask for bitfield dca_mode[3:0] */ 222*493d26c5SEd Maste #define rdm_dca_mode_mskn 0xfffffff0 223*493d26c5SEd Maste /* lower bit position of bitfield dca_mode[3:0] */ 224*493d26c5SEd Maste #define rdm_dca_mode_shift 0 225*493d26c5SEd Maste /* width of bitfield dca_mode[3:0] */ 226*493d26c5SEd Maste #define rdm_dca_mode_width 4 227*493d26c5SEd Maste /* default value of bitfield dca_mode[3:0] */ 228*493d26c5SEd Maste #define rdm_dca_mode_default 0x0 229*493d26c5SEd Maste 230*493d26c5SEd Maste /* rx desc{d}_data_size[4:0] bitfield definitions 231*493d26c5SEd Maste * preprocessor definitions for the bitfield "desc{d}_data_size[4:0]". 232*493d26c5SEd Maste * parameter: descriptor {d} | stride size 0x20 | range [0, 31] 233*493d26c5SEd Maste * port="pif_rdm_desc0_data_size_i[4:0]" 234*493d26c5SEd Maste */ 235*493d26c5SEd Maste 236*493d26c5SEd Maste /* register address for bitfield desc{d}_data_size[4:0] */ 237*493d26c5SEd Maste #define rdm_descddata_size_adr(descriptor) (0x00005b18 + (descriptor) * 0x20) 238*493d26c5SEd Maste /* bitmask for bitfield desc{d}_data_size[4:0] */ 239*493d26c5SEd Maste #define rdm_descddata_size_msk 0x0000001f 240*493d26c5SEd Maste /* inverted bitmask for bitfield desc{d}_data_size[4:0] */ 241*493d26c5SEd Maste #define rdm_descddata_size_mskn 0xffffffe0 242*493d26c5SEd Maste /* lower bit position of bitfield desc{d}_data_size[4:0] */ 243*493d26c5SEd Maste #define rdm_descddata_size_shift 0 244*493d26c5SEd Maste /* width of bitfield desc{d}_data_size[4:0] */ 245*493d26c5SEd Maste #define rdm_descddata_size_width 5 246*493d26c5SEd Maste /* default value of bitfield desc{d}_data_size[4:0] */ 247*493d26c5SEd Maste #define rdm_descddata_size_default 0x0 248*493d26c5SEd Maste 249*493d26c5SEd Maste /* rx dca{d}_desc_en bitfield definitions 250*493d26c5SEd Maste * preprocessor definitions for the bitfield "dca{d}_desc_en". 251*493d26c5SEd Maste * parameter: dca {d} | stride size 0x4 | range [0, 31] 252*493d26c5SEd Maste * port="pif_rdm_dca_desc_en_i[0]" 253*493d26c5SEd Maste */ 254*493d26c5SEd Maste 255*493d26c5SEd Maste /* register address for bitfield dca{d}_desc_en */ 256*493d26c5SEd Maste #define rdm_dcaddesc_en_adr(dca) (0x00006100 + (dca) * 0x4) 257*493d26c5SEd Maste /* bitmask for bitfield dca{d}_desc_en */ 258*493d26c5SEd Maste #define rdm_dcaddesc_en_msk 0x80000000 259*493d26c5SEd Maste /* inverted bitmask for bitfield dca{d}_desc_en */ 260*493d26c5SEd Maste #define rdm_dcaddesc_en_mskn 0x7fffffff 261*493d26c5SEd Maste /* lower bit position of bitfield dca{d}_desc_en */ 262*493d26c5SEd Maste #define rdm_dcaddesc_en_shift 31 263*493d26c5SEd Maste /* width of bitfield dca{d}_desc_en */ 264*493d26c5SEd Maste #define rdm_dcaddesc_en_width 1 265*493d26c5SEd Maste /* default value of bitfield dca{d}_desc_en */ 266*493d26c5SEd Maste #define rdm_dcaddesc_en_default 0x0 267*493d26c5SEd Maste 268*493d26c5SEd Maste /* rx desc{d}_en bitfield definitions 269*493d26c5SEd Maste * preprocessor definitions for the bitfield "desc{d}_en". 270*493d26c5SEd Maste * parameter: descriptor {d} | stride size 0x20 | range [0, 31] 271*493d26c5SEd Maste * port="pif_rdm_desc_en_i[0]" 272*493d26c5SEd Maste */ 273*493d26c5SEd Maste 274*493d26c5SEd Maste /* register address for bitfield desc{d}_en */ 275*493d26c5SEd Maste #define rdm_descden_adr(descriptor) (0x00005b08 + (descriptor) * 0x20) 276*493d26c5SEd Maste /* bitmask for bitfield desc{d}_en */ 277*493d26c5SEd Maste #define rdm_descden_msk 0x80000000 278*493d26c5SEd Maste /* inverted bitmask for bitfield desc{d}_en */ 279*493d26c5SEd Maste #define rdm_descden_mskn 0x7fffffff 280*493d26c5SEd Maste /* lower bit position of bitfield desc{d}_en */ 281*493d26c5SEd Maste #define rdm_descden_shift 31 282*493d26c5SEd Maste /* width of bitfield desc{d}_en */ 283*493d26c5SEd Maste #define rdm_descden_width 1 284*493d26c5SEd Maste /* default value of bitfield desc{d}_en */ 285*493d26c5SEd Maste #define rdm_descden_default 0x0 286*493d26c5SEd Maste 287*493d26c5SEd Maste /* rx desc{d}_hdr_size[4:0] bitfield definitions 288*493d26c5SEd Maste * preprocessor definitions for the bitfield "desc{d}_hdr_size[4:0]". 289*493d26c5SEd Maste * parameter: descriptor {d} | stride size 0x20 | range [0, 31] 290*493d26c5SEd Maste * port="pif_rdm_desc0_hdr_size_i[4:0]" 291*493d26c5SEd Maste */ 292*493d26c5SEd Maste 293*493d26c5SEd Maste /* register address for bitfield desc{d}_hdr_size[4:0] */ 294*493d26c5SEd Maste #define rdm_descdhdr_size_adr(descriptor) (0x00005b18 + (descriptor) * 0x20) 295*493d26c5SEd Maste /* bitmask for bitfield desc{d}_hdr_size[4:0] */ 296*493d26c5SEd Maste #define rdm_descdhdr_size_msk 0x00001f00 297*493d26c5SEd Maste /* inverted bitmask for bitfield desc{d}_hdr_size[4:0] */ 298*493d26c5SEd Maste #define rdm_descdhdr_size_mskn 0xffffe0ff 299*493d26c5SEd Maste /* lower bit position of bitfield desc{d}_hdr_size[4:0] */ 300*493d26c5SEd Maste #define rdm_descdhdr_size_shift 8 301*493d26c5SEd Maste /* width of bitfield desc{d}_hdr_size[4:0] */ 302*493d26c5SEd Maste #define rdm_descdhdr_size_width 5 303*493d26c5SEd Maste /* default value of bitfield desc{d}_hdr_size[4:0] */ 304*493d26c5SEd Maste #define rdm_descdhdr_size_default 0x0 305*493d26c5SEd Maste 306*493d26c5SEd Maste /* rx desc{d}_hdr_split bitfield definitions 307*493d26c5SEd Maste * preprocessor definitions for the bitfield "desc{d}_hdr_split". 308*493d26c5SEd Maste * parameter: descriptor {d} | stride size 0x20 | range [0, 31] 309*493d26c5SEd Maste * port="pif_rdm_desc_hdr_split_i[0]" 310*493d26c5SEd Maste */ 311*493d26c5SEd Maste 312*493d26c5SEd Maste /* register address for bitfield desc{d}_hdr_split */ 313*493d26c5SEd Maste #define rdm_descdhdr_split_adr(descriptor) (0x00005b08 + (descriptor) * 0x20) 314*493d26c5SEd Maste /* bitmask for bitfield desc{d}_hdr_split */ 315*493d26c5SEd Maste #define rdm_descdhdr_split_msk 0x10000000 316*493d26c5SEd Maste /* inverted bitmask for bitfield desc{d}_hdr_split */ 317*493d26c5SEd Maste #define rdm_descdhdr_split_mskn 0xefffffff 318*493d26c5SEd Maste /* lower bit position of bitfield desc{d}_hdr_split */ 319*493d26c5SEd Maste #define rdm_descdhdr_split_shift 28 320*493d26c5SEd Maste /* width of bitfield desc{d}_hdr_split */ 321*493d26c5SEd Maste #define rdm_descdhdr_split_width 1 322*493d26c5SEd Maste /* default value of bitfield desc{d}_hdr_split */ 323*493d26c5SEd Maste #define rdm_descdhdr_split_default 0x0 324*493d26c5SEd Maste 325*493d26c5SEd Maste /* rx desc{d}_hd[c:0] bitfield definitions 326*493d26c5SEd Maste * preprocessor definitions for the bitfield "desc{d}_hd[c:0]". 327*493d26c5SEd Maste * parameter: descriptor {d} | stride size 0x20 | range [0, 31] 328*493d26c5SEd Maste * port="rdm_pif_desc0_hd_o[12:0]" 329*493d26c5SEd Maste */ 330*493d26c5SEd Maste 331*493d26c5SEd Maste /* register address for bitfield desc{d}_hd[c:0] */ 332*493d26c5SEd Maste #define rdm_descdhd_adr(descriptor) (0x00005b0c + (descriptor) * 0x20) 333*493d26c5SEd Maste /* bitmask for bitfield desc{d}_hd[c:0] */ 334*493d26c5SEd Maste #define rdm_descdhd_msk 0x00001fff 335*493d26c5SEd Maste /* inverted bitmask for bitfield desc{d}_hd[c:0] */ 336*493d26c5SEd Maste #define rdm_descdhd_mskn 0xffffe000 337*493d26c5SEd Maste /* lower bit position of bitfield desc{d}_hd[c:0] */ 338*493d26c5SEd Maste #define rdm_descdhd_shift 0 339*493d26c5SEd Maste /* width of bitfield desc{d}_hd[c:0] */ 340*493d26c5SEd Maste #define rdm_descdhd_width 13 341*493d26c5SEd Maste 342*493d26c5SEd Maste /* rx desc{d}_len[9:0] bitfield definitions 343*493d26c5SEd Maste * preprocessor definitions for the bitfield "desc{d}_len[9:0]". 344*493d26c5SEd Maste * parameter: descriptor {d} | stride size 0x20 | range [0, 31] 345*493d26c5SEd Maste * port="pif_rdm_desc0_len_i[9:0]" 346*493d26c5SEd Maste */ 347*493d26c5SEd Maste 348*493d26c5SEd Maste /* register address for bitfield desc{d}_len[9:0] */ 349*493d26c5SEd Maste #define rdm_descdlen_adr(descriptor) (0x00005b08 + (descriptor) * 0x20) 350*493d26c5SEd Maste /* bitmask for bitfield desc{d}_len[9:0] */ 351*493d26c5SEd Maste #define rdm_descdlen_msk 0x00001ff8 352*493d26c5SEd Maste /* inverted bitmask for bitfield desc{d}_len[9:0] */ 353*493d26c5SEd Maste #define rdm_descdlen_mskn 0xffffe007 354*493d26c5SEd Maste /* lower bit position of bitfield desc{d}_len[9:0] */ 355*493d26c5SEd Maste #define rdm_descdlen_shift 3 356*493d26c5SEd Maste /* width of bitfield desc{d}_len[9:0] */ 357*493d26c5SEd Maste #define rdm_descdlen_width 10 358*493d26c5SEd Maste /* default value of bitfield desc{d}_len[9:0] */ 359*493d26c5SEd Maste #define rdm_descdlen_default 0x0 360*493d26c5SEd Maste 361*493d26c5SEd Maste /* rx desc{d}_reset bitfield definitions 362*493d26c5SEd Maste * preprocessor definitions for the bitfield "desc{d}_reset". 363*493d26c5SEd Maste * parameter: descriptor {d} | stride size 0x20 | range [0, 31] 364*493d26c5SEd Maste * port="pif_rdm_q_pf_res_i[0]" 365*493d26c5SEd Maste */ 366*493d26c5SEd Maste 367*493d26c5SEd Maste /* register address for bitfield desc{d}_reset */ 368*493d26c5SEd Maste #define rdm_descdreset_adr(descriptor) (0x00005b08 + (descriptor) * 0x20) 369*493d26c5SEd Maste /* bitmask for bitfield desc{d}_reset */ 370*493d26c5SEd Maste #define rdm_descdreset_msk 0x02000000 371*493d26c5SEd Maste /* inverted bitmask for bitfield desc{d}_reset */ 372*493d26c5SEd Maste #define rdm_descdreset_mskn 0xfdffffff 373*493d26c5SEd Maste /* lower bit position of bitfield desc{d}_reset */ 374*493d26c5SEd Maste #define rdm_descdreset_shift 25 375*493d26c5SEd Maste /* width of bitfield desc{d}_reset */ 376*493d26c5SEd Maste #define rdm_descdreset_width 1 377*493d26c5SEd Maste /* default value of bitfield desc{d}_reset */ 378*493d26c5SEd Maste #define rdm_descdreset_default 0x0 379*493d26c5SEd Maste 380*493d26c5SEd Maste /* rdm_desc_init_i bitfield definitions 381*493d26c5SEd Maste * preprocessor definitions for the bitfield rdm_desc_init_i. 382*493d26c5SEd Maste * port="pif_rdm_desc_init_i" 383*493d26c5SEd Maste */ 384*493d26c5SEd Maste 385*493d26c5SEd Maste /* register address for bitfield rdm_desc_init_i */ 386*493d26c5SEd Maste #define rdm_rx_dma_desc_cache_init_adr 0x00005a00 387*493d26c5SEd Maste /* bitmask for bitfield rdm_desc_init_i */ 388*493d26c5SEd Maste #define rdm_rx_dma_desc_cache_init_msk 0x00000001 389*493d26c5SEd Maste /* inverted bitmask for bitfield rdm_desc_init_i */ 390*493d26c5SEd Maste #define rdm_rx_dma_desc_cache_init_mskn 0xfffffffe 391*493d26c5SEd Maste /* lower bit position of bitfield rdm_desc_init_i */ 392*493d26c5SEd Maste #define rdm_rx_dma_desc_cache_init_shift 0 393*493d26c5SEd Maste /* width of bitfield rdm_desc_init_i */ 394*493d26c5SEd Maste #define rdm_rx_dma_desc_cache_init_width 1 395*493d26c5SEd Maste /* default value of bitfield rdm_desc_init_i */ 396*493d26c5SEd Maste #define rdm_rx_dma_desc_cache_init_defaulT 0x0 397*493d26c5SEd Maste 398*493d26c5SEd Maste /* rx int_desc_wrb_en bitfield definitions 399*493d26c5SEd Maste * preprocessor definitions for the bitfield "int_desc_wrb_en". 400*493d26c5SEd Maste * port="pif_rdm_int_desc_wrb_en_i" 401*493d26c5SEd Maste */ 402*493d26c5SEd Maste 403*493d26c5SEd Maste /* register address for bitfield int_desc_wrb_en */ 404*493d26c5SEd Maste #define rdm_int_desc_wrb_en_adr 0x00005a30 405*493d26c5SEd Maste /* bitmask for bitfield int_desc_wrb_en */ 406*493d26c5SEd Maste #define rdm_int_desc_wrb_en_msk 0x00000004 407*493d26c5SEd Maste /* inverted bitmask for bitfield int_desc_wrb_en */ 408*493d26c5SEd Maste #define rdm_int_desc_wrb_en_mskn 0xfffffffb 409*493d26c5SEd Maste /* lower bit position of bitfield int_desc_wrb_en */ 410*493d26c5SEd Maste #define rdm_int_desc_wrb_en_shift 2 411*493d26c5SEd Maste /* width of bitfield int_desc_wrb_en */ 412*493d26c5SEd Maste #define rdm_int_desc_wrb_en_width 1 413*493d26c5SEd Maste /* default value of bitfield int_desc_wrb_en */ 414*493d26c5SEd Maste #define rdm_int_desc_wrb_en_default 0x0 415*493d26c5SEd Maste 416*493d26c5SEd Maste /* rx dca{d}_hdr_en bitfield definitions 417*493d26c5SEd Maste * preprocessor definitions for the bitfield "dca{d}_hdr_en". 418*493d26c5SEd Maste * parameter: dca {d} | stride size 0x4 | range [0, 31] 419*493d26c5SEd Maste * port="pif_rdm_dca_hdr_en_i[0]" 420*493d26c5SEd Maste */ 421*493d26c5SEd Maste 422*493d26c5SEd Maste /* register address for bitfield dca{d}_hdr_en */ 423*493d26c5SEd Maste #define rdm_dcadhdr_en_adr(dca) (0x00006100 + (dca) * 0x4) 424*493d26c5SEd Maste /* bitmask for bitfield dca{d}_hdr_en */ 425*493d26c5SEd Maste #define rdm_dcadhdr_en_msk 0x40000000 426*493d26c5SEd Maste /* inverted bitmask for bitfield dca{d}_hdr_en */ 427*493d26c5SEd Maste #define rdm_dcadhdr_en_mskn 0xbfffffff 428*493d26c5SEd Maste /* lower bit position of bitfield dca{d}_hdr_en */ 429*493d26c5SEd Maste #define rdm_dcadhdr_en_shift 30 430*493d26c5SEd Maste /* width of bitfield dca{d}_hdr_en */ 431*493d26c5SEd Maste #define rdm_dcadhdr_en_width 1 432*493d26c5SEd Maste /* default value of bitfield dca{d}_hdr_en */ 433*493d26c5SEd Maste #define rdm_dcadhdr_en_default 0x0 434*493d26c5SEd Maste 435*493d26c5SEd Maste /* rx dca{d}_pay_en bitfield definitions 436*493d26c5SEd Maste * preprocessor definitions for the bitfield "dca{d}_pay_en". 437*493d26c5SEd Maste * parameter: dca {d} | stride size 0x4 | range [0, 31] 438*493d26c5SEd Maste * port="pif_rdm_dca_pay_en_i[0]" 439*493d26c5SEd Maste */ 440*493d26c5SEd Maste 441*493d26c5SEd Maste /* register address for bitfield dca{d}_pay_en */ 442*493d26c5SEd Maste #define rdm_dcadpay_en_adr(dca) (0x00006100 + (dca) * 0x4) 443*493d26c5SEd Maste /* bitmask for bitfield dca{d}_pay_en */ 444*493d26c5SEd Maste #define rdm_dcadpay_en_msk 0x20000000 445*493d26c5SEd Maste /* inverted bitmask for bitfield dca{d}_pay_en */ 446*493d26c5SEd Maste #define rdm_dcadpay_en_mskn 0xdfffffff 447*493d26c5SEd Maste /* lower bit position of bitfield dca{d}_pay_en */ 448*493d26c5SEd Maste #define rdm_dcadpay_en_shift 29 449*493d26c5SEd Maste /* width of bitfield dca{d}_pay_en */ 450*493d26c5SEd Maste #define rdm_dcadpay_en_width 1 451*493d26c5SEd Maste /* default value of bitfield dca{d}_pay_en */ 452*493d26c5SEd Maste #define rdm_dcadpay_en_default 0x0 453*493d26c5SEd Maste 454*493d26c5SEd Maste /* RX rdm_int_rim_en Bitfield Definitions 455*493d26c5SEd Maste * Preprocessor definitions for the bitfield "rdm_int_rim_en". 456*493d26c5SEd Maste * PORT="pif_rdm_int_rim_en_i" 457*493d26c5SEd Maste */ 458*493d26c5SEd Maste 459*493d26c5SEd Maste /* Register address for bitfield rdm_int_rim_en */ 460*493d26c5SEd Maste #define rdm_int_rim_en_adr 0x00005A30 461*493d26c5SEd Maste /* Bitmask for bitfield rdm_int_rim_en */ 462*493d26c5SEd Maste #define rdm_int_rim_en_msk 0x00000008 463*493d26c5SEd Maste /* Inverted bitmask for bitfield rdm_int_rim_en */ 464*493d26c5SEd Maste #define rdm_int_rim_en_mskn 0xFFFFFFF7 465*493d26c5SEd Maste /* Lower bit position of bitfield rdm_int_rim_en */ 466*493d26c5SEd Maste #define rdm_int_rim_en_shift 3 467*493d26c5SEd Maste /* Width of bitfield rdm_int_rim_en */ 468*493d26c5SEd Maste #define rdm_int_rim_en_width 1 469*493d26c5SEd Maste /* Default value of bitfield rdm_int_rim_en */ 470*493d26c5SEd Maste #define rdm_int_rim_en_default 0x0 471*493d26c5SEd Maste 472*493d26c5SEd Maste /* general interrupt mapping register definitions 473*493d26c5SEd Maste * preprocessor definitions for general interrupt mapping register 474*493d26c5SEd Maste * base address: 0x00002180 475*493d26c5SEd Maste * parameter: regidx {f} | stride size 0x4 | range [0, 3] 476*493d26c5SEd Maste */ 477*493d26c5SEd Maste #define gen_intr_map_adr(regidx) (0x00002180u + (regidx) * 0x4) 478*493d26c5SEd Maste 479*493d26c5SEd Maste /* general interrupt status register definitions 480*493d26c5SEd Maste * preprocessor definitions for general interrupt status register 481*493d26c5SEd Maste * address: 0x000021A0 482*493d26c5SEd Maste */ 483*493d26c5SEd Maste 484*493d26c5SEd Maste #define gen_intr_stat_adr 0x000021A4U 485*493d26c5SEd Maste 486*493d26c5SEd Maste /* interrupt global control register definitions 487*493d26c5SEd Maste * preprocessor definitions for interrupt global control register 488*493d26c5SEd Maste * address: 0x00002300 489*493d26c5SEd Maste */ 490*493d26c5SEd Maste #define intr_glb_ctl_adr 0x00002300u 491*493d26c5SEd Maste 492*493d26c5SEd Maste /* interrupt throttle register definitions 493*493d26c5SEd Maste * preprocessor definitions for interrupt throttle register 494*493d26c5SEd Maste * base address: 0x00002800 495*493d26c5SEd Maste * parameter: throttle {t} | stride size 0x4 | range [0, 31] 496*493d26c5SEd Maste */ 497*493d26c5SEd Maste #define intr_thr_adr(throttle) (0x00002800u + (throttle) * 0x4) 498*493d26c5SEd Maste 499*493d26c5SEd Maste /* Register address for bitfield imr_link_en */ 500*493d26c5SEd Maste #define itrImrLinkEn_ADR 0x00002180 501*493d26c5SEd Maste /* Bitmask for bitfield imr_link_en */ 502*493d26c5SEd Maste #define itrImrLinkEn_MSK 0x00008000 503*493d26c5SEd Maste /* Inverted bitmask for bitfield imr_link_en */ 504*493d26c5SEd Maste #define itrImrLinkEn_MSKN 0xFFFF7FFF 505*493d26c5SEd Maste /* Lower bit position of bitfield imr_link_en */ 506*493d26c5SEd Maste #define itrImrLinkEn_SHIFT 15 507*493d26c5SEd Maste /* Width of bitfield imr_link_en */ 508*493d26c5SEd Maste #define itrImrLinkEn_WIDTH 1 509*493d26c5SEd Maste /* Default value of bitfield imr_link_en */ 510*493d26c5SEd Maste #define itrImrLinkEn_DEFAULT 0x0 511*493d26c5SEd Maste 512*493d26c5SEd Maste /* Register address for bitfield imr_link[4:0] */ 513*493d26c5SEd Maste #define itrImrLink_ADR 0x00002180 514*493d26c5SEd Maste /* Bitmask for bitfield imr_link[4:0] */ 515*493d26c5SEd Maste #define itrImrLink_MSK 0x00001F00 516*493d26c5SEd Maste /* Inverted bitmask for bitfield imr_link[4:0] */ 517*493d26c5SEd Maste #define itrImrLink_MSKN 0xFFFFE0FF 518*493d26c5SEd Maste /* Lower bit position of bitfield imr_link[4:0] */ 519*493d26c5SEd Maste #define itrImrLink_SHIFT 8 520*493d26c5SEd Maste /* Width of bitfield imr_link[4:0] */ 521*493d26c5SEd Maste #define itrImrLink_WIDTH 5 522*493d26c5SEd Maste /* Default value of bitfield imr_link[4:0] */ 523*493d26c5SEd Maste #define itrImrLink_DEFAULT 0x0 524*493d26c5SEd Maste 525*493d26c5SEd Maste 526*493d26c5SEd Maste /* INTR imr_mif{M}_en Bitfield Definitions 527*493d26c5SEd Maste * Preprocessor definitions for the bitfield "imr_mif{M}_en". 528*493d26c5SEd Maste * Parameter: MIF {M} | bit-level stride | range [0, 3] 529*493d26c5SEd Maste * PORT="pif_itr_map_mif_en_i[0]" 530*493d26c5SEd Maste */ 531*493d26c5SEd Maste /* Register address for bitfield imr_mif{M}_en */ 532*493d26c5SEd Maste #define itrImrMifMEn_ADR(MIF) \ 533*493d26c5SEd Maste (((MIF) == 0) ? 0x0000218C : \ 534*493d26c5SEd Maste (((MIF) == 1) ? 0x0000218C : \ 535*493d26c5SEd Maste (((MIF) == 2) ? 0x0000218C : \ 536*493d26c5SEd Maste (((MIF) == 3) ? 0x0000218C : \ 537*493d26c5SEd Maste 0)))) 538*493d26c5SEd Maste /* Bitmask for bitfield imr_mif{M}_en */ 539*493d26c5SEd Maste #define itrImrMifMEn_MSK(MIF) \ 540*493d26c5SEd Maste (((MIF) == 0) ? 0x80000000 : \ 541*493d26c5SEd Maste (((MIF) == 1) ? 0x00800000 : \ 542*493d26c5SEd Maste (((MIF) == 2) ? 0x00008000 : \ 543*493d26c5SEd Maste (((MIF) == 3) ? 0x00000080 : \ 544*493d26c5SEd Maste 0)))) 545*493d26c5SEd Maste /* Inverted bitmask for bitfield imr_mif{M}_en */ 546*493d26c5SEd Maste #define itrImrMifMEn_MSKN(MIF) \ 547*493d26c5SEd Maste (((MIF) == 0) ? 0x7FFFFFFF : \ 548*493d26c5SEd Maste (((MIF) == 1) ? 0xFF7FFFFF : \ 549*493d26c5SEd Maste (((MIF) == 2) ? 0xFFFF7FFF : \ 550*493d26c5SEd Maste (((MIF) == 3) ? 0xFFFFFF7F : \ 551*493d26c5SEd Maste 0)))) 552*493d26c5SEd Maste /* Lower bit position of bitfield imr_mif{M}_en */ 553*493d26c5SEd Maste #define itrImrMifMEn_SHIFT(MIF) \ 554*493d26c5SEd Maste (((MIF) == 0) ? 31 : \ 555*493d26c5SEd Maste (((MIF) == 1) ? 23 : \ 556*493d26c5SEd Maste (((MIF) == 2) ? 15 : \ 557*493d26c5SEd Maste (((MIF) == 3) ? 7 : \ 558*493d26c5SEd Maste 0)))) 559*493d26c5SEd Maste /* Width of bitfield imr_mif{M}_en */ 560*493d26c5SEd Maste #define itrImrMifMEn_WIDTH 1 561*493d26c5SEd Maste /* Default value of bitfield imr_mif{M}_en */ 562*493d26c5SEd Maste #define itrImrMifMEn_DEFAULT 0x0 563*493d26c5SEd Maste 564*493d26c5SEd Maste /* INTR imr_mif{M}[4:0] Bitfield Definitions 565*493d26c5SEd Maste * Preprocessor definitions for the bitfield "imr_mif{M}[4:0]". 566*493d26c5SEd Maste * Parameter: MIF {M} | bit-level stride | range [0, 3] 567*493d26c5SEd Maste * PORT="pif_itr_map_mif0_i[4:0]" 568*493d26c5SEd Maste */ 569*493d26c5SEd Maste /* Register address for bitfield imr_mif{M}[4:0] */ 570*493d26c5SEd Maste #define itrImrMifM_ADR(MIF) \ 571*493d26c5SEd Maste (((MIF) == 0) ? 0x0000218C : \ 572*493d26c5SEd Maste (((MIF) == 1) ? 0x0000218C : \ 573*493d26c5SEd Maste (((MIF) == 2) ? 0x0000218C : \ 574*493d26c5SEd Maste (((MIF) == 3) ? 0x0000218C : \ 575*493d26c5SEd Maste 0)))) 576*493d26c5SEd Maste /* Bitmask for bitfield imr_mif{M}[4:0] */ 577*493d26c5SEd Maste #define itrImrMifM_MSK(MIF) \ 578*493d26c5SEd Maste (((MIF) == 0) ? 0x1F000000 : \ 579*493d26c5SEd Maste (((MIF) == 1) ? 0x001F0000 : \ 580*493d26c5SEd Maste (((MIF) == 2) ? 0x00001F00 : \ 581*493d26c5SEd Maste (((MIF) == 3) ? 0x0000001F : \ 582*493d26c5SEd Maste 0)))) 583*493d26c5SEd Maste /* Inverted bitmask for bitfield imr_mif{M}[4:0] */ 584*493d26c5SEd Maste #define itrImrMifM_MSKN(MIF) \ 585*493d26c5SEd Maste (((MIF) == 0) ? 0xE0FFFFFF : \ 586*493d26c5SEd Maste (((MIF) == 1) ? 0xFFE0FFFF : \ 587*493d26c5SEd Maste (((MIF) == 2) ? 0xFFFFE0FF : \ 588*493d26c5SEd Maste (((MIF) == 3) ? 0xFFFFFFE0 : \ 589*493d26c5SEd Maste 0)))) 590*493d26c5SEd Maste /* Lower bit position of bitfield imr_mif{M}[4:0] */ 591*493d26c5SEd Maste #define itrImrMifM_SHIFT(MIF) \ 592*493d26c5SEd Maste (((MIF) == 0) ? 24 : \ 593*493d26c5SEd Maste (((MIF) == 1) ? 16 : \ 594*493d26c5SEd Maste (((MIF) == 2) ? 8 : \ 595*493d26c5SEd Maste (((MIF) == 3) ? 0 : \ 596*493d26c5SEd Maste 0)))) 597*493d26c5SEd Maste /* Width of bitfield imr_mif{M}[4:0] */ 598*493d26c5SEd Maste #define itrImrMifM_WIDTH 5 599*493d26c5SEd Maste /* Default value of bitfield imr_mif{M}[4:0] */ 600*493d26c5SEd Maste #define itrImrMifM_DEFAULT 0x0 601*493d26c5SEd Maste 602*493d26c5SEd Maste 603*493d26c5SEd Maste /* Register address for bitfield int_mode[1:0] */ 604*493d26c5SEd Maste #define itrIntMode_ADR 0x00002300 605*493d26c5SEd Maste /* Bitmask for bitfield int_mode[1:0] */ 606*493d26c5SEd Maste #define itrIntMode_MSK 0x00000003 607*493d26c5SEd Maste /* Inverted bitmask for bitfield int_mode[1:0] */ 608*493d26c5SEd Maste #define itrIntMode_MSKN 0xFFFFFFFC 609*493d26c5SEd Maste /* Lower bit position of bitfield int_mode[1:0] */ 610*493d26c5SEd Maste #define itrIntMode_SHIFT 0 611*493d26c5SEd Maste /*f Width of bitfield int_mode[1:0] */ 612*493d26c5SEd Maste #define itrIntMode_WIDTH 2 613*493d26c5SEd Maste /* Default value of bitfield int_mode[1:0] */ 614*493d26c5SEd Maste #define itrIntMode_DEFAULT 0x0 615*493d26c5SEd Maste 616*493d26c5SEd Maste /* Register address for bitfield isr_cor_en */ 617*493d26c5SEd Maste #define itrIsrCorEn_ADR 0x00002300 618*493d26c5SEd Maste /* Bitmask for bitfield isr_cor_en */ 619*493d26c5SEd Maste #define itrIsrCorEn_MSK 0x00000080 620*493d26c5SEd Maste /* Inverted bitmask for bitfield isr_cor_en */ 621*493d26c5SEd Maste #define itrIsrCorEn_MSKN 0xFFFFFF7F 622*493d26c5SEd Maste /* Lower bit position of bitfield isr_cor_en */ 623*493d26c5SEd Maste #define itrIsrCorEn_SHIFT 7 624*493d26c5SEd Maste /* Width of bitfield isr_cor_en */ 625*493d26c5SEd Maste #define itrIsrCorEn_WIDTH 1 626*493d26c5SEd Maste /* Default value of bitfield isr_cor_en */ 627*493d26c5SEd Maste #define itrIsrCorEn_DEFAULT 0x0 628*493d26c5SEd Maste /*@}*/ 629*493d26c5SEd Maste 630*493d26c5SEd Maste /* Register address for bitfield iamr_clr_en */ 631*493d26c5SEd Maste #define itrIamrClrEn_ADR 0x00002300 632*493d26c5SEd Maste /* Bitmask for bitfield iamr_clr_en */ 633*493d26c5SEd Maste #define itrIamrClrEn_MSK 0x00000020 634*493d26c5SEd Maste /* Inverted bitmask for bitfield iamr_clr_en */ 635*493d26c5SEd Maste #define itrIamrClrEn_MSKN 0xFFFFFFDF 636*493d26c5SEd Maste /* Lower bit position of bitfield iamr_clr_en */ 637*493d26c5SEd Maste #define itrIamrClrEn_SHIFT 5 638*493d26c5SEd Maste /* Width of bitfield iamr_clr_en */ 639*493d26c5SEd Maste #define itrIamrClrEn_WIDTH 1 640*493d26c5SEd Maste /* Default value of bitfield iamr_clr_en */ 641*493d26c5SEd Maste #define itrIamrClrEn_DEFAULT 0x0 642*493d26c5SEd Maste 643*493d26c5SEd Maste /* rx dma descriptor base address lsw definitions 644*493d26c5SEd Maste * preprocessor definitions for rx dma descriptor base address lsw 645*493d26c5SEd Maste * base address: 0x00005b00 646*493d26c5SEd Maste * parameter: descriptor {d} | stride size 0x20 | range [0, 31] 647*493d26c5SEd Maste */ 648*493d26c5SEd Maste #define rx_dma_desc_base_addrlsw_adr(descriptor) \ 649*493d26c5SEd Maste (0x00005b00u + (descriptor) * 0x20) 650*493d26c5SEd Maste 651*493d26c5SEd Maste /* rx dma descriptor base address msw definitions 652*493d26c5SEd Maste * preprocessor definitions for rx dma descriptor base address msw 653*493d26c5SEd Maste * base address: 0x00005b04 654*493d26c5SEd Maste * parameter: descriptor {d} | stride size 0x20 | range [0, 31] 655*493d26c5SEd Maste */ 656*493d26c5SEd Maste #define rx_dma_desc_base_addrmsw_adr(descriptor) \ 657*493d26c5SEd Maste (0x00005b04u + (descriptor) * 0x20) 658*493d26c5SEd Maste 659*493d26c5SEd Maste /* rx dma descriptor status register definitions 660*493d26c5SEd Maste * preprocessor definitions for rx dma descriptor status register 661*493d26c5SEd Maste * base address: 0x00005b14 662*493d26c5SEd Maste * parameter: descriptor {d} | stride size 0x20 | range [0, 31] 663*493d26c5SEd Maste */ 664*493d26c5SEd Maste #define rx_dma_desc_stat_adr(descriptor) (0x00005b14u + (descriptor) * 0x20) 665*493d26c5SEd Maste 666*493d26c5SEd Maste /* rx dma descriptor tail pointer register definitions 667*493d26c5SEd Maste * preprocessor definitions for rx dma descriptor tail pointer register 668*493d26c5SEd Maste * base address: 0x00005b10 669*493d26c5SEd Maste * parameter: descriptor {d} | stride size 0x20 | range [0, 31] 670*493d26c5SEd Maste */ 671*493d26c5SEd Maste #define rx_dma_desc_tail_ptr_adr(descriptor) (0x00005b10u + (descriptor) * 0x20) 672*493d26c5SEd Maste 673*493d26c5SEd Maste /* rx interrupt moderation control register definitions 674*493d26c5SEd Maste * Preprocessor definitions for RX Interrupt Moderation Control Register 675*493d26c5SEd Maste * Base Address: 0x00005A40 676*493d26c5SEd Maste * Parameter: RIM {R} | stride size 0x4 | range [0, 31] 677*493d26c5SEd Maste */ 678*493d26c5SEd Maste #define rx_intr_moderation_ctl_adr(rim) (0x00005A40u + (rim) * 0x4) 679*493d26c5SEd Maste 680*493d26c5SEd Maste /* rx filter multicast filter mask register definitions 681*493d26c5SEd Maste * preprocessor definitions for rx filter multicast filter mask register 682*493d26c5SEd Maste * address: 0x00005270 683*493d26c5SEd Maste */ 684*493d26c5SEd Maste #define rx_flr_mcst_flr_msk_adr 0x00005270u 685*493d26c5SEd Maste 686*493d26c5SEd Maste /* rx filter multicast filter register definitions 687*493d26c5SEd Maste * preprocessor definitions for rx filter multicast filter register 688*493d26c5SEd Maste * base address: 0x00005250 689*493d26c5SEd Maste * parameter: filter {f} | stride size 0x4 | range [0, 7] 690*493d26c5SEd Maste */ 691*493d26c5SEd Maste #define rx_flr_mcst_flr_adr(filter) (0x00005250u + (filter) * 0x4) 692*493d26c5SEd Maste 693*493d26c5SEd Maste /* RX Filter RSS Control Register 1 Definitions 694*493d26c5SEd Maste * Preprocessor definitions for RX Filter RSS Control Register 1 695*493d26c5SEd Maste * Address: 0x000054C0 696*493d26c5SEd Maste */ 697*493d26c5SEd Maste #define rx_flr_rss_control1_adr 0x000054C0u 698*493d26c5SEd Maste 699*493d26c5SEd Maste /* RX Filter Control Register 2 Definitions 700*493d26c5SEd Maste * Preprocessor definitions for RX Filter Control Register 2 701*493d26c5SEd Maste * Address: 0x00005104 702*493d26c5SEd Maste */ 703*493d26c5SEd Maste #define rx_flr_control2_adr 0x00005104u 704*493d26c5SEd Maste 705*493d26c5SEd Maste /* tx tx dma debug control [1f:0] bitfield definitions 706*493d26c5SEd Maste * preprocessor definitions for the bitfield "tx dma debug control [1f:0]". 707*493d26c5SEd Maste * port="pif_tdm_debug_cntl_i[31:0]" 708*493d26c5SEd Maste */ 709*493d26c5SEd Maste 710*493d26c5SEd Maste /* register address for bitfield tx dma debug control [1f:0] */ 711*493d26c5SEd Maste #define tdm_tx_dma_debug_ctl_adr 0x00008920 712*493d26c5SEd Maste /* bitmask for bitfield tx dma debug control [1f:0] */ 713*493d26c5SEd Maste #define tdm_tx_dma_debug_ctl_msk 0xffffffff 714*493d26c5SEd Maste /* inverted bitmask for bitfield tx dma debug control [1f:0] */ 715*493d26c5SEd Maste #define tdm_tx_dma_debug_ctl_mskn 0x00000000 716*493d26c5SEd Maste /* lower bit position of bitfield tx dma debug control [1f:0] */ 717*493d26c5SEd Maste #define tdm_tx_dma_debug_ctl_shift 0 718*493d26c5SEd Maste /* width of bitfield tx dma debug control [1f:0] */ 719*493d26c5SEd Maste #define tdm_tx_dma_debug_ctl_width 32 720*493d26c5SEd Maste /* default value of bitfield tx dma debug control [1f:0] */ 721*493d26c5SEd Maste #define tdm_tx_dma_debug_ctl_default 0x0 722*493d26c5SEd Maste 723*493d26c5SEd Maste /* tx dma descriptor base address lsw definitions 724*493d26c5SEd Maste * preprocessor definitions for tx dma descriptor base address lsw 725*493d26c5SEd Maste * base address: 0x00007c00 726*493d26c5SEd Maste * parameter: descriptor {d} | stride size 0x40 | range [0, 31] 727*493d26c5SEd Maste */ 728*493d26c5SEd Maste #define tx_dma_desc_base_addrlsw_adr(descriptor) \ 729*493d26c5SEd Maste (0x00007c00u + (descriptor) * 0x40) 730*493d26c5SEd Maste 731*493d26c5SEd Maste /* tx dma descriptor tail pointer register definitions 732*493d26c5SEd Maste * preprocessor definitions for tx dma descriptor tail pointer register 733*493d26c5SEd Maste * base address: 0x00007c10 734*493d26c5SEd Maste * parameter: descriptor {d} | stride size 0x40 | range [0, 31] 735*493d26c5SEd Maste */ 736*493d26c5SEd Maste #define tx_dma_desc_tail_ptr_adr(descriptor) (0x00007c10u + (descriptor) * 0x40) 737*493d26c5SEd Maste 738*493d26c5SEd Maste /* rx dma_sys_loopback bitfield definitions 739*493d26c5SEd Maste * preprocessor definitions for the bitfield "dma_sys_loopback". 740*493d26c5SEd Maste * port="pif_rpb_dma_sys_lbk_i" 741*493d26c5SEd Maste */ 742*493d26c5SEd Maste 743*493d26c5SEd Maste /* register address for bitfield dma_sys_loopback */ 744*493d26c5SEd Maste #define rpb_dma_sys_lbk_adr 0x00005000 745*493d26c5SEd Maste /* bitmask for bitfield dma_sys_loopback */ 746*493d26c5SEd Maste #define rpb_dma_sys_lbk_msk 0x00000040 747*493d26c5SEd Maste /* inverted bitmask for bitfield dma_sys_loopback */ 748*493d26c5SEd Maste #define rpb_dma_sys_lbk_mskn 0xffffffbf 749*493d26c5SEd Maste /* lower bit position of bitfield dma_sys_loopback */ 750*493d26c5SEd Maste #define rpb_dma_sys_lbk_shift 6 751*493d26c5SEd Maste /* width of bitfield dma_sys_loopback */ 752*493d26c5SEd Maste #define rpb_dma_sys_lbk_width 1 753*493d26c5SEd Maste /* default value of bitfield dma_sys_loopback */ 754*493d26c5SEd Maste #define rpb_dma_sys_lbk_default 0x0 755*493d26c5SEd Maste 756*493d26c5SEd Maste /* rx rx_tc_mode bitfield definitions 757*493d26c5SEd Maste * preprocessor definitions for the bitfield "rx_tc_mode". 758*493d26c5SEd Maste * port="pif_rpb_rx_tc_mode_i,pif_rpf_rx_tc_mode_i" 759*493d26c5SEd Maste */ 760*493d26c5SEd Maste 761*493d26c5SEd Maste /* register address for bitfield rx_tc_mode */ 762*493d26c5SEd Maste #define rpb_rpf_rx_tc_mode_adr 0x00005700 763*493d26c5SEd Maste /* bitmask for bitfield rx_tc_mode */ 764*493d26c5SEd Maste #define rpb_rpf_rx_tc_mode_msk 0x00000100 765*493d26c5SEd Maste /* inverted bitmask for bitfield rx_tc_mode */ 766*493d26c5SEd Maste #define rpb_rpf_rx_tc_mode_mskn 0xfffffeff 767*493d26c5SEd Maste /* lower bit position of bitfield rx_tc_mode */ 768*493d26c5SEd Maste #define rpb_rpf_rx_tc_mode_shift 8 769*493d26c5SEd Maste /* width of bitfield rx_tc_mode */ 770*493d26c5SEd Maste #define rpb_rpf_rx_tc_mode_width 1 771*493d26c5SEd Maste /* default value of bitfield rx_tc_mode */ 772*493d26c5SEd Maste #define rpb_rpf_rx_tc_mode_default 0x0 773*493d26c5SEd Maste 774*493d26c5SEd Maste /* rx rx_buf_en bitfield definitions 775*493d26c5SEd Maste * preprocessor definitions for the bitfield "rx_buf_en". 776*493d26c5SEd Maste * port="pif_rpb_rx_buf_en_i" 777*493d26c5SEd Maste */ 778*493d26c5SEd Maste 779*493d26c5SEd Maste /* register address for bitfield rx_buf_en */ 780*493d26c5SEd Maste #define rpb_rx_buf_en_adr 0x00005700 781*493d26c5SEd Maste /* bitmask for bitfield rx_buf_en */ 782*493d26c5SEd Maste #define rpb_rx_buf_en_msk 0x00000001 783*493d26c5SEd Maste /* inverted bitmask for bitfield rx_buf_en */ 784*493d26c5SEd Maste #define rpb_rx_buf_en_mskn 0xfffffffe 785*493d26c5SEd Maste /* lower bit position of bitfield rx_buf_en */ 786*493d26c5SEd Maste #define rpb_rx_buf_en_shift 0 787*493d26c5SEd Maste /* width of bitfield rx_buf_en */ 788*493d26c5SEd Maste #define rpb_rx_buf_en_width 1 789*493d26c5SEd Maste /* default value of bitfield rx_buf_en */ 790*493d26c5SEd Maste #define rpb_rx_buf_en_default 0x0 791*493d26c5SEd Maste 792*493d26c5SEd Maste /* rx rx{b}_hi_thresh[d:0] bitfield definitions 793*493d26c5SEd Maste * preprocessor definitions for the bitfield "rx{b}_hi_thresh[d:0]". 794*493d26c5SEd Maste * parameter: buffer {b} | stride size 0x10 | range [0, 7] 795*493d26c5SEd Maste * port="pif_rpb_rx0_hi_thresh_i[13:0]" 796*493d26c5SEd Maste */ 797*493d26c5SEd Maste 798*493d26c5SEd Maste /* register address for bitfield rx{b}_hi_thresh[d:0] */ 799*493d26c5SEd Maste #define rpb_rxbhi_thresh_adr(buffer) (0x00005714 + (buffer) * 0x10) 800*493d26c5SEd Maste /* bitmask for bitfield rx{b}_hi_thresh[d:0] */ 801*493d26c5SEd Maste #define rpb_rxbhi_thresh_msk 0x3fff0000 802*493d26c5SEd Maste /* inverted bitmask for bitfield rx{b}_hi_thresh[d:0] */ 803*493d26c5SEd Maste #define rpb_rxbhi_thresh_mskn 0xc000ffff 804*493d26c5SEd Maste /* lower bit position of bitfield rx{b}_hi_thresh[d:0] */ 805*493d26c5SEd Maste #define rpb_rxbhi_thresh_shift 16 806*493d26c5SEd Maste /* width of bitfield rx{b}_hi_thresh[d:0] */ 807*493d26c5SEd Maste #define rpb_rxbhi_thresh_width 14 808*493d26c5SEd Maste /* default value of bitfield rx{b}_hi_thresh[d:0] */ 809*493d26c5SEd Maste #define rpb_rxbhi_thresh_default 0x0 810*493d26c5SEd Maste 811*493d26c5SEd Maste /* rx rx{b}_lo_thresh[d:0] bitfield definitions 812*493d26c5SEd Maste * preprocessor definitions for the bitfield "rx{b}_lo_thresh[d:0]". 813*493d26c5SEd Maste * parameter: buffer {b} | stride size 0x10 | range [0, 7] 814*493d26c5SEd Maste * port="pif_rpb_rx0_lo_thresh_i[13:0]" 815*493d26c5SEd Maste */ 816*493d26c5SEd Maste 817*493d26c5SEd Maste /* register address for bitfield rx{b}_lo_thresh[d:0] */ 818*493d26c5SEd Maste #define rpb_rxblo_thresh_adr(buffer) (0x00005714 + (buffer) * 0x10) 819*493d26c5SEd Maste /* bitmask for bitfield rx{b}_lo_thresh[d:0] */ 820*493d26c5SEd Maste #define rpb_rxblo_thresh_msk 0x00003fff 821*493d26c5SEd Maste /* inverted bitmask for bitfield rx{b}_lo_thresh[d:0] */ 822*493d26c5SEd Maste #define rpb_rxblo_thresh_mskn 0xffffc000 823*493d26c5SEd Maste /* lower bit position of bitfield rx{b}_lo_thresh[d:0] */ 824*493d26c5SEd Maste #define rpb_rxblo_thresh_shift 0 825*493d26c5SEd Maste /* width of bitfield rx{b}_lo_thresh[d:0] */ 826*493d26c5SEd Maste #define rpb_rxblo_thresh_width 14 827*493d26c5SEd Maste /* default value of bitfield rx{b}_lo_thresh[d:0] */ 828*493d26c5SEd Maste #define rpb_rxblo_thresh_default 0x0 829*493d26c5SEd Maste 830*493d26c5SEd Maste /* rx rx_fc_mode[1:0] bitfield definitions 831*493d26c5SEd Maste * preprocessor definitions for the bitfield "rx_fc_mode[1:0]". 832*493d26c5SEd Maste * port="pif_rpb_rx_fc_mode_i[1:0]" 833*493d26c5SEd Maste */ 834*493d26c5SEd Maste 835*493d26c5SEd Maste /* register address for bitfield rx_fc_mode[1:0] */ 836*493d26c5SEd Maste #define rpb_rx_fc_mode_adr 0x00005700 837*493d26c5SEd Maste /* bitmask for bitfield rx_fc_mode[1:0] */ 838*493d26c5SEd Maste #define rpb_rx_fc_mode_msk 0x00000030 839*493d26c5SEd Maste /* inverted bitmask for bitfield rx_fc_mode[1:0] */ 840*493d26c5SEd Maste #define rpb_rx_fc_mode_mskn 0xffffffcf 841*493d26c5SEd Maste /* lower bit position of bitfield rx_fc_mode[1:0] */ 842*493d26c5SEd Maste #define rpb_rx_fc_mode_shift 4 843*493d26c5SEd Maste /* width of bitfield rx_fc_mode[1:0] */ 844*493d26c5SEd Maste #define rpb_rx_fc_mode_width 2 845*493d26c5SEd Maste /* default value of bitfield rx_fc_mode[1:0] */ 846*493d26c5SEd Maste #define rpb_rx_fc_mode_default 0x0 847*493d26c5SEd Maste 848*493d26c5SEd Maste /* rx rx{b}_buf_size[8:0] bitfield definitions 849*493d26c5SEd Maste * preprocessor definitions for the bitfield "rx{b}_buf_size[8:0]". 850*493d26c5SEd Maste * parameter: buffer {b} | stride size 0x10 | range [0, 7] 851*493d26c5SEd Maste * port="pif_rpb_rx0_buf_size_i[8:0]" 852*493d26c5SEd Maste */ 853*493d26c5SEd Maste 854*493d26c5SEd Maste /* register address for bitfield rx{b}_buf_size[8:0] */ 855*493d26c5SEd Maste #define rpb_rxbbuf_size_adr(buffer) (0x00005710 + (buffer) * 0x10) 856*493d26c5SEd Maste /* bitmask for bitfield rx{b}_buf_size[8:0] */ 857*493d26c5SEd Maste #define rpb_rxbbuf_size_msk 0x000001ff 858*493d26c5SEd Maste /* inverted bitmask for bitfield rx{b}_buf_size[8:0] */ 859*493d26c5SEd Maste #define rpb_rxbbuf_size_mskn 0xfffffe00 860*493d26c5SEd Maste /* lower bit position of bitfield rx{b}_buf_size[8:0] */ 861*493d26c5SEd Maste #define rpb_rxbbuf_size_shift 0 862*493d26c5SEd Maste /* width of bitfield rx{b}_buf_size[8:0] */ 863*493d26c5SEd Maste #define rpb_rxbbuf_size_width 9 864*493d26c5SEd Maste /* default value of bitfield rx{b}_buf_size[8:0] */ 865*493d26c5SEd Maste #define rpb_rxbbuf_size_default 0x0 866*493d26c5SEd Maste 867*493d26c5SEd Maste /* rx rx{b}_xoff_en bitfield definitions 868*493d26c5SEd Maste * preprocessor definitions for the bitfield "rx{b}_xoff_en". 869*493d26c5SEd Maste * parameter: buffer {b} | stride size 0x10 | range [0, 7] 870*493d26c5SEd Maste * port="pif_rpb_rx_xoff_en_i[0]" 871*493d26c5SEd Maste */ 872*493d26c5SEd Maste 873*493d26c5SEd Maste /* register address for bitfield rx{b}_xoff_en */ 874*493d26c5SEd Maste #define rpb_rxbxoff_en_adr(buffer) (0x00005714 + (buffer) * 0x10) 875*493d26c5SEd Maste /* bitmask for bitfield rx{b}_xoff_en */ 876*493d26c5SEd Maste #define rpb_rxbxoff_en_msk 0x80000000 877*493d26c5SEd Maste /* inverted bitmask for bitfield rx{b}_xoff_en */ 878*493d26c5SEd Maste #define rpb_rxbxoff_en_mskn 0x7fffffff 879*493d26c5SEd Maste /* lower bit position of bitfield rx{b}_xoff_en */ 880*493d26c5SEd Maste #define rpb_rxbxoff_en_shift 31 881*493d26c5SEd Maste /* width of bitfield rx{b}_xoff_en */ 882*493d26c5SEd Maste #define rpb_rxbxoff_en_width 1 883*493d26c5SEd Maste /* default value of bitfield rx{b}_xoff_en */ 884*493d26c5SEd Maste #define rpb_rxbxoff_en_default 0x0 885*493d26c5SEd Maste 886*493d26c5SEd Maste /* rx l2_bc_thresh[f:0] bitfield definitions 887*493d26c5SEd Maste * preprocessor definitions for the bitfield "l2_bc_thresh[f:0]". 888*493d26c5SEd Maste * port="pif_rpf_l2_bc_thresh_i[15:0]" 889*493d26c5SEd Maste */ 890*493d26c5SEd Maste 891*493d26c5SEd Maste /* register address for bitfield l2_bc_thresh[f:0] */ 892*493d26c5SEd Maste #define rpfl2bc_thresh_adr 0x00005100 893*493d26c5SEd Maste /* bitmask for bitfield l2_bc_thresh[f:0] */ 894*493d26c5SEd Maste #define rpfl2bc_thresh_msk 0xffff0000 895*493d26c5SEd Maste /* inverted bitmask for bitfield l2_bc_thresh[f:0] */ 896*493d26c5SEd Maste #define rpfl2bc_thresh_mskn 0x0000ffff 897*493d26c5SEd Maste /* lower bit position of bitfield l2_bc_thresh[f:0] */ 898*493d26c5SEd Maste #define rpfl2bc_thresh_shift 16 899*493d26c5SEd Maste /* width of bitfield l2_bc_thresh[f:0] */ 900*493d26c5SEd Maste #define rpfl2bc_thresh_width 16 901*493d26c5SEd Maste /* default value of bitfield l2_bc_thresh[f:0] */ 902*493d26c5SEd Maste #define rpfl2bc_thresh_default 0x0 903*493d26c5SEd Maste 904*493d26c5SEd Maste /* rx l2_bc_en bitfield definitions 905*493d26c5SEd Maste * preprocessor definitions for the bitfield "l2_bc_en". 906*493d26c5SEd Maste * port="pif_rpf_l2_bc_en_i" 907*493d26c5SEd Maste */ 908*493d26c5SEd Maste 909*493d26c5SEd Maste /* register address for bitfield l2_bc_en */ 910*493d26c5SEd Maste #define rpfl2bc_en_adr 0x00005100 911*493d26c5SEd Maste /* bitmask for bitfield l2_bc_en */ 912*493d26c5SEd Maste #define rpfl2bc_en_msk 0x00000001 913*493d26c5SEd Maste /* inverted bitmask for bitfield l2_bc_en */ 914*493d26c5SEd Maste #define rpfl2bc_en_mskn 0xfffffffe 915*493d26c5SEd Maste /* lower bit position of bitfield l2_bc_en */ 916*493d26c5SEd Maste #define rpfl2bc_en_shift 0 917*493d26c5SEd Maste /* width of bitfield l2_bc_en */ 918*493d26c5SEd Maste #define rpfl2bc_en_width 1 919*493d26c5SEd Maste /* default value of bitfield l2_bc_en */ 920*493d26c5SEd Maste #define rpfl2bc_en_default 0x0 921*493d26c5SEd Maste 922*493d26c5SEd Maste /* rx l2_bc_act[2:0] bitfield definitions 923*493d26c5SEd Maste * preprocessor definitions for the bitfield "l2_bc_act[2:0]". 924*493d26c5SEd Maste * port="pif_rpf_l2_bc_act_i[2:0]" 925*493d26c5SEd Maste */ 926*493d26c5SEd Maste 927*493d26c5SEd Maste /* register address for bitfield l2_bc_act[2:0] */ 928*493d26c5SEd Maste #define rpfl2bc_act_adr 0x00005100 929*493d26c5SEd Maste /* bitmask for bitfield l2_bc_act[2:0] */ 930*493d26c5SEd Maste #define rpfl2bc_act_msk 0x00007000 931*493d26c5SEd Maste /* inverted bitmask for bitfield l2_bc_act[2:0] */ 932*493d26c5SEd Maste #define rpfl2bc_act_mskn 0xffff8fff 933*493d26c5SEd Maste /* lower bit position of bitfield l2_bc_act[2:0] */ 934*493d26c5SEd Maste #define rpfl2bc_act_shift 12 935*493d26c5SEd Maste /* width of bitfield l2_bc_act[2:0] */ 936*493d26c5SEd Maste #define rpfl2bc_act_width 3 937*493d26c5SEd Maste /* default value of bitfield l2_bc_act[2:0] */ 938*493d26c5SEd Maste #define rpfl2bc_act_default 0x0 939*493d26c5SEd Maste 940*493d26c5SEd Maste /* rx l2_mc_en{f} bitfield definitions 941*493d26c5SEd Maste * preprocessor definitions for the bitfield "l2_mc_en{f}". 942*493d26c5SEd Maste * parameter: filter {f} | stride size 0x4 | range [0, 7] 943*493d26c5SEd Maste * port="pif_rpf_l2_mc_en_i[0]" 944*493d26c5SEd Maste */ 945*493d26c5SEd Maste 946*493d26c5SEd Maste /* register address for bitfield l2_mc_en{f} */ 947*493d26c5SEd Maste #define rpfl2mc_enf_adr(filter) (0x00005250 + (filter) * 0x4) 948*493d26c5SEd Maste /* bitmask for bitfield l2_mc_en{f} */ 949*493d26c5SEd Maste #define rpfl2mc_enf_msk 0x80000000 950*493d26c5SEd Maste /* inverted bitmask for bitfield l2_mc_en{f} */ 951*493d26c5SEd Maste #define rpfl2mc_enf_mskn 0x7fffffff 952*493d26c5SEd Maste /* lower bit position of bitfield l2_mc_en{f} */ 953*493d26c5SEd Maste #define rpfl2mc_enf_shift 31 954*493d26c5SEd Maste /* width of bitfield l2_mc_en{f} */ 955*493d26c5SEd Maste #define rpfl2mc_enf_width 1 956*493d26c5SEd Maste /* default value of bitfield l2_mc_en{f} */ 957*493d26c5SEd Maste #define rpfl2mc_enf_default 0x0 958*493d26c5SEd Maste 959*493d26c5SEd Maste /* rx l2_promis_mode bitfield definitions 960*493d26c5SEd Maste * preprocessor definitions for the bitfield "l2_promis_mode". 961*493d26c5SEd Maste * port="pif_rpf_l2_promis_mode_i" 962*493d26c5SEd Maste */ 963*493d26c5SEd Maste 964*493d26c5SEd Maste /* register address for bitfield l2_promis_mode */ 965*493d26c5SEd Maste #define rpfl2promis_mode_adr 0x00005100 966*493d26c5SEd Maste /* bitmask for bitfield l2_promis_mode */ 967*493d26c5SEd Maste #define rpfl2promis_mode_msk 0x00000008 968*493d26c5SEd Maste /* inverted bitmask for bitfield l2_promis_mode */ 969*493d26c5SEd Maste #define rpfl2promis_mode_mskn 0xfffffff7 970*493d26c5SEd Maste /* lower bit position of bitfield l2_promis_mode */ 971*493d26c5SEd Maste #define rpfl2promis_mode_shift 3 972*493d26c5SEd Maste /* width of bitfield l2_promis_mode */ 973*493d26c5SEd Maste #define rpfl2promis_mode_width 1 974*493d26c5SEd Maste /* default value of bitfield l2_promis_mode */ 975*493d26c5SEd Maste #define rpfl2promis_mode_default 0x0 976*493d26c5SEd Maste 977*493d26c5SEd Maste /* rx l2_uc_act{f}[2:0] bitfield definitions 978*493d26c5SEd Maste * preprocessor definitions for the bitfield "l2_uc_act{f}[2:0]". 979*493d26c5SEd Maste * parameter: filter {f} | stride size 0x8 | range [0, 37] 980*493d26c5SEd Maste * port="pif_rpf_l2_uc_act0_i[2:0]" 981*493d26c5SEd Maste */ 982*493d26c5SEd Maste 983*493d26c5SEd Maste /* register address for bitfield l2_uc_act{f}[2:0] */ 984*493d26c5SEd Maste #define rpfl2uc_actf_adr(filter) (0x00005114 + (filter) * 0x8) 985*493d26c5SEd Maste /* bitmask for bitfield l2_uc_act{f}[2:0] */ 986*493d26c5SEd Maste #define rpfl2uc_actf_msk 0x00070000 987*493d26c5SEd Maste /* inverted bitmask for bitfield l2_uc_act{f}[2:0] */ 988*493d26c5SEd Maste #define rpfl2uc_actf_mskn 0xfff8ffff 989*493d26c5SEd Maste /* lower bit position of bitfield l2_uc_act{f}[2:0] */ 990*493d26c5SEd Maste #define rpfl2uc_actf_shift 16 991*493d26c5SEd Maste /* width of bitfield l2_uc_act{f}[2:0] */ 992*493d26c5SEd Maste #define rpfl2uc_actf_width 3 993*493d26c5SEd Maste /* default value of bitfield l2_uc_act{f}[2:0] */ 994*493d26c5SEd Maste #define rpfl2uc_actf_default 0x0 995*493d26c5SEd Maste 996*493d26c5SEd Maste /* rx l2_uc_en{f} bitfield definitions 997*493d26c5SEd Maste * preprocessor definitions for the bitfield "l2_uc_en{f}". 998*493d26c5SEd Maste * parameter: filter {f} | stride size 0x8 | range [0, 37] 999*493d26c5SEd Maste * port="pif_rpf_l2_uc_en_i[0]" 1000*493d26c5SEd Maste */ 1001*493d26c5SEd Maste 1002*493d26c5SEd Maste /* register address for bitfield l2_uc_en{f} */ 1003*493d26c5SEd Maste #define rpfl2uc_enf_adr(filter) (0x00005114 + (filter) * 0x8) 1004*493d26c5SEd Maste /* bitmask for bitfield l2_uc_en{f} */ 1005*493d26c5SEd Maste #define rpfl2uc_enf_msk 0x80000000 1006*493d26c5SEd Maste /* inverted bitmask for bitfield l2_uc_en{f} */ 1007*493d26c5SEd Maste #define rpfl2uc_enf_mskn 0x7fffffff 1008*493d26c5SEd Maste /* lower bit position of bitfield l2_uc_en{f} */ 1009*493d26c5SEd Maste #define rpfl2uc_enf_shift 31 1010*493d26c5SEd Maste /* width of bitfield l2_uc_en{f} */ 1011*493d26c5SEd Maste #define rpfl2uc_enf_width 1 1012*493d26c5SEd Maste /* default value of bitfield l2_uc_en{f} */ 1013*493d26c5SEd Maste #define rpfl2uc_enf_default 0x0 1014*493d26c5SEd Maste 1015*493d26c5SEd Maste /* register address for bitfield l2_uc_da{f}_lsw[1f:0] */ 1016*493d26c5SEd Maste #define rpfl2uc_daflsw_adr(filter) (0x00005110 + (filter) * 0x8) 1017*493d26c5SEd Maste /* register address for bitfield l2_uc_da{f}_msw[f:0] */ 1018*493d26c5SEd Maste #define rpfl2uc_dafmsw_adr(filter) (0x00005114 + (filter) * 0x8) 1019*493d26c5SEd Maste /* bitmask for bitfield l2_uc_da{f}_msw[f:0] */ 1020*493d26c5SEd Maste #define rpfl2uc_dafmsw_msk 0x0000ffff 1021*493d26c5SEd Maste /* lower bit position of bitfield l2_uc_da{f}_msw[f:0] */ 1022*493d26c5SEd Maste #define rpfl2uc_dafmsw_shift 0 1023*493d26c5SEd Maste 1024*493d26c5SEd Maste /* rx l2_mc_accept_all bitfield definitions 1025*493d26c5SEd Maste * Preprocessor definitions for the bitfield "l2_mc_accept_all". 1026*493d26c5SEd Maste * PORT="pif_rpf_l2_mc_all_accept_i" 1027*493d26c5SEd Maste */ 1028*493d26c5SEd Maste 1029*493d26c5SEd Maste /* Register address for bitfield l2_mc_accept_all */ 1030*493d26c5SEd Maste #define rpfl2mc_accept_all_adr 0x00005270 1031*493d26c5SEd Maste /* Bitmask for bitfield l2_mc_accept_all */ 1032*493d26c5SEd Maste #define rpfl2mc_accept_all_msk 0x00004000 1033*493d26c5SEd Maste /* Inverted bitmask for bitfield l2_mc_accept_all */ 1034*493d26c5SEd Maste #define rpfl2mc_accept_all_mskn 0xFFFFBFFF 1035*493d26c5SEd Maste /* Lower bit position of bitfield l2_mc_accept_all */ 1036*493d26c5SEd Maste #define rpfl2mc_accept_all_shift 14 1037*493d26c5SEd Maste /* Width of bitfield l2_mc_accept_all */ 1038*493d26c5SEd Maste #define rpfl2mc_accept_all_width 1 1039*493d26c5SEd Maste /* Default value of bitfield l2_mc_accept_all */ 1040*493d26c5SEd Maste #define rpfl2mc_accept_all_default 0x0 1041*493d26c5SEd Maste 1042*493d26c5SEd Maste /* width of bitfield rx_tc_up{t}[2:0] */ 1043*493d26c5SEd Maste #define rpf_rpb_rx_tc_upt_width 3 1044*493d26c5SEd Maste /* default value of bitfield rx_tc_up{t}[2:0] */ 1045*493d26c5SEd Maste #define rpf_rpb_rx_tc_upt_default 0x0 1046*493d26c5SEd Maste 1047*493d26c5SEd Maste /* rx rss_key_addr[4:0] bitfield definitions 1048*493d26c5SEd Maste * preprocessor definitions for the bitfield "rss_key_addr[4:0]". 1049*493d26c5SEd Maste * port="pif_rpf_rss_key_addr_i[4:0]" 1050*493d26c5SEd Maste */ 1051*493d26c5SEd Maste 1052*493d26c5SEd Maste /* register address for bitfield rss_key_addr[4:0] */ 1053*493d26c5SEd Maste #define rpf_rss_key_addr_adr 0x000054d0 1054*493d26c5SEd Maste /* bitmask for bitfield rss_key_addr[4:0] */ 1055*493d26c5SEd Maste #define rpf_rss_key_addr_msk 0x0000001f 1056*493d26c5SEd Maste /* inverted bitmask for bitfield rss_key_addr[4:0] */ 1057*493d26c5SEd Maste #define rpf_rss_key_addr_mskn 0xffffffe0 1058*493d26c5SEd Maste /* lower bit position of bitfield rss_key_addr[4:0] */ 1059*493d26c5SEd Maste #define rpf_rss_key_addr_shift 0 1060*493d26c5SEd Maste /* width of bitfield rss_key_addr[4:0] */ 1061*493d26c5SEd Maste #define rpf_rss_key_addr_width 5 1062*493d26c5SEd Maste /* default value of bitfield rss_key_addr[4:0] */ 1063*493d26c5SEd Maste #define rpf_rss_key_addr_default 0x0 1064*493d26c5SEd Maste 1065*493d26c5SEd Maste /* rx rss_key_wr_data[1f:0] bitfield definitions 1066*493d26c5SEd Maste * preprocessor definitions for the bitfield "rss_key_wr_data[1f:0]". 1067*493d26c5SEd Maste * port="pif_rpf_rss_key_wr_data_i[31:0]" 1068*493d26c5SEd Maste */ 1069*493d26c5SEd Maste 1070*493d26c5SEd Maste /* register address for bitfield rss_key_wr_data[1f:0] */ 1071*493d26c5SEd Maste #define rpf_rss_key_wr_data_adr 0x000054d4 1072*493d26c5SEd Maste /* bitmask for bitfield rss_key_wr_data[1f:0] */ 1073*493d26c5SEd Maste #define rpf_rss_key_wr_data_msk 0xffffffff 1074*493d26c5SEd Maste /* inverted bitmask for bitfield rss_key_wr_data[1f:0] */ 1075*493d26c5SEd Maste #define rpf_rss_key_wr_data_mskn 0x00000000 1076*493d26c5SEd Maste /* lower bit position of bitfield rss_key_wr_data[1f:0] */ 1077*493d26c5SEd Maste #define rpf_rss_key_wr_data_shift 0 1078*493d26c5SEd Maste /* width of bitfield rss_key_wr_data[1f:0] */ 1079*493d26c5SEd Maste #define rpf_rss_key_wr_data_width 32 1080*493d26c5SEd Maste /* default value of bitfield rss_key_wr_data[1f:0] */ 1081*493d26c5SEd Maste #define rpf_rss_key_wr_data_default 0x0 1082*493d26c5SEd Maste 1083*493d26c5SEd Maste /* rx rss_key_rd_data[1f:0] bitfield definitions 1084*493d26c5SEd Maste * preprocessor definitions for the bitfield "rss_key_rd_data[1f:0]". 1085*493d26c5SEd Maste * port="pif_rpf_rss_key_wr_data_i[31:0]" 1086*493d26c5SEd Maste */ 1087*493d26c5SEd Maste 1088*493d26c5SEd Maste /* register address for bitfield rss_key_rd_data[1f:0] */ 1089*493d26c5SEd Maste #define rpf_rss_key_rd_data_adr 0x000054d8 1090*493d26c5SEd Maste /* bitmask for bitfield rss_key_rd_data[1f:0] */ 1091*493d26c5SEd Maste #define rpf_rss_key_rd_data_msk 0xffffffff 1092*493d26c5SEd Maste /* inverted bitmask for bitfield rss_key_rd_data[1f:0] */ 1093*493d26c5SEd Maste #define rpf_rss_key_rd_data_mskn 0x00000000 1094*493d26c5SEd Maste /* lower bit position of bitfield rss_key_rd_data[1f:0] */ 1095*493d26c5SEd Maste #define rpf_rss_key_rd_data_shift 0 1096*493d26c5SEd Maste /* width of bitfield rss_key_rd_data[1f:0] */ 1097*493d26c5SEd Maste #define rpf_rss_key_rd_data_width 32 1098*493d26c5SEd Maste /* default value of bitfield rss_key_rd_data[1f:0] */ 1099*493d26c5SEd Maste #define rpf_rss_key_rd_data_default 0x0 1100*493d26c5SEd Maste 1101*493d26c5SEd Maste /* rx rss_key_wr_en_i bitfield definitions 1102*493d26c5SEd Maste * preprocessor definitions for the bitfield "rss_key_wr_en_i". 1103*493d26c5SEd Maste * port="pif_rpf_rss_key_wr_en_i" 1104*493d26c5SEd Maste */ 1105*493d26c5SEd Maste 1106*493d26c5SEd Maste /* register address for bitfield rss_key_wr_en_i */ 1107*493d26c5SEd Maste #define rpf_rss_key_wr_eni_adr 0x000054d0 1108*493d26c5SEd Maste /* bitmask for bitfield rss_key_wr_en_i */ 1109*493d26c5SEd Maste #define rpf_rss_key_wr_eni_msk 0x00000020 1110*493d26c5SEd Maste /* inverted bitmask for bitfield rss_key_wr_en_i */ 1111*493d26c5SEd Maste #define rpf_rss_key_wr_eni_mskn 0xffffffdf 1112*493d26c5SEd Maste /* lower bit position of bitfield rss_key_wr_en_i */ 1113*493d26c5SEd Maste #define rpf_rss_key_wr_eni_shift 5 1114*493d26c5SEd Maste /* width of bitfield rss_key_wr_en_i */ 1115*493d26c5SEd Maste #define rpf_rss_key_wr_eni_width 1 1116*493d26c5SEd Maste /* default value of bitfield rss_key_wr_en_i */ 1117*493d26c5SEd Maste #define rpf_rss_key_wr_eni_default 0x0 1118*493d26c5SEd Maste 1119*493d26c5SEd Maste /* rx rss_redir_addr[3:0] bitfield definitions 1120*493d26c5SEd Maste * preprocessor definitions for the bitfield "rss_redir_addr[3:0]". 1121*493d26c5SEd Maste * port="pif_rpf_rss_redir_addr_i[3:0]" 1122*493d26c5SEd Maste */ 1123*493d26c5SEd Maste 1124*493d26c5SEd Maste /* register address for bitfield rss_redir_addr[3:0] */ 1125*493d26c5SEd Maste #define rpf_rss_redir_addr_adr 0x000054e0 1126*493d26c5SEd Maste /* bitmask for bitfield rss_redir_addr[3:0] */ 1127*493d26c5SEd Maste #define rpf_rss_redir_addr_msk 0x0000000f 1128*493d26c5SEd Maste /* inverted bitmask for bitfield rss_redir_addr[3:0] */ 1129*493d26c5SEd Maste #define rpf_rss_redir_addr_mskn 0xfffffff0 1130*493d26c5SEd Maste /* lower bit position of bitfield rss_redir_addr[3:0] */ 1131*493d26c5SEd Maste #define rpf_rss_redir_addr_shift 0 1132*493d26c5SEd Maste /* width of bitfield rss_redir_addr[3:0] */ 1133*493d26c5SEd Maste #define rpf_rss_redir_addr_width 4 1134*493d26c5SEd Maste /* default value of bitfield rss_redir_addr[3:0] */ 1135*493d26c5SEd Maste #define rpf_rss_redir_addr_default 0x0 1136*493d26c5SEd Maste 1137*493d26c5SEd Maste /* rx rss_redir_wr_data[f:0] bitfield definitions 1138*493d26c5SEd Maste * preprocessor definitions for the bitfield "rss_redir_wr_data[f:0]". 1139*493d26c5SEd Maste * port="pif_rpf_rss_redir_wr_data_i[15:0]" 1140*493d26c5SEd Maste */ 1141*493d26c5SEd Maste 1142*493d26c5SEd Maste /* register address for bitfield rss_redir_wr_data[f:0] */ 1143*493d26c5SEd Maste #define rpf_rss_redir_wr_data_adr 0x000054e4 1144*493d26c5SEd Maste /* bitmask for bitfield rss_redir_wr_data[f:0] */ 1145*493d26c5SEd Maste #define rpf_rss_redir_wr_data_msk 0x0000ffff 1146*493d26c5SEd Maste /* inverted bitmask for bitfield rss_redir_wr_data[f:0] */ 1147*493d26c5SEd Maste #define rpf_rss_redir_wr_data_mskn 0xffff0000 1148*493d26c5SEd Maste /* lower bit position of bitfield rss_redir_wr_data[f:0] */ 1149*493d26c5SEd Maste #define rpf_rss_redir_wr_data_shift 0 1150*493d26c5SEd Maste /* width of bitfield rss_redir_wr_data[f:0] */ 1151*493d26c5SEd Maste #define rpf_rss_redir_wr_data_width 16 1152*493d26c5SEd Maste /* default value of bitfield rss_redir_wr_data[f:0] */ 1153*493d26c5SEd Maste #define rpf_rss_redir_wr_data_default 0x0 1154*493d26c5SEd Maste 1155*493d26c5SEd Maste /* rx rss_redir_wr_en_i bitfield definitions 1156*493d26c5SEd Maste * preprocessor definitions for the bitfield "rss_redir_wr_en_i". 1157*493d26c5SEd Maste * port="pif_rpf_rss_redir_wr_en_i" 1158*493d26c5SEd Maste */ 1159*493d26c5SEd Maste 1160*493d26c5SEd Maste /* register address for bitfield rss_redir_wr_en_i */ 1161*493d26c5SEd Maste #define rpf_rss_redir_wr_eni_adr 0x000054e0 1162*493d26c5SEd Maste /* bitmask for bitfield rss_redir_wr_en_i */ 1163*493d26c5SEd Maste #define rpf_rss_redir_wr_eni_msk 0x00000010 1164*493d26c5SEd Maste /* inverted bitmask for bitfield rss_redir_wr_en_i */ 1165*493d26c5SEd Maste #define rpf_rss_redir_wr_eni_mskn 0xffffffef 1166*493d26c5SEd Maste /* lower bit position of bitfield rss_redir_wr_en_i */ 1167*493d26c5SEd Maste #define rpf_rss_redir_wr_eni_shift 4 1168*493d26c5SEd Maste /* width of bitfield rss_redir_wr_en_i */ 1169*493d26c5SEd Maste #define rpf_rss_redir_wr_eni_width 1 1170*493d26c5SEd Maste /* default value of bitfield rss_redir_wr_en_i */ 1171*493d26c5SEd Maste #define rpf_rss_redir_wr_eni_default 0x0 1172*493d26c5SEd Maste 1173*493d26c5SEd Maste /* rx tpo_rpf_sys_loopback bitfield definitions 1174*493d26c5SEd Maste * preprocessor definitions for the bitfield "tpo_rpf_sys_loopback". 1175*493d26c5SEd Maste * port="pif_rpf_tpo_pkt_sys_lbk_i" 1176*493d26c5SEd Maste */ 1177*493d26c5SEd Maste 1178*493d26c5SEd Maste /* register address for bitfield tpo_rpf_sys_loopback */ 1179*493d26c5SEd Maste #define rpf_tpo_rpf_sys_lbk_adr 0x00005000 1180*493d26c5SEd Maste /* bitmask for bitfield tpo_rpf_sys_loopback */ 1181*493d26c5SEd Maste #define rpf_tpo_rpf_sys_lbk_msk 0x00000100 1182*493d26c5SEd Maste /* inverted bitmask for bitfield tpo_rpf_sys_loopback */ 1183*493d26c5SEd Maste #define rpf_tpo_rpf_sys_lbk_mskn 0xfffffeff 1184*493d26c5SEd Maste /* lower bit position of bitfield tpo_rpf_sys_loopback */ 1185*493d26c5SEd Maste #define rpf_tpo_rpf_sys_lbk_shift 8 1186*493d26c5SEd Maste /* width of bitfield tpo_rpf_sys_loopback */ 1187*493d26c5SEd Maste #define rpf_tpo_rpf_sys_lbk_width 1 1188*493d26c5SEd Maste /* default value of bitfield tpo_rpf_sys_loopback */ 1189*493d26c5SEd Maste #define rpf_tpo_rpf_sys_lbk_default 0x0 1190*493d26c5SEd Maste 1191*493d26c5SEd Maste /* rx vl_inner_tpid[f:0] bitfield definitions 1192*493d26c5SEd Maste * preprocessor definitions for the bitfield "vl_inner_tpid[f:0]". 1193*493d26c5SEd Maste * port="pif_rpf_vl_inner_tpid_i[15:0]" 1194*493d26c5SEd Maste */ 1195*493d26c5SEd Maste 1196*493d26c5SEd Maste /* register address for bitfield vl_inner_tpid[f:0] */ 1197*493d26c5SEd Maste #define rpf_vl_inner_tpid_adr 0x00005284 1198*493d26c5SEd Maste /* bitmask for bitfield vl_inner_tpid[f:0] */ 1199*493d26c5SEd Maste #define rpf_vl_inner_tpid_msk 0x0000ffff 1200*493d26c5SEd Maste /* inverted bitmask for bitfield vl_inner_tpid[f:0] */ 1201*493d26c5SEd Maste #define rpf_vl_inner_tpid_mskn 0xffff0000 1202*493d26c5SEd Maste /* lower bit position of bitfield vl_inner_tpid[f:0] */ 1203*493d26c5SEd Maste #define rpf_vl_inner_tpid_shift 0 1204*493d26c5SEd Maste /* width of bitfield vl_inner_tpid[f:0] */ 1205*493d26c5SEd Maste #define rpf_vl_inner_tpid_width 16 1206*493d26c5SEd Maste /* default value of bitfield vl_inner_tpid[f:0] */ 1207*493d26c5SEd Maste #define rpf_vl_inner_tpid_default 0x8100 1208*493d26c5SEd Maste 1209*493d26c5SEd Maste /* rx vl_outer_tpid[f:0] bitfield definitions 1210*493d26c5SEd Maste * preprocessor definitions for the bitfield "vl_outer_tpid[f:0]". 1211*493d26c5SEd Maste * port="pif_rpf_vl_outer_tpid_i[15:0]" 1212*493d26c5SEd Maste */ 1213*493d26c5SEd Maste 1214*493d26c5SEd Maste /* register address for bitfield vl_outer_tpid[f:0] */ 1215*493d26c5SEd Maste #define rpf_vl_outer_tpid_adr 0x00005284 1216*493d26c5SEd Maste /* bitmask for bitfield vl_outer_tpid[f:0] */ 1217*493d26c5SEd Maste #define rpf_vl_outer_tpid_msk 0xffff0000 1218*493d26c5SEd Maste /* inverted bitmask for bitfield vl_outer_tpid[f:0] */ 1219*493d26c5SEd Maste #define rpf_vl_outer_tpid_mskn 0x0000ffff 1220*493d26c5SEd Maste /* lower bit position of bitfield vl_outer_tpid[f:0] */ 1221*493d26c5SEd Maste #define rpf_vl_outer_tpid_shift 16 1222*493d26c5SEd Maste /* width of bitfield vl_outer_tpid[f:0] */ 1223*493d26c5SEd Maste #define rpf_vl_outer_tpid_width 16 1224*493d26c5SEd Maste /* default value of bitfield vl_outer_tpid[f:0] */ 1225*493d26c5SEd Maste #define rpf_vl_outer_tpid_default 0x88a8 1226*493d26c5SEd Maste 1227*493d26c5SEd Maste /* rx vl_promis_mode bitfield definitions 1228*493d26c5SEd Maste * preprocessor definitions for the bitfield "vl_promis_mode". 1229*493d26c5SEd Maste * port="pif_rpf_vl_promis_mode_i" 1230*493d26c5SEd Maste */ 1231*493d26c5SEd Maste 1232*493d26c5SEd Maste /* register address for bitfield vl_promis_mode */ 1233*493d26c5SEd Maste #define rpf_vl_promis_mode_adr 0x00005280 1234*493d26c5SEd Maste /* bitmask for bitfield vl_promis_mode */ 1235*493d26c5SEd Maste #define rpf_vl_promis_mode_msk 0x00000002 1236*493d26c5SEd Maste /* inverted bitmask for bitfield vl_promis_mode */ 1237*493d26c5SEd Maste #define rpf_vl_promis_mode_mskn 0xfffffffd 1238*493d26c5SEd Maste /* lower bit position of bitfield vl_promis_mode */ 1239*493d26c5SEd Maste #define rpf_vl_promis_mode_shift 1 1240*493d26c5SEd Maste /* width of bitfield vl_promis_mode */ 1241*493d26c5SEd Maste #define rpf_vl_promis_mode_width 1 1242*493d26c5SEd Maste /* default value of bitfield vl_promis_mode */ 1243*493d26c5SEd Maste #define rpf_vl_promis_mode_default 0x0 1244*493d26c5SEd Maste 1245*493d26c5SEd Maste /* RX vl_accept_untagged_mode Bitfield Definitions 1246*493d26c5SEd Maste * Preprocessor definitions for the bitfield "vl_accept_untagged_mode". 1247*493d26c5SEd Maste * PORT="pif_rpf_vl_accept_untagged_i" 1248*493d26c5SEd Maste */ 1249*493d26c5SEd Maste 1250*493d26c5SEd Maste /* Register address for bitfield vl_accept_untagged_mode */ 1251*493d26c5SEd Maste #define rpf_vl_accept_untagged_mode_adr 0x00005280 1252*493d26c5SEd Maste /* Bitmask for bitfield vl_accept_untagged_mode */ 1253*493d26c5SEd Maste #define rpf_vl_accept_untagged_mode_msk 0x00000004 1254*493d26c5SEd Maste /* Inverted bitmask for bitfield vl_accept_untagged_mode */ 1255*493d26c5SEd Maste #define rpf_vl_accept_untagged_mode_mskn 0xFFFFFFFB 1256*493d26c5SEd Maste /* Lower bit position of bitfield vl_accept_untagged_mode */ 1257*493d26c5SEd Maste #define rpf_vl_accept_untagged_mode_shift 2 1258*493d26c5SEd Maste /* Width of bitfield vl_accept_untagged_mode */ 1259*493d26c5SEd Maste #define rpf_vl_accept_untagged_mode_width 1 1260*493d26c5SEd Maste /* Default value of bitfield vl_accept_untagged_mode */ 1261*493d26c5SEd Maste #define rpf_vl_accept_untagged_mode_default 0x0 1262*493d26c5SEd Maste 1263*493d26c5SEd Maste /* rX vl_untagged_act[2:0] Bitfield Definitions 1264*493d26c5SEd Maste * Preprocessor definitions for the bitfield "vl_untagged_act[2:0]". 1265*493d26c5SEd Maste * PORT="pif_rpf_vl_untagged_act_i[2:0]" 1266*493d26c5SEd Maste */ 1267*493d26c5SEd Maste 1268*493d26c5SEd Maste /* Register address for bitfield vl_untagged_act[2:0] */ 1269*493d26c5SEd Maste #define rpf_vl_untagged_act_adr 0x00005280 1270*493d26c5SEd Maste /* Bitmask for bitfield vl_untagged_act[2:0] */ 1271*493d26c5SEd Maste #define rpf_vl_untagged_act_msk 0x00000038 1272*493d26c5SEd Maste /* Inverted bitmask for bitfield vl_untagged_act[2:0] */ 1273*493d26c5SEd Maste #define rpf_vl_untagged_act_mskn 0xFFFFFFC7 1274*493d26c5SEd Maste /* Lower bit position of bitfield vl_untagged_act[2:0] */ 1275*493d26c5SEd Maste #define rpf_vl_untagged_act_shift 3 1276*493d26c5SEd Maste /* Width of bitfield vl_untagged_act[2:0] */ 1277*493d26c5SEd Maste #define rpf_vl_untagged_act_width 3 1278*493d26c5SEd Maste /* Default value of bitfield vl_untagged_act[2:0] */ 1279*493d26c5SEd Maste #define rpf_vl_untagged_act_default 0x0 1280*493d26c5SEd Maste 1281*493d26c5SEd Maste /* RX vl_en{F} Bitfield Definitions 1282*493d26c5SEd Maste * Preprocessor definitions for the bitfield "vl_en{F}". 1283*493d26c5SEd Maste * Parameter: filter {F} | stride size 0x4 | range [0, 15] 1284*493d26c5SEd Maste * PORT="pif_rpf_vl_en_i[0]" 1285*493d26c5SEd Maste */ 1286*493d26c5SEd Maste 1287*493d26c5SEd Maste /* Register address for bitfield vl_en{F} */ 1288*493d26c5SEd Maste #define rpf_vl_en_f_adr(filter) (0x00005290 + (filter) * 0x4) 1289*493d26c5SEd Maste /* Bitmask for bitfield vl_en{F} */ 1290*493d26c5SEd Maste #define rpf_vl_en_f_msk 0x80000000 1291*493d26c5SEd Maste /* Inverted bitmask for bitfield vl_en{F} */ 1292*493d26c5SEd Maste #define rpf_vl_en_f_mskn 0x7FFFFFFF 1293*493d26c5SEd Maste /* Lower bit position of bitfield vl_en{F} */ 1294*493d26c5SEd Maste #define rpf_vl_en_f_shift 31 1295*493d26c5SEd Maste /* Width of bitfield vl_en{F} */ 1296*493d26c5SEd Maste #define rpf_vl_en_f_width 1 1297*493d26c5SEd Maste /* Default value of bitfield vl_en{F} */ 1298*493d26c5SEd Maste #define rpf_vl_en_f_default 0x0 1299*493d26c5SEd Maste 1300*493d26c5SEd Maste /* RX vl_act{F}[2:0] Bitfield Definitions 1301*493d26c5SEd Maste * Preprocessor definitions for the bitfield "vl_act{F}[2:0]". 1302*493d26c5SEd Maste * Parameter: filter {F} | stride size 0x4 | range [0, 15] 1303*493d26c5SEd Maste * PORT="pif_rpf_vl_act0_i[2:0]" 1304*493d26c5SEd Maste */ 1305*493d26c5SEd Maste 1306*493d26c5SEd Maste /* Register address for bitfield vl_act{F}[2:0] */ 1307*493d26c5SEd Maste #define rpf_vl_act_f_adr(filter) (0x00005290 + (filter) * 0x4) 1308*493d26c5SEd Maste /* Bitmask for bitfield vl_act{F}[2:0] */ 1309*493d26c5SEd Maste #define rpf_vl_act_f_msk 0x00070000 1310*493d26c5SEd Maste /* Inverted bitmask for bitfield vl_act{F}[2:0] */ 1311*493d26c5SEd Maste #define rpf_vl_act_f_mskn 0xFFF8FFFF 1312*493d26c5SEd Maste /* Lower bit position of bitfield vl_act{F}[2:0] */ 1313*493d26c5SEd Maste #define rpf_vl_act_f_shift 16 1314*493d26c5SEd Maste /* Width of bitfield vl_act{F}[2:0] */ 1315*493d26c5SEd Maste #define rpf_vl_act_f_width 3 1316*493d26c5SEd Maste /* Default value of bitfield vl_act{F}[2:0] */ 1317*493d26c5SEd Maste #define rpf_vl_act_f_default 0x0 1318*493d26c5SEd Maste 1319*493d26c5SEd Maste /* RX vl_id{F}[B:0] Bitfield Definitions 1320*493d26c5SEd Maste * Preprocessor definitions for the bitfield "vl_id{F}[B:0]". 1321*493d26c5SEd Maste * Parameter: filter {F} | stride size 0x4 | range [0, 15] 1322*493d26c5SEd Maste * PORT="pif_rpf_vl_id0_i[11:0]" 1323*493d26c5SEd Maste */ 1324*493d26c5SEd Maste 1325*493d26c5SEd Maste /* Register address for bitfield vl_id{F}[B:0] */ 1326*493d26c5SEd Maste #define rpf_vl_id_f_adr(filter) (0x00005290 + (filter) * 0x4) 1327*493d26c5SEd Maste /* Bitmask for bitfield vl_id{F}[B:0] */ 1328*493d26c5SEd Maste #define rpf_vl_id_f_msk 0x00000FFF 1329*493d26c5SEd Maste /* Inverted bitmask for bitfield vl_id{F}[B:0] */ 1330*493d26c5SEd Maste #define rpf_vl_id_f_mskn 0xFFFFF000 1331*493d26c5SEd Maste /* Lower bit position of bitfield vl_id{F}[B:0] */ 1332*493d26c5SEd Maste #define rpf_vl_id_f_shift 0 1333*493d26c5SEd Maste /* Width of bitfield vl_id{F}[B:0] */ 1334*493d26c5SEd Maste #define rpf_vl_id_f_width 12 1335*493d26c5SEd Maste /* Default value of bitfield vl_id{F}[B:0] */ 1336*493d26c5SEd Maste #define rpf_vl_id_f_default 0x0 1337*493d26c5SEd Maste 1338*493d26c5SEd Maste /* RX et_en{F} Bitfield Definitions 1339*493d26c5SEd Maste * Preprocessor definitions for the bitfield "et_en{F}". 1340*493d26c5SEd Maste * Parameter: filter {F} | stride size 0x4 | range [0, 15] 1341*493d26c5SEd Maste * PORT="pif_rpf_et_en_i[0]" 1342*493d26c5SEd Maste */ 1343*493d26c5SEd Maste 1344*493d26c5SEd Maste /* Register address for bitfield et_en{F} */ 1345*493d26c5SEd Maste #define rpf_et_en_f_adr(filter) (0x00005300 + (filter) * 0x4) 1346*493d26c5SEd Maste /* Bitmask for bitfield et_en{F} */ 1347*493d26c5SEd Maste #define rpf_et_en_f_msk 0x80000000 1348*493d26c5SEd Maste /* Inverted bitmask for bitfield et_en{F} */ 1349*493d26c5SEd Maste #define rpf_et_en_f_mskn 0x7FFFFFFF 1350*493d26c5SEd Maste /* Lower bit position of bitfield et_en{F} */ 1351*493d26c5SEd Maste #define rpf_et_en_f_shift 31 1352*493d26c5SEd Maste /* Width of bitfield et_en{F} */ 1353*493d26c5SEd Maste #define rpf_et_en_f_width 1 1354*493d26c5SEd Maste /* Default value of bitfield et_en{F} */ 1355*493d26c5SEd Maste #define rpf_et_en_f_default 0x0 1356*493d26c5SEd Maste 1357*493d26c5SEd Maste /* rx et_en{f} bitfield definitions 1358*493d26c5SEd Maste * preprocessor definitions for the bitfield "et_en{f}". 1359*493d26c5SEd Maste * parameter: filter {f} | stride size 0x4 | range [0, 15] 1360*493d26c5SEd Maste * port="pif_rpf_et_en_i[0]" 1361*493d26c5SEd Maste */ 1362*493d26c5SEd Maste 1363*493d26c5SEd Maste /* register address for bitfield et_en{f} */ 1364*493d26c5SEd Maste #define rpf_et_enf_adr(filter) (0x00005300 + (filter) * 0x4) 1365*493d26c5SEd Maste /* bitmask for bitfield et_en{f} */ 1366*493d26c5SEd Maste #define rpf_et_enf_msk 0x80000000 1367*493d26c5SEd Maste /* inverted bitmask for bitfield et_en{f} */ 1368*493d26c5SEd Maste #define rpf_et_enf_mskn 0x7fffffff 1369*493d26c5SEd Maste /* lower bit position of bitfield et_en{f} */ 1370*493d26c5SEd Maste #define rpf_et_enf_shift 31 1371*493d26c5SEd Maste /* width of bitfield et_en{f} */ 1372*493d26c5SEd Maste #define rpf_et_enf_width 1 1373*493d26c5SEd Maste /* default value of bitfield et_en{f} */ 1374*493d26c5SEd Maste #define rpf_et_enf_default 0x0 1375*493d26c5SEd Maste 1376*493d26c5SEd Maste /* rx et_up{f}_en bitfield definitions 1377*493d26c5SEd Maste * preprocessor definitions for the bitfield "et_up{f}_en". 1378*493d26c5SEd Maste * parameter: filter {f} | stride size 0x4 | range [0, 15] 1379*493d26c5SEd Maste * port="pif_rpf_et_up_en_i[0]" 1380*493d26c5SEd Maste */ 1381*493d26c5SEd Maste 1382*493d26c5SEd Maste /* register address for bitfield et_up{f}_en */ 1383*493d26c5SEd Maste #define rpf_et_upfen_adr(filter) (0x00005300 + (filter) * 0x4) 1384*493d26c5SEd Maste /* bitmask for bitfield et_up{f}_en */ 1385*493d26c5SEd Maste #define rpf_et_upfen_msk 0x40000000 1386*493d26c5SEd Maste /* inverted bitmask for bitfield et_up{f}_en */ 1387*493d26c5SEd Maste #define rpf_et_upfen_mskn 0xbfffffff 1388*493d26c5SEd Maste /* lower bit position of bitfield et_up{f}_en */ 1389*493d26c5SEd Maste #define rpf_et_upfen_shift 30 1390*493d26c5SEd Maste /* width of bitfield et_up{f}_en */ 1391*493d26c5SEd Maste #define rpf_et_upfen_width 1 1392*493d26c5SEd Maste /* default value of bitfield et_up{f}_en */ 1393*493d26c5SEd Maste #define rpf_et_upfen_default 0x0 1394*493d26c5SEd Maste 1395*493d26c5SEd Maste /* rx et_rxq{f}_en bitfield definitions 1396*493d26c5SEd Maste * preprocessor definitions for the bitfield "et_rxq{f}_en". 1397*493d26c5SEd Maste * parameter: filter {f} | stride size 0x4 | range [0, 15] 1398*493d26c5SEd Maste * port="pif_rpf_et_rxq_en_i[0]" 1399*493d26c5SEd Maste */ 1400*493d26c5SEd Maste 1401*493d26c5SEd Maste /* register address for bitfield et_rxq{f}_en */ 1402*493d26c5SEd Maste #define rpf_et_rxqfen_adr(filter) (0x00005300 + (filter) * 0x4) 1403*493d26c5SEd Maste /* bitmask for bitfield et_rxq{f}_en */ 1404*493d26c5SEd Maste #define rpf_et_rxqfen_msk 0x20000000 1405*493d26c5SEd Maste /* inverted bitmask for bitfield et_rxq{f}_en */ 1406*493d26c5SEd Maste #define rpf_et_rxqfen_mskn 0xdfffffff 1407*493d26c5SEd Maste /* lower bit position of bitfield et_rxq{f}_en */ 1408*493d26c5SEd Maste #define rpf_et_rxqfen_shift 29 1409*493d26c5SEd Maste /* width of bitfield et_rxq{f}_en */ 1410*493d26c5SEd Maste #define rpf_et_rxqfen_width 1 1411*493d26c5SEd Maste /* default value of bitfield et_rxq{f}_en */ 1412*493d26c5SEd Maste #define rpf_et_rxqfen_default 0x0 1413*493d26c5SEd Maste 1414*493d26c5SEd Maste /* rx et_up{f}[2:0] bitfield definitions 1415*493d26c5SEd Maste * preprocessor definitions for the bitfield "et_up{f}[2:0]". 1416*493d26c5SEd Maste * parameter: filter {f} | stride size 0x4 | range [0, 15] 1417*493d26c5SEd Maste * port="pif_rpf_et_up0_i[2:0]" 1418*493d26c5SEd Maste */ 1419*493d26c5SEd Maste 1420*493d26c5SEd Maste /* register address for bitfield et_up{f}[2:0] */ 1421*493d26c5SEd Maste #define rpf_et_upf_adr(filter) (0x00005300 + (filter) * 0x4) 1422*493d26c5SEd Maste /* bitmask for bitfield et_up{f}[2:0] */ 1423*493d26c5SEd Maste #define rpf_et_upf_msk 0x1c000000 1424*493d26c5SEd Maste /* inverted bitmask for bitfield et_up{f}[2:0] */ 1425*493d26c5SEd Maste #define rpf_et_upf_mskn 0xe3ffffff 1426*493d26c5SEd Maste /* lower bit position of bitfield et_up{f}[2:0] */ 1427*493d26c5SEd Maste #define rpf_et_upf_shift 26 1428*493d26c5SEd Maste /* width of bitfield et_up{f}[2:0] */ 1429*493d26c5SEd Maste #define rpf_et_upf_width 3 1430*493d26c5SEd Maste /* default value of bitfield et_up{f}[2:0] */ 1431*493d26c5SEd Maste #define rpf_et_upf_default 0x0 1432*493d26c5SEd Maste 1433*493d26c5SEd Maste /* rx et_rxq{f}[4:0] bitfield definitions 1434*493d26c5SEd Maste * preprocessor definitions for the bitfield "et_rxq{f}[4:0]". 1435*493d26c5SEd Maste * parameter: filter {f} | stride size 0x4 | range [0, 15] 1436*493d26c5SEd Maste * port="pif_rpf_et_rxq0_i[4:0]" 1437*493d26c5SEd Maste */ 1438*493d26c5SEd Maste 1439*493d26c5SEd Maste /* register address for bitfield et_rxq{f}[4:0] */ 1440*493d26c5SEd Maste #define rpf_et_rxqf_adr(filter) (0x00005300 + (filter) * 0x4) 1441*493d26c5SEd Maste /* bitmask for bitfield et_rxq{f}[4:0] */ 1442*493d26c5SEd Maste #define rpf_et_rxqf_msk 0x01f00000 1443*493d26c5SEd Maste /* inverted bitmask for bitfield et_rxq{f}[4:0] */ 1444*493d26c5SEd Maste #define rpf_et_rxqf_mskn 0xfe0fffff 1445*493d26c5SEd Maste /* lower bit position of bitfield et_rxq{f}[4:0] */ 1446*493d26c5SEd Maste #define rpf_et_rxqf_shift 20 1447*493d26c5SEd Maste /* width of bitfield et_rxq{f}[4:0] */ 1448*493d26c5SEd Maste #define rpf_et_rxqf_width 5 1449*493d26c5SEd Maste /* default value of bitfield et_rxq{f}[4:0] */ 1450*493d26c5SEd Maste #define rpf_et_rxqf_default 0x0 1451*493d26c5SEd Maste 1452*493d26c5SEd Maste /* rx et_mng_rxq{f} bitfield definitions 1453*493d26c5SEd Maste * preprocessor definitions for the bitfield "et_mng_rxq{f}". 1454*493d26c5SEd Maste * parameter: filter {f} | stride size 0x4 | range [0, 15] 1455*493d26c5SEd Maste * port="pif_rpf_et_mng_rxq_i[0]" 1456*493d26c5SEd Maste */ 1457*493d26c5SEd Maste 1458*493d26c5SEd Maste /* register address for bitfield et_mng_rxq{f} */ 1459*493d26c5SEd Maste #define rpf_et_mng_rxqf_adr(filter) (0x00005300 + (filter) * 0x4) 1460*493d26c5SEd Maste /* bitmask for bitfield et_mng_rxq{f} */ 1461*493d26c5SEd Maste #define rpf_et_mng_rxqf_msk 0x00080000 1462*493d26c5SEd Maste /* inverted bitmask for bitfield et_mng_rxq{f} */ 1463*493d26c5SEd Maste #define rpf_et_mng_rxqf_mskn 0xfff7ffff 1464*493d26c5SEd Maste /* lower bit position of bitfield et_mng_rxq{f} */ 1465*493d26c5SEd Maste #define rpf_et_mng_rxqf_shift 19 1466*493d26c5SEd Maste /* width of bitfield et_mng_rxq{f} */ 1467*493d26c5SEd Maste #define rpf_et_mng_rxqf_width 1 1468*493d26c5SEd Maste /* default value of bitfield et_mng_rxq{f} */ 1469*493d26c5SEd Maste #define rpf_et_mng_rxqf_default 0x0 1470*493d26c5SEd Maste 1471*493d26c5SEd Maste /* rx et_act{f}[2:0] bitfield definitions 1472*493d26c5SEd Maste * preprocessor definitions for the bitfield "et_act{f}[2:0]". 1473*493d26c5SEd Maste * parameter: filter {f} | stride size 0x4 | range [0, 15] 1474*493d26c5SEd Maste * port="pif_rpf_et_act0_i[2:0]" 1475*493d26c5SEd Maste */ 1476*493d26c5SEd Maste 1477*493d26c5SEd Maste /* register address for bitfield et_act{f}[2:0] */ 1478*493d26c5SEd Maste #define rpf_et_actf_adr(filter) (0x00005300 + (filter) * 0x4) 1479*493d26c5SEd Maste /* bitmask for bitfield et_act{f}[2:0] */ 1480*493d26c5SEd Maste #define rpf_et_actf_msk 0x00070000 1481*493d26c5SEd Maste /* inverted bitmask for bitfield et_act{f}[2:0] */ 1482*493d26c5SEd Maste #define rpf_et_actf_mskn 0xfff8ffff 1483*493d26c5SEd Maste /* lower bit position of bitfield et_act{f}[2:0] */ 1484*493d26c5SEd Maste #define rpf_et_actf_shift 16 1485*493d26c5SEd Maste /* width of bitfield et_act{f}[2:0] */ 1486*493d26c5SEd Maste #define rpf_et_actf_width 3 1487*493d26c5SEd Maste /* default value of bitfield et_act{f}[2:0] */ 1488*493d26c5SEd Maste #define rpf_et_actf_default 0x0 1489*493d26c5SEd Maste 1490*493d26c5SEd Maste /* rx et_val{f}[f:0] bitfield definitions 1491*493d26c5SEd Maste * preprocessor definitions for the bitfield "et_val{f}[f:0]". 1492*493d26c5SEd Maste * parameter: filter {f} | stride size 0x4 | range [0, 15] 1493*493d26c5SEd Maste * port="pif_rpf_et_val0_i[15:0]" 1494*493d26c5SEd Maste */ 1495*493d26c5SEd Maste 1496*493d26c5SEd Maste /* register address for bitfield et_val{f}[f:0] */ 1497*493d26c5SEd Maste #define rpf_et_valf_adr(filter) (0x00005300 + (filter) * 0x4) 1498*493d26c5SEd Maste /* bitmask for bitfield et_val{f}[f:0] */ 1499*493d26c5SEd Maste #define rpf_et_valf_msk 0x0000ffff 1500*493d26c5SEd Maste /* inverted bitmask for bitfield et_val{f}[f:0] */ 1501*493d26c5SEd Maste #define rpf_et_valf_mskn 0xffff0000 1502*493d26c5SEd Maste /* lower bit position of bitfield et_val{f}[f:0] */ 1503*493d26c5SEd Maste #define rpf_et_valf_shift 0 1504*493d26c5SEd Maste /* width of bitfield et_val{f}[f:0] */ 1505*493d26c5SEd Maste #define rpf_et_valf_width 16 1506*493d26c5SEd Maste /* default value of bitfield et_val{f}[f:0] */ 1507*493d26c5SEd Maste #define rpf_et_valf_default 0x0 1508*493d26c5SEd Maste 1509*493d26c5SEd Maste /* rx vl_inner_tpid[f:0] bitfield definitions 1510*493d26c5SEd Maste * preprocessor definitions for the bitfield "vl_inner_tpid[f:0]". 1511*493d26c5SEd Maste * port="pif_rpf_vl_inner_tpid_i[15:0]" 1512*493d26c5SEd Maste */ 1513*493d26c5SEd Maste 1514*493d26c5SEd Maste /* register address for bitfield vl_inner_tpid[f:0] */ 1515*493d26c5SEd Maste #define HW_ATL_RPF_VL_INNER_TPID_ADR 0x00005284 1516*493d26c5SEd Maste /* bitmask for bitfield vl_inner_tpid[f:0] */ 1517*493d26c5SEd Maste #define HW_ATL_RPF_VL_INNER_TPID_MSK 0x0000ffff 1518*493d26c5SEd Maste /* inverted bitmask for bitfield vl_inner_tpid[f:0] */ 1519*493d26c5SEd Maste #define HW_ATL_RPF_VL_INNER_TPID_MSKN 0xffff0000 1520*493d26c5SEd Maste /* lower bit position of bitfield vl_inner_tpid[f:0] */ 1521*493d26c5SEd Maste #define HW_ATL_RPF_VL_INNER_TPID_SHIFT 0 1522*493d26c5SEd Maste /* width of bitfield vl_inner_tpid[f:0] */ 1523*493d26c5SEd Maste #define HW_ATL_RPF_VL_INNER_TPID_WIDTH 16 1524*493d26c5SEd Maste /* default value of bitfield vl_inner_tpid[f:0] */ 1525*493d26c5SEd Maste #define HW_ATL_RPF_VL_INNER_TPID_DEFAULT 0x8100 1526*493d26c5SEd Maste 1527*493d26c5SEd Maste /* rx vl_outer_tpid[f:0] bitfield definitions 1528*493d26c5SEd Maste * preprocessor definitions for the bitfield "vl_outer_tpid[f:0]". 1529*493d26c5SEd Maste * port="pif_rpf_vl_outer_tpid_i[15:0]" 1530*493d26c5SEd Maste */ 1531*493d26c5SEd Maste 1532*493d26c5SEd Maste /* register address for bitfield vl_outer_tpid[f:0] */ 1533*493d26c5SEd Maste #define HW_ATL_RPF_VL_OUTER_TPID_ADR 0x00005284 1534*493d26c5SEd Maste /* bitmask for bitfield vl_outer_tpid[f:0] */ 1535*493d26c5SEd Maste #define HW_ATL_RPF_VL_OUTER_TPID_MSK 0xffff0000 1536*493d26c5SEd Maste /* inverted bitmask for bitfield vl_outer_tpid[f:0] */ 1537*493d26c5SEd Maste #define HW_ATL_RPF_VL_OUTER_TPID_MSKN 0x0000ffff 1538*493d26c5SEd Maste /* lower bit position of bitfield vl_outer_tpid[f:0] */ 1539*493d26c5SEd Maste #define HW_ATL_RPF_VL_OUTER_TPID_SHIFT 16 1540*493d26c5SEd Maste /* width of bitfield vl_outer_tpid[f:0] */ 1541*493d26c5SEd Maste #define HW_ATL_RPF_VL_OUTER_TPID_WIDTH 16 1542*493d26c5SEd Maste /* default value of bitfield vl_outer_tpid[f:0] */ 1543*493d26c5SEd Maste #define HW_ATL_RPF_VL_OUTER_TPID_DEFAULT 0x88a8 1544*493d26c5SEd Maste 1545*493d26c5SEd Maste /* rx vl_promis_mode bitfield definitions 1546*493d26c5SEd Maste * preprocessor definitions for the bitfield "vl_promis_mode". 1547*493d26c5SEd Maste * port="pif_rpf_vl_promis_mode_i" 1548*493d26c5SEd Maste */ 1549*493d26c5SEd Maste 1550*493d26c5SEd Maste /* register address for bitfield vl_promis_mode */ 1551*493d26c5SEd Maste #define HW_ATL_RPF_VL_PROMIS_MODE_ADR 0x00005280 1552*493d26c5SEd Maste /* bitmask for bitfield vl_promis_mode */ 1553*493d26c5SEd Maste #define HW_ATL_RPF_VL_PROMIS_MODE_MSK 0x00000002 1554*493d26c5SEd Maste /* inverted bitmask for bitfield vl_promis_mode */ 1555*493d26c5SEd Maste #define HW_ATL_RPF_VL_PROMIS_MODE_MSKN 0xfffffffd 1556*493d26c5SEd Maste /* lower bit position of bitfield vl_promis_mode */ 1557*493d26c5SEd Maste #define HW_ATL_RPF_VL_PROMIS_MODE_SHIFT 1 1558*493d26c5SEd Maste /* width of bitfield vl_promis_mode */ 1559*493d26c5SEd Maste #define HW_ATL_RPF_VL_PROMIS_MODE_WIDTH 1 1560*493d26c5SEd Maste /* default value of bitfield vl_promis_mode */ 1561*493d26c5SEd Maste #define HW_ATL_RPF_VL_PROMIS_MODE_DEFAULT 0x0 1562*493d26c5SEd Maste 1563*493d26c5SEd Maste /* RX vl_accept_untagged_mode Bitfield Definitions 1564*493d26c5SEd Maste * Preprocessor definitions for the bitfield "vl_accept_untagged_mode". 1565*493d26c5SEd Maste * PORT="pif_rpf_vl_accept_untagged_i" 1566*493d26c5SEd Maste */ 1567*493d26c5SEd Maste 1568*493d26c5SEd Maste /* Register address for bitfield vl_accept_untagged_mode */ 1569*493d26c5SEd Maste #define HW_ATL_RPF_VL_ACCEPT_UNTAGGED_MODE_ADR 0x00005280 1570*493d26c5SEd Maste /* Bitmask for bitfield vl_accept_untagged_mode */ 1571*493d26c5SEd Maste #define HW_ATL_RPF_VL_ACCEPT_UNTAGGED_MODE_MSK 0x00000004 1572*493d26c5SEd Maste /* Inverted bitmask for bitfield vl_accept_untagged_mode */ 1573*493d26c5SEd Maste #define HW_ATL_RPF_VL_ACCEPT_UNTAGGED_MODE_MSKN 0xFFFFFFFB 1574*493d26c5SEd Maste /* Lower bit position of bitfield vl_accept_untagged_mode */ 1575*493d26c5SEd Maste #define HW_ATL_RPF_VL_ACCEPT_UNTAGGED_MODE_SHIFT 2 1576*493d26c5SEd Maste /* Width of bitfield vl_accept_untagged_mode */ 1577*493d26c5SEd Maste #define HW_ATL_RPF_VL_ACCEPT_UNTAGGED_MODE_WIDTH 1 1578*493d26c5SEd Maste /* Default value of bitfield vl_accept_untagged_mode */ 1579*493d26c5SEd Maste #define HW_ATL_RPF_VL_ACCEPT_UNTAGGED_MODE_DEFAULT 0x0 1580*493d26c5SEd Maste 1581*493d26c5SEd Maste /* rX vl_untagged_act[2:0] Bitfield Definitions 1582*493d26c5SEd Maste * Preprocessor definitions for the bitfield "vl_untagged_act[2:0]". 1583*493d26c5SEd Maste * PORT="pif_rpf_vl_untagged_act_i[2:0]" 1584*493d26c5SEd Maste */ 1585*493d26c5SEd Maste 1586*493d26c5SEd Maste /* Register address for bitfield vl_untagged_act[2:0] */ 1587*493d26c5SEd Maste #define HW_ATL_RPF_VL_UNTAGGED_ACT_ADR 0x00005280 1588*493d26c5SEd Maste /* Bitmask for bitfield vl_untagged_act[2:0] */ 1589*493d26c5SEd Maste #define HW_ATL_RPF_VL_UNTAGGED_ACT_MSK 0x00000038 1590*493d26c5SEd Maste /* Inverted bitmask for bitfield vl_untagged_act[2:0] */ 1591*493d26c5SEd Maste #define HW_ATL_RPF_VL_UNTAGGED_ACT_MSKN 0xFFFFFFC7 1592*493d26c5SEd Maste /* Lower bit position of bitfield vl_untagged_act[2:0] */ 1593*493d26c5SEd Maste #define HW_ATL_RPF_VL_UNTAGGED_ACT_SHIFT 3 1594*493d26c5SEd Maste /* Width of bitfield vl_untagged_act[2:0] */ 1595*493d26c5SEd Maste #define HW_ATL_RPF_VL_UNTAGGED_ACT_WIDTH 3 1596*493d26c5SEd Maste /* Default value of bitfield vl_untagged_act[2:0] */ 1597*493d26c5SEd Maste #define HW_ATL_RPF_VL_UNTAGGED_ACT_DEFAULT 0x0 1598*493d26c5SEd Maste 1599*493d26c5SEd Maste /* RX vl_en{F} Bitfield Definitions 1600*493d26c5SEd Maste * Preprocessor definitions for the bitfield "vl_en{F}". 1601*493d26c5SEd Maste * Parameter: filter {F} | stride size 0x4 | range [0, 15] 1602*493d26c5SEd Maste * PORT="pif_rpf_vl_en_i[0]" 1603*493d26c5SEd Maste */ 1604*493d26c5SEd Maste 1605*493d26c5SEd Maste /* Register address for bitfield vl_en{F} */ 1606*493d26c5SEd Maste #define HW_ATL_RPF_VL_EN_F_ADR(filter) (0x00005290 + (filter) * 0x4) 1607*493d26c5SEd Maste /* Bitmask for bitfield vl_en{F} */ 1608*493d26c5SEd Maste #define HW_ATL_RPF_VL_EN_F_MSK 0x80000000 1609*493d26c5SEd Maste /* Inverted bitmask for bitfield vl_en{F} */ 1610*493d26c5SEd Maste #define HW_ATL_RPF_VL_EN_F_MSKN 0x7FFFFFFF 1611*493d26c5SEd Maste /* Lower bit position of bitfield vl_en{F} */ 1612*493d26c5SEd Maste #define HW_ATL_RPF_VL_EN_F_SHIFT 31 1613*493d26c5SEd Maste /* Width of bitfield vl_en{F} */ 1614*493d26c5SEd Maste #define HW_ATL_RPF_VL_EN_F_WIDTH 1 1615*493d26c5SEd Maste /* Default value of bitfield vl_en{F} */ 1616*493d26c5SEd Maste #define HW_ATL_RPF_VL_EN_F_DEFAULT 0x0 1617*493d26c5SEd Maste 1618*493d26c5SEd Maste /* RX vl_act{F}[2:0] Bitfield Definitions 1619*493d26c5SEd Maste * Preprocessor definitions for the bitfield "vl_act{F}[2:0]". 1620*493d26c5SEd Maste * Parameter: filter {F} | stride size 0x4 | range [0, 15] 1621*493d26c5SEd Maste * PORT="pif_rpf_vl_act0_i[2:0]" 1622*493d26c5SEd Maste */ 1623*493d26c5SEd Maste 1624*493d26c5SEd Maste /* Register address for bitfield vl_act{F}[2:0] */ 1625*493d26c5SEd Maste #define HW_ATL_RPF_VL_ACT_F_ADR(filter) (0x00005290 + (filter) * 0x4) 1626*493d26c5SEd Maste /* Bitmask for bitfield vl_act{F}[2:0] */ 1627*493d26c5SEd Maste #define HW_ATL_RPF_VL_ACT_F_MSK 0x00070000 1628*493d26c5SEd Maste /* Inverted bitmask for bitfield vl_act{F}[2:0] */ 1629*493d26c5SEd Maste #define HW_ATL_RPF_VL_ACT_F_MSKN 0xFFF8FFFF 1630*493d26c5SEd Maste /* Lower bit position of bitfield vl_act{F}[2:0] */ 1631*493d26c5SEd Maste #define HW_ATL_RPF_VL_ACT_F_SHIFT 16 1632*493d26c5SEd Maste /* Width of bitfield vl_act{F}[2:0] */ 1633*493d26c5SEd Maste #define HW_ATL_RPF_VL_ACT_F_WIDTH 3 1634*493d26c5SEd Maste /* Default value of bitfield vl_act{F}[2:0] */ 1635*493d26c5SEd Maste #define HW_ATL_RPF_VL_ACT_F_DEFAULT 0x0 1636*493d26c5SEd Maste 1637*493d26c5SEd Maste /* RX vl_id{F}[B:0] Bitfield Definitions 1638*493d26c5SEd Maste * Preprocessor definitions for the bitfield "vl_id{F}[B:0]". 1639*493d26c5SEd Maste * Parameter: filter {F} | stride size 0x4 | range [0, 15] 1640*493d26c5SEd Maste * PORT="pif_rpf_vl_id0_i[11:0]" 1641*493d26c5SEd Maste */ 1642*493d26c5SEd Maste 1643*493d26c5SEd Maste /* Register address for bitfield vl_id{F}[B:0] */ 1644*493d26c5SEd Maste #define HW_ATL_RPF_VL_ID_F_ADR(filter) (0x00005290 + (filter) * 0x4) 1645*493d26c5SEd Maste /* Bitmask for bitfield vl_id{F}[B:0] */ 1646*493d26c5SEd Maste #define HW_ATL_RPF_VL_ID_F_MSK 0x00000FFF 1647*493d26c5SEd Maste /* Inverted bitmask for bitfield vl_id{F}[B:0] */ 1648*493d26c5SEd Maste #define HW_ATL_RPF_VL_ID_F_MSKN 0xFFFFF000 1649*493d26c5SEd Maste /* Lower bit position of bitfield vl_id{F}[B:0] */ 1650*493d26c5SEd Maste #define HW_ATL_RPF_VL_ID_F_SHIFT 0 1651*493d26c5SEd Maste /* Width of bitfield vl_id{F}[B:0] */ 1652*493d26c5SEd Maste #define HW_ATL_RPF_VL_ID_F_WIDTH 12 1653*493d26c5SEd Maste /* Default value of bitfield vl_id{F}[B:0] */ 1654*493d26c5SEd Maste #define HW_ATL_RPF_VL_ID_F_DEFAULT 0x0 1655*493d26c5SEd Maste 1656*493d26c5SEd Maste /* RX vl_rxq_en{F} Bitfield Definitions 1657*493d26c5SEd Maste * Preprocessor definitions for the bitfield "vl_rxq{F}". 1658*493d26c5SEd Maste * Parameter: filter {F} | stride size 0x4 | range [0, 15] 1659*493d26c5SEd Maste * PORT="pif_rpf_vl_rxq_en_i" 1660*493d26c5SEd Maste */ 1661*493d26c5SEd Maste 1662*493d26c5SEd Maste /* Register address for bitfield vl_rxq_en{F} */ 1663*493d26c5SEd Maste #define HW_ATL_RPF_VL_RXQ_EN_F_ADR(filter) (0x00005290 + (filter) * 0x4) 1664*493d26c5SEd Maste /* Bitmask for bitfield vl_rxq_en{F} */ 1665*493d26c5SEd Maste #define HW_ATL_RPF_VL_RXQ_EN_F_MSK 0x10000000 1666*493d26c5SEd Maste /* Inverted bitmask for bitfield vl_rxq_en{F}[ */ 1667*493d26c5SEd Maste #define HW_ATL_RPF_VL_RXQ_EN_F_MSKN 0xEFFFFFFF 1668*493d26c5SEd Maste /* Lower bit position of bitfield vl_rxq_en{F} */ 1669*493d26c5SEd Maste #define HW_ATL_RPF_VL_RXQ_EN_F_SHIFT 28 1670*493d26c5SEd Maste /* Width of bitfield vl_rxq_en{F} */ 1671*493d26c5SEd Maste #define HW_ATL_RPF_VL_RXQ_EN_F_WIDTH 1 1672*493d26c5SEd Maste /* Default value of bitfield vl_rxq_en{F} */ 1673*493d26c5SEd Maste #define HW_ATL_RPF_VL_RXQ_EN_F_DEFAULT 0x0 1674*493d26c5SEd Maste 1675*493d26c5SEd Maste /* RX vl_rxq{F}[4:0] Bitfield Definitions 1676*493d26c5SEd Maste * Preprocessor definitions for the bitfield "vl_rxq{F}[4:0]". 1677*493d26c5SEd Maste * Parameter: filter {F} | stride size 0x4 | range [0, 15] 1678*493d26c5SEd Maste * PORT="pif_rpf_vl_rxq0_i[4:0]" 1679*493d26c5SEd Maste */ 1680*493d26c5SEd Maste 1681*493d26c5SEd Maste /* Register address for bitfield vl_rxq{F}[4:0] */ 1682*493d26c5SEd Maste #define HW_ATL_RPF_VL_RXQ_F_ADR(filter) (0x00005290 + (filter) * 0x4) 1683*493d26c5SEd Maste /* Bitmask for bitfield vl_rxq{F}[4:0] */ 1684*493d26c5SEd Maste #define HW_ATL_RPF_VL_RXQ_F_MSK 0x01F00000 1685*493d26c5SEd Maste /* Inverted bitmask for bitfield vl_rxq{F}[4:0] */ 1686*493d26c5SEd Maste #define HW_ATL_RPF_VL_RXQ_F_MSKN 0xFE0FFFFF 1687*493d26c5SEd Maste /* Lower bit position of bitfield vl_rxq{F}[4:0] */ 1688*493d26c5SEd Maste #define HW_ATL_RPF_VL_RXQ_F_SHIFT 20 1689*493d26c5SEd Maste /* Width of bitfield vl_rxw{F}[4:0] */ 1690*493d26c5SEd Maste #define HW_ATL_RPF_VL_RXQ_F_WIDTH 5 1691*493d26c5SEd Maste /* Default value of bitfield vl_rxq{F}[4:0] */ 1692*493d26c5SEd Maste #define HW_ATL_RPF_VL_RXQ_F_DEFAULT 0x0 1693*493d26c5SEd Maste 1694*493d26c5SEd Maste /* rx et_en{f} bitfield definitions 1695*493d26c5SEd Maste * preprocessor definitions for the bitfield "et_en{f}". 1696*493d26c5SEd Maste * parameter: filter {f} | stride size 0x4 | range [0, 15] 1697*493d26c5SEd Maste * port="pif_rpf_et_en_i[0]" 1698*493d26c5SEd Maste */ 1699*493d26c5SEd Maste 1700*493d26c5SEd Maste /* register address for bitfield et_en{f} */ 1701*493d26c5SEd Maste #define HW_ATL_RPF_ET_ENF_ADR(filter) (0x00005300 + (filter) * 0x4) 1702*493d26c5SEd Maste /* bitmask for bitfield et_en{f} */ 1703*493d26c5SEd Maste #define HW_ATL_RPF_ET_ENF_MSK 0x80000000 1704*493d26c5SEd Maste /* inverted bitmask for bitfield et_en{f} */ 1705*493d26c5SEd Maste #define HW_ATL_RPF_ET_ENF_MSKN 0x7fffffff 1706*493d26c5SEd Maste /* lower bit position of bitfield et_en{f} */ 1707*493d26c5SEd Maste #define HW_ATL_RPF_ET_ENF_SHIFT 31 1708*493d26c5SEd Maste /* width of bitfield et_en{f} */ 1709*493d26c5SEd Maste #define HW_ATL_RPF_ET_ENF_WIDTH 1 1710*493d26c5SEd Maste /* default value of bitfield et_en{f} */ 1711*493d26c5SEd Maste #define HW_ATL_RPF_ET_ENF_DEFAULT 0x0 1712*493d26c5SEd Maste 1713*493d26c5SEd Maste /* rx et_up{f}_en bitfield definitions 1714*493d26c5SEd Maste * preprocessor definitions for the bitfield "et_up{f}_en". 1715*493d26c5SEd Maste * parameter: filter {f} | stride size 0x4 | range [0, 15] 1716*493d26c5SEd Maste * port="pif_rpf_et_up_en_i[0]" 1717*493d26c5SEd Maste */ 1718*493d26c5SEd Maste 1719*493d26c5SEd Maste /* register address for bitfield et_up{f}_en */ 1720*493d26c5SEd Maste #define HW_ATL_RPF_ET_UPFEN_ADR(filter) (0x00005300 + (filter) * 0x4) 1721*493d26c5SEd Maste /* bitmask for bitfield et_up{f}_en */ 1722*493d26c5SEd Maste #define HW_ATL_RPF_ET_UPFEN_MSK 0x40000000 1723*493d26c5SEd Maste /* inverted bitmask for bitfield et_up{f}_en */ 1724*493d26c5SEd Maste #define HW_ATL_RPF_ET_UPFEN_MSKN 0xbfffffff 1725*493d26c5SEd Maste /* lower bit position of bitfield et_up{f}_en */ 1726*493d26c5SEd Maste #define HW_ATL_RPF_ET_UPFEN_SHIFT 30 1727*493d26c5SEd Maste /* width of bitfield et_up{f}_en */ 1728*493d26c5SEd Maste #define HW_ATL_RPF_ET_UPFEN_WIDTH 1 1729*493d26c5SEd Maste /* default value of bitfield et_up{f}_en */ 1730*493d26c5SEd Maste #define HW_ATL_RPF_ET_UPFEN_DEFAULT 0x0 1731*493d26c5SEd Maste 1732*493d26c5SEd Maste /* rx et_rxq{f}_en bitfield definitions 1733*493d26c5SEd Maste * preprocessor definitions for the bitfield "et_rxq{f}_en". 1734*493d26c5SEd Maste * parameter: filter {f} | stride size 0x4 | range [0, 15] 1735*493d26c5SEd Maste * port="pif_rpf_et_rxq_en_i[0]" 1736*493d26c5SEd Maste */ 1737*493d26c5SEd Maste 1738*493d26c5SEd Maste /* register address for bitfield et_rxq{f}_en */ 1739*493d26c5SEd Maste #define HW_ATL_RPF_ET_RXQFEN_ADR(filter) (0x00005300 + (filter) * 0x4) 1740*493d26c5SEd Maste /* bitmask for bitfield et_rxq{f}_en */ 1741*493d26c5SEd Maste #define HW_ATL_RPF_ET_RXQFEN_MSK 0x20000000 1742*493d26c5SEd Maste /* inverted bitmask for bitfield et_rxq{f}_en */ 1743*493d26c5SEd Maste #define HW_ATL_RPF_ET_RXQFEN_MSKN 0xdfffffff 1744*493d26c5SEd Maste /* lower bit position of bitfield et_rxq{f}_en */ 1745*493d26c5SEd Maste #define HW_ATL_RPF_ET_RXQFEN_SHIFT 29 1746*493d26c5SEd Maste /* width of bitfield et_rxq{f}_en */ 1747*493d26c5SEd Maste #define HW_ATL_RPF_ET_RXQFEN_WIDTH 1 1748*493d26c5SEd Maste /* default value of bitfield et_rxq{f}_en */ 1749*493d26c5SEd Maste #define HW_ATL_RPF_ET_RXQFEN_DEFAULT 0x0 1750*493d26c5SEd Maste 1751*493d26c5SEd Maste /* rx et_up{f}[2:0] bitfield definitions 1752*493d26c5SEd Maste * preprocessor definitions for the bitfield "et_up{f}[2:0]". 1753*493d26c5SEd Maste * parameter: filter {f} | stride size 0x4 | range [0, 15] 1754*493d26c5SEd Maste * port="pif_rpf_et_up0_i[2:0]" 1755*493d26c5SEd Maste */ 1756*493d26c5SEd Maste 1757*493d26c5SEd Maste /* register address for bitfield et_up{f}[2:0] */ 1758*493d26c5SEd Maste #define HW_ATL_RPF_ET_UPF_ADR(filter) (0x00005300 + (filter) * 0x4) 1759*493d26c5SEd Maste /* bitmask for bitfield et_up{f}[2:0] */ 1760*493d26c5SEd Maste #define HW_ATL_RPF_ET_UPF_MSK 0x1c000000 1761*493d26c5SEd Maste /* inverted bitmask for bitfield et_up{f}[2:0] */ 1762*493d26c5SEd Maste #define HW_ATL_RPF_ET_UPF_MSKN 0xe3ffffff 1763*493d26c5SEd Maste /* lower bit position of bitfield et_up{f}[2:0] */ 1764*493d26c5SEd Maste #define HW_ATL_RPF_ET_UPF_SHIFT 26 1765*493d26c5SEd Maste /* width of bitfield et_up{f}[2:0] */ 1766*493d26c5SEd Maste #define HW_ATL_RPF_ET_UPF_WIDTH 3 1767*493d26c5SEd Maste /* default value of bitfield et_up{f}[2:0] */ 1768*493d26c5SEd Maste #define HW_ATL_RPF_ET_UPF_DEFAULT 0x0 1769*493d26c5SEd Maste 1770*493d26c5SEd Maste /* rx et_rxq{f}[4:0] bitfield definitions 1771*493d26c5SEd Maste * preprocessor definitions for the bitfield "et_rxq{f}[4:0]". 1772*493d26c5SEd Maste * parameter: filter {f} | stride size 0x4 | range [0, 15] 1773*493d26c5SEd Maste * port="pif_rpf_et_rxq0_i[4:0]" 1774*493d26c5SEd Maste */ 1775*493d26c5SEd Maste 1776*493d26c5SEd Maste /* register address for bitfield et_rxq{f}[4:0] */ 1777*493d26c5SEd Maste #define HW_ATL_RPF_ET_RXQF_ADR(filter) (0x00005300 + (filter) * 0x4) 1778*493d26c5SEd Maste /* bitmask for bitfield et_rxq{f}[4:0] */ 1779*493d26c5SEd Maste #define HW_ATL_RPF_ET_RXQF_MSK 0x01f00000 1780*493d26c5SEd Maste /* inverted bitmask for bitfield et_rxq{f}[4:0] */ 1781*493d26c5SEd Maste #define HW_ATL_RPF_ET_RXQF_MSKN 0xfe0fffff 1782*493d26c5SEd Maste /* lower bit position of bitfield et_rxq{f}[4:0] */ 1783*493d26c5SEd Maste #define HW_ATL_RPF_ET_RXQF_SHIFT 20 1784*493d26c5SEd Maste /* width of bitfield et_rxq{f}[4:0] */ 1785*493d26c5SEd Maste #define HW_ATL_RPF_ET_RXQF_WIDTH 5 1786*493d26c5SEd Maste /* default value of bitfield et_rxq{f}[4:0] */ 1787*493d26c5SEd Maste #define HW_ATL_RPF_ET_RXQF_DEFAULT 0x0 1788*493d26c5SEd Maste 1789*493d26c5SEd Maste /* rx et_mng_rxq{f} bitfield definitions 1790*493d26c5SEd Maste * preprocessor definitions for the bitfield "et_mng_rxq{f}". 1791*493d26c5SEd Maste * parameter: filter {f} | stride size 0x4 | range [0, 15] 1792*493d26c5SEd Maste * port="pif_rpf_et_mng_rxq_i[0]" 1793*493d26c5SEd Maste */ 1794*493d26c5SEd Maste 1795*493d26c5SEd Maste /* register address for bitfield et_mng_rxq{f} */ 1796*493d26c5SEd Maste #define HW_ATL_RPF_ET_MNG_RXQF_ADR(filter) (0x00005300 + (filter) * 0x4) 1797*493d26c5SEd Maste /* bitmask for bitfield et_mng_rxq{f} */ 1798*493d26c5SEd Maste #define HW_ATL_RPF_ET_MNG_RXQF_MSK 0x00080000 1799*493d26c5SEd Maste /* inverted bitmask for bitfield et_mng_rxq{f} */ 1800*493d26c5SEd Maste #define HW_ATL_RPF_ET_MNG_RXQF_MSKN 0xfff7ffff 1801*493d26c5SEd Maste /* lower bit position of bitfield et_mng_rxq{f} */ 1802*493d26c5SEd Maste #define HW_ATL_RPF_ET_MNG_RXQF_SHIFT 19 1803*493d26c5SEd Maste /* width of bitfield et_mng_rxq{f} */ 1804*493d26c5SEd Maste #define HW_ATL_RPF_ET_MNG_RXQF_WIDTH 1 1805*493d26c5SEd Maste /* default value of bitfield et_mng_rxq{f} */ 1806*493d26c5SEd Maste #define HW_ATL_RPF_ET_MNG_RXQF_DEFAULT 0x0 1807*493d26c5SEd Maste 1808*493d26c5SEd Maste /* rx et_act{f}[2:0] bitfield definitions 1809*493d26c5SEd Maste * preprocessor definitions for the bitfield "et_act{f}[2:0]". 1810*493d26c5SEd Maste * parameter: filter {f} | stride size 0x4 | range [0, 15] 1811*493d26c5SEd Maste * port="pif_rpf_et_act0_i[2:0]" 1812*493d26c5SEd Maste */ 1813*493d26c5SEd Maste 1814*493d26c5SEd Maste /* register address for bitfield et_act{f}[2:0] */ 1815*493d26c5SEd Maste #define HW_ATL_RPF_ET_ACTF_ADR(filter) (0x00005300 + (filter) * 0x4) 1816*493d26c5SEd Maste /* bitmask for bitfield et_act{f}[2:0] */ 1817*493d26c5SEd Maste #define HW_ATL_RPF_ET_ACTF_MSK 0x00070000 1818*493d26c5SEd Maste /* inverted bitmask for bitfield et_act{f}[2:0] */ 1819*493d26c5SEd Maste #define HW_ATL_RPF_ET_ACTF_MSKN 0xfff8ffff 1820*493d26c5SEd Maste /* lower bit position of bitfield et_act{f}[2:0] */ 1821*493d26c5SEd Maste #define HW_ATL_RPF_ET_ACTF_SHIFT 16 1822*493d26c5SEd Maste /* width of bitfield et_act{f}[2:0] */ 1823*493d26c5SEd Maste #define HW_ATL_RPF_ET_ACTF_WIDTH 3 1824*493d26c5SEd Maste /* default value of bitfield et_act{f}[2:0] */ 1825*493d26c5SEd Maste #define HW_ATL_RPF_ET_ACTF_DEFAULT 0x0 1826*493d26c5SEd Maste 1827*493d26c5SEd Maste /* rx et_val{f}[f:0] bitfield definitions 1828*493d26c5SEd Maste * preprocessor definitions for the bitfield "et_val{f}[f:0]". 1829*493d26c5SEd Maste * parameter: filter {f} | stride size 0x4 | range [0, 15] 1830*493d26c5SEd Maste * port="pif_rpf_et_val0_i[15:0]" 1831*493d26c5SEd Maste */ 1832*493d26c5SEd Maste 1833*493d26c5SEd Maste /* register address for bitfield et_val{f}[f:0] */ 1834*493d26c5SEd Maste #define HW_ATL_RPF_ET_VALF_ADR(filter) (0x00005300 + (filter) * 0x4) 1835*493d26c5SEd Maste /* bitmask for bitfield et_val{f}[f:0] */ 1836*493d26c5SEd Maste #define HW_ATL_RPF_ET_VALF_MSK 0x0000ffff 1837*493d26c5SEd Maste /* inverted bitmask for bitfield et_val{f}[f:0] */ 1838*493d26c5SEd Maste #define HW_ATL_RPF_ET_VALF_MSKN 0xffff0000 1839*493d26c5SEd Maste /* lower bit position of bitfield et_val{f}[f:0] */ 1840*493d26c5SEd Maste #define HW_ATL_RPF_ET_VALF_SHIFT 0 1841*493d26c5SEd Maste /* width of bitfield et_val{f}[f:0] */ 1842*493d26c5SEd Maste #define HW_ATL_RPF_ET_VALF_WIDTH 16 1843*493d26c5SEd Maste /* default value of bitfield et_val{f}[f:0] */ 1844*493d26c5SEd Maste #define HW_ATL_RPF_ET_VALF_DEFAULT 0x0 1845*493d26c5SEd Maste 1846*493d26c5SEd Maste /* RX l3_l4_en{F} Bitfield Definitions 1847*493d26c5SEd Maste * Preprocessor definitions for the bitfield "l3_l4_en{F}". 1848*493d26c5SEd Maste * Parameter: filter {F} | stride size 0x4 | range [0, 7] 1849*493d26c5SEd Maste * PORT="pif_rpf_l3_l4_en_i[0]" 1850*493d26c5SEd Maste */ 1851*493d26c5SEd Maste 1852*493d26c5SEd Maste /* Register address for bitfield l3_l4_en{F} */ 1853*493d26c5SEd Maste #define HW_ATL_RPF_L3_L4_ENF_ADR(filter) (0x00005380u + (filter) * 0x4) 1854*493d26c5SEd Maste /* Bitmask for bitfield l3_l4_en{F} */ 1855*493d26c5SEd Maste #define HW_ATL_RPF_L3_L4_ENF_MSK 0x80000000u 1856*493d26c5SEd Maste /* Inverted bitmask for bitfield l3_l4_en{F} */ 1857*493d26c5SEd Maste #define HW_ATL_RPF_L3_L4_ENF_MSKN 0x7FFFFFFFu 1858*493d26c5SEd Maste /* Lower bit position of bitfield l3_l4_en{F} */ 1859*493d26c5SEd Maste #define HW_ATL_RPF_L3_L4_ENF_SHIFT 31 1860*493d26c5SEd Maste /* Width of bitfield l3_l4_en{F} */ 1861*493d26c5SEd Maste #define HW_ATL_RPF_L3_L4_ENF_WIDTH 1 1862*493d26c5SEd Maste /* Default value of bitfield l3_l4_en{F} */ 1863*493d26c5SEd Maste #define HW_ATL_RPF_L3_L4_ENF_DEFAULT 0x0 1864*493d26c5SEd Maste 1865*493d26c5SEd Maste /* RX l3_v6_en{F} Bitfield Definitions 1866*493d26c5SEd Maste * Preprocessor definitions for the bitfield "l3_v6_en{F}". 1867*493d26c5SEd Maste * Parameter: filter {F} | stride size 0x4 | range [0, 7] 1868*493d26c5SEd Maste * PORT="pif_rpf_l3_v6_en_i[0]" 1869*493d26c5SEd Maste */ 1870*493d26c5SEd Maste /* Register address for bitfield l3_v6_en{F} */ 1871*493d26c5SEd Maste #define HW_ATL_RPF_L3_V6_ENF_ADR(filter) (0x00005380u + (filter) * 0x4) 1872*493d26c5SEd Maste /* Bitmask for bitfield l3_v6_en{F} */ 1873*493d26c5SEd Maste #define HW_ATL_RPF_L3_V6_ENF_MSK 0x40000000u 1874*493d26c5SEd Maste /* Inverted bitmask for bitfield l3_v6_en{F} */ 1875*493d26c5SEd Maste #define HW_ATL_RPF_L3_V6_ENF_MSKN 0xBFFFFFFFu 1876*493d26c5SEd Maste /* Lower bit position of bitfield l3_v6_en{F} */ 1877*493d26c5SEd Maste #define HW_ATL_RPF_L3_V6_ENF_SHIFT 30 1878*493d26c5SEd Maste /* Width of bitfield l3_v6_en{F} */ 1879*493d26c5SEd Maste #define HW_ATL_RPF_L3_V6_ENF_WIDTH 1 1880*493d26c5SEd Maste /* Default value of bitfield l3_v6_en{F} */ 1881*493d26c5SEd Maste #define HW_ATL_RPF_L3_V6_ENF_DEFAULT 0x0 1882*493d26c5SEd Maste 1883*493d26c5SEd Maste /* RX l3_sa{F}_en Bitfield Definitions 1884*493d26c5SEd Maste * Preprocessor definitions for the bitfield "l3_sa{F}_en". 1885*493d26c5SEd Maste * Parameter: filter {F} | stride size 0x4 | range [0, 7] 1886*493d26c5SEd Maste * PORT="pif_rpf_l3_sa_en_i[0]" 1887*493d26c5SEd Maste */ 1888*493d26c5SEd Maste 1889*493d26c5SEd Maste /* Register address for bitfield l3_sa{F}_en */ 1890*493d26c5SEd Maste #define HW_ATL_RPF_L3_SAF_EN_ADR(filter) (0x00005380u + (filter) * 0x4) 1891*493d26c5SEd Maste /* Bitmask for bitfield l3_sa{F}_en */ 1892*493d26c5SEd Maste #define HW_ATL_RPF_L3_SAF_EN_MSK 0x20000000u 1893*493d26c5SEd Maste /* Inverted bitmask for bitfield l3_sa{F}_en */ 1894*493d26c5SEd Maste #define HW_ATL_RPF_L3_SAF_EN_MSKN 0xDFFFFFFFu 1895*493d26c5SEd Maste /* Lower bit position of bitfield l3_sa{F}_en */ 1896*493d26c5SEd Maste #define HW_ATL_RPF_L3_SAF_EN_SHIFT 29 1897*493d26c5SEd Maste /* Width of bitfield l3_sa{F}_en */ 1898*493d26c5SEd Maste #define HW_ATL_RPF_L3_SAF_EN_WIDTH 1 1899*493d26c5SEd Maste /* Default value of bitfield l3_sa{F}_en */ 1900*493d26c5SEd Maste #define HW_ATL_RPF_L3_SAF_EN_DEFAULT 0x0 1901*493d26c5SEd Maste 1902*493d26c5SEd Maste /* RX l3_da{F}_en Bitfield Definitions 1903*493d26c5SEd Maste * Preprocessor definitions for the bitfield "l3_da{F}_en". 1904*493d26c5SEd Maste * Parameter: filter {F} | stride size 0x4 | range [0, 7] 1905*493d26c5SEd Maste * PORT="pif_rpf_l3_da_en_i[0]" 1906*493d26c5SEd Maste */ 1907*493d26c5SEd Maste 1908*493d26c5SEd Maste /* Register address for bitfield l3_da{F}_en */ 1909*493d26c5SEd Maste #define HW_ATL_RPF_L3_DAF_EN_ADR(filter) (0x00005380u + (filter) * 0x4) 1910*493d26c5SEd Maste /* Bitmask for bitfield l3_da{F}_en */ 1911*493d26c5SEd Maste #define HW_ATL_RPF_L3_DAF_EN_MSK 0x10000000u 1912*493d26c5SEd Maste /* Inverted bitmask for bitfield l3_da{F}_en */ 1913*493d26c5SEd Maste #define HW_ATL_RPF_L3_DAF_EN_MSKN 0xEFFFFFFFu 1914*493d26c5SEd Maste /* Lower bit position of bitfield l3_da{F}_en */ 1915*493d26c5SEd Maste #define HW_ATL_RPF_L3_DAF_EN_SHIFT 28 1916*493d26c5SEd Maste /* Width of bitfield l3_da{F}_en */ 1917*493d26c5SEd Maste #define HW_ATL_RPF_L3_DAF_EN_WIDTH 1 1918*493d26c5SEd Maste /* Default value of bitfield l3_da{F}_en */ 1919*493d26c5SEd Maste #define HW_ATL_RPF_L3_DAF_EN_DEFAULT 0x0 1920*493d26c5SEd Maste 1921*493d26c5SEd Maste /* RX l4_sp{F}_en Bitfield Definitions 1922*493d26c5SEd Maste * Preprocessor definitions for the bitfield "l4_sp{F}_en". 1923*493d26c5SEd Maste * Parameter: filter {F} | stride size 0x4 | range [0, 7] 1924*493d26c5SEd Maste * PORT="pif_rpf_l4_sp_en_i[0]" 1925*493d26c5SEd Maste */ 1926*493d26c5SEd Maste 1927*493d26c5SEd Maste /* Register address for bitfield l4_sp{F}_en */ 1928*493d26c5SEd Maste #define HW_ATL_RPF_L4_SPF_EN_ADR(filter) (0x00005380u + (filter) * 0x4) 1929*493d26c5SEd Maste /* Bitmask for bitfield l4_sp{F}_en */ 1930*493d26c5SEd Maste #define HW_ATL_RPF_L4_SPF_EN_MSK 0x08000000u 1931*493d26c5SEd Maste /* Inverted bitmask for bitfield l4_sp{F}_en */ 1932*493d26c5SEd Maste #define HW_ATL_RPF_L4_SPF_EN_MSKN 0xF7FFFFFFu 1933*493d26c5SEd Maste /* Lower bit position of bitfield l4_sp{F}_en */ 1934*493d26c5SEd Maste #define HW_ATL_RPF_L4_SPF_EN_SHIFT 27 1935*493d26c5SEd Maste /* Width of bitfield l4_sp{F}_en */ 1936*493d26c5SEd Maste #define HW_ATL_RPF_L4_SPF_EN_WIDTH 1 1937*493d26c5SEd Maste /* Default value of bitfield l4_sp{F}_en */ 1938*493d26c5SEd Maste #define HW_ATL_RPF_L4_SPF_EN_DEFAULT 0x0 1939*493d26c5SEd Maste 1940*493d26c5SEd Maste /* RX l4_dp{F}_en Bitfield Definitions 1941*493d26c5SEd Maste * Preprocessor definitions for the bitfield "l4_dp{F}_en". 1942*493d26c5SEd Maste * Parameter: filter {F} | stride size 0x4 | range [0, 7] 1943*493d26c5SEd Maste * PORT="pif_rpf_l4_dp_en_i[0]" 1944*493d26c5SEd Maste */ 1945*493d26c5SEd Maste 1946*493d26c5SEd Maste /* Register address for bitfield l4_dp{F}_en */ 1947*493d26c5SEd Maste #define HW_ATL_RPF_L4_DPF_EN_ADR(filter) (0x00005380u + (filter) * 0x4) 1948*493d26c5SEd Maste /* Bitmask for bitfield l4_dp{F}_en */ 1949*493d26c5SEd Maste #define HW_ATL_RPF_L4_DPF_EN_MSK 0x04000000u 1950*493d26c5SEd Maste /* Inverted bitmask for bitfield l4_dp{F}_en */ 1951*493d26c5SEd Maste #define HW_ATL_RPF_L4_DPF_EN_MSKN 0xFBFFFFFFu 1952*493d26c5SEd Maste /* Lower bit position of bitfield l4_dp{F}_en */ 1953*493d26c5SEd Maste #define HW_ATL_RPF_L4_DPF_EN_SHIFT 26 1954*493d26c5SEd Maste /* Width of bitfield l4_dp{F}_en */ 1955*493d26c5SEd Maste #define HW_ATL_RPF_L4_DPF_EN_WIDTH 1 1956*493d26c5SEd Maste /* Default value of bitfield l4_dp{F}_en */ 1957*493d26c5SEd Maste #define HW_ATL_RPF_L4_DPF_EN_DEFAULT 0x0 1958*493d26c5SEd Maste 1959*493d26c5SEd Maste /* RX l4_prot{F}_en Bitfield Definitions 1960*493d26c5SEd Maste * Preprocessor definitions for the bitfield "l4_prot{F}_en". 1961*493d26c5SEd Maste * Parameter: filter {F} | stride size 0x4 | range [0, 7] 1962*493d26c5SEd Maste * PORT="pif_rpf_l4_prot_en_i[0]" 1963*493d26c5SEd Maste */ 1964*493d26c5SEd Maste 1965*493d26c5SEd Maste /* Register address for bitfield l4_prot{F}_en */ 1966*493d26c5SEd Maste #define HW_ATL_RPF_L4_PROTF_EN_ADR(filter) (0x00005380u + (filter) * 0x4) 1967*493d26c5SEd Maste /* Bitmask for bitfield l4_prot{F}_en */ 1968*493d26c5SEd Maste #define HW_ATL_RPF_L4_PROTF_EN_MSK 0x02000000u 1969*493d26c5SEd Maste /* Inverted bitmask for bitfield l4_prot{F}_en */ 1970*493d26c5SEd Maste #define HW_ATL_RPF_L4_PROTF_EN_MSKN 0xFDFFFFFFu 1971*493d26c5SEd Maste /* Lower bit position of bitfield l4_prot{F}_en */ 1972*493d26c5SEd Maste #define HW_ATL_RPF_L4_PROTF_EN_SHIFT 25 1973*493d26c5SEd Maste /* Width of bitfield l4_prot{F}_en */ 1974*493d26c5SEd Maste #define HW_ATL_RPF_L4_PROTF_EN_WIDTH 1 1975*493d26c5SEd Maste /* Default value of bitfield l4_prot{F}_en */ 1976*493d26c5SEd Maste #define HW_ATL_RPF_L4_PROTF_EN_DEFAULT 0x0 1977*493d26c5SEd Maste 1978*493d26c5SEd Maste /* RX l3_arp{F}_en Bitfield Definitions 1979*493d26c5SEd Maste * Preprocessor definitions for the bitfield "l3_arp{F}_en". 1980*493d26c5SEd Maste * Parameter: filter {F} | stride size 0x4 | range [0, 7] 1981*493d26c5SEd Maste * PORT="pif_rpf_l3_arp_en_i[0]" 1982*493d26c5SEd Maste */ 1983*493d26c5SEd Maste 1984*493d26c5SEd Maste /* Register address for bitfield l3_arp{F}_en */ 1985*493d26c5SEd Maste #define HW_ATL_RPF_L3_ARPF_EN_ADR(filter) (0x00005380u + (filter) * 0x4) 1986*493d26c5SEd Maste /* Bitmask for bitfield l3_arp{F}_en */ 1987*493d26c5SEd Maste #define HW_ATL_RPF_L3_ARPF_EN_MSK 0x01000000u 1988*493d26c5SEd Maste /* Inverted bitmask for bitfield l3_arp{F}_en */ 1989*493d26c5SEd Maste #define HW_ATL_RPF_L3_ARPF_EN_MSKN 0xFEFFFFFFu 1990*493d26c5SEd Maste /* Lower bit position of bitfield l3_arp{F}_en */ 1991*493d26c5SEd Maste #define HW_ATL_RPF_L3_ARPF_EN_SHIFT 24 1992*493d26c5SEd Maste /* Width of bitfield l3_arp{F}_en */ 1993*493d26c5SEd Maste #define HW_ATL_RPF_L3_ARPF_EN_WIDTH 1 1994*493d26c5SEd Maste /* Default value of bitfield l3_arp{F}_en */ 1995*493d26c5SEd Maste #define HW_ATL_RPF_L3_ARPF_EN_DEFAULT 0x0 1996*493d26c5SEd Maste 1997*493d26c5SEd Maste /* RX l3_l4_rxq{F}_en Bitfield Definitions 1998*493d26c5SEd Maste * Preprocessor definitions for the bitfield "l3_l4_rxq{F}_en". 1999*493d26c5SEd Maste * Parameter: filter {F} | stride size 0x4 | range [0, 7] 2000*493d26c5SEd Maste * PORT="pif_rpf_l3_l4_rxq_en_i[0]" 2001*493d26c5SEd Maste */ 2002*493d26c5SEd Maste 2003*493d26c5SEd Maste /* Register address for bitfield l3_l4_RXq{F}_en */ 2004*493d26c5SEd Maste #define HW_ATL_RPF_L3_L4_RXQF_EN_ADR(filter) (0x00005380u + (filter) * 0x4) 2005*493d26c5SEd Maste /* Bitmask for bitfield l3_l4_RXq{F}_en */ 2006*493d26c5SEd Maste #define HW_ATL_RPF_L3_L4_RXQF_EN_MSK 0x00800000u 2007*493d26c5SEd Maste /* Inverted bitmask for bitfield l3_l4_RXq{F}_en */ 2008*493d26c5SEd Maste #define HW_ATL_RPF_L3_L4_RXQF_EN_MSKN 0xFF7FFFFFu 2009*493d26c5SEd Maste /* Lower bit position of bitfield l3_l4_RXq{F}_en */ 2010*493d26c5SEd Maste #define HW_ATL_RPF_L3_L4_RXQF_EN_SHIFT 23 2011*493d26c5SEd Maste /* Width of bitfield l3_l4_RXq{F}_en */ 2012*493d26c5SEd Maste #define HW_ATL_RPF_L3_L4_RXQF_EN_WIDTH 1 2013*493d26c5SEd Maste /* Default value of bitfield l3_l4_RXq{F}_en */ 2014*493d26c5SEd Maste #define HW_ATL_RPF_L3_L4_RXQF_EN_DEFAULT 0x0 2015*493d26c5SEd Maste 2016*493d26c5SEd Maste /* RX l3_l4_mng_RXq{F} Bitfield Definitions 2017*493d26c5SEd Maste * Preprocessor definitions for the bitfield "l3_l4_mng_RXq{F}". 2018*493d26c5SEd Maste * Parameter: filter {F} | stride size 0x4 | range [0, 7] 2019*493d26c5SEd Maste * PORT="pif_rpf_l3_l4_mng_rxq_i[0]" 2020*493d26c5SEd Maste */ 2021*493d26c5SEd Maste 2022*493d26c5SEd Maste /* Register address for bitfield l3_l4_mng_rxq{F} */ 2023*493d26c5SEd Maste #define HW_ATL_RPF_L3_L4_MNG_RXQF_ADR(filter) (0x00005380u + (filter) * 0x4) 2024*493d26c5SEd Maste /* Bitmask for bitfield l3_l4_mng_rxq{F} */ 2025*493d26c5SEd Maste #define HW_ATL_RPF_L3_L4_MNG_RXQF_MSK 0x00400000u 2026*493d26c5SEd Maste /* Inverted bitmask for bitfield l3_l4_mng_rxq{F} */ 2027*493d26c5SEd Maste #define HW_ATL_RPF_L3_L4_MNG_RXQF_MSKN 0xFFBFFFFFu 2028*493d26c5SEd Maste /* Lower bit position of bitfield l3_l4_mng_rxq{F} */ 2029*493d26c5SEd Maste #define HW_ATL_RPF_L3_L4_MNG_RXQF_SHIFT 22 2030*493d26c5SEd Maste /* Width of bitfield l3_l4_mng_rxq{F} */ 2031*493d26c5SEd Maste #define HW_ATL_RPF_L3_L4_MNG_RXQF_WIDTH 1 2032*493d26c5SEd Maste /* Default value of bitfield l3_l4_mng_rxq{F} */ 2033*493d26c5SEd Maste #define HW_ATL_RPF_L3_L4_MNG_RXQF_DEFAULT 0x0 2034*493d26c5SEd Maste 2035*493d26c5SEd Maste /* RX l3_l4_act{F}[2:0] Bitfield Definitions 2036*493d26c5SEd Maste * Preprocessor definitions for the bitfield "l3_l4_act{F}[2:0]". 2037*493d26c5SEd Maste * Parameter: filter {F} | stride size 0x4 | range [0, 7] 2038*493d26c5SEd Maste * PORT="pif_rpf_l3_l4_act0_i[2:0]" 2039*493d26c5SEd Maste */ 2040*493d26c5SEd Maste 2041*493d26c5SEd Maste /* Register address for bitfield l3_l4_act{F}[2:0] */ 2042*493d26c5SEd Maste #define HW_ATL_RPF_L3_L4_ACTF_ADR(filter) (0x00005380u + (filter) * 0x4) 2043*493d26c5SEd Maste /* Bitmask for bitfield l3_l4_act{F}[2:0] */ 2044*493d26c5SEd Maste #define HW_ATL_RPF_L3_L4_ACTF_MSK 0x00070000u 2045*493d26c5SEd Maste /* Inverted bitmask for bitfield l3_l4_act{F}[2:0] */ 2046*493d26c5SEd Maste #define HW_ATL_RPF_L3_L4_ACTF_MSKN 0xFFF8FFFFu 2047*493d26c5SEd Maste /* Lower bit position of bitfield l3_l4_act{F}[2:0] */ 2048*493d26c5SEd Maste #define HW_ATL_RPF_L3_L4_ACTF_SHIFT 16 2049*493d26c5SEd Maste /* Width of bitfield l3_l4_act{F}[2:0] */ 2050*493d26c5SEd Maste #define HW_ATL_RPF_L3_L4_ACTF_WIDTH 3 2051*493d26c5SEd Maste /* Default value of bitfield l3_l4_act{F}[2:0] */ 2052*493d26c5SEd Maste #define HW_ATL_RPF_L3_L4_ACTF_DEFAULT 0x0 2053*493d26c5SEd Maste 2054*493d26c5SEd Maste /* RX l3_l4_rxq{F}[4:0] Bitfield Definitions 2055*493d26c5SEd Maste * Preprocessor definitions for the bitfield "l3_l4_rxq{F}[4:0]". 2056*493d26c5SEd Maste * Parameter: filter {F} | stride size 0x4 | range [0, 7] 2057*493d26c5SEd Maste * PORT="pif_rpf_l3_l4_rxq0_i[4:0]" 2058*493d26c5SEd Maste */ 2059*493d26c5SEd Maste 2060*493d26c5SEd Maste /* Register address for bitfield l3_l4_rxq{F}[4:0] */ 2061*493d26c5SEd Maste #define HW_ATL_RPF_L3_L4_RXQF_ADR(filter) (0x00005380u + (filter) * 0x4) 2062*493d26c5SEd Maste /* Bitmask for bitfield l3_l4_rxq{F}[4:0] */ 2063*493d26c5SEd Maste #define HW_ATL_RPF_L3_L4_RXQF_MSK 0x00001F00u 2064*493d26c5SEd Maste /* Inverted bitmask for bitfield l3_l4_rxq{F}[4:0] */ 2065*493d26c5SEd Maste #define HW_ATL_RPF_L3_L4_RXQF_MSKN 0xFFFFE0FFu 2066*493d26c5SEd Maste /* Lower bit position of bitfield l3_l4_rxq{F}[4:0] */ 2067*493d26c5SEd Maste #define HW_ATL_RPF_L3_L4_RXQF_SHIFT 8 2068*493d26c5SEd Maste /* Width of bitfield l3_l4_rxq{F}[4:0] */ 2069*493d26c5SEd Maste #define HW_ATL_RPF_L3_L4_RXQF_WIDTH 5 2070*493d26c5SEd Maste /* Default value of bitfield l3_l4_rxq{F}[4:0] */ 2071*493d26c5SEd Maste #define HW_ATL_RPF_L3_L4_RXQF_DEFAULT 0x0 2072*493d26c5SEd Maste 2073*493d26c5SEd Maste /* RX l4_prot{F}[2:0] Bitfield Definitions 2074*493d26c5SEd Maste * Preprocessor definitions for the bitfield "l4_prot{F}[2:0]". 2075*493d26c5SEd Maste * Parameter: filter {F} | stride size 0x4 | range [0, 7] 2076*493d26c5SEd Maste * PORT="pif_rpf_l4_prot0_i[2:0]" 2077*493d26c5SEd Maste */ 2078*493d26c5SEd Maste 2079*493d26c5SEd Maste /* Register address for bitfield l4_prot{F}[2:0] */ 2080*493d26c5SEd Maste #define HW_ATL_RPF_L4_PROTF_ADR(filter) (0x00005380u + (filter) * 0x4) 2081*493d26c5SEd Maste /* Bitmask for bitfield l4_prot{F}[2:0] */ 2082*493d26c5SEd Maste #define HW_ATL_RPF_L4_PROTF_MSK 0x00000007u 2083*493d26c5SEd Maste /* Inverted bitmask for bitfield l4_prot{F}[2:0] */ 2084*493d26c5SEd Maste #define HW_ATL_RPF_L4_PROTF_MSKN 0xFFFFFFF8u 2085*493d26c5SEd Maste /* Lower bit position of bitfield l4_prot{F}[2:0] */ 2086*493d26c5SEd Maste #define HW_ATL_RPF_L4_PROTF_SHIFT 0 2087*493d26c5SEd Maste /* Width of bitfield l4_prot{F}[2:0] */ 2088*493d26c5SEd Maste #define HW_ATL_RPF_L4_PROTF_WIDTH 3 2089*493d26c5SEd Maste /* Default value of bitfield l4_prot{F}[2:0] */ 2090*493d26c5SEd Maste #define HW_ATL_RPF_L4_PROTF_DEFAULT 0x0 2091*493d26c5SEd Maste 2092*493d26c5SEd Maste /* RX l4_sp{D}[F:0] Bitfield Definitions 2093*493d26c5SEd Maste * Preprocessor definitions for the bitfield "l4_sp{D}[F:0]". 2094*493d26c5SEd Maste * Parameter: srcport {D} | stride size 0x4 | range [0, 7] 2095*493d26c5SEd Maste * PORT="pif_rpf_l4_sp0_i[15:0]" 2096*493d26c5SEd Maste */ 2097*493d26c5SEd Maste 2098*493d26c5SEd Maste /* Register address for bitfield l4_sp{D}[F:0] */ 2099*493d26c5SEd Maste #define HW_ATL_RPF_L4_SPD_ADR(srcport) (0x00005400u + (srcport) * 0x4) 2100*493d26c5SEd Maste /* Bitmask for bitfield l4_sp{D}[F:0] */ 2101*493d26c5SEd Maste #define HW_ATL_RPF_L4_SPD_MSK 0x0000FFFFu 2102*493d26c5SEd Maste /* Inverted bitmask for bitfield l4_sp{D}[F:0] */ 2103*493d26c5SEd Maste #define HW_ATL_RPF_L4_SPD_MSKN 0xFFFF0000u 2104*493d26c5SEd Maste /* Lower bit position of bitfield l4_sp{D}[F:0] */ 2105*493d26c5SEd Maste #define HW_ATL_RPF_L4_SPD_SHIFT 0 2106*493d26c5SEd Maste /* Width of bitfield l4_sp{D}[F:0] */ 2107*493d26c5SEd Maste #define HW_ATL_RPF_L4_SPD_WIDTH 16 2108*493d26c5SEd Maste /* Default value of bitfield l4_sp{D}[F:0] */ 2109*493d26c5SEd Maste #define HW_ATL_RPF_L4_SPD_DEFAULT 0x0 2110*493d26c5SEd Maste 2111*493d26c5SEd Maste /* RX l4_dp{D}[F:0] Bitfield Definitions 2112*493d26c5SEd Maste * Preprocessor definitions for the bitfield "l4_dp{D}[F:0]". 2113*493d26c5SEd Maste * Parameter: destport {D} | stride size 0x4 | range [0, 7] 2114*493d26c5SEd Maste * PORT="pif_rpf_l4_dp0_i[15:0]" 2115*493d26c5SEd Maste */ 2116*493d26c5SEd Maste 2117*493d26c5SEd Maste /* Register address for bitfield l4_dp{D}[F:0] */ 2118*493d26c5SEd Maste #define HW_ATL_RPF_L4_DPD_ADR(destport) (0x00005420u + (destport) * 0x4) 2119*493d26c5SEd Maste /* Bitmask for bitfield l4_dp{D}[F:0] */ 2120*493d26c5SEd Maste #define HW_ATL_RPF_L4_DPD_MSK 0x0000FFFFu 2121*493d26c5SEd Maste /* Inverted bitmask for bitfield l4_dp{D}[F:0] */ 2122*493d26c5SEd Maste #define HW_ATL_RPF_L4_DPD_MSKN 0xFFFF0000u 2123*493d26c5SEd Maste /* Lower bit position of bitfield l4_dp{D}[F:0] */ 2124*493d26c5SEd Maste #define HW_ATL_RPF_L4_DPD_SHIFT 0 2125*493d26c5SEd Maste /* Width of bitfield l4_dp{D}[F:0] */ 2126*493d26c5SEd Maste #define HW_ATL_RPF_L4_DPD_WIDTH 16 2127*493d26c5SEd Maste /* Default value of bitfield l4_dp{D}[F:0] */ 2128*493d26c5SEd Maste #define HW_ATL_RPF_L4_DPD_DEFAULT 0x0 2129*493d26c5SEd Maste 2130*493d26c5SEd Maste /* rx ipv4_chk_en bitfield definitions 2131*493d26c5SEd Maste * preprocessor definitions for the bitfield "ipv4_chk_en". 2132*493d26c5SEd Maste * port="pif_rpo_ipv4_chk_en_i" 2133*493d26c5SEd Maste */ 2134*493d26c5SEd Maste 2135*493d26c5SEd Maste /* register address for bitfield ipv4_chk_en */ 2136*493d26c5SEd Maste #define rpo_ipv4chk_en_adr 0x00005580 2137*493d26c5SEd Maste /* bitmask for bitfield ipv4_chk_en */ 2138*493d26c5SEd Maste #define rpo_ipv4chk_en_msk 0x00000002 2139*493d26c5SEd Maste /* inverted bitmask for bitfield ipv4_chk_en */ 2140*493d26c5SEd Maste #define rpo_ipv4chk_en_mskn 0xfffffffd 2141*493d26c5SEd Maste /* lower bit position of bitfield ipv4_chk_en */ 2142*493d26c5SEd Maste #define rpo_ipv4chk_en_shift 1 2143*493d26c5SEd Maste /* width of bitfield ipv4_chk_en */ 2144*493d26c5SEd Maste #define rpo_ipv4chk_en_width 1 2145*493d26c5SEd Maste /* default value of bitfield ipv4_chk_en */ 2146*493d26c5SEd Maste #define rpo_ipv4chk_en_default 0x0 2147*493d26c5SEd Maste 2148*493d26c5SEd Maste /* rx desc{d}_vl_strip bitfield definitions 2149*493d26c5SEd Maste * preprocessor definitions for the bitfield "desc{d}_vl_strip". 2150*493d26c5SEd Maste * parameter: descriptor {d} | stride size 0x20 | range [0, 31] 2151*493d26c5SEd Maste * port="pif_rpo_desc_vl_strip_i[0]" 2152*493d26c5SEd Maste */ 2153*493d26c5SEd Maste 2154*493d26c5SEd Maste /* register address for bitfield desc{d}_vl_strip */ 2155*493d26c5SEd Maste #define rpo_descdvl_strip_adr(descriptor) (0x00005b08 + (descriptor) * 0x20) 2156*493d26c5SEd Maste /* bitmask for bitfield desc{d}_vl_strip */ 2157*493d26c5SEd Maste #define rpo_descdvl_strip_msk 0x20000000 2158*493d26c5SEd Maste /* inverted bitmask for bitfield desc{d}_vl_strip */ 2159*493d26c5SEd Maste #define rpo_descdvl_strip_mskn 0xdfffffff 2160*493d26c5SEd Maste /* lower bit position of bitfield desc{d}_vl_strip */ 2161*493d26c5SEd Maste #define rpo_descdvl_strip_shift 29 2162*493d26c5SEd Maste /* width of bitfield desc{d}_vl_strip */ 2163*493d26c5SEd Maste #define rpo_descdvl_strip_width 1 2164*493d26c5SEd Maste /* default value of bitfield desc{d}_vl_strip */ 2165*493d26c5SEd Maste #define rpo_descdvl_strip_default 0x0 2166*493d26c5SEd Maste 2167*493d26c5SEd Maste /* rx l4_chk_en bitfield definitions 2168*493d26c5SEd Maste * preprocessor definitions for the bitfield "l4_chk_en". 2169*493d26c5SEd Maste * port="pif_rpo_l4_chk_en_i" 2170*493d26c5SEd Maste */ 2171*493d26c5SEd Maste 2172*493d26c5SEd Maste /* register address for bitfield l4_chk_en */ 2173*493d26c5SEd Maste #define rpol4chk_en_adr 0x00005580 2174*493d26c5SEd Maste /* bitmask for bitfield l4_chk_en */ 2175*493d26c5SEd Maste #define rpol4chk_en_msk 0x00000001 2176*493d26c5SEd Maste /* inverted bitmask for bitfield l4_chk_en */ 2177*493d26c5SEd Maste #define rpol4chk_en_mskn 0xfffffffe 2178*493d26c5SEd Maste /* lower bit position of bitfield l4_chk_en */ 2179*493d26c5SEd Maste #define rpol4chk_en_shift 0 2180*493d26c5SEd Maste /* width of bitfield l4_chk_en */ 2181*493d26c5SEd Maste #define rpol4chk_en_width 1 2182*493d26c5SEd Maste /* default value of bitfield l4_chk_en */ 2183*493d26c5SEd Maste #define rpol4chk_en_default 0x0 2184*493d26c5SEd Maste 2185*493d26c5SEd Maste /* rx reg_res_dsbl bitfield definitions 2186*493d26c5SEd Maste * preprocessor definitions for the bitfield "reg_res_dsbl". 2187*493d26c5SEd Maste * port="pif_rx_reg_res_dsbl_i" 2188*493d26c5SEd Maste */ 2189*493d26c5SEd Maste 2190*493d26c5SEd Maste /* register address for bitfield reg_res_dsbl */ 2191*493d26c5SEd Maste #define rx_reg_res_dsbl_adr 0x00005000 2192*493d26c5SEd Maste /* bitmask for bitfield reg_res_dsbl */ 2193*493d26c5SEd Maste #define rx_reg_res_dsbl_msk 0x20000000 2194*493d26c5SEd Maste /* inverted bitmask for bitfield reg_res_dsbl */ 2195*493d26c5SEd Maste #define rx_reg_res_dsbl_mskn 0xdfffffff 2196*493d26c5SEd Maste /* lower bit position of bitfield reg_res_dsbl */ 2197*493d26c5SEd Maste #define rx_reg_res_dsbl_shift 29 2198*493d26c5SEd Maste /* width of bitfield reg_res_dsbl */ 2199*493d26c5SEd Maste #define rx_reg_res_dsbl_width 1 2200*493d26c5SEd Maste /* default value of bitfield reg_res_dsbl */ 2201*493d26c5SEd Maste #define rx_reg_res_dsbl_default 0x1 2202*493d26c5SEd Maste 2203*493d26c5SEd Maste /* tx dca{d}_cpuid[7:0] bitfield definitions 2204*493d26c5SEd Maste * preprocessor definitions for the bitfield "dca{d}_cpuid[7:0]". 2205*493d26c5SEd Maste * parameter: dca {d} | stride size 0x4 | range [0, 31] 2206*493d26c5SEd Maste * port="pif_tdm_dca0_cpuid_i[7:0]" 2207*493d26c5SEd Maste */ 2208*493d26c5SEd Maste 2209*493d26c5SEd Maste /* register address for bitfield dca{d}_cpuid[7:0] */ 2210*493d26c5SEd Maste #define tdm_dcadcpuid_adr(dca) (0x00008400 + (dca) * 0x4) 2211*493d26c5SEd Maste /* bitmask for bitfield dca{d}_cpuid[7:0] */ 2212*493d26c5SEd Maste #define tdm_dcadcpuid_msk 0x000000ff 2213*493d26c5SEd Maste /* inverted bitmask for bitfield dca{d}_cpuid[7:0] */ 2214*493d26c5SEd Maste #define tdm_dcadcpuid_mskn 0xffffff00 2215*493d26c5SEd Maste /* lower bit position of bitfield dca{d}_cpuid[7:0] */ 2216*493d26c5SEd Maste #define tdm_dcadcpuid_shift 0 2217*493d26c5SEd Maste /* width of bitfield dca{d}_cpuid[7:0] */ 2218*493d26c5SEd Maste #define tdm_dcadcpuid_width 8 2219*493d26c5SEd Maste /* default value of bitfield dca{d}_cpuid[7:0] */ 2220*493d26c5SEd Maste #define tdm_dcadcpuid_default 0x0 2221*493d26c5SEd Maste 2222*493d26c5SEd Maste /* tx lso_en[1f:0] bitfield definitions 2223*493d26c5SEd Maste * preprocessor definitions for the bitfield "lso_en[1f:0]". 2224*493d26c5SEd Maste * port="pif_tdm_lso_en_i[31:0]" 2225*493d26c5SEd Maste */ 2226*493d26c5SEd Maste 2227*493d26c5SEd Maste /* register address for bitfield lso_en[1f:0] */ 2228*493d26c5SEd Maste #define tdm_lso_en_adr 0x00007810 2229*493d26c5SEd Maste /* bitmask for bitfield lso_en[1f:0] */ 2230*493d26c5SEd Maste #define tdm_lso_en_msk 0xffffffff 2231*493d26c5SEd Maste /* inverted bitmask for bitfield lso_en[1f:0] */ 2232*493d26c5SEd Maste #define tdm_lso_en_mskn 0x00000000 2233*493d26c5SEd Maste /* lower bit position of bitfield lso_en[1f:0] */ 2234*493d26c5SEd Maste #define tdm_lso_en_shift 0 2235*493d26c5SEd Maste /* width of bitfield lso_en[1f:0] */ 2236*493d26c5SEd Maste #define tdm_lso_en_width 32 2237*493d26c5SEd Maste /* default value of bitfield lso_en[1f:0] */ 2238*493d26c5SEd Maste #define tdm_lso_en_default 0x0 2239*493d26c5SEd Maste 2240*493d26c5SEd Maste /* tx dca_en bitfield definitions 2241*493d26c5SEd Maste * preprocessor definitions for the bitfield "dca_en". 2242*493d26c5SEd Maste * port="pif_tdm_dca_en_i" 2243*493d26c5SEd Maste */ 2244*493d26c5SEd Maste 2245*493d26c5SEd Maste /* register address for bitfield dca_en */ 2246*493d26c5SEd Maste #define tdm_dca_en_adr 0x00008480 2247*493d26c5SEd Maste /* bitmask for bitfield dca_en */ 2248*493d26c5SEd Maste #define tdm_dca_en_msk 0x80000000 2249*493d26c5SEd Maste /* inverted bitmask for bitfield dca_en */ 2250*493d26c5SEd Maste #define tdm_dca_en_mskn 0x7fffffff 2251*493d26c5SEd Maste /* lower bit position of bitfield dca_en */ 2252*493d26c5SEd Maste #define tdm_dca_en_shift 31 2253*493d26c5SEd Maste /* width of bitfield dca_en */ 2254*493d26c5SEd Maste #define tdm_dca_en_width 1 2255*493d26c5SEd Maste /* default value of bitfield dca_en */ 2256*493d26c5SEd Maste #define tdm_dca_en_default 0x1 2257*493d26c5SEd Maste 2258*493d26c5SEd Maste /* tx dca_mode[3:0] bitfield definitions 2259*493d26c5SEd Maste * preprocessor definitions for the bitfield "dca_mode[3:0]". 2260*493d26c5SEd Maste * port="pif_tdm_dca_mode_i[3:0]" 2261*493d26c5SEd Maste */ 2262*493d26c5SEd Maste 2263*493d26c5SEd Maste /* register address for bitfield dca_mode[3:0] */ 2264*493d26c5SEd Maste #define tdm_dca_mode_adr 0x00008480 2265*493d26c5SEd Maste /* bitmask for bitfield dca_mode[3:0] */ 2266*493d26c5SEd Maste #define tdm_dca_mode_msk 0x0000000f 2267*493d26c5SEd Maste /* inverted bitmask for bitfield dca_mode[3:0] */ 2268*493d26c5SEd Maste #define tdm_dca_mode_mskn 0xfffffff0 2269*493d26c5SEd Maste /* lower bit position of bitfield dca_mode[3:0] */ 2270*493d26c5SEd Maste #define tdm_dca_mode_shift 0 2271*493d26c5SEd Maste /* width of bitfield dca_mode[3:0] */ 2272*493d26c5SEd Maste #define tdm_dca_mode_width 4 2273*493d26c5SEd Maste /* default value of bitfield dca_mode[3:0] */ 2274*493d26c5SEd Maste #define tdm_dca_mode_default 0x0 2275*493d26c5SEd Maste 2276*493d26c5SEd Maste /* tx dca{d}_desc_en bitfield definitions 2277*493d26c5SEd Maste * preprocessor definitions for the bitfield "dca{d}_desc_en". 2278*493d26c5SEd Maste * parameter: dca {d} | stride size 0x4 | range [0, 31] 2279*493d26c5SEd Maste * port="pif_tdm_dca_desc_en_i[0]" 2280*493d26c5SEd Maste */ 2281*493d26c5SEd Maste 2282*493d26c5SEd Maste /* register address for bitfield dca{d}_desc_en */ 2283*493d26c5SEd Maste #define tdm_dcaddesc_en_adr(dca) (0x00008400 + (dca) * 0x4) 2284*493d26c5SEd Maste /* bitmask for bitfield dca{d}_desc_en */ 2285*493d26c5SEd Maste #define tdm_dcaddesc_en_msk 0x80000000 2286*493d26c5SEd Maste /* inverted bitmask for bitfield dca{d}_desc_en */ 2287*493d26c5SEd Maste #define tdm_dcaddesc_en_mskn 0x7fffffff 2288*493d26c5SEd Maste /* lower bit position of bitfield dca{d}_desc_en */ 2289*493d26c5SEd Maste #define tdm_dcaddesc_en_shift 31 2290*493d26c5SEd Maste /* width of bitfield dca{d}_desc_en */ 2291*493d26c5SEd Maste #define tdm_dcaddesc_en_width 1 2292*493d26c5SEd Maste /* default value of bitfield dca{d}_desc_en */ 2293*493d26c5SEd Maste #define tdm_dcaddesc_en_default 0x0 2294*493d26c5SEd Maste 2295*493d26c5SEd Maste /* tx desc{d}_en bitfield definitions 2296*493d26c5SEd Maste * preprocessor definitions for the bitfield "desc{d}_en". 2297*493d26c5SEd Maste * parameter: descriptor {d} | stride size 0x40 | range [0, 31] 2298*493d26c5SEd Maste * port="pif_tdm_desc_en_i[0]" 2299*493d26c5SEd Maste */ 2300*493d26c5SEd Maste 2301*493d26c5SEd Maste /* register address for bitfield desc{d}_en */ 2302*493d26c5SEd Maste #define tdm_descden_adr(descriptor) (0x00007c08 + (descriptor) * 0x40) 2303*493d26c5SEd Maste /* bitmask for bitfield desc{d}_en */ 2304*493d26c5SEd Maste #define tdm_descden_msk 0x80000000 2305*493d26c5SEd Maste /* inverted bitmask for bitfield desc{d}_en */ 2306*493d26c5SEd Maste #define tdm_descden_mskn 0x7fffffff 2307*493d26c5SEd Maste /* lower bit position of bitfield desc{d}_en */ 2308*493d26c5SEd Maste #define tdm_descden_shift 31 2309*493d26c5SEd Maste /* width of bitfield desc{d}_en */ 2310*493d26c5SEd Maste #define tdm_descden_width 1 2311*493d26c5SEd Maste /* default value of bitfield desc{d}_en */ 2312*493d26c5SEd Maste #define tdm_descden_default 0x0 2313*493d26c5SEd Maste 2314*493d26c5SEd Maste /* tx desc{d}_hd[c:0] bitfield definitions 2315*493d26c5SEd Maste * preprocessor definitions for the bitfield "desc{d}_hd[c:0]". 2316*493d26c5SEd Maste * parameter: descriptor {d} | stride size 0x40 | range [0, 31] 2317*493d26c5SEd Maste * port="tdm_pif_desc0_hd_o[12:0]" 2318*493d26c5SEd Maste */ 2319*493d26c5SEd Maste 2320*493d26c5SEd Maste /* register address for bitfield desc{d}_hd[c:0] */ 2321*493d26c5SEd Maste #define tdm_descdhd_adr(descriptor) (0x00007c0c + (descriptor) * 0x40) 2322*493d26c5SEd Maste /* bitmask for bitfield desc{d}_hd[c:0] */ 2323*493d26c5SEd Maste #define tdm_descdhd_msk 0x00001fff 2324*493d26c5SEd Maste /* inverted bitmask for bitfield desc{d}_hd[c:0] */ 2325*493d26c5SEd Maste #define tdm_descdhd_mskn 0xffffe000 2326*493d26c5SEd Maste /* lower bit position of bitfield desc{d}_hd[c:0] */ 2327*493d26c5SEd Maste #define tdm_descdhd_shift 0 2328*493d26c5SEd Maste /* width of bitfield desc{d}_hd[c:0] */ 2329*493d26c5SEd Maste #define tdm_descdhd_width 13 2330*493d26c5SEd Maste 2331*493d26c5SEd Maste /* tx desc{d}_len[9:0] bitfield definitions 2332*493d26c5SEd Maste * preprocessor definitions for the bitfield "desc{d}_len[9:0]". 2333*493d26c5SEd Maste * parameter: descriptor {d} | stride size 0x40 | range [0, 31] 2334*493d26c5SEd Maste * port="pif_tdm_desc0_len_i[9:0]" 2335*493d26c5SEd Maste */ 2336*493d26c5SEd Maste 2337*493d26c5SEd Maste /* register address for bitfield desc{d}_len[9:0] */ 2338*493d26c5SEd Maste #define tdm_descdlen_adr(descriptor) (0x00007c08 + (descriptor) * 0x40) 2339*493d26c5SEd Maste /* bitmask for bitfield desc{d}_len[9:0] */ 2340*493d26c5SEd Maste #define tdm_descdlen_msk 0x00001ff8 2341*493d26c5SEd Maste /* inverted bitmask for bitfield desc{d}_len[9:0] */ 2342*493d26c5SEd Maste #define tdm_descdlen_mskn 0xffffe007 2343*493d26c5SEd Maste /* lower bit position of bitfield desc{d}_len[9:0] */ 2344*493d26c5SEd Maste #define tdm_descdlen_shift 3 2345*493d26c5SEd Maste /* width of bitfield desc{d}_len[9:0] */ 2346*493d26c5SEd Maste #define tdm_descdlen_width 10 2347*493d26c5SEd Maste /* default value of bitfield desc{d}_len[9:0] */ 2348*493d26c5SEd Maste #define tdm_descdlen_default 0x0 2349*493d26c5SEd Maste 2350*493d26c5SEd Maste /* tx int_desc_wrb_en bitfield definitions 2351*493d26c5SEd Maste * preprocessor definitions for the bitfield "int_desc_wrb_en". 2352*493d26c5SEd Maste * port="pif_tdm_int_desc_wrb_en_i" 2353*493d26c5SEd Maste */ 2354*493d26c5SEd Maste 2355*493d26c5SEd Maste /* register address for bitfield int_desc_wrb_en */ 2356*493d26c5SEd Maste #define tdm_int_desc_wrb_en_adr 0x00007b40 2357*493d26c5SEd Maste /* bitmask for bitfield int_desc_wrb_en */ 2358*493d26c5SEd Maste #define tdm_int_desc_wrb_en_msk 0x00000002 2359*493d26c5SEd Maste /* inverted bitmask for bitfield int_desc_wrb_en */ 2360*493d26c5SEd Maste #define tdm_int_desc_wrb_en_mskn 0xfffffffd 2361*493d26c5SEd Maste /* lower bit position of bitfield int_desc_wrb_en */ 2362*493d26c5SEd Maste #define tdm_int_desc_wrb_en_shift 1 2363*493d26c5SEd Maste /* width of bitfield int_desc_wrb_en */ 2364*493d26c5SEd Maste #define tdm_int_desc_wrb_en_width 1 2365*493d26c5SEd Maste /* default value of bitfield int_desc_wrb_en */ 2366*493d26c5SEd Maste #define tdm_int_desc_wrb_en_default 0x0 2367*493d26c5SEd Maste 2368*493d26c5SEd Maste /* tx desc{d}_wrb_thresh[6:0] bitfield definitions 2369*493d26c5SEd Maste * preprocessor definitions for the bitfield "desc{d}_wrb_thresh[6:0]". 2370*493d26c5SEd Maste * parameter: descriptor {d} | stride size 0x40 | range [0, 31] 2371*493d26c5SEd Maste * port="pif_tdm_desc0_wrb_thresh_i[6:0]" 2372*493d26c5SEd Maste */ 2373*493d26c5SEd Maste 2374*493d26c5SEd Maste /* register address for bitfield desc{d}_wrb_thresh[6:0] */ 2375*493d26c5SEd Maste #define tdm_descdwrb_thresh_adr(descriptor) (0x00007c18 + (descriptor) * 0x40) 2376*493d26c5SEd Maste /* bitmask for bitfield desc{d}_wrb_thresh[6:0] */ 2377*493d26c5SEd Maste #define tdm_descdwrb_thresh_msk 0x00007f00 2378*493d26c5SEd Maste /* inverted bitmask for bitfield desc{d}_wrb_thresh[6:0] */ 2379*493d26c5SEd Maste #define tdm_descdwrb_thresh_mskn 0xffff80ff 2380*493d26c5SEd Maste /* lower bit position of bitfield desc{d}_wrb_thresh[6:0] */ 2381*493d26c5SEd Maste #define tdm_descdwrb_thresh_shift 8 2382*493d26c5SEd Maste /* width of bitfield desc{d}_wrb_thresh[6:0] */ 2383*493d26c5SEd Maste #define tdm_descdwrb_thresh_width 7 2384*493d26c5SEd Maste /* default value of bitfield desc{d}_wrb_thresh[6:0] */ 2385*493d26c5SEd Maste #define tdm_descdwrb_thresh_default 0x0 2386*493d26c5SEd Maste 2387*493d26c5SEd Maste /* tx lso_tcp_flag_first[b:0] bitfield definitions 2388*493d26c5SEd Maste * preprocessor definitions for the bitfield "lso_tcp_flag_first[b:0]". 2389*493d26c5SEd Maste * port="pif_thm_lso_tcp_flag_first_i[11:0]" 2390*493d26c5SEd Maste */ 2391*493d26c5SEd Maste 2392*493d26c5SEd Maste /* register address for bitfield lso_tcp_flag_first[b:0] */ 2393*493d26c5SEd Maste #define thm_lso_tcp_flag_first_adr 0x00007820 2394*493d26c5SEd Maste /* bitmask for bitfield lso_tcp_flag_first[b:0] */ 2395*493d26c5SEd Maste #define thm_lso_tcp_flag_first_msk 0x00000fff 2396*493d26c5SEd Maste /* inverted bitmask for bitfield lso_tcp_flag_first[b:0] */ 2397*493d26c5SEd Maste #define thm_lso_tcp_flag_first_mskn 0xfffff000 2398*493d26c5SEd Maste /* lower bit position of bitfield lso_tcp_flag_first[b:0] */ 2399*493d26c5SEd Maste #define thm_lso_tcp_flag_first_shift 0 2400*493d26c5SEd Maste /* width of bitfield lso_tcp_flag_first[b:0] */ 2401*493d26c5SEd Maste #define thm_lso_tcp_flag_first_width 12 2402*493d26c5SEd Maste /* default value of bitfield lso_tcp_flag_first[b:0] */ 2403*493d26c5SEd Maste #define thm_lso_tcp_flag_first_default 0x0 2404*493d26c5SEd Maste 2405*493d26c5SEd Maste /* tx lso_tcp_flag_last[b:0] bitfield definitions 2406*493d26c5SEd Maste * preprocessor definitions for the bitfield "lso_tcp_flag_last[b:0]". 2407*493d26c5SEd Maste * port="pif_thm_lso_tcp_flag_last_i[11:0]" 2408*493d26c5SEd Maste */ 2409*493d26c5SEd Maste 2410*493d26c5SEd Maste /* register address for bitfield lso_tcp_flag_last[b:0] */ 2411*493d26c5SEd Maste #define thm_lso_tcp_flag_last_adr 0x00007824 2412*493d26c5SEd Maste /* bitmask for bitfield lso_tcp_flag_last[b:0] */ 2413*493d26c5SEd Maste #define thm_lso_tcp_flag_last_msk 0x00000fff 2414*493d26c5SEd Maste /* inverted bitmask for bitfield lso_tcp_flag_last[b:0] */ 2415*493d26c5SEd Maste #define thm_lso_tcp_flag_last_mskn 0xfffff000 2416*493d26c5SEd Maste /* lower bit position of bitfield lso_tcp_flag_last[b:0] */ 2417*493d26c5SEd Maste #define thm_lso_tcp_flag_last_shift 0 2418*493d26c5SEd Maste /* width of bitfield lso_tcp_flag_last[b:0] */ 2419*493d26c5SEd Maste #define thm_lso_tcp_flag_last_width 12 2420*493d26c5SEd Maste /* default value of bitfield lso_tcp_flag_last[b:0] */ 2421*493d26c5SEd Maste #define thm_lso_tcp_flag_last_default 0x0 2422*493d26c5SEd Maste 2423*493d26c5SEd Maste /* tx lso_tcp_flag_mid[b:0] bitfield definitions 2424*493d26c5SEd Maste * preprocessor definitions for the bitfield "lso_tcp_flag_mid[b:0]". 2425*493d26c5SEd Maste * port="pif_thm_lso_tcp_flag_mid_i[11:0]" 2426*493d26c5SEd Maste */ 2427*493d26c5SEd Maste 2428*493d26c5SEd Maste /* Register address for bitfield lro_rsc_max[1F:0] */ 2429*493d26c5SEd Maste #define rpo_lro_rsc_max_adr 0x00005598 2430*493d26c5SEd Maste /* Bitmask for bitfield lro_rsc_max[1F:0] */ 2431*493d26c5SEd Maste #define rpo_lro_rsc_max_msk 0xFFFFFFFF 2432*493d26c5SEd Maste /* Inverted bitmask for bitfield lro_rsc_max[1F:0] */ 2433*493d26c5SEd Maste #define rpo_lro_rsc_max_mskn 0x00000000 2434*493d26c5SEd Maste /* Lower bit position of bitfield lro_rsc_max[1F:0] */ 2435*493d26c5SEd Maste #define rpo_lro_rsc_max_shift 0 2436*493d26c5SEd Maste /* Width of bitfield lro_rsc_max[1F:0] */ 2437*493d26c5SEd Maste #define rpo_lro_rsc_max_width 32 2438*493d26c5SEd Maste /* Default value of bitfield lro_rsc_max[1F:0] */ 2439*493d26c5SEd Maste #define rpo_lro_rsc_max_default 0x0 2440*493d26c5SEd Maste 2441*493d26c5SEd Maste /* RX lro_en[1F:0] Bitfield Definitions 2442*493d26c5SEd Maste * Preprocessor definitions for the bitfield "lro_en[1F:0]". 2443*493d26c5SEd Maste * PORT="pif_rpo_lro_en_i[31:0]" 2444*493d26c5SEd Maste */ 2445*493d26c5SEd Maste 2446*493d26c5SEd Maste /* Register address for bitfield lro_en[1F:0] */ 2447*493d26c5SEd Maste #define rpo_lro_en_adr 0x00005590 2448*493d26c5SEd Maste /* Bitmask for bitfield lro_en[1F:0] */ 2449*493d26c5SEd Maste #define rpo_lro_en_msk 0xFFFFFFFF 2450*493d26c5SEd Maste /* Inverted bitmask for bitfield lro_en[1F:0] */ 2451*493d26c5SEd Maste #define rpo_lro_en_mskn 0x00000000 2452*493d26c5SEd Maste /* Lower bit position of bitfield lro_en[1F:0] */ 2453*493d26c5SEd Maste #define rpo_lro_en_shift 0 2454*493d26c5SEd Maste /* Width of bitfield lro_en[1F:0] */ 2455*493d26c5SEd Maste #define rpo_lro_en_width 32 2456*493d26c5SEd Maste /* Default value of bitfield lro_en[1F:0] */ 2457*493d26c5SEd Maste #define rpo_lro_en_default 0x0 2458*493d26c5SEd Maste 2459*493d26c5SEd Maste /* RX lro_ptopt_en Bitfield Definitions 2460*493d26c5SEd Maste * Preprocessor definitions for the bitfield "lro_ptopt_en". 2461*493d26c5SEd Maste * PORT="pif_rpo_lro_ptopt_en_i" 2462*493d26c5SEd Maste */ 2463*493d26c5SEd Maste 2464*493d26c5SEd Maste /* Register address for bitfield lro_ptopt_en */ 2465*493d26c5SEd Maste #define rpo_lro_ptopt_en_adr 0x00005594 2466*493d26c5SEd Maste /* Bitmask for bitfield lro_ptopt_en */ 2467*493d26c5SEd Maste #define rpo_lro_ptopt_en_msk 0x00008000 2468*493d26c5SEd Maste /* Inverted bitmask for bitfield lro_ptopt_en */ 2469*493d26c5SEd Maste #define rpo_lro_ptopt_en_mskn 0xFFFF7FFF 2470*493d26c5SEd Maste /* Lower bit position of bitfield lro_ptopt_en */ 2471*493d26c5SEd Maste #define rpo_lro_ptopt_en_shift 15 2472*493d26c5SEd Maste /* Width of bitfield lro_ptopt_en */ 2473*493d26c5SEd Maste #define rpo_lro_ptopt_en_width 1 2474*493d26c5SEd Maste /* Default value of bitfield lro_ptopt_en */ 2475*493d26c5SEd Maste #define rpo_lro_ptopt_en_defalt 0x1 2476*493d26c5SEd Maste 2477*493d26c5SEd Maste /* RX lro_q_ses_lmt Bitfield Definitions 2478*493d26c5SEd Maste * Preprocessor definitions for the bitfield "lro_q_ses_lmt". 2479*493d26c5SEd Maste * PORT="pif_rpo_lro_q_ses_lmt_i[1:0]" 2480*493d26c5SEd Maste */ 2481*493d26c5SEd Maste 2482*493d26c5SEd Maste /* Register address for bitfield lro_q_ses_lmt */ 2483*493d26c5SEd Maste #define rpo_lro_qses_lmt_adr 0x00005594 2484*493d26c5SEd Maste /* Bitmask for bitfield lro_q_ses_lmt */ 2485*493d26c5SEd Maste #define rpo_lro_qses_lmt_msk 0x00003000 2486*493d26c5SEd Maste /* Inverted bitmask for bitfield lro_q_ses_lmt */ 2487*493d26c5SEd Maste #define rpo_lro_qses_lmt_mskn 0xFFFFCFFF 2488*493d26c5SEd Maste /* Lower bit position of bitfield lro_q_ses_lmt */ 2489*493d26c5SEd Maste #define rpo_lro_qses_lmt_shift 12 2490*493d26c5SEd Maste /* Width of bitfield lro_q_ses_lmt */ 2491*493d26c5SEd Maste #define rpo_lro_qses_lmt_width 2 2492*493d26c5SEd Maste /* Default value of bitfield lro_q_ses_lmt */ 2493*493d26c5SEd Maste #define rpo_lro_qses_lmt_default 0x1 2494*493d26c5SEd Maste 2495*493d26c5SEd Maste /* RX lro_tot_dsc_lmt[1:0] Bitfield Definitions 2496*493d26c5SEd Maste * Preprocessor definitions for the bitfield "lro_tot_dsc_lmt[1:0]". 2497*493d26c5SEd Maste * PORT="pif_rpo_lro_tot_dsc_lmt_i[1:0]" 2498*493d26c5SEd Maste */ 2499*493d26c5SEd Maste 2500*493d26c5SEd Maste /* Register address for bitfield lro_tot_dsc_lmt[1:0] */ 2501*493d26c5SEd Maste #define rpo_lro_tot_dsc_lmt_adr 0x00005594 2502*493d26c5SEd Maste /* Bitmask for bitfield lro_tot_dsc_lmt[1:0] */ 2503*493d26c5SEd Maste #define rpo_lro_tot_dsc_lmt_msk 0x00000060 2504*493d26c5SEd Maste /* Inverted bitmask for bitfield lro_tot_dsc_lmt[1:0] */ 2505*493d26c5SEd Maste #define rpo_lro_tot_dsc_lmt_mskn 0xFFFFFF9F 2506*493d26c5SEd Maste /* Lower bit position of bitfield lro_tot_dsc_lmt[1:0] */ 2507*493d26c5SEd Maste #define rpo_lro_tot_dsc_lmt_shift 5 2508*493d26c5SEd Maste /* Width of bitfield lro_tot_dsc_lmt[1:0] */ 2509*493d26c5SEd Maste #define rpo_lro_tot_dsc_lmt_width 2 2510*493d26c5SEd Maste /* Default value of bitfield lro_tot_dsc_lmt[1:0] */ 2511*493d26c5SEd Maste #define rpo_lro_tot_dsc_lmt_defalt 0x1 2512*493d26c5SEd Maste 2513*493d26c5SEd Maste /* RX lro_pkt_min[4:0] Bitfield Definitions 2514*493d26c5SEd Maste * Preprocessor definitions for the bitfield "lro_pkt_min[4:0]". 2515*493d26c5SEd Maste * PORT="pif_rpo_lro_pkt_min_i[4:0]" 2516*493d26c5SEd Maste */ 2517*493d26c5SEd Maste 2518*493d26c5SEd Maste /* Register address for bitfield lro_pkt_min[4:0] */ 2519*493d26c5SEd Maste #define rpo_lro_pkt_min_adr 0x00005594 2520*493d26c5SEd Maste /* Bitmask for bitfield lro_pkt_min[4:0] */ 2521*493d26c5SEd Maste #define rpo_lro_pkt_min_msk 0x0000001F 2522*493d26c5SEd Maste /* Inverted bitmask for bitfield lro_pkt_min[4:0] */ 2523*493d26c5SEd Maste #define rpo_lro_pkt_min_mskn 0xFFFFFFE0 2524*493d26c5SEd Maste /* Lower bit position of bitfield lro_pkt_min[4:0] */ 2525*493d26c5SEd Maste #define rpo_lro_pkt_min_shift 0 2526*493d26c5SEd Maste /* Width of bitfield lro_pkt_min[4:0] */ 2527*493d26c5SEd Maste #define rpo_lro_pkt_min_width 5 2528*493d26c5SEd Maste /* Default value of bitfield lro_pkt_min[4:0] */ 2529*493d26c5SEd Maste #define rpo_lro_pkt_min_default 0x8 2530*493d26c5SEd Maste 2531*493d26c5SEd Maste /* Width of bitfield lro{L}_des_max[1:0] */ 2532*493d26c5SEd Maste #define rpo_lro_ldes_max_width 2 2533*493d26c5SEd Maste /* Default value of bitfield lro{L}_des_max[1:0] */ 2534*493d26c5SEd Maste #define rpo_lro_ldes_max_default 0x0 2535*493d26c5SEd Maste 2536*493d26c5SEd Maste /* RX lro_tb_div[11:0] Bitfield Definitions 2537*493d26c5SEd Maste * Preprocessor definitions for the bitfield "lro_tb_div[11:0]". 2538*493d26c5SEd Maste * PORT="pif_rpo_lro_tb_div_i[11:0]" 2539*493d26c5SEd Maste */ 2540*493d26c5SEd Maste 2541*493d26c5SEd Maste /* Register address for bitfield lro_tb_div[11:0] */ 2542*493d26c5SEd Maste #define rpo_lro_tb_div_adr 0x00005620 2543*493d26c5SEd Maste /* Bitmask for bitfield lro_tb_div[11:0] */ 2544*493d26c5SEd Maste #define rpo_lro_tb_div_msk 0xFFF00000 2545*493d26c5SEd Maste /* Inverted bitmask for bitfield lro_tb_div[11:0] */ 2546*493d26c5SEd Maste #define rpo_lro_tb_div_mskn 0x000FFFFF 2547*493d26c5SEd Maste /* Lower bit position of bitfield lro_tb_div[11:0] */ 2548*493d26c5SEd Maste #define rpo_lro_tb_div_shift 20 2549*493d26c5SEd Maste /* Width of bitfield lro_tb_div[11:0] */ 2550*493d26c5SEd Maste #define rpo_lro_tb_div_width 12 2551*493d26c5SEd Maste /* Default value of bitfield lro_tb_div[11:0] */ 2552*493d26c5SEd Maste #define rpo_lro_tb_div_default 0xC35 2553*493d26c5SEd Maste 2554*493d26c5SEd Maste /* RX lro_ina_ival[9:0] Bitfield Definitions 2555*493d26c5SEd Maste * Preprocessor definitions for the bitfield "lro_ina_ival[9:0]". 2556*493d26c5SEd Maste * PORT="pif_rpo_lro_ina_ival_i[9:0]" 2557*493d26c5SEd Maste */ 2558*493d26c5SEd Maste 2559*493d26c5SEd Maste /* Register address for bitfield lro_ina_ival[9:0] */ 2560*493d26c5SEd Maste #define rpo_lro_ina_ival_adr 0x00005620 2561*493d26c5SEd Maste /* Bitmask for bitfield lro_ina_ival[9:0] */ 2562*493d26c5SEd Maste #define rpo_lro_ina_ival_msk 0x000FFC00 2563*493d26c5SEd Maste /* Inverted bitmask for bitfield lro_ina_ival[9:0] */ 2564*493d26c5SEd Maste #define rpo_lro_ina_ival_mskn 0xFFF003FF 2565*493d26c5SEd Maste /* Lower bit position of bitfield lro_ina_ival[9:0] */ 2566*493d26c5SEd Maste #define rpo_lro_ina_ival_shift 10 2567*493d26c5SEd Maste /* Width of bitfield lro_ina_ival[9:0] */ 2568*493d26c5SEd Maste #define rpo_lro_ina_ival_width 10 2569*493d26c5SEd Maste /* Default value of bitfield lro_ina_ival[9:0] */ 2570*493d26c5SEd Maste #define rpo_lro_ina_ival_default 0xA 2571*493d26c5SEd Maste 2572*493d26c5SEd Maste /* RX lro_max_ival[9:0] Bitfield Definitions 2573*493d26c5SEd Maste * Preprocessor definitions for the bitfield "lro_max_ival[9:0]". 2574*493d26c5SEd Maste * PORT="pif_rpo_lro_max_ival_i[9:0]" 2575*493d26c5SEd Maste */ 2576*493d26c5SEd Maste 2577*493d26c5SEd Maste /* Register address for bitfield lro_max_ival[9:0] */ 2578*493d26c5SEd Maste #define rpo_lro_max_ival_adr 0x00005620 2579*493d26c5SEd Maste /* Bitmask for bitfield lro_max_ival[9:0] */ 2580*493d26c5SEd Maste #define rpo_lro_max_ival_msk 0x000003FF 2581*493d26c5SEd Maste /* Inverted bitmask for bitfield lro_max_ival[9:0] */ 2582*493d26c5SEd Maste #define rpo_lro_max_ival_mskn 0xFFFFFC00 2583*493d26c5SEd Maste /* Lower bit position of bitfield lro_max_ival[9:0] */ 2584*493d26c5SEd Maste #define rpo_lro_max_ival_shift 0 2585*493d26c5SEd Maste /* Width of bitfield lro_max_ival[9:0] */ 2586*493d26c5SEd Maste #define rpo_lro_max_ival_width 10 2587*493d26c5SEd Maste /* Default value of bitfield lro_max_ival[9:0] */ 2588*493d26c5SEd Maste #define rpo_lro_max_ival_default 0x19 2589*493d26c5SEd Maste 2590*493d26c5SEd Maste /* TX dca{D}_cpuid[7:0] Bitfield Definitions 2591*493d26c5SEd Maste * Preprocessor definitions for the bitfield "dca{D}_cpuid[7:0]". 2592*493d26c5SEd Maste * Parameter: DCA {D} | stride size 0x4 | range [0, 31] 2593*493d26c5SEd Maste * PORT="pif_tdm_dca0_cpuid_i[7:0]" 2594*493d26c5SEd Maste */ 2595*493d26c5SEd Maste 2596*493d26c5SEd Maste /* Register address for bitfield dca{D}_cpuid[7:0] */ 2597*493d26c5SEd Maste #define tdm_dca_dcpuid_adr(dca) (0x00008400 + (dca) * 0x4) 2598*493d26c5SEd Maste /* Bitmask for bitfield dca{D}_cpuid[7:0] */ 2599*493d26c5SEd Maste #define tdm_dca_dcpuid_msk 0x000000FF 2600*493d26c5SEd Maste /* Inverted bitmask for bitfield dca{D}_cpuid[7:0] */ 2601*493d26c5SEd Maste #define tdm_dca_dcpuid_mskn 0xFFFFFF00 2602*493d26c5SEd Maste /* Lower bit position of bitfield dca{D}_cpuid[7:0] */ 2603*493d26c5SEd Maste #define tdm_dca_dcpuid_shift 0 2604*493d26c5SEd Maste /* Width of bitfield dca{D}_cpuid[7:0] */ 2605*493d26c5SEd Maste #define tdm_dca_dcpuid_width 8 2606*493d26c5SEd Maste /* Default value of bitfield dca{D}_cpuid[7:0] */ 2607*493d26c5SEd Maste #define tdm_dca_dcpuid_default 0x0 2608*493d26c5SEd Maste 2609*493d26c5SEd Maste /* TX dca{D}_desc_en Bitfield Definitions 2610*493d26c5SEd Maste * Preprocessor definitions for the bitfield "dca{D}_desc_en". 2611*493d26c5SEd Maste * Parameter: DCA {D} | stride size 0x4 | range [0, 31] 2612*493d26c5SEd Maste * PORT="pif_tdm_dca_desc_en_i[0]" 2613*493d26c5SEd Maste */ 2614*493d26c5SEd Maste 2615*493d26c5SEd Maste /* Register address for bitfield dca{D}_desc_en */ 2616*493d26c5SEd Maste #define tdm_dca_ddesc_en_adr(dca) (0x00008400 + (dca) * 0x4) 2617*493d26c5SEd Maste /* Bitmask for bitfield dca{D}_desc_en */ 2618*493d26c5SEd Maste #define tdm_dca_ddesc_en_msk 0x80000000 2619*493d26c5SEd Maste /* Inverted bitmask for bitfield dca{D}_desc_en */ 2620*493d26c5SEd Maste #define tdm_dca_ddesc_en_mskn 0x7FFFFFFF 2621*493d26c5SEd Maste /* Lower bit position of bitfield dca{D}_desc_en */ 2622*493d26c5SEd Maste #define tdm_dca_ddesc_en_shift 31 2623*493d26c5SEd Maste /* Width of bitfield dca{D}_desc_en */ 2624*493d26c5SEd Maste #define tdm_dca_ddesc_en_width 1 2625*493d26c5SEd Maste /* Default value of bitfield dca{D}_desc_en */ 2626*493d26c5SEd Maste #define tdm_dca_ddesc_en_default 0x0 2627*493d26c5SEd Maste 2628*493d26c5SEd Maste /* TX desc{D}_en Bitfield Definitions 2629*493d26c5SEd Maste * Preprocessor definitions for the bitfield "desc{D}_en". 2630*493d26c5SEd Maste * Parameter: descriptor {D} | stride size 0x40 | range [0, 31] 2631*493d26c5SEd Maste * PORT="pif_tdm_desc_en_i[0]" 2632*493d26c5SEd Maste */ 2633*493d26c5SEd Maste 2634*493d26c5SEd Maste /* Register address for bitfield desc{D}_en */ 2635*493d26c5SEd Maste #define tdm_desc_den_adr(descriptor) (0x00007C08 + (descriptor) * 0x40) 2636*493d26c5SEd Maste /* Bitmask for bitfield desc{D}_en */ 2637*493d26c5SEd Maste #define tdm_desc_den_msk 0x80000000 2638*493d26c5SEd Maste /* Inverted bitmask for bitfield desc{D}_en */ 2639*493d26c5SEd Maste #define tdm_desc_den_mskn 0x7FFFFFFF 2640*493d26c5SEd Maste /* Lower bit position of bitfield desc{D}_en */ 2641*493d26c5SEd Maste #define tdm_desc_den_shift 31 2642*493d26c5SEd Maste /* Width of bitfield desc{D}_en */ 2643*493d26c5SEd Maste #define tdm_desc_den_width 1 2644*493d26c5SEd Maste /* Default value of bitfield desc{D}_en */ 2645*493d26c5SEd Maste #define tdm_desc_den_default 0x0 2646*493d26c5SEd Maste 2647*493d26c5SEd Maste /* TX desc{D}_hd[C:0] Bitfield Definitions 2648*493d26c5SEd Maste * Preprocessor definitions for the bitfield "desc{D}_hd[C:0]". 2649*493d26c5SEd Maste * Parameter: descriptor {D} | stride size 0x40 | range [0, 31] 2650*493d26c5SEd Maste * PORT="tdm_pif_desc0_hd_o[12:0]" 2651*493d26c5SEd Maste */ 2652*493d26c5SEd Maste 2653*493d26c5SEd Maste /* Register address for bitfield desc{D}_hd[C:0] */ 2654*493d26c5SEd Maste #define tdm_desc_dhd_adr(descriptor) (0x00007C0C + (descriptor) * 0x40) 2655*493d26c5SEd Maste /* Bitmask for bitfield desc{D}_hd[C:0] */ 2656*493d26c5SEd Maste #define tdm_desc_dhd_msk 0x00001FFF 2657*493d26c5SEd Maste /* Inverted bitmask for bitfield desc{D}_hd[C:0] */ 2658*493d26c5SEd Maste #define tdm_desc_dhd_mskn 0xFFFFE000 2659*493d26c5SEd Maste /* Lower bit position of bitfield desc{D}_hd[C:0] */ 2660*493d26c5SEd Maste #define tdm_desc_dhd_shift 0 2661*493d26c5SEd Maste /* Width of bitfield desc{D}_hd[C:0] */ 2662*493d26c5SEd Maste #define tdm_desc_dhd_width 13 2663*493d26c5SEd Maste 2664*493d26c5SEd Maste /* TX desc{D}_len[9:0] Bitfield Definitions 2665*493d26c5SEd Maste * Preprocessor definitions for the bitfield "desc{D}_len[9:0]". 2666*493d26c5SEd Maste * Parameter: descriptor {D} | stride size 0x40 | range [0, 31] 2667*493d26c5SEd Maste * PORT="pif_tdm_desc0_len_i[9:0]" 2668*493d26c5SEd Maste */ 2669*493d26c5SEd Maste 2670*493d26c5SEd Maste /* Register address for bitfield desc{D}_len[9:0] */ 2671*493d26c5SEd Maste #define tdm_desc_dlen_adr(descriptor) (0x00007C08 + (descriptor) * 0x40) 2672*493d26c5SEd Maste /* Bitmask for bitfield desc{D}_len[9:0] */ 2673*493d26c5SEd Maste #define tdm_desc_dlen_msk 0x00001FF8 2674*493d26c5SEd Maste /* Inverted bitmask for bitfield desc{D}_len[9:0] */ 2675*493d26c5SEd Maste #define tdm_desc_dlen_mskn 0xFFFFE007 2676*493d26c5SEd Maste /* Lower bit position of bitfield desc{D}_len[9:0] */ 2677*493d26c5SEd Maste #define tdm_desc_dlen_shift 3 2678*493d26c5SEd Maste /* Width of bitfield desc{D}_len[9:0] */ 2679*493d26c5SEd Maste #define tdm_desc_dlen_width 10 2680*493d26c5SEd Maste /* Default value of bitfield desc{D}_len[9:0] */ 2681*493d26c5SEd Maste #define tdm_desc_dlen_default 0x0 2682*493d26c5SEd Maste 2683*493d26c5SEd Maste /* TX desc{D}_wrb_thresh[6:0] Bitfield Definitions 2684*493d26c5SEd Maste * Preprocessor definitions for the bitfield "desc{D}_wrb_thresh[6:0]". 2685*493d26c5SEd Maste * Parameter: descriptor {D} | stride size 0x40 | range [0, 31] 2686*493d26c5SEd Maste * PORT="pif_tdm_desc0_wrb_thresh_i[6:0]" 2687*493d26c5SEd Maste */ 2688*493d26c5SEd Maste 2689*493d26c5SEd Maste /* Register address for bitfield desc{D}_wrb_thresh[6:0] */ 2690*493d26c5SEd Maste #define tdm_desc_dwrb_thresh_adr(descriptor) \ 2691*493d26c5SEd Maste (0x00007C18 + (descriptor) * 0x40) 2692*493d26c5SEd Maste /* Bitmask for bitfield desc{D}_wrb_thresh[6:0] */ 2693*493d26c5SEd Maste #define tdm_desc_dwrb_thresh_msk 0x00007F00 2694*493d26c5SEd Maste /* Inverted bitmask for bitfield desc{D}_wrb_thresh[6:0] */ 2695*493d26c5SEd Maste #define tdm_desc_dwrb_thresh_mskn 0xFFFF80FF 2696*493d26c5SEd Maste /* Lower bit position of bitfield desc{D}_wrb_thresh[6:0] */ 2697*493d26c5SEd Maste #define tdm_desc_dwrb_thresh_shift 8 2698*493d26c5SEd Maste /* Width of bitfield desc{D}_wrb_thresh[6:0] */ 2699*493d26c5SEd Maste #define tdm_desc_dwrb_thresh_width 7 2700*493d26c5SEd Maste /* Default value of bitfield desc{D}_wrb_thresh[6:0] */ 2701*493d26c5SEd Maste #define tdm_desc_dwrb_thresh_default 0x0 2702*493d26c5SEd Maste 2703*493d26c5SEd Maste /* TX tdm_int_mod_en Bitfield Definitions 2704*493d26c5SEd Maste * Preprocessor definitions for the bitfield "tdm_int_mod_en". 2705*493d26c5SEd Maste * PORT="pif_tdm_int_mod_en_i" 2706*493d26c5SEd Maste */ 2707*493d26c5SEd Maste 2708*493d26c5SEd Maste /* Register address for bitfield tdm_int_mod_en */ 2709*493d26c5SEd Maste #define tdm_int_mod_en_adr 0x00007B40 2710*493d26c5SEd Maste /* Bitmask for bitfield tdm_int_mod_en */ 2711*493d26c5SEd Maste #define tdm_int_mod_en_msk 0x00000010 2712*493d26c5SEd Maste /* Inverted bitmask for bitfield tdm_int_mod_en */ 2713*493d26c5SEd Maste #define tdm_int_mod_en_mskn 0xFFFFFFEF 2714*493d26c5SEd Maste /* Lower bit position of bitfield tdm_int_mod_en */ 2715*493d26c5SEd Maste #define tdm_int_mod_en_shift 4 2716*493d26c5SEd Maste /* Width of bitfield tdm_int_mod_en */ 2717*493d26c5SEd Maste #define tdm_int_mod_en_width 1 2718*493d26c5SEd Maste /* Default value of bitfield tdm_int_mod_en */ 2719*493d26c5SEd Maste #define tdm_int_mod_en_default 0x0 2720*493d26c5SEd Maste 2721*493d26c5SEd Maste /* TX lso_tcp_flag_mid[B:0] Bitfield Definitions 2722*493d26c5SEd Maste * Preprocessor definitions for the bitfield "lso_tcp_flag_mid[B:0]". 2723*493d26c5SEd Maste * PORT="pif_thm_lso_tcp_flag_mid_i[11:0]" 2724*493d26c5SEd Maste */ 2725*493d26c5SEd Maste /* register address for bitfield lso_tcp_flag_mid[b:0] */ 2726*493d26c5SEd Maste #define thm_lso_tcp_flag_mid_adr 0x00007820 2727*493d26c5SEd Maste /* bitmask for bitfield lso_tcp_flag_mid[b:0] */ 2728*493d26c5SEd Maste #define thm_lso_tcp_flag_mid_msk 0x0fff0000 2729*493d26c5SEd Maste /* inverted bitmask for bitfield lso_tcp_flag_mid[b:0] */ 2730*493d26c5SEd Maste #define thm_lso_tcp_flag_mid_mskn 0xf000ffff 2731*493d26c5SEd Maste /* lower bit position of bitfield lso_tcp_flag_mid[b:0] */ 2732*493d26c5SEd Maste #define thm_lso_tcp_flag_mid_shift 16 2733*493d26c5SEd Maste /* width of bitfield lso_tcp_flag_mid[b:0] */ 2734*493d26c5SEd Maste #define thm_lso_tcp_flag_mid_width 12 2735*493d26c5SEd Maste /* default value of bitfield lso_tcp_flag_mid[b:0] */ 2736*493d26c5SEd Maste #define thm_lso_tcp_flag_mid_default 0x0 2737*493d26c5SEd Maste 2738*493d26c5SEd Maste /* tx tx_buf_en bitfield definitions 2739*493d26c5SEd Maste * preprocessor definitions for the bitfield "tx_buf_en". 2740*493d26c5SEd Maste * port="pif_tpb_tx_buf_en_i" 2741*493d26c5SEd Maste */ 2742*493d26c5SEd Maste 2743*493d26c5SEd Maste /* register address for bitfield tx_buf_en */ 2744*493d26c5SEd Maste #define tpb_tx_buf_en_adr 0x00007900 2745*493d26c5SEd Maste /* bitmask for bitfield tx_buf_en */ 2746*493d26c5SEd Maste #define tpb_tx_buf_en_msk 0x00000001 2747*493d26c5SEd Maste /* inverted bitmask for bitfield tx_buf_en */ 2748*493d26c5SEd Maste #define tpb_tx_buf_en_mskn 0xfffffffe 2749*493d26c5SEd Maste /* lower bit position of bitfield tx_buf_en */ 2750*493d26c5SEd Maste #define tpb_tx_buf_en_shift 0 2751*493d26c5SEd Maste /* width of bitfield tx_buf_en */ 2752*493d26c5SEd Maste #define tpb_tx_buf_en_width 1 2753*493d26c5SEd Maste /* default value of bitfield tx_buf_en */ 2754*493d26c5SEd Maste #define tpb_tx_buf_en_default 0x0 2755*493d26c5SEd Maste 2756*493d26c5SEd Maste /* tx tx_tc_mode bitfield definitions 2757*493d26c5SEd Maste * preprocessor definitions for the bitfield "tx_tc_mode". 2758*493d26c5SEd Maste * port="pif_tpb_tx_tc_mode_i" 2759*493d26c5SEd Maste */ 2760*493d26c5SEd Maste 2761*493d26c5SEd Maste /* register address for bitfield tx_tc_mode */ 2762*493d26c5SEd Maste #define tpb_tx_tc_mode_adr 0x00007900 2763*493d26c5SEd Maste /* bitmask for bitfield tx_tc_mode */ 2764*493d26c5SEd Maste #define tpb_tx_tc_mode_msk 0x00000100 2765*493d26c5SEd Maste /* inverted bitmask for bitfield tx_tc_mode */ 2766*493d26c5SEd Maste #define tpb_tx_tc_mode_mskn 0xfffffeff 2767*493d26c5SEd Maste /* lower bit position of bitfield tx_tc_mode */ 2768*493d26c5SEd Maste #define tpb_tx_tc_mode_shift 8 2769*493d26c5SEd Maste /* width of bitfield tx_tc_mode */ 2770*493d26c5SEd Maste #define tpb_tx_tc_mode_width 1 2771*493d26c5SEd Maste /* default value of bitfield tx_tc_mode */ 2772*493d26c5SEd Maste #define tpb_tx_tc_mode_default 0x0 2773*493d26c5SEd Maste 2774*493d26c5SEd Maste 2775*493d26c5SEd Maste /* tx tx{b}_hi_thresh[c:0] bitfield definitions 2776*493d26c5SEd Maste * preprocessor definitions for the bitfield "tx{b}_hi_thresh[c:0]". 2777*493d26c5SEd Maste * parameter: buffer {b} | stride size 0x10 | range [0, 7] 2778*493d26c5SEd Maste * port="pif_tpb_tx0_hi_thresh_i[12:0]" 2779*493d26c5SEd Maste */ 2780*493d26c5SEd Maste 2781*493d26c5SEd Maste /* register address for bitfield tx{b}_hi_thresh[c:0] */ 2782*493d26c5SEd Maste #define tpb_txbhi_thresh_adr(buffer) (0x00007914 + (buffer) * 0x10) 2783*493d26c5SEd Maste /* bitmask for bitfield tx{b}_hi_thresh[c:0] */ 2784*493d26c5SEd Maste #define tpb_txbhi_thresh_msk 0x1fff0000 2785*493d26c5SEd Maste /* inverted bitmask for bitfield tx{b}_hi_thresh[c:0] */ 2786*493d26c5SEd Maste #define tpb_txbhi_thresh_mskn 0xe000ffff 2787*493d26c5SEd Maste /* lower bit position of bitfield tx{b}_hi_thresh[c:0] */ 2788*493d26c5SEd Maste #define tpb_txbhi_thresh_shift 16 2789*493d26c5SEd Maste /* width of bitfield tx{b}_hi_thresh[c:0] */ 2790*493d26c5SEd Maste #define tpb_txbhi_thresh_width 13 2791*493d26c5SEd Maste /* default value of bitfield tx{b}_hi_thresh[c:0] */ 2792*493d26c5SEd Maste #define tpb_txbhi_thresh_default 0x0 2793*493d26c5SEd Maste 2794*493d26c5SEd Maste /* tx tx{b}_lo_thresh[c:0] bitfield definitions 2795*493d26c5SEd Maste * preprocessor definitions for the bitfield "tx{b}_lo_thresh[c:0]". 2796*493d26c5SEd Maste * parameter: buffer {b} | stride size 0x10 | range [0, 7] 2797*493d26c5SEd Maste * port="pif_tpb_tx0_lo_thresh_i[12:0]" 2798*493d26c5SEd Maste */ 2799*493d26c5SEd Maste 2800*493d26c5SEd Maste /* register address for bitfield tx{b}_lo_thresh[c:0] */ 2801*493d26c5SEd Maste #define tpb_txblo_thresh_adr(buffer) (0x00007914 + (buffer) * 0x10) 2802*493d26c5SEd Maste /* bitmask for bitfield tx{b}_lo_thresh[c:0] */ 2803*493d26c5SEd Maste #define tpb_txblo_thresh_msk 0x00001fff 2804*493d26c5SEd Maste /* inverted bitmask for bitfield tx{b}_lo_thresh[c:0] */ 2805*493d26c5SEd Maste #define tpb_txblo_thresh_mskn 0xffffe000 2806*493d26c5SEd Maste /* lower bit position of bitfield tx{b}_lo_thresh[c:0] */ 2807*493d26c5SEd Maste #define tpb_txblo_thresh_shift 0 2808*493d26c5SEd Maste /* width of bitfield tx{b}_lo_thresh[c:0] */ 2809*493d26c5SEd Maste #define tpb_txblo_thresh_width 13 2810*493d26c5SEd Maste /* default value of bitfield tx{b}_lo_thresh[c:0] */ 2811*493d26c5SEd Maste #define tpb_txblo_thresh_default 0x0 2812*493d26c5SEd Maste 2813*493d26c5SEd Maste /* tx dma_sys_loopback bitfield definitions 2814*493d26c5SEd Maste * preprocessor definitions for the bitfield "dma_sys_loopback". 2815*493d26c5SEd Maste * port="pif_tpb_dma_sys_lbk_i" 2816*493d26c5SEd Maste */ 2817*493d26c5SEd Maste 2818*493d26c5SEd Maste /* register address for bitfield dma_sys_loopback */ 2819*493d26c5SEd Maste #define tpb_dma_sys_lbk_adr 0x00007000 2820*493d26c5SEd Maste /* bitmask for bitfield dma_sys_loopback */ 2821*493d26c5SEd Maste #define tpb_dma_sys_lbk_msk 0x00000040 2822*493d26c5SEd Maste /* inverted bitmask for bitfield dma_sys_loopback */ 2823*493d26c5SEd Maste #define tpb_dma_sys_lbk_mskn 0xffffffbf 2824*493d26c5SEd Maste /* lower bit position of bitfield dma_sys_loopback */ 2825*493d26c5SEd Maste #define tpb_dma_sys_lbk_shift 6 2826*493d26c5SEd Maste /* width of bitfield dma_sys_loopback */ 2827*493d26c5SEd Maste #define tpb_dma_sys_lbk_width 1 2828*493d26c5SEd Maste /* default value of bitfield dma_sys_loopback */ 2829*493d26c5SEd Maste #define tpb_dma_sys_lbk_default 0x0 2830*493d26c5SEd Maste 2831*493d26c5SEd Maste /* tx tx{b}_buf_size[7:0] bitfield definitions 2832*493d26c5SEd Maste * preprocessor definitions for the bitfield "tx{b}_buf_size[7:0]". 2833*493d26c5SEd Maste * parameter: buffer {b} | stride size 0x10 | range [0, 7] 2834*493d26c5SEd Maste * port="pif_tpb_tx0_buf_size_i[7:0]" 2835*493d26c5SEd Maste */ 2836*493d26c5SEd Maste 2837*493d26c5SEd Maste /* register address for bitfield tx{b}_buf_size[7:0] */ 2838*493d26c5SEd Maste #define tpb_txbbuf_size_adr(buffer) (0x00007910 + (buffer) * 0x10) 2839*493d26c5SEd Maste /* bitmask for bitfield tx{b}_buf_size[7:0] */ 2840*493d26c5SEd Maste #define tpb_txbbuf_size_msk 0x000000ff 2841*493d26c5SEd Maste /* inverted bitmask for bitfield tx{b}_buf_size[7:0] */ 2842*493d26c5SEd Maste #define tpb_txbbuf_size_mskn 0xffffff00 2843*493d26c5SEd Maste /* lower bit position of bitfield tx{b}_buf_size[7:0] */ 2844*493d26c5SEd Maste #define tpb_txbbuf_size_shift 0 2845*493d26c5SEd Maste /* width of bitfield tx{b}_buf_size[7:0] */ 2846*493d26c5SEd Maste #define tpb_txbbuf_size_width 8 2847*493d26c5SEd Maste /* default value of bitfield tx{b}_buf_size[7:0] */ 2848*493d26c5SEd Maste #define tpb_txbbuf_size_default 0x0 2849*493d26c5SEd Maste 2850*493d26c5SEd Maste /* tx tx_scp_ins_en bitfield definitions 2851*493d26c5SEd Maste * preprocessor definitions for the bitfield "tx_scp_ins_en". 2852*493d26c5SEd Maste * port="pif_tpb_scp_ins_en_i" 2853*493d26c5SEd Maste */ 2854*493d26c5SEd Maste 2855*493d26c5SEd Maste /* register address for bitfield tx_scp_ins_en */ 2856*493d26c5SEd Maste #define tpb_tx_scp_ins_en_adr 0x00007900 2857*493d26c5SEd Maste /* bitmask for bitfield tx_scp_ins_en */ 2858*493d26c5SEd Maste #define tpb_tx_scp_ins_en_msk 0x00000004 2859*493d26c5SEd Maste /* inverted bitmask for bitfield tx_scp_ins_en */ 2860*493d26c5SEd Maste #define tpb_tx_scp_ins_en_mskn 0xfffffffb 2861*493d26c5SEd Maste /* lower bit position of bitfield tx_scp_ins_en */ 2862*493d26c5SEd Maste #define tpb_tx_scp_ins_en_shift 2 2863*493d26c5SEd Maste /* width of bitfield tx_scp_ins_en */ 2864*493d26c5SEd Maste #define tpb_tx_scp_ins_en_width 1 2865*493d26c5SEd Maste /* default value of bitfield tx_scp_ins_en */ 2866*493d26c5SEd Maste #define tpb_tx_scp_ins_en_default 0x0 2867*493d26c5SEd Maste 2868*493d26c5SEd Maste /* tx ipv4_chk_en bitfield definitions 2869*493d26c5SEd Maste * preprocessor definitions for the bitfield "ipv4_chk_en". 2870*493d26c5SEd Maste * port="pif_tpo_ipv4_chk_en_i" 2871*493d26c5SEd Maste */ 2872*493d26c5SEd Maste 2873*493d26c5SEd Maste /* register address for bitfield ipv4_chk_en */ 2874*493d26c5SEd Maste #define tpo_ipv4chk_en_adr 0x00007800 2875*493d26c5SEd Maste /* bitmask for bitfield ipv4_chk_en */ 2876*493d26c5SEd Maste #define tpo_ipv4chk_en_msk 0x00000002 2877*493d26c5SEd Maste /* inverted bitmask for bitfield ipv4_chk_en */ 2878*493d26c5SEd Maste #define tpo_ipv4chk_en_mskn 0xfffffffd 2879*493d26c5SEd Maste /* lower bit position of bitfield ipv4_chk_en */ 2880*493d26c5SEd Maste #define tpo_ipv4chk_en_shift 1 2881*493d26c5SEd Maste /* width of bitfield ipv4_chk_en */ 2882*493d26c5SEd Maste #define tpo_ipv4chk_en_width 1 2883*493d26c5SEd Maste /* default value of bitfield ipv4_chk_en */ 2884*493d26c5SEd Maste #define tpo_ipv4chk_en_default 0x0 2885*493d26c5SEd Maste 2886*493d26c5SEd Maste /* tx l4_chk_en bitfield definitions 2887*493d26c5SEd Maste * preprocessor definitions for the bitfield "l4_chk_en". 2888*493d26c5SEd Maste * port="pif_tpo_l4_chk_en_i" 2889*493d26c5SEd Maste */ 2890*493d26c5SEd Maste 2891*493d26c5SEd Maste /* register address for bitfield l4_chk_en */ 2892*493d26c5SEd Maste #define tpol4chk_en_adr 0x00007800 2893*493d26c5SEd Maste /* bitmask for bitfield l4_chk_en */ 2894*493d26c5SEd Maste #define tpol4chk_en_msk 0x00000001 2895*493d26c5SEd Maste /* inverted bitmask for bitfield l4_chk_en */ 2896*493d26c5SEd Maste #define tpol4chk_en_mskn 0xfffffffe 2897*493d26c5SEd Maste /* lower bit position of bitfield l4_chk_en */ 2898*493d26c5SEd Maste #define tpol4chk_en_shift 0 2899*493d26c5SEd Maste /* width of bitfield l4_chk_en */ 2900*493d26c5SEd Maste #define tpol4chk_en_width 1 2901*493d26c5SEd Maste /* default value of bitfield l4_chk_en */ 2902*493d26c5SEd Maste #define tpol4chk_en_default 0x0 2903*493d26c5SEd Maste 2904*493d26c5SEd Maste /* tx pkt_sys_loopback bitfield definitions 2905*493d26c5SEd Maste * preprocessor definitions for the bitfield "pkt_sys_loopback". 2906*493d26c5SEd Maste * port="pif_tpo_pkt_sys_lbk_i" 2907*493d26c5SEd Maste */ 2908*493d26c5SEd Maste 2909*493d26c5SEd Maste /* register address for bitfield pkt_sys_loopback */ 2910*493d26c5SEd Maste #define tpo_pkt_sys_lbk_adr 0x00007000 2911*493d26c5SEd Maste /* bitmask for bitfield pkt_sys_loopback */ 2912*493d26c5SEd Maste #define tpo_pkt_sys_lbk_msk 0x00000080 2913*493d26c5SEd Maste /* inverted bitmask for bitfield pkt_sys_loopback */ 2914*493d26c5SEd Maste #define tpo_pkt_sys_lbk_mskn 0xffffff7f 2915*493d26c5SEd Maste /* lower bit position of bitfield pkt_sys_loopback */ 2916*493d26c5SEd Maste #define tpo_pkt_sys_lbk_shift 7 2917*493d26c5SEd Maste /* width of bitfield pkt_sys_loopback */ 2918*493d26c5SEd Maste #define tpo_pkt_sys_lbk_width 1 2919*493d26c5SEd Maste /* default value of bitfield pkt_sys_loopback */ 2920*493d26c5SEd Maste #define tpo_pkt_sys_lbk_default 0x0 2921*493d26c5SEd Maste 2922*493d26c5SEd Maste /* tx data_tc_arb_mode bitfield definitions 2923*493d26c5SEd Maste * preprocessor definitions for the bitfield "data_tc_arb_mode". 2924*493d26c5SEd Maste * port="pif_tps_data_tc_arb_mode_i" 2925*493d26c5SEd Maste */ 2926*493d26c5SEd Maste 2927*493d26c5SEd Maste /* register address for bitfield data_tc_arb_mode */ 2928*493d26c5SEd Maste #define tps_data_tc_arb_mode_adr 0x00007100 2929*493d26c5SEd Maste /* bitmask for bitfield data_tc_arb_mode */ 2930*493d26c5SEd Maste #define tps_data_tc_arb_mode_msk 0x00000001 2931*493d26c5SEd Maste /* inverted bitmask for bitfield data_tc_arb_mode */ 2932*493d26c5SEd Maste #define tps_data_tc_arb_mode_mskn 0xfffffffe 2933*493d26c5SEd Maste /* lower bit position of bitfield data_tc_arb_mode */ 2934*493d26c5SEd Maste #define tps_data_tc_arb_mode_shift 0 2935*493d26c5SEd Maste /* width of bitfield data_tc_arb_mode */ 2936*493d26c5SEd Maste #define tps_data_tc_arb_mode_width 1 2937*493d26c5SEd Maste /* default value of bitfield data_tc_arb_mode */ 2938*493d26c5SEd Maste #define tps_data_tc_arb_mode_default 0x0 2939*493d26c5SEd Maste 2940*493d26c5SEd Maste /* tx desc_rate_ta_rst bitfield definitions 2941*493d26c5SEd Maste * preprocessor definitions for the bitfield "desc_rate_ta_rst". 2942*493d26c5SEd Maste * port="pif_tps_desc_rate_ta_rst_i" 2943*493d26c5SEd Maste */ 2944*493d26c5SEd Maste 2945*493d26c5SEd Maste /* register address for bitfield desc_rate_ta_rst */ 2946*493d26c5SEd Maste #define tps_desc_rate_ta_rst_adr 0x00007310 2947*493d26c5SEd Maste /* bitmask for bitfield desc_rate_ta_rst */ 2948*493d26c5SEd Maste #define tps_desc_rate_ta_rst_msk 0x80000000 2949*493d26c5SEd Maste /* inverted bitmask for bitfield desc_rate_ta_rst */ 2950*493d26c5SEd Maste #define tps_desc_rate_ta_rst_mskn 0x7fffffff 2951*493d26c5SEd Maste /* lower bit position of bitfield desc_rate_ta_rst */ 2952*493d26c5SEd Maste #define tps_desc_rate_ta_rst_shift 31 2953*493d26c5SEd Maste /* width of bitfield desc_rate_ta_rst */ 2954*493d26c5SEd Maste #define tps_desc_rate_ta_rst_width 1 2955*493d26c5SEd Maste /* default value of bitfield desc_rate_ta_rst */ 2956*493d26c5SEd Maste #define tps_desc_rate_ta_rst_default 0x0 2957*493d26c5SEd Maste 2958*493d26c5SEd Maste /* tx desc_rate_limit[a:0] bitfield definitions 2959*493d26c5SEd Maste * preprocessor definitions for the bitfield "desc_rate_limit[a:0]". 2960*493d26c5SEd Maste * port="pif_tps_desc_rate_lim_i[10:0]" 2961*493d26c5SEd Maste */ 2962*493d26c5SEd Maste 2963*493d26c5SEd Maste /* register address for bitfield desc_rate_limit[a:0] */ 2964*493d26c5SEd Maste #define tps_desc_rate_lim_adr 0x00007310 2965*493d26c5SEd Maste /* bitmask for bitfield desc_rate_limit[a:0] */ 2966*493d26c5SEd Maste #define tps_desc_rate_lim_msk 0x000007ff 2967*493d26c5SEd Maste /* inverted bitmask for bitfield desc_rate_limit[a:0] */ 2968*493d26c5SEd Maste #define tps_desc_rate_lim_mskn 0xfffff800 2969*493d26c5SEd Maste /* lower bit position of bitfield desc_rate_limit[a:0] */ 2970*493d26c5SEd Maste #define tps_desc_rate_lim_shift 0 2971*493d26c5SEd Maste /* width of bitfield desc_rate_limit[a:0] */ 2972*493d26c5SEd Maste #define tps_desc_rate_lim_width 11 2973*493d26c5SEd Maste /* default value of bitfield desc_rate_limit[a:0] */ 2974*493d26c5SEd Maste #define tps_desc_rate_lim_default 0x0 2975*493d26c5SEd Maste 2976*493d26c5SEd Maste /* tx desc_tc_arb_mode[1:0] bitfield definitions 2977*493d26c5SEd Maste * preprocessor definitions for the bitfield "desc_tc_arb_mode[1:0]". 2978*493d26c5SEd Maste * port="pif_tps_desc_tc_arb_mode_i[1:0]" 2979*493d26c5SEd Maste */ 2980*493d26c5SEd Maste 2981*493d26c5SEd Maste /* register address for bitfield desc_tc_arb_mode[1:0] */ 2982*493d26c5SEd Maste #define tps_desc_tc_arb_mode_adr 0x00007200 2983*493d26c5SEd Maste /* bitmask for bitfield desc_tc_arb_mode[1:0] */ 2984*493d26c5SEd Maste #define tps_desc_tc_arb_mode_msk 0x00000003 2985*493d26c5SEd Maste /* inverted bitmask for bitfield desc_tc_arb_mode[1:0] */ 2986*493d26c5SEd Maste #define tps_desc_tc_arb_mode_mskn 0xfffffffc 2987*493d26c5SEd Maste /* lower bit position of bitfield desc_tc_arb_mode[1:0] */ 2988*493d26c5SEd Maste #define tps_desc_tc_arb_mode_shift 0 2989*493d26c5SEd Maste /* width of bitfield desc_tc_arb_mode[1:0] */ 2990*493d26c5SEd Maste #define tps_desc_tc_arb_mode_width 2 2991*493d26c5SEd Maste /* default value of bitfield desc_tc_arb_mode[1:0] */ 2992*493d26c5SEd Maste #define tps_desc_tc_arb_mode_default 0x0 2993*493d26c5SEd Maste 2994*493d26c5SEd Maste /* tx desc_tc{t}_credit_max[b:0] bitfield definitions 2995*493d26c5SEd Maste * preprocessor definitions for the bitfield "desc_tc{t}_credit_max[b:0]". 2996*493d26c5SEd Maste * parameter: tc {t} | stride size 0x4 | range [0, 7] 2997*493d26c5SEd Maste * port="pif_tps_desc_tc0_credit_max_i[11:0]" 2998*493d26c5SEd Maste */ 2999*493d26c5SEd Maste 3000*493d26c5SEd Maste /* register address for bitfield desc_tc{t}_credit_max[b:0] */ 3001*493d26c5SEd Maste #define tps_desc_tctcredit_max_adr(tc) (0x00007210 + (tc) * 0x4) 3002*493d26c5SEd Maste /* bitmask for bitfield desc_tc{t}_credit_max[b:0] */ 3003*493d26c5SEd Maste #define tps_desc_tctcredit_max_msk 0x0fff0000 3004*493d26c5SEd Maste /* inverted bitmask for bitfield desc_tc{t}_credit_max[b:0] */ 3005*493d26c5SEd Maste #define tps_desc_tctcredit_max_mskn 0xf000ffff 3006*493d26c5SEd Maste /* lower bit position of bitfield desc_tc{t}_credit_max[b:0] */ 3007*493d26c5SEd Maste #define tps_desc_tctcredit_max_shift 16 3008*493d26c5SEd Maste /* width of bitfield desc_tc{t}_credit_max[b:0] */ 3009*493d26c5SEd Maste #define tps_desc_tctcredit_max_width 12 3010*493d26c5SEd Maste /* default value of bitfield desc_tc{t}_credit_max[b:0] */ 3011*493d26c5SEd Maste #define tps_desc_tctcredit_max_default 0x0 3012*493d26c5SEd Maste 3013*493d26c5SEd Maste /* tx desc_tc{t}_weight[8:0] bitfield definitions 3014*493d26c5SEd Maste * preprocessor definitions for the bitfield "desc_tc{t}_weight[8:0]". 3015*493d26c5SEd Maste * parameter: tc {t} | stride size 0x4 | range [0, 7] 3016*493d26c5SEd Maste * port="pif_tps_desc_tc0_weight_i[8:0]" 3017*493d26c5SEd Maste */ 3018*493d26c5SEd Maste 3019*493d26c5SEd Maste /* register address for bitfield desc_tc{t}_weight[8:0] */ 3020*493d26c5SEd Maste #define tps_desc_tctweight_adr(tc) (0x00007210 + (tc) * 0x4) 3021*493d26c5SEd Maste /* bitmask for bitfield desc_tc{t}_weight[8:0] */ 3022*493d26c5SEd Maste #define tps_desc_tctweight_msk 0x000001ff 3023*493d26c5SEd Maste /* inverted bitmask for bitfield desc_tc{t}_weight[8:0] */ 3024*493d26c5SEd Maste #define tps_desc_tctweight_mskn 0xfffffe00 3025*493d26c5SEd Maste /* lower bit position of bitfield desc_tc{t}_weight[8:0] */ 3026*493d26c5SEd Maste #define tps_desc_tctweight_shift 0 3027*493d26c5SEd Maste /* width of bitfield desc_tc{t}_weight[8:0] */ 3028*493d26c5SEd Maste #define tps_desc_tctweight_width 9 3029*493d26c5SEd Maste /* default value of bitfield desc_tc{t}_weight[8:0] */ 3030*493d26c5SEd Maste #define tps_desc_tctweight_default 0x0 3031*493d26c5SEd Maste 3032*493d26c5SEd Maste /* tx desc_vm_arb_mode bitfield definitions 3033*493d26c5SEd Maste * preprocessor definitions for the bitfield "desc_vm_arb_mode". 3034*493d26c5SEd Maste * port="pif_tps_desc_vm_arb_mode_i" 3035*493d26c5SEd Maste */ 3036*493d26c5SEd Maste 3037*493d26c5SEd Maste /* register address for bitfield desc_vm_arb_mode */ 3038*493d26c5SEd Maste #define tps_desc_vm_arb_mode_adr 0x00007300 3039*493d26c5SEd Maste /* bitmask for bitfield desc_vm_arb_mode */ 3040*493d26c5SEd Maste #define tps_desc_vm_arb_mode_msk 0x00000001 3041*493d26c5SEd Maste /* inverted bitmask for bitfield desc_vm_arb_mode */ 3042*493d26c5SEd Maste #define tps_desc_vm_arb_mode_mskn 0xfffffffe 3043*493d26c5SEd Maste /* lower bit position of bitfield desc_vm_arb_mode */ 3044*493d26c5SEd Maste #define tps_desc_vm_arb_mode_shift 0 3045*493d26c5SEd Maste /* width of bitfield desc_vm_arb_mode */ 3046*493d26c5SEd Maste #define tps_desc_vm_arb_mode_width 1 3047*493d26c5SEd Maste /* default value of bitfield desc_vm_arb_mode */ 3048*493d26c5SEd Maste #define tps_desc_vm_arb_mode_default 0x0 3049*493d26c5SEd Maste 3050*493d26c5SEd Maste /* tx data_tc{t}_credit_max[b:0] bitfield definitions 3051*493d26c5SEd Maste * preprocessor definitions for the bitfield "data_tc{t}_credit_max[b:0]". 3052*493d26c5SEd Maste * parameter: tc {t} | stride size 0x4 | range [0, 7] 3053*493d26c5SEd Maste * port="pif_tps_data_tc0_credit_max_i[11:0]" 3054*493d26c5SEd Maste */ 3055*493d26c5SEd Maste 3056*493d26c5SEd Maste /* register address for bitfield data_tc{t}_credit_max[b:0] */ 3057*493d26c5SEd Maste #define tps_data_tctcredit_max_adr(tc) (0x00007110 + (tc) * 0x4) 3058*493d26c5SEd Maste /* bitmask for bitfield data_tc{t}_credit_max[b:0] */ 3059*493d26c5SEd Maste #define tps_data_tctcredit_max_msk 0x0fff0000 3060*493d26c5SEd Maste /* inverted bitmask for bitfield data_tc{t}_credit_max[b:0] */ 3061*493d26c5SEd Maste #define tps_data_tctcredit_max_mskn 0xf000ffff 3062*493d26c5SEd Maste /* lower bit position of bitfield data_tc{t}_credit_max[b:0] */ 3063*493d26c5SEd Maste #define tps_data_tctcredit_max_shift 16 3064*493d26c5SEd Maste /* width of bitfield data_tc{t}_credit_max[b:0] */ 3065*493d26c5SEd Maste #define tps_data_tctcredit_max_width 12 3066*493d26c5SEd Maste /* default value of bitfield data_tc{t}_credit_max[b:0] */ 3067*493d26c5SEd Maste #define tps_data_tctcredit_max_default 0x0 3068*493d26c5SEd Maste 3069*493d26c5SEd Maste /* tx data_tc{t}_weight[8:0] bitfield definitions 3070*493d26c5SEd Maste * preprocessor definitions for the bitfield "data_tc{t}_weight[8:0]". 3071*493d26c5SEd Maste * parameter: tc {t} | stride size 0x4 | range [0, 7] 3072*493d26c5SEd Maste * port="pif_tps_data_tc0_weight_i[8:0]" 3073*493d26c5SEd Maste */ 3074*493d26c5SEd Maste 3075*493d26c5SEd Maste /* register address for bitfield data_tc{t}_weight[8:0] */ 3076*493d26c5SEd Maste #define tps_data_tctweight_adr(tc) (0x00007110 + (tc) * 0x4) 3077*493d26c5SEd Maste /* bitmask for bitfield data_tc{t}_weight[8:0] */ 3078*493d26c5SEd Maste #define tps_data_tctweight_msk 0x000001ff 3079*493d26c5SEd Maste /* inverted bitmask for bitfield data_tc{t}_weight[8:0] */ 3080*493d26c5SEd Maste #define tps_data_tctweight_mskn 0xfffffe00 3081*493d26c5SEd Maste /* lower bit position of bitfield data_tc{t}_weight[8:0] */ 3082*493d26c5SEd Maste #define tps_data_tctweight_shift 0 3083*493d26c5SEd Maste /* width of bitfield data_tc{t}_weight[8:0] */ 3084*493d26c5SEd Maste #define tps_data_tctweight_width 9 3085*493d26c5SEd Maste /* default value of bitfield data_tc{t}_weight[8:0] */ 3086*493d26c5SEd Maste #define tps_data_tctweight_default 0x0 3087*493d26c5SEd Maste 3088*493d26c5SEd Maste /* tx reg_res_dsbl bitfield definitions 3089*493d26c5SEd Maste * preprocessor definitions for the bitfield "reg_res_dsbl". 3090*493d26c5SEd Maste * port="pif_tx_reg_res_dsbl_i" 3091*493d26c5SEd Maste */ 3092*493d26c5SEd Maste 3093*493d26c5SEd Maste /* register address for bitfield reg_res_dsbl */ 3094*493d26c5SEd Maste #define tx_reg_res_dsbl_adr 0x00007000 3095*493d26c5SEd Maste /* bitmask for bitfield reg_res_dsbl */ 3096*493d26c5SEd Maste #define tx_reg_res_dsbl_msk 0x20000000 3097*493d26c5SEd Maste /* inverted bitmask for bitfield reg_res_dsbl */ 3098*493d26c5SEd Maste #define tx_reg_res_dsbl_mskn 0xdfffffff 3099*493d26c5SEd Maste /* lower bit position of bitfield reg_res_dsbl */ 3100*493d26c5SEd Maste #define tx_reg_res_dsbl_shift 29 3101*493d26c5SEd Maste /* width of bitfield reg_res_dsbl */ 3102*493d26c5SEd Maste #define tx_reg_res_dsbl_width 1 3103*493d26c5SEd Maste /* default value of bitfield reg_res_dsbl */ 3104*493d26c5SEd Maste #define tx_reg_res_dsbl_default 0x1 3105*493d26c5SEd Maste 3106*493d26c5SEd Maste /* mac_phy register access busy bitfield definitions 3107*493d26c5SEd Maste * preprocessor definitions for the bitfield "register access busy". 3108*493d26c5SEd Maste * port="msm_pif_reg_busy_o" 3109*493d26c5SEd Maste */ 3110*493d26c5SEd Maste 3111*493d26c5SEd Maste /* register address for bitfield register access busy */ 3112*493d26c5SEd Maste #define msm_reg_access_busy_adr 0x00004400 3113*493d26c5SEd Maste /* bitmask for bitfield register access busy */ 3114*493d26c5SEd Maste #define msm_reg_access_busy_msk 0x00001000 3115*493d26c5SEd Maste /* inverted bitmask for bitfield register access busy */ 3116*493d26c5SEd Maste #define msm_reg_access_busy_mskn 0xffffefff 3117*493d26c5SEd Maste /* lower bit position of bitfield register access busy */ 3118*493d26c5SEd Maste #define msm_reg_access_busy_shift 12 3119*493d26c5SEd Maste /* width of bitfield register access busy */ 3120*493d26c5SEd Maste #define msm_reg_access_busy_width 1 3121*493d26c5SEd Maste 3122*493d26c5SEd Maste /* mac_phy msm register address[7:0] bitfield definitions 3123*493d26c5SEd Maste * preprocessor definitions for the bitfield "msm register address[7:0]". 3124*493d26c5SEd Maste * port="pif_msm_reg_addr_i[7:0]" 3125*493d26c5SEd Maste */ 3126*493d26c5SEd Maste 3127*493d26c5SEd Maste /* register address for bitfield msm register address[7:0] */ 3128*493d26c5SEd Maste #define msm_reg_addr_adr 0x00004400 3129*493d26c5SEd Maste /* bitmask for bitfield msm register address[7:0] */ 3130*493d26c5SEd Maste #define msm_reg_addr_msk 0x000000ff 3131*493d26c5SEd Maste /* inverted bitmask for bitfield msm register address[7:0] */ 3132*493d26c5SEd Maste #define msm_reg_addr_mskn 0xffffff00 3133*493d26c5SEd Maste /* lower bit position of bitfield msm register address[7:0] */ 3134*493d26c5SEd Maste #define msm_reg_addr_shift 0 3135*493d26c5SEd Maste /* width of bitfield msm register address[7:0] */ 3136*493d26c5SEd Maste #define msm_reg_addr_width 8 3137*493d26c5SEd Maste /* default value of bitfield msm register address[7:0] */ 3138*493d26c5SEd Maste #define msm_reg_addr_default 0x0 3139*493d26c5SEd Maste 3140*493d26c5SEd Maste /* mac_phy register read strobe bitfield definitions 3141*493d26c5SEd Maste * preprocessor definitions for the bitfield "register read strobe". 3142*493d26c5SEd Maste * port="pif_msm_reg_rden_i" 3143*493d26c5SEd Maste */ 3144*493d26c5SEd Maste 3145*493d26c5SEd Maste /* register address for bitfield register read strobe */ 3146*493d26c5SEd Maste #define msm_reg_rd_strobe_adr 0x00004400 3147*493d26c5SEd Maste /* bitmask for bitfield register read strobe */ 3148*493d26c5SEd Maste #define msm_reg_rd_strobe_msk 0x00000200 3149*493d26c5SEd Maste /* inverted bitmask for bitfield register read strobe */ 3150*493d26c5SEd Maste #define msm_reg_rd_strobe_mskn 0xfffffdff 3151*493d26c5SEd Maste /* lower bit position of bitfield register read strobe */ 3152*493d26c5SEd Maste #define msm_reg_rd_strobe_shift 9 3153*493d26c5SEd Maste /* width of bitfield register read strobe */ 3154*493d26c5SEd Maste #define msm_reg_rd_strobe_width 1 3155*493d26c5SEd Maste /* default value of bitfield register read strobe */ 3156*493d26c5SEd Maste #define msm_reg_rd_strobe_default 0x0 3157*493d26c5SEd Maste 3158*493d26c5SEd Maste /* mac_phy msm register read data[31:0] bitfield definitions 3159*493d26c5SEd Maste * preprocessor definitions for the bitfield "msm register read data[31:0]". 3160*493d26c5SEd Maste * port="msm_pif_reg_rd_data_o[31:0]" 3161*493d26c5SEd Maste */ 3162*493d26c5SEd Maste 3163*493d26c5SEd Maste /* register address for bitfield msm register read data[31:0] */ 3164*493d26c5SEd Maste #define msm_reg_rd_data_adr 0x00004408 3165*493d26c5SEd Maste /* bitmask for bitfield msm register read data[31:0] */ 3166*493d26c5SEd Maste #define msm_reg_rd_data_msk 0xffffffff 3167*493d26c5SEd Maste /* inverted bitmask for bitfield msm register read data[31:0] */ 3168*493d26c5SEd Maste #define msm_reg_rd_data_mskn 0x00000000 3169*493d26c5SEd Maste /* lower bit position of bitfield msm register read data[31:0] */ 3170*493d26c5SEd Maste #define msm_reg_rd_data_shift 0 3171*493d26c5SEd Maste /* width of bitfield msm register read data[31:0] */ 3172*493d26c5SEd Maste #define msm_reg_rd_data_width 32 3173*493d26c5SEd Maste 3174*493d26c5SEd Maste /* mac_phy msm register write data[31:0] bitfield definitions 3175*493d26c5SEd Maste * preprocessor definitions for the bitfield "msm register write data[31:0]". 3176*493d26c5SEd Maste * port="pif_msm_reg_wr_data_i[31:0]" 3177*493d26c5SEd Maste */ 3178*493d26c5SEd Maste 3179*493d26c5SEd Maste /* register address for bitfield msm register write data[31:0] */ 3180*493d26c5SEd Maste #define msm_reg_wr_data_adr 0x00004404 3181*493d26c5SEd Maste /* bitmask for bitfield msm register write data[31:0] */ 3182*493d26c5SEd Maste #define msm_reg_wr_data_msk 0xffffffff 3183*493d26c5SEd Maste /* inverted bitmask for bitfield msm register write data[31:0] */ 3184*493d26c5SEd Maste #define msm_reg_wr_data_mskn 0x00000000 3185*493d26c5SEd Maste /* lower bit position of bitfield msm register write data[31:0] */ 3186*493d26c5SEd Maste #define msm_reg_wr_data_shift 0 3187*493d26c5SEd Maste /* width of bitfield msm register write data[31:0] */ 3188*493d26c5SEd Maste #define msm_reg_wr_data_width 32 3189*493d26c5SEd Maste /* default value of bitfield msm register write data[31:0] */ 3190*493d26c5SEd Maste #define msm_reg_wr_data_default 0x0 3191*493d26c5SEd Maste 3192*493d26c5SEd Maste /* mac_phy register write strobe bitfield definitions 3193*493d26c5SEd Maste * preprocessor definitions for the bitfield "register write strobe". 3194*493d26c5SEd Maste * port="pif_msm_reg_wren_i" 3195*493d26c5SEd Maste */ 3196*493d26c5SEd Maste 3197*493d26c5SEd Maste /* register address for bitfield register write strobe */ 3198*493d26c5SEd Maste #define msm_reg_wr_strobe_adr 0x00004400 3199*493d26c5SEd Maste /* bitmask for bitfield register write strobe */ 3200*493d26c5SEd Maste #define msm_reg_wr_strobe_msk 0x00000100 3201*493d26c5SEd Maste /* inverted bitmask for bitfield register write strobe */ 3202*493d26c5SEd Maste #define msm_reg_wr_strobe_mskn 0xfffffeff 3203*493d26c5SEd Maste /* lower bit position of bitfield register write strobe */ 3204*493d26c5SEd Maste #define msm_reg_wr_strobe_shift 8 3205*493d26c5SEd Maste /* width of bitfield register write strobe */ 3206*493d26c5SEd Maste #define msm_reg_wr_strobe_width 1 3207*493d26c5SEd Maste /* default value of bitfield register write strobe */ 3208*493d26c5SEd Maste #define msm_reg_wr_strobe_default 0x0 3209*493d26c5SEd Maste 3210*493d26c5SEd Maste /* mif soft reset bitfield definitions 3211*493d26c5SEd Maste * preprocessor definitions for the bitfield "soft reset". 3212*493d26c5SEd Maste * port="pif_glb_res_i" 3213*493d26c5SEd Maste */ 3214*493d26c5SEd Maste 3215*493d26c5SEd Maste /* register address for bitfield soft reset */ 3216*493d26c5SEd Maste #define glb_soft_res_adr 0x00000000 3217*493d26c5SEd Maste /* bitmask for bitfield soft reset */ 3218*493d26c5SEd Maste #define glb_soft_res_msk 0x00008000 3219*493d26c5SEd Maste /* inverted bitmask for bitfield soft reset */ 3220*493d26c5SEd Maste #define glb_soft_res_mskn 0xffff7fff 3221*493d26c5SEd Maste /* lower bit position of bitfield soft reset */ 3222*493d26c5SEd Maste #define glb_soft_res_shift 15 3223*493d26c5SEd Maste /* width of bitfield soft reset */ 3224*493d26c5SEd Maste #define glb_soft_res_width 1 3225*493d26c5SEd Maste /* default value of bitfield soft reset */ 3226*493d26c5SEd Maste #define glb_soft_res_default 0x0 3227*493d26c5SEd Maste 3228*493d26c5SEd Maste /* mif register reset disable bitfield definitions 3229*493d26c5SEd Maste * preprocessor definitions for the bitfield "register reset disable". 3230*493d26c5SEd Maste * port="pif_glb_reg_res_dsbl_i" 3231*493d26c5SEd Maste */ 3232*493d26c5SEd Maste 3233*493d26c5SEd Maste /* register address for bitfield register reset disable */ 3234*493d26c5SEd Maste #define glb_reg_res_dis_adr 0x00000000 3235*493d26c5SEd Maste /* bitmask for bitfield register reset disable */ 3236*493d26c5SEd Maste #define glb_reg_res_dis_msk 0x00004000 3237*493d26c5SEd Maste /* inverted bitmask for bitfield register reset disable */ 3238*493d26c5SEd Maste #define glb_reg_res_dis_mskn 0xffffbfff 3239*493d26c5SEd Maste /* lower bit position of bitfield register reset disable */ 3240*493d26c5SEd Maste #define glb_reg_res_dis_shift 14 3241*493d26c5SEd Maste /* width of bitfield register reset disable */ 3242*493d26c5SEd Maste #define glb_reg_res_dis_width 1 3243*493d26c5SEd Maste /* default value of bitfield register reset disable */ 3244*493d26c5SEd Maste #define glb_reg_res_dis_default 0x1 3245*493d26c5SEd Maste 3246*493d26c5SEd Maste /* tx dma debug control definitions */ 3247*493d26c5SEd Maste #define tx_dma_debug_ctl_adr 0x00008920u 3248*493d26c5SEd Maste 3249*493d26c5SEd Maste /* tx dma descriptor base address msw definitions */ 3250*493d26c5SEd Maste #define tx_dma_desc_base_addrmsw_adr(descriptor) \ 3251*493d26c5SEd Maste (0x00007c04u + (descriptor) * 0x40) 3252*493d26c5SEd Maste 3253*493d26c5SEd Maste /* tx interrupt moderation control register definitions 3254*493d26c5SEd Maste * Preprocessor definitions for TX Interrupt Moderation Control Register 3255*493d26c5SEd Maste * Base Address: 0x00008980 3256*493d26c5SEd Maste * Parameter: queue {Q} | stride size 0x4 | range [0, 31] 3257*493d26c5SEd Maste */ 3258*493d26c5SEd Maste 3259*493d26c5SEd Maste #define tx_intr_moderation_ctl_adr(queue) (0x00008980u + (queue) * 0x4) 3260*493d26c5SEd Maste 3261*493d26c5SEd Maste /* pcie reg_res_dsbl bitfield definitions 3262*493d26c5SEd Maste * preprocessor definitions for the bitfield "reg_res_dsbl". 3263*493d26c5SEd Maste * port="pif_pci_reg_res_dsbl_i" 3264*493d26c5SEd Maste */ 3265*493d26c5SEd Maste 3266*493d26c5SEd Maste /* register address for bitfield reg_res_dsbl */ 3267*493d26c5SEd Maste #define pci_reg_res_dsbl_adr 0x00001000 3268*493d26c5SEd Maste /* bitmask for bitfield reg_res_dsbl */ 3269*493d26c5SEd Maste #define pci_reg_res_dsbl_msk 0x20000000 3270*493d26c5SEd Maste /* inverted bitmask for bitfield reg_res_dsbl */ 3271*493d26c5SEd Maste #define pci_reg_res_dsbl_mskn 0xdfffffff 3272*493d26c5SEd Maste /* lower bit position of bitfield reg_res_dsbl */ 3273*493d26c5SEd Maste #define pci_reg_res_dsbl_shift 29 3274*493d26c5SEd Maste /* width of bitfield reg_res_dsbl */ 3275*493d26c5SEd Maste #define pci_reg_res_dsbl_width 1 3276*493d26c5SEd Maste /* default value of bitfield reg_res_dsbl */ 3277*493d26c5SEd Maste #define pci_reg_res_dsbl_default 0x1 3278*493d26c5SEd Maste 3279*493d26c5SEd Maste 3280*493d26c5SEd Maste /* global microprocessor scratch pad definitions */ 3281*493d26c5SEd Maste #define glb_cpu_scratch_scp_adr(scratch_scp) (0x00000300u + (scratch_scp) * 0x4) 3282*493d26c5SEd Maste /* global microprocessor scratch pad definitions */ 3283*493d26c5SEd Maste #define glb_cpu_no_reset_scratchpad_adr(idx) (0x00000380u + (idx) * 0x4) 3284*493d26c5SEd Maste 3285*493d26c5SEd Maste /*! @name Global Standard Control 1 Definitions 3286*493d26c5SEd Maste * 3287*493d26c5SEd Maste * Preprocessor definitions for Global Standard Control 1 3288*493d26c5SEd Maste * Address: 0x00000000 3289*493d26c5SEd Maste @{*/ 3290*493d26c5SEd Maste #define glb_standard_ctl1_adr 0x00000000u 3291*493d26c5SEd Maste /*@}*/ 3292*493d26c5SEd Maste 3293*493d26c5SEd Maste /*! @name Global Control 2 Definitions 3294*493d26c5SEd Maste * 3295*493d26c5SEd Maste * Preprocessor definitions for Global Control 2 3296*493d26c5SEd Maste * Address: 0x00000404 3297*493d26c5SEd Maste @{*/ 3298*493d26c5SEd Maste #define glb_ctl2_adr 0x00000404u 3299*493d26c5SEd Maste /*@}*/ 3300*493d26c5SEd Maste 3301*493d26c5SEd Maste /*! @name Global Daisy Chain Status 1 Definitions 3302*493d26c5SEd Maste * 3303*493d26c5SEd Maste * Preprocessor definitions for Global Daisy Chain Status 1 3304*493d26c5SEd Maste * Address: 0x00000704 3305*493d26c5SEd Maste @{*/ 3306*493d26c5SEd Maste #define glb_daisy_chain_status1_adr 0x00000704u 3307*493d26c5SEd Maste /*@}*/ 3308*493d26c5SEd Maste 3309*493d26c5SEd Maste /* mif up mailbox execute operation */ 3310*493d26c5SEd Maste #define mif_mcp_up_mailbox_execute_operation_adr 0x00000200u 3311*493d26c5SEd Maste #define mif_mcp_up_mailbox_execute_operation_msk 0x00008000u 3312*493d26c5SEd Maste #define mif_mcp_up_mailbox_execute_operation_shift 15 3313*493d26c5SEd Maste 3314*493d26c5SEd Maste /* MIF uP Mailbox Busy */ 3315*493d26c5SEd Maste #define mif_mcp_up_mailbox_busy_adr 0x00000200u 3316*493d26c5SEd Maste #define mif_mcp_up_mailbox_busy_msk 0x00000100u 3317*493d26c5SEd Maste #define mif_mcp_up_mailbox_busy_shift 8 3318*493d26c5SEd Maste 3319*493d26c5SEd Maste /* mif uP mailbox address [1f:2] */ 3320*493d26c5SEd Maste #define mif_mcp_up_mailbox_addr_adr 0x00000208u 3321*493d26c5SEd Maste /* mif uP mailbox data [1f:0] */ 3322*493d26c5SEd Maste #define mif_mcp_up_mailbox_data_adr 0x0000020cu 3323*493d26c5SEd Maste 3324*493d26c5SEd Maste #define HW_ATL_RX_CTRL_ADDR_BEGIN_FL3L4 0x00005380 3325*493d26c5SEd Maste #define HW_ATL_RX_SRCA_ADDR_BEGIN_FL3L4 0x000053B0 3326*493d26c5SEd Maste #define HW_ATL_RX_DESTA_ADDR_BEGIN_FL3L4 0x000053D0 3327*493d26c5SEd Maste 3328*493d26c5SEd Maste #define HW_ATL_RX_GET_ADDR_CTRL_FL3L4(location) \ 3329*493d26c5SEd Maste (HW_ATL_RX_CTRL_ADDR_BEGIN_FL3L4 + ((location) * 0x4)) 3330*493d26c5SEd Maste #define HW_ATL_RX_GET_ADDR_SRCA_FL3L4(location) \ 3331*493d26c5SEd Maste (HW_ATL_RX_SRCA_ADDR_BEGIN_FL3L4 + ((location) * 0x4)) 3332*493d26c5SEd Maste #define HW_ATL_RX_GET_ADDR_DESTA_FL3L4(location) \ 3333*493d26c5SEd Maste (HW_ATL_RX_DESTA_ADDR_BEGIN_FL3L4 + ((location) * 0x4)) 3334*493d26c5SEd Maste 3335*493d26c5SEd Maste #endif /* HW_ATL_LLH_INTERNAL_H */ 3336