pci_nrtr_masks.h (10312B)
1/* SPDX-License-Identifier: GPL-2.0 2 * 3 * Copyright 2016-2018 HabanaLabs, Ltd. 4 * All Rights Reserved. 5 * 6 */ 7 8/************************************ 9 ** This is an auto-generated file ** 10 ** DO NOT EDIT BELOW ** 11 ************************************/ 12 13#ifndef ASIC_REG_PCI_NRTR_MASKS_H_ 14#define ASIC_REG_PCI_NRTR_MASKS_H_ 15 16/* 17 ***************************************** 18 * PCI_NRTR (Prototype: IF_NRTR) 19 ***************************************** 20 */ 21 22/* PCI_NRTR_HBW_MAX_CRED */ 23#define PCI_NRTR_HBW_MAX_CRED_WR_RQ_SHIFT 0 24#define PCI_NRTR_HBW_MAX_CRED_WR_RQ_MASK 0x3F 25#define PCI_NRTR_HBW_MAX_CRED_WR_RS_SHIFT 8 26#define PCI_NRTR_HBW_MAX_CRED_WR_RS_MASK 0x3F00 27#define PCI_NRTR_HBW_MAX_CRED_RD_RQ_SHIFT 16 28#define PCI_NRTR_HBW_MAX_CRED_RD_RQ_MASK 0x3F0000 29#define PCI_NRTR_HBW_MAX_CRED_RD_RS_SHIFT 24 30#define PCI_NRTR_HBW_MAX_CRED_RD_RS_MASK 0x3F000000 31 32/* PCI_NRTR_LBW_MAX_CRED */ 33#define PCI_NRTR_LBW_MAX_CRED_WR_RQ_SHIFT 0 34#define PCI_NRTR_LBW_MAX_CRED_WR_RQ_MASK 0x3F 35#define PCI_NRTR_LBW_MAX_CRED_WR_RS_SHIFT 8 36#define PCI_NRTR_LBW_MAX_CRED_WR_RS_MASK 0x3F00 37#define PCI_NRTR_LBW_MAX_CRED_RD_RQ_SHIFT 16 38#define PCI_NRTR_LBW_MAX_CRED_RD_RQ_MASK 0x3F0000 39#define PCI_NRTR_LBW_MAX_CRED_RD_RS_SHIFT 24 40#define PCI_NRTR_LBW_MAX_CRED_RD_RS_MASK 0x3F000000 41 42/* PCI_NRTR_DBG_E_ARB */ 43#define PCI_NRTR_DBG_E_ARB_W_SHIFT 0 44#define PCI_NRTR_DBG_E_ARB_W_MASK 0x7 45#define PCI_NRTR_DBG_E_ARB_S_SHIFT 8 46#define PCI_NRTR_DBG_E_ARB_S_MASK 0x700 47#define PCI_NRTR_DBG_E_ARB_N_SHIFT 16 48#define PCI_NRTR_DBG_E_ARB_N_MASK 0x70000 49#define PCI_NRTR_DBG_E_ARB_L_SHIFT 24 50#define PCI_NRTR_DBG_E_ARB_L_MASK 0x7000000 51 52/* PCI_NRTR_DBG_W_ARB */ 53#define PCI_NRTR_DBG_W_ARB_E_SHIFT 0 54#define PCI_NRTR_DBG_W_ARB_E_MASK 0x7 55#define PCI_NRTR_DBG_W_ARB_S_SHIFT 8 56#define PCI_NRTR_DBG_W_ARB_S_MASK 0x700 57#define PCI_NRTR_DBG_W_ARB_N_SHIFT 16 58#define PCI_NRTR_DBG_W_ARB_N_MASK 0x70000 59#define PCI_NRTR_DBG_W_ARB_L_SHIFT 24 60#define PCI_NRTR_DBG_W_ARB_L_MASK 0x7000000 61 62/* PCI_NRTR_DBG_N_ARB */ 63#define PCI_NRTR_DBG_N_ARB_W_SHIFT 0 64#define PCI_NRTR_DBG_N_ARB_W_MASK 0x7 65#define PCI_NRTR_DBG_N_ARB_E_SHIFT 8 66#define PCI_NRTR_DBG_N_ARB_E_MASK 0x700 67#define PCI_NRTR_DBG_N_ARB_S_SHIFT 16 68#define PCI_NRTR_DBG_N_ARB_S_MASK 0x70000 69#define PCI_NRTR_DBG_N_ARB_L_SHIFT 24 70#define PCI_NRTR_DBG_N_ARB_L_MASK 0x7000000 71 72/* PCI_NRTR_DBG_S_ARB */ 73#define PCI_NRTR_DBG_S_ARB_W_SHIFT 0 74#define PCI_NRTR_DBG_S_ARB_W_MASK 0x7 75#define PCI_NRTR_DBG_S_ARB_E_SHIFT 8 76#define PCI_NRTR_DBG_S_ARB_E_MASK 0x700 77#define PCI_NRTR_DBG_S_ARB_N_SHIFT 16 78#define PCI_NRTR_DBG_S_ARB_N_MASK 0x70000 79#define PCI_NRTR_DBG_S_ARB_L_SHIFT 24 80#define PCI_NRTR_DBG_S_ARB_L_MASK 0x7000000 81 82/* PCI_NRTR_DBG_L_ARB */ 83#define PCI_NRTR_DBG_L_ARB_W_SHIFT 0 84#define PCI_NRTR_DBG_L_ARB_W_MASK 0x7 85#define PCI_NRTR_DBG_L_ARB_E_SHIFT 8 86#define PCI_NRTR_DBG_L_ARB_E_MASK 0x700 87#define PCI_NRTR_DBG_L_ARB_S_SHIFT 16 88#define PCI_NRTR_DBG_L_ARB_S_MASK 0x70000 89#define PCI_NRTR_DBG_L_ARB_N_SHIFT 24 90#define PCI_NRTR_DBG_L_ARB_N_MASK 0x7000000 91 92/* PCI_NRTR_DBG_E_ARB_MAX */ 93#define PCI_NRTR_DBG_E_ARB_MAX_CREDIT_SHIFT 0 94#define PCI_NRTR_DBG_E_ARB_MAX_CREDIT_MASK 0x3F 95 96/* PCI_NRTR_DBG_W_ARB_MAX */ 97#define PCI_NRTR_DBG_W_ARB_MAX_CREDIT_SHIFT 0 98#define PCI_NRTR_DBG_W_ARB_MAX_CREDIT_MASK 0x3F 99 100/* PCI_NRTR_DBG_N_ARB_MAX */ 101#define PCI_NRTR_DBG_N_ARB_MAX_CREDIT_SHIFT 0 102#define PCI_NRTR_DBG_N_ARB_MAX_CREDIT_MASK 0x3F 103 104/* PCI_NRTR_DBG_S_ARB_MAX */ 105#define PCI_NRTR_DBG_S_ARB_MAX_CREDIT_SHIFT 0 106#define PCI_NRTR_DBG_S_ARB_MAX_CREDIT_MASK 0x3F 107 108/* PCI_NRTR_DBG_L_ARB_MAX */ 109#define PCI_NRTR_DBG_L_ARB_MAX_CREDIT_SHIFT 0 110#define PCI_NRTR_DBG_L_ARB_MAX_CREDIT_MASK 0x3F 111 112/* PCI_NRTR_SPLIT_COEF */ 113#define PCI_NRTR_SPLIT_COEF_VAL_SHIFT 0 114#define PCI_NRTR_SPLIT_COEF_VAL_MASK 0xFFFF 115 116/* PCI_NRTR_SPLIT_CFG */ 117#define PCI_NRTR_SPLIT_CFG_FORCE_WAK_ORDER_SHIFT 0 118#define PCI_NRTR_SPLIT_CFG_FORCE_WAK_ORDER_MASK 0x1 119#define PCI_NRTR_SPLIT_CFG_FORCE_STRONG_ORDER_SHIFT 1 120#define PCI_NRTR_SPLIT_CFG_FORCE_STRONG_ORDER_MASK 0x2 121#define PCI_NRTR_SPLIT_CFG_DEFAULT_MESH_SHIFT 2 122#define PCI_NRTR_SPLIT_CFG_DEFAULT_MESH_MASK 0xC 123#define PCI_NRTR_SPLIT_CFG_RD_RATE_LIM_EN_SHIFT 4 124#define PCI_NRTR_SPLIT_CFG_RD_RATE_LIM_EN_MASK 0x10 125#define PCI_NRTR_SPLIT_CFG_WR_RATE_LIM_EN_SHIFT 5 126#define PCI_NRTR_SPLIT_CFG_WR_RATE_LIM_EN_MASK 0x20 127#define PCI_NRTR_SPLIT_CFG_B2B_OPT_SHIFT 6 128#define PCI_NRTR_SPLIT_CFG_B2B_OPT_MASK 0x1C0 129 130/* PCI_NRTR_SPLIT_RD_SAT */ 131#define PCI_NRTR_SPLIT_RD_SAT_VAL_SHIFT 0 132#define PCI_NRTR_SPLIT_RD_SAT_VAL_MASK 0xFFFF 133 134/* PCI_NRTR_SPLIT_RD_RST_TOKEN */ 135#define PCI_NRTR_SPLIT_RD_RST_TOKEN_VAL_SHIFT 0 136#define PCI_NRTR_SPLIT_RD_RST_TOKEN_VAL_MASK 0xFFFF 137 138/* PCI_NRTR_SPLIT_RD_TIMEOUT */ 139#define PCI_NRTR_SPLIT_RD_TIMEOUT_VAL_SHIFT 0 140#define PCI_NRTR_SPLIT_RD_TIMEOUT_VAL_MASK 0xFFFFFFFF 141 142/* PCI_NRTR_SPLIT_WR_SAT */ 143#define PCI_NRTR_SPLIT_WR_SAT_VAL_SHIFT 0 144#define PCI_NRTR_SPLIT_WR_SAT_VAL_MASK 0xFFFF 145 146/* PCI_NRTR_WPLIT_WR_TST_TOLEN */ 147#define PCI_NRTR_WPLIT_WR_TST_TOLEN_VAL_SHIFT 0 148#define PCI_NRTR_WPLIT_WR_TST_TOLEN_VAL_MASK 0xFFFF 149 150/* PCI_NRTR_SPLIT_WR_TIMEOUT */ 151#define PCI_NRTR_SPLIT_WR_TIMEOUT_VAL_SHIFT 0 152#define PCI_NRTR_SPLIT_WR_TIMEOUT_VAL_MASK 0xFFFFFFFF 153 154/* PCI_NRTR_HBW_RANGE_HIT */ 155#define PCI_NRTR_HBW_RANGE_HIT_IND_SHIFT 0 156#define PCI_NRTR_HBW_RANGE_HIT_IND_MASK 0xFF 157 158/* PCI_NRTR_HBW_RANGE_MASK_L */ 159#define PCI_NRTR_HBW_RANGE_MASK_L_VAL_SHIFT 0 160#define PCI_NRTR_HBW_RANGE_MASK_L_VAL_MASK 0xFFFFFFFF 161 162/* PCI_NRTR_HBW_RANGE_MASK_H */ 163#define PCI_NRTR_HBW_RANGE_MASK_H_VAL_SHIFT 0 164#define PCI_NRTR_HBW_RANGE_MASK_H_VAL_MASK 0x3FFFF 165 166/* PCI_NRTR_HBW_RANGE_BASE_L */ 167#define PCI_NRTR_HBW_RANGE_BASE_L_VAL_SHIFT 0 168#define PCI_NRTR_HBW_RANGE_BASE_L_VAL_MASK 0xFFFFFFFF 169 170/* PCI_NRTR_HBW_RANGE_BASE_H */ 171#define PCI_NRTR_HBW_RANGE_BASE_H_VAL_SHIFT 0 172#define PCI_NRTR_HBW_RANGE_BASE_H_VAL_MASK 0x3FFFF 173 174/* PCI_NRTR_LBW_RANGE_HIT */ 175#define PCI_NRTR_LBW_RANGE_HIT_IND_SHIFT 0 176#define PCI_NRTR_LBW_RANGE_HIT_IND_MASK 0xFFFF 177 178/* PCI_NRTR_LBW_RANGE_MASK */ 179#define PCI_NRTR_LBW_RANGE_MASK_VAL_SHIFT 0 180#define PCI_NRTR_LBW_RANGE_MASK_VAL_MASK 0x3FFFFFF 181 182/* PCI_NRTR_LBW_RANGE_BASE */ 183#define PCI_NRTR_LBW_RANGE_BASE_VAL_SHIFT 0 184#define PCI_NRTR_LBW_RANGE_BASE_VAL_MASK 0x3FFFFFF 185 186/* PCI_NRTR_RGLTR */ 187#define PCI_NRTR_RGLTR_WR_EN_SHIFT 0 188#define PCI_NRTR_RGLTR_WR_EN_MASK 0x1 189#define PCI_NRTR_RGLTR_RD_EN_SHIFT 4 190#define PCI_NRTR_RGLTR_RD_EN_MASK 0x10 191 192/* PCI_NRTR_RGLTR_WR_RESULT */ 193#define PCI_NRTR_RGLTR_WR_RESULT_VAL_SHIFT 0 194#define PCI_NRTR_RGLTR_WR_RESULT_VAL_MASK 0xFF 195 196/* PCI_NRTR_RGLTR_RD_RESULT */ 197#define PCI_NRTR_RGLTR_RD_RESULT_VAL_SHIFT 0 198#define PCI_NRTR_RGLTR_RD_RESULT_VAL_MASK 0xFF 199 200/* PCI_NRTR_SCRAMB_EN */ 201#define PCI_NRTR_SCRAMB_EN_VAL_SHIFT 0 202#define PCI_NRTR_SCRAMB_EN_VAL_MASK 0x1 203 204/* PCI_NRTR_NON_LIN_SCRAMB */ 205#define PCI_NRTR_NON_LIN_SCRAMB_EN_SHIFT 0 206#define PCI_NRTR_NON_LIN_SCRAMB_EN_MASK 0x1 207 208#endif /* ASIC_REG_PCI_NRTR_MASKS_H_ */