/linux/arch/mips/include/asm/octeon/ |
A D | cvmx-ciu2-defs.h | 31 #define CVMX_CIU2_ACK_PPX_IP2(block_id) (CVMX_ADD_IO_SEG(0x00010701000C0000ull) + ((block_id) & 31)… argument 32 #define CVMX_CIU2_ACK_PPX_IP3(block_id) (CVMX_ADD_IO_SEG(0x00010701000C0200ull) + ((block_id) & 31)… argument 33 #define CVMX_CIU2_EN_PPX_IP2_RML(block_id) (CVMX_ADD_IO_SEG(0x0001070100092000ull) + ((block_id) & … argument 34 #define CVMX_CIU2_EN_PPX_IP2_WDOG(block_id) (CVMX_ADD_IO_SEG(0x0001070100091000ull) + ((block_id) &… argument 35 #define CVMX_CIU2_EN_PPX_IP2_WRKQ(block_id) (CVMX_ADD_IO_SEG(0x0001070100090000ull) + ((block_id) &… argument 36 #define CVMX_CIU2_EN_PPX_IP2_WRKQ_W1C(block_id) (CVMX_ADD_IO_SEG(0x00010701000B0000ull) + ((block_i… argument 37 #define CVMX_CIU2_EN_PPX_IP2_WRKQ_W1S(block_id) (CVMX_ADD_IO_SEG(0x00010701000A0000ull) + ((block_i… argument 41 #define CVMX_CIU2_RAW_PPX_IP2_WRKQ(block_id) (CVMX_ADD_IO_SEG(0x0001070100040000ull) + ((block_id) … argument 42 #define CVMX_CIU2_SRC_PPX_IP2_RML(block_id) (CVMX_ADD_IO_SEG(0x0001070100082000ull) + ((block_id) &… argument 43 #define CVMX_CIU2_SRC_PPX_IP2_WDOG(block_id) (CVMX_ADD_IO_SEG(0x0001070100081000ull) + ((block_id) … argument [all …]
|
A D | cvmx-pcsx-defs.h | 31 static inline uint64_t CVMX_PCSX_ANX_ADV_REG(unsigned long offset, unsigned long block_id) in CVMX_PCSX_ANX_ADV_REG() argument 35 return CVMX_ADD_IO_SEG(0x00011800B0001010ull) + ((offset) + (block_id) * 0x20000ull) * 1024; in CVMX_PCSX_ANX_ADV_REG() 38 return CVMX_ADD_IO_SEG(0x00011800B0001010ull) + ((offset) + (block_id) * 0x20000ull) * 1024; in CVMX_PCSX_ANX_ADV_REG() 42 return CVMX_ADD_IO_SEG(0x00011800B0001010ull) + ((offset) + (block_id) * 0x20000ull) * 1024; in CVMX_PCSX_ANX_ADV_REG() 44 return CVMX_ADD_IO_SEG(0x00011800B0001010ull) + ((offset) + (block_id) * 0x4000ull) * 1024; in CVMX_PCSX_ANX_ADV_REG() 46 return CVMX_ADD_IO_SEG(0x00011800B0001010ull) + ((offset) + (block_id) * 0x20000ull) * 1024; in CVMX_PCSX_ANX_ADV_REG() 49 static inline uint64_t CVMX_PCSX_ANX_EXT_ST_REG(unsigned long offset, unsigned long block_id) in CVMX_PCSX_ANX_EXT_ST_REG() argument 62 return CVMX_ADD_IO_SEG(0x00011800B0001028ull) + ((offset) + (block_id) * 0x4000ull) * 1024; in CVMX_PCSX_ANX_EXT_ST_REG() 64 return CVMX_ADD_IO_SEG(0x00011800B0001028ull) + ((offset) + (block_id) * 0x20000ull) * 1024; in CVMX_PCSX_ANX_EXT_ST_REG() 103 static inline uint64_t CVMX_PCSX_INTX_EN_REG(unsigned long offset, unsigned long block_id) in CVMX_PCSX_INTX_EN_REG() argument [all …]
|
A D | cvmx-pcsxx-defs.h | 31 static inline uint64_t CVMX_PCSXX_10GBX_STATUS_REG(unsigned long block_id) in CVMX_PCSXX_10GBX_STATUS_REG() argument 47 static inline uint64_t CVMX_PCSXX_BIST_STATUS_REG(unsigned long block_id) in CVMX_PCSXX_BIST_STATUS_REG() argument 79 static inline uint64_t CVMX_PCSXX_CONTROL1_REG(unsigned long block_id) in CVMX_PCSXX_CONTROL1_REG() argument 95 static inline uint64_t CVMX_PCSXX_CONTROL2_REG(unsigned long block_id) in CVMX_PCSXX_CONTROL2_REG() argument 111 static inline uint64_t CVMX_PCSXX_INT_EN_REG(unsigned long block_id) in CVMX_PCSXX_INT_EN_REG() argument 127 static inline uint64_t CVMX_PCSXX_INT_REG(unsigned long block_id) in CVMX_PCSXX_INT_REG() argument 143 static inline uint64_t CVMX_PCSXX_LOG_ANL_REG(unsigned long block_id) in CVMX_PCSXX_LOG_ANL_REG() argument 159 static inline uint64_t CVMX_PCSXX_MISC_CTL_REG(unsigned long block_id) in CVMX_PCSXX_MISC_CTL_REG() argument 191 static inline uint64_t CVMX_PCSXX_SPD_ABIL_REG(unsigned long block_id) in CVMX_PCSXX_SPD_ABIL_REG() argument 207 static inline uint64_t CVMX_PCSXX_STATUS1_REG(unsigned long block_id) in CVMX_PCSXX_STATUS1_REG() argument [all …]
|
A D | cvmx-asxx-defs.h | 33 #define CVMX_ASXX_INT_EN(block_id) (CVMX_ADD_IO_SEG(0x00011800B0000018ull) + ((block_id) & 1) * 0x8… argument 34 #define CVMX_ASXX_INT_REG(block_id) (CVMX_ADD_IO_SEG(0x00011800B0000010ull) + ((block_id) & 1) * 0x… argument 36 #define CVMX_ASXX_PRT_LOOP(block_id) (CVMX_ADD_IO_SEG(0x00011800B0000040ull) + ((block_id) & 1) * 0… argument 37 #define CVMX_ASXX_RLD_BYPASS(block_id) (CVMX_ADD_IO_SEG(0x00011800B0000248ull) + ((block_id) & 1) *… argument 39 #define CVMX_ASXX_RLD_COMP(block_id) (CVMX_ADD_IO_SEG(0x00011800B0000220ull) + ((block_id) & 1) * 0… argument 40 #define CVMX_ASXX_RLD_DATA_DRV(block_id) (CVMX_ADD_IO_SEG(0x00011800B0000218ull) + ((block_id) & 1)… argument 46 #define CVMX_ASXX_RLD_SETTING(block_id) (CVMX_ADD_IO_SEG(0x00011800B0000258ull) + ((block_id) & 1) … argument 48 #define CVMX_ASXX_RX_PRT_EN(block_id) (CVMX_ADD_IO_SEG(0x00011800B0000000ull) + ((block_id) & 1) * … argument 49 #define CVMX_ASXX_RX_WOL(block_id) (CVMX_ADD_IO_SEG(0x00011800B0000100ull) + ((block_id) & 1) * 0x8… argument 50 #define CVMX_ASXX_RX_WOL_MSK(block_id) (CVMX_ADD_IO_SEG(0x00011800B0000108ull) + ((block_id) & 1) *… argument [all …]
|
A D | cvmx-stxx-defs.h | 31 #define CVMX_STXX_ARB_CTL(block_id) (CVMX_ADD_IO_SEG(0x0001180090000608ull) + ((block_id) & 1) * 0x… argument 32 #define CVMX_STXX_BCKPRS_CNT(block_id) (CVMX_ADD_IO_SEG(0x0001180090000688ull) + ((block_id) & 1) *… argument 33 #define CVMX_STXX_COM_CTL(block_id) (CVMX_ADD_IO_SEG(0x0001180090000600ull) + ((block_id) & 1) * 0x… argument 34 #define CVMX_STXX_DIP_CNT(block_id) (CVMX_ADD_IO_SEG(0x0001180090000690ull) + ((block_id) & 1) * 0x… argument 35 #define CVMX_STXX_IGN_CAL(block_id) (CVMX_ADD_IO_SEG(0x0001180090000610ull) + ((block_id) & 1) * 0x… argument 36 #define CVMX_STXX_INT_MSK(block_id) (CVMX_ADD_IO_SEG(0x00011800900006A0ull) + ((block_id) & 1) * 0x… argument 37 #define CVMX_STXX_INT_REG(block_id) (CVMX_ADD_IO_SEG(0x0001180090000698ull) + ((block_id) & 1) * 0x… argument 38 #define CVMX_STXX_INT_SYNC(block_id) (CVMX_ADD_IO_SEG(0x00011800900006A8ull) + ((block_id) & 1) * 0… argument 39 #define CVMX_STXX_MIN_BST(block_id) (CVMX_ADD_IO_SEG(0x0001180090000618ull) + ((block_id) & 1) * 0x… argument 41 #define CVMX_STXX_SPI4_DAT(block_id) (CVMX_ADD_IO_SEG(0x0001180090000628ull) + ((block_id) & 1) * 0… argument [all …]
|
A D | cvmx-spxx-defs.h | 31 #define CVMX_SPXX_BCKPRS_CNT(block_id) (CVMX_ADD_IO_SEG(0x0001180090000340ull) + ((block_id) & 1) *… argument 32 #define CVMX_SPXX_BIST_STAT(block_id) (CVMX_ADD_IO_SEG(0x00011800900007F8ull) + ((block_id) & 1) * … argument 33 #define CVMX_SPXX_CLK_CTL(block_id) (CVMX_ADD_IO_SEG(0x0001180090000348ull) + ((block_id) & 1) * 0x… argument 34 #define CVMX_SPXX_CLK_STAT(block_id) (CVMX_ADD_IO_SEG(0x0001180090000350ull) + ((block_id) & 1) * 0… argument 37 #define CVMX_SPXX_DRV_CTL(block_id) (CVMX_ADD_IO_SEG(0x0001180090000358ull) + ((block_id) & 1) * 0x… argument 38 #define CVMX_SPXX_ERR_CTL(block_id) (CVMX_ADD_IO_SEG(0x0001180090000320ull) + ((block_id) & 1) * 0x… argument 39 #define CVMX_SPXX_INT_DAT(block_id) (CVMX_ADD_IO_SEG(0x0001180090000318ull) + ((block_id) & 1) * 0x… argument 40 #define CVMX_SPXX_INT_MSK(block_id) (CVMX_ADD_IO_SEG(0x0001180090000308ull) + ((block_id) & 1) * 0x… argument 41 #define CVMX_SPXX_INT_REG(block_id) (CVMX_ADD_IO_SEG(0x0001180090000300ull) + ((block_id) & 1) * 0x… argument 43 #define CVMX_SPXX_TPA_ACC(block_id) (CVMX_ADD_IO_SEG(0x0001180090000338ull) + ((block_id) & 1) * 0x… argument [all …]
|
A D | cvmx-pemx-defs.h | 32 #define CVMX_PEMX_BAR2_MASK(block_id) (CVMX_ADD_IO_SEG(0x00011800C0000130ull) + ((block_id) & 1) * … argument 33 #define CVMX_PEMX_BAR_CTL(block_id) (CVMX_ADD_IO_SEG(0x00011800C0000128ull) + ((block_id) & 1) * 0x… argument 34 #define CVMX_PEMX_BIST_STATUS(block_id) (CVMX_ADD_IO_SEG(0x00011800C0000018ull) + ((block_id) & 1) … argument 35 #define CVMX_PEMX_BIST_STATUS2(block_id) (CVMX_ADD_IO_SEG(0x00011800C0000420ull) + ((block_id) & 1)… argument 36 #define CVMX_PEMX_CFG_RD(block_id) (CVMX_ADD_IO_SEG(0x00011800C0000030ull) + ((block_id) & 1) * 0x1… argument 37 #define CVMX_PEMX_CFG_WR(block_id) (CVMX_ADD_IO_SEG(0x00011800C0000028ull) + ((block_id) & 1) * 0x1… argument 39 #define CVMX_PEMX_CTL_STATUS(block_id) (CVMX_ADD_IO_SEG(0x00011800C0000000ull) + ((block_id) & 1) *… argument 40 #define CVMX_PEMX_DBG_INFO(block_id) (CVMX_ADD_IO_SEG(0x00011800C0000008ull) + ((block_id) & 1) * 0… argument 41 #define CVMX_PEMX_DBG_INFO_EN(block_id) (CVMX_ADD_IO_SEG(0x00011800C00000A0ull) + ((block_id) & 1) … argument 44 #define CVMX_PEMX_INT_ENB(block_id) (CVMX_ADD_IO_SEG(0x00011800C0000410ull) + ((block_id) & 1) * 0x… argument [all …]
|
A D | cvmx-sriox-defs.h | 31 #define CVMX_SRIOX_ACC_CTRL(block_id) (CVMX_ADD_IO_SEG(0x00011800C8000148ull) + ((block_id) & 3) * … argument 32 #define CVMX_SRIOX_ASMBLY_ID(block_id) (CVMX_ADD_IO_SEG(0x00011800C8000200ull) + ((block_id) & 3) *… argument 33 #define CVMX_SRIOX_ASMBLY_INFO(block_id) (CVMX_ADD_IO_SEG(0x00011800C8000208ull) + ((block_id) & 3)… argument 35 #define CVMX_SRIOX_BIST_STATUS(block_id) (CVMX_ADD_IO_SEG(0x00011800C8000108ull) + ((block_id) & 3)… argument 36 #define CVMX_SRIOX_IMSG_CTRL(block_id) (CVMX_ADD_IO_SEG(0x00011800C8000508ull) + ((block_id) & 3) *… argument 43 #define CVMX_SRIOX_INT2_REG(block_id) (CVMX_ADD_IO_SEG(0x00011800C80003E8ull) + ((block_id) & 3) * … argument 45 #define CVMX_SRIOX_INT_INFO0(block_id) (CVMX_ADD_IO_SEG(0x00011800C8000120ull) + ((block_id) & 3) *… argument 46 #define CVMX_SRIOX_INT_INFO1(block_id) (CVMX_ADD_IO_SEG(0x00011800C8000128ull) + ((block_id) & 3) *… argument 49 #define CVMX_SRIOX_INT_REG(block_id) (CVMX_ADD_IO_SEG(0x00011800C8000118ull) + ((block_id) & 3) * 0… argument 52 #define CVMX_SRIOX_MAINT_OP(block_id) (CVMX_ADD_IO_SEG(0x00011800C8000158ull) + ((block_id) & 3) * … argument [all …]
|
A D | cvmx-gmxx-defs.h | 31 static inline uint64_t CVMX_GMXX_HG2_CONTROL(unsigned long block_id) in CVMX_GMXX_HG2_CONTROL() argument 40 static inline uint64_t CVMX_GMXX_INF_MODE(unsigned long block_id) in CVMX_GMXX_INF_MODE() argument 159 …efine CVMX_GMXX_RXX_FRM_MAX(offset, block_id) (CVMX_ADD_IO_SEG(0x0001180008000030ull) + (((offset)… argument 160 …efine CVMX_GMXX_RXX_FRM_MIN(offset, block_id) (CVMX_ADD_IO_SEG(0x0001180008000028ull) + (((offset)… argument 195 …fine CVMX_GMXX_RXX_RX_INBND(offset, block_id) (CVMX_ADD_IO_SEG(0x0001180008000060ull) + (((offset)… argument 197 static inline uint64_t CVMX_GMXX_RX_PRTS(unsigned long block_id) in CVMX_GMXX_RX_PRTS() argument 237 #define CVMX_GMXX_TXX_CLK(offset, block_id) (CVMX_ADD_IO_SEG(0x0001180008000208ull) + (((offset) & … argument 320 static inline uint64_t CVMX_GMXX_TX_PRTS(unsigned long block_id) in CVMX_GMXX_TX_PRTS() argument 329 #define CVMX_GMXX_TX_SPI_CTL(block_id) (CVMX_ADD_IO_SEG(0x00011800080004C0ull) + ((block_id) & 1) *… argument 330 #define CVMX_GMXX_TX_SPI_MAX(block_id) (CVMX_ADD_IO_SEG(0x00011800080004B0ull) + ((block_id) & 1) *… argument [all …]
|
A D | cvmx-lmcx-defs.h | 31 #define CVMX_LMCX_BIST_CTL(block_id) (CVMX_ADD_IO_SEG(0x00011800880000F0ull) + ((block_id) & 1) * 0… argument 33 #define CVMX_LMCX_CHAR_CTL(block_id) (CVMX_ADD_IO_SEG(0x0001180088000220ull) + ((block_id) & 3) * 0… argument 34 #define CVMX_LMCX_CHAR_MASK0(block_id) (CVMX_ADD_IO_SEG(0x0001180088000228ull) + ((block_id) & 3) *… argument 35 #define CVMX_LMCX_CHAR_MASK1(block_id) (CVMX_ADD_IO_SEG(0x0001180088000230ull) + ((block_id) & 3) *… argument 36 #define CVMX_LMCX_CHAR_MASK2(block_id) (CVMX_ADD_IO_SEG(0x0001180088000238ull) + ((block_id) & 3) *… argument 39 #define CVMX_LMCX_COMP_CTL(block_id) (CVMX_ADD_IO_SEG(0x0001180088000028ull) + ((block_id) & 1) * 0… argument 41 #define CVMX_LMCX_CONFIG(block_id) (CVMX_ADD_IO_SEG(0x0001180088000188ull) + ((block_id) & 3) * 0x1… argument 42 #define CVMX_LMCX_CONTROL(block_id) (CVMX_ADD_IO_SEG(0x0001180088000190ull) + ((block_id) & 3) * 0x… argument 43 #define CVMX_LMCX_CTL(block_id) (CVMX_ADD_IO_SEG(0x0001180088000010ull) + ((block_id) & 1) * 0x6000… argument 44 #define CVMX_LMCX_CTL1(block_id) (CVMX_ADD_IO_SEG(0x0001180088000090ull) + ((block_id) & 1) * 0x600… argument [all …]
|
A D | cvmx-pescx-defs.h | 31 #define CVMX_PESCX_BIST_STATUS(block_id) (CVMX_ADD_IO_SEG(0x00011800C8000018ull) + ((block_id) & 1)… argument 32 #define CVMX_PESCX_BIST_STATUS2(block_id) (CVMX_ADD_IO_SEG(0x00011800C8000418ull) + ((block_id) & 1… argument 33 #define CVMX_PESCX_CFG_RD(block_id) (CVMX_ADD_IO_SEG(0x00011800C8000030ull) + ((block_id) & 1) * 0x… argument 34 #define CVMX_PESCX_CFG_WR(block_id) (CVMX_ADD_IO_SEG(0x00011800C8000028ull) + ((block_id) & 1) * 0x… argument 35 #define CVMX_PESCX_CPL_LUT_VALID(block_id) (CVMX_ADD_IO_SEG(0x00011800C8000098ull) + ((block_id) & … argument 36 #define CVMX_PESCX_CTL_STATUS(block_id) (CVMX_ADD_IO_SEG(0x00011800C8000000ull) + ((block_id) & 1) … argument 37 #define CVMX_PESCX_CTL_STATUS2(block_id) (CVMX_ADD_IO_SEG(0x00011800C8000400ull) + ((block_id) & 1)… argument 38 #define CVMX_PESCX_DBG_INFO(block_id) (CVMX_ADD_IO_SEG(0x00011800C8000008ull) + ((block_id) & 1) * … argument 39 #define CVMX_PESCX_DBG_INFO_EN(block_id) (CVMX_ADD_IO_SEG(0x00011800C80000A0ull) + ((block_id) & 1)… argument 40 #define CVMX_PESCX_DIAG_STATUS(block_id) (CVMX_ADD_IO_SEG(0x00011800C8000020ull) + ((block_id) & 1)… argument [all …]
|
A D | cvmx-srxx-defs.h | 31 #define CVMX_SRXX_COM_CTL(block_id) (CVMX_ADD_IO_SEG(0x0001180090000200ull) + ((block_id) & 1) * 0x… argument 32 #define CVMX_SRXX_IGN_RX_FULL(block_id) (CVMX_ADD_IO_SEG(0x0001180090000218ull) + ((block_id) & 1) … argument 33 #define CVMX_SRXX_SPI4_CALX(offset, block_id) (CVMX_ADD_IO_SEG(0x0001180090000000ull) + (((offset) … argument 34 #define CVMX_SRXX_SPI4_STAT(block_id) (CVMX_ADD_IO_SEG(0x0001180090000208ull) + ((block_id) & 1) * … argument 35 #define CVMX_SRXX_SW_TICK_CTL(block_id) (CVMX_ADD_IO_SEG(0x0001180090000220ull) + ((block_id) & 1) … argument 36 #define CVMX_SRXX_SW_TICK_DAT(block_id) (CVMX_ADD_IO_SEG(0x0001180090000228ull) + ((block_id) & 1) … argument
|
A D | cvmx-l2c-defs.h | 36 #define CVMX_L2C_ERR_TDTX(block_id) \ argument 37 (CVMX_ADD_IO_SEG(0x0001180080A007E0ull) + ((block_id) & 3) * 0x40000ull) 38 #define CVMX_L2C_ERR_TTGX(block_id) \ argument 39 (CVMX_ADD_IO_SEG(0x0001180080A007E8ull) + ((block_id) & 3) * 0x40000ull) 54 #define CVMX_L2C_TADX_PFCX(offset, block_id) \ argument 56 ((block_id) & 7) * 0x8000ull) * 8) 58 ((block_id) & 3) * 0x40000ull) 60 ((block_id) & 3) * 0x40000ull) 62 ((block_id) & 3) * 0x40000ull) 64 ((block_id) & 3) * 0x40000ull) [all …]
|
A D | cvmx-pciercx-defs.h | 33 #define CVMX_PCIERCX_CFG001(block_id) (0x0000000000000004ull) argument 34 #define CVMX_PCIERCX_CFG006(block_id) (0x0000000000000018ull) argument 35 #define CVMX_PCIERCX_CFG008(block_id) (0x0000000000000020ull) argument 36 #define CVMX_PCIERCX_CFG009(block_id) (0x0000000000000024ull) argument 37 #define CVMX_PCIERCX_CFG010(block_id) (0x0000000000000028ull) argument 38 #define CVMX_PCIERCX_CFG011(block_id) (0x000000000000002Cull) argument 39 #define CVMX_PCIERCX_CFG030(block_id) (0x0000000000000078ull) argument 40 #define CVMX_PCIERCX_CFG031(block_id) (0x000000000000007Cull) argument 41 #define CVMX_PCIERCX_CFG032(block_id) (0x0000000000000080ull) argument 42 #define CVMX_PCIERCX_CFG034(block_id) (0x0000000000000088ull) argument [all …]
|
A D | cvmx-uctlx-defs.h | 31 #define CVMX_UCTLX_BIST_STATUS(block_id) (CVMX_ADD_IO_SEG(0x000118006F0000A0ull)) argument 33 #define CVMX_UCTLX_EHCI_CTL(block_id) (CVMX_ADD_IO_SEG(0x000118006F000080ull)) argument 34 #define CVMX_UCTLX_EHCI_FLA(block_id) (CVMX_ADD_IO_SEG(0x000118006F0000A8ull)) argument 35 #define CVMX_UCTLX_ERTO_CTL(block_id) (CVMX_ADD_IO_SEG(0x000118006F000090ull)) argument 36 #define CVMX_UCTLX_IF_ENA(block_id) (CVMX_ADD_IO_SEG(0x000118006F000030ull)) argument 37 #define CVMX_UCTLX_INT_ENA(block_id) (CVMX_ADD_IO_SEG(0x000118006F000028ull)) argument 38 #define CVMX_UCTLX_INT_REG(block_id) (CVMX_ADD_IO_SEG(0x000118006F000020ull)) argument 39 #define CVMX_UCTLX_OHCI_CTL(block_id) (CVMX_ADD_IO_SEG(0x000118006F000088ull)) argument 40 #define CVMX_UCTLX_ORTO_CTL(block_id) (CVMX_ADD_IO_SEG(0x000118006F000098ull)) argument 41 #define CVMX_UCTLX_PPAF_WM(block_id) (CVMX_ADD_IO_SEG(0x000118006F000038ull)) argument [all …]
|
/linux/drivers/net/ethernet/mscc/ |
A D | ocelot_flower.c | 123 int block_id; in ocelot_find_vcap_filter_that_points_at() local 126 if (block_id < 0) in ocelot_find_vcap_filter_that_points_at() 129 if (block_id == VCAP_IS2) { in ocelot_find_vcap_filter_that_points_at() 223 if (filter->block_id < 0) { in ocelot_flower_parse_action() 227 if (filter->block_id == VCAP_IS1 || filter->block_id == VCAP_IS2) in ocelot_flower_parse_action() 229 if (filter->block_id == VCAP_IS2) in ocelot_flower_parse_action() 804 int block_id; in ocelot_cls_flower_destroy() local 807 if (block_id < 0) in ocelot_cls_flower_destroy() 810 block = &ocelot->block[block_id]; in ocelot_cls_flower_destroy() 828 int block_id, ret; in ocelot_cls_flower_stats() local [all …]
|
A D | ocelot_vcap.c | 858 const struct vcap_props *vcap = &ocelot->vcap[filter->block_id]; in vcap_entry_get() 863 if (filter->block_id == VCAP_ES0) in vcap_entry_get() 882 if (filter->block_id == VCAP_IS1) in vcap_entry_set() 884 if (filter->block_id == VCAP_IS2) in vcap_entry_set() 886 if (filter->block_id == VCAP_ES0) in vcap_entry_set() 918 if (filter->block_id == VCAP_IS2 && in ocelot_vcap_policer_del() 941 if (filter->block_id == VCAP_IS2 && filter->action.police_ena) { in ocelot_vcap_filter_add_to_block() 1088 struct ocelot_vcap_block *block = &ocelot->block[filter->block_id]; in ocelot_exclusive_mac_etype_filter_rules() 1094 if (filter->block_id != VCAP_IS2) in ocelot_exclusive_mac_etype_filter_rules() 1134 struct ocelot_vcap_block *block = &ocelot->block[filter->block_id]; in ocelot_vcap_filter_add() [all …]
|
A D | ocelot_mrp.c | 65 filter->block_id = VCAP_IS2; in ocelot_mrp_redirect_add_vcap() 95 filter->block_id = VCAP_IS2; in ocelot_mrp_copy_add_vcap()
|
/linux/drivers/base/ |
A D | memory.c | 580 mem = xa_load(&memory_blocks, block_id); in find_memory_block_by_id() 651 mem = find_memory_block_by_id(block_id); in init_memory_block() 723 unsigned long block_id; in create_memory_block_devices() local 730 for (block_id = start_block_id; block_id != end_block_id; block_id++) { in create_memory_block_devices() 737 end_block_id = block_id; in create_memory_block_devices() 738 for (block_id = start_block_id; block_id != end_block_id; in create_memory_block_devices() 739 block_id++) { in create_memory_block_devices() 761 unsigned long block_id; in remove_memory_block_devices() local 767 for (block_id = start_block_id; block_id != end_block_id; block_id++) { in remove_memory_block_devices() 862 unsigned long block_id; in walk_memory_blocks() local [all …]
|
/linux/drivers/pci/controller/ |
A D | pci-hyperv-intf.c | 22 unsigned int block_id, unsigned int *bytes_returned) in hyperv_read_cfg_blk() argument 27 return hvpci_block_ops.read_block(dev, buf, buf_len, block_id, in hyperv_read_cfg_blk() 33 unsigned int block_id) in hyperv_write_cfg_blk() argument 38 return hvpci_block_ops.write_block(dev, buf, len, block_id); in hyperv_write_cfg_blk()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
A D | hv.c | 13 int block_id; in mlx5_hv_config_common() local 18 block_id = offset / HV_CONFIG_BLOCK_SIZE_MAX; in mlx5_hv_config_common() 22 HV_CONFIG_BLOCK_SIZE_MAX, block_id, in mlx5_hv_config_common() 25 HV_CONFIG_BLOCK_SIZE_MAX, block_id); in mlx5_hv_config_common()
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
A D | ta_ras_if.h | 109 enum ta_ras_block block_id; member 114 enum ta_ras_block block_id; member 119 enum ta_ras_block block_id; // ras-block. i.e. umc, gfx member
|
/linux/drivers/net/ethernet/qlogic/qed/ |
A D | qed_debug.c | 1023 enum block_id block_id) in get_dbg_block() argument 1500 enum block_id block_id, in qed_bus_config_dbg_line() argument 1529 for (block_id = 0; block_id < MAX_BLOCK_ID; block_id++) { in qed_bus_disable_blocks() 1714 for (block_id = 0; block_id < NUM_PHYS_BLOCKS; block_id++) { in qed_grc_unreset_blocks() 1798 for (block_id = 0; block_id < NUM_PHYS_BLOCKS; block_id++) { in qed_grc_clear_all_prty() 2432 for (block_id = 0; block_id < NUM_PHYS_BLOCKS; block_id++) { in qed_grc_dump_modified_regs() 3437 for (block_id = 0; block_id < MAX_BLOCK_ID; block_id++) { in qed_grc_dump_static_debug() 3502 (enum block_id)block_id, in qed_grc_dump_static_debug() 5702 enum block_id block_id, in qed_dbg_read_attn() argument 5763 results->block_id = (u8)block_id; in qed_dbg_read_attn() [all …]
|
/linux/drivers/block/drbd/ |
A D | drbd_protocol.h | 147 u64 block_id; /* to identify the request in protocol B&C */ member 172 u64 block_id; member 179 u64 block_id; member
|
/linux/drivers/media/i2c/ccs/ |
A D | ccs-data.c | 179 u8 block_id; in ccs_data_block_parse_header() local 190 block_id = ccs_data_parse_block_id(block, is_first); in ccs_data_block_parse_header() 195 block_id, hlen, plen); in ccs_data_block_parse_header() 201 *__block_id = block_id; in ccs_data_block_parse_header() 818 unsigned int block_id; in __ccs_data_parse() local 821 rval = ccs_data_block_parse_header(block, is_first, &block_id, in __ccs_data_parse() 829 switch (block_id) { in __ccs_data_parse() 913 block_id); in __ccs_data_parse()
|