Linux Kernel
3.7.1
|
#include <asm/sibyte/sb1250_defs.h>
Go to the source code of this file.
#define G_MAC_BACKOFF_SEL | ( | x | ) | _SB_GETVALUE(x, S_MAC_BACKOFF_SEL, M_MAC_BACKOFF_SEL) |
Definition at line 303 of file sb1250_mac.h.
#define G_MAC_BYPASS_CFG | ( | x | ) | _SB_GETVALUE(x, S_MAC_BYPASS_CFG, M_MAC_BYPASS_CFG) |
Definition at line 122 of file sb1250_mac.h.
#define G_MAC_BYPASS_IFG | ( | x | ) | _SB_GETVALUE(x, S_MAC_BYPASS_IFG, M_MAC_BYPASS_IFG) |
Definition at line 143 of file sb1250_mac.h.
#define G_MAC_COUNTER_ADDR | ( | x | ) | _SB_GETVALUE(x, S_MAC_COUNTER_ADDR, M_MAC_COUNTER_ADDR) |
Definition at line 472 of file sb1250_mac.h.
#define G_MAC_FC_CMD | ( | x | ) | _SB_GETVALUE(x, S_MAC_FC_CMD, M_MAC_FC_CMD) |
Definition at line 158 of file sb1250_mac.h.
#define G_MAC_IFG_RX | ( | x | ) | _SB_GETVALUE(x, S_MAC_IFG_RX, M_MAC_IFG_RX) |
Definition at line 281 of file sb1250_mac.h.
#define G_MAC_IFG_THRSH | ( | x | ) | _SB_GETVALUE(x, S_MAC_IFG_THRSH, M_MAC_IFG_THRSH) |
Definition at line 298 of file sb1250_mac.h.
#define G_MAC_IFG_TX | ( | x | ) | _SB_GETVALUE(x, S_MAC_IFG_TX, M_MAC_IFG_TX) |
Definition at line 293 of file sb1250_mac.h.
#define G_MAC_IPHDR_OFFSET | ( | x | ) | _SB_GETVALUE(x, S_MAC_IPHDR_OFFSET, M_MAC_IPHDR_OFFSET) |
Definition at line 608 of file sb1250_mac.h.
#define G_MAC_LFSR_SEED | ( | x | ) | _SB_GETVALUE(x, S_MAC_LFSR_SEED, M_MAC_LFSR_SEED) |
Definition at line 308 of file sb1250_mac.h.
#define G_MAC_MAX_FRAMESZ | ( | x | ) | _SB_GETVALUE(x, S_MAC_MAX_FRAMESZ, M_MAC_MAX_FRAMESZ) |
Definition at line 323 of file sb1250_mac.h.
#define G_MAC_MIN_FRAMESZ | ( | x | ) | _SB_GETVALUE(x, S_MAC_MIN_FRAMESZ, M_MAC_MIN_FRAMESZ) |
Definition at line 318 of file sb1250_mac.h.
#define G_MAC_RX_CH_SEL | ( | x | ) | _SB_GETVALUE(x, S_MAC_RX_CH_SEL, M_MAC_RX_CH_SEL) |
Definition at line 163 of file sb1250_mac.h.
#define G_MAC_RX_EOP_COUNTER | ( | x | ) | _SB_GETVALUE(x, S_MAC_RX_EOP_COUNTER, M_MAC_RX_EOP_COUNTER) |
Definition at line 520 of file sb1250_mac.h.
#define G_MAC_RX_PL_THRSH | ( | x | ) | _SB_GETVALUE(x, S_MAC_RX_PL_THRSH, M_MAC_RX_PL_THRSH) |
Definition at line 251 of file sb1250_mac.h.
#define G_MAC_RX_RD_THRSH | ( | x | ) | _SB_GETVALUE(x, S_MAC_RX_RD_THRSH, M_MAC_RX_RD_THRSH) |
Definition at line 256 of file sb1250_mac.h.
#define G_MAC_RX_RDPTR | ( | x | ) | _SB_GETVALUE(x, S_MAC_RX_RDPTR, M_MAC_TX_RDPTR) |
Definition at line 503 of file sb1250_mac.h.
#define G_MAC_RX_RL_THRSH | ( | x | ) | _SB_GETVALUE(x, S_MAC_RX_RL_THRSH, M_MAC_RX_RL_THRSH) |
Definition at line 261 of file sb1250_mac.h.
#define G_MAC_RX_WRPTR | ( | x | ) | _SB_GETVALUE(x, S_MAC_RX_WRPTR, M_MAC_TX_WRPTR) |
Definition at line 498 of file sb1250_mac.h.
#define G_MAC_SLOT_SIZE | ( | x | ) | _SB_GETVALUE(x, S_MAC_SLOT_SIZE, M_MAC_SLOT_SIZE) |
Definition at line 313 of file sb1250_mac.h.
#define G_MAC_SPEED_SEL | ( | x | ) | _SB_GETVALUE(x, S_MAC_SPEED_SEL, M_MAC_SPEED_SEL) |
Definition at line 102 of file sb1250_mac.h.
#define G_MAC_TX_EOP_COUNTER | ( | x | ) | _SB_GETVALUE(x, S_MAC_TX_EOP_COUNTER, M_MAC_TX_EOP_COUNTER) |
Definition at line 515 of file sb1250_mac.h.
#define G_MAC_TX_RD_THRSH | ( | x | ) | _SB_GETVALUE(x, S_MAC_TX_RD_THRSH, M_MAC_TX_RD_THRSH) |
Definition at line 241 of file sb1250_mac.h.
#define G_MAC_TX_RDPTR | ( | x | ) | _SB_GETVALUE(x, S_MAC_TX_RDPTR, M_MAC_TX_RDPTR) |
Definition at line 493 of file sb1250_mac.h.
#define G_MAC_TX_RL_THRSH | ( | x | ) | _SB_GETVALUE(x, S_MAC_TX_RL_THRSH, M_MAC_TX_RL_THRSH) |
Definition at line 246 of file sb1250_mac.h.
#define G_MAC_TX_WR_THRSH | ( | x | ) | _SB_GETVALUE(x, S_MAC_TX_WR_THRSH, M_MAC_TX_WR_THRSH) |
Definition at line 230 of file sb1250_mac.h.
#define G_MAC_TX_WRPTR | ( | x | ) | _SB_GETVALUE(x, S_MAC_TX_WRPTR, M_MAC_TX_WRPTR) |
Definition at line 488 of file sb1250_mac.h.
#define G_MAC_TXD_WEIGHT0 | ( | x | ) | _SB_GETVALUE(x, S_MAC_TXD_WEIGHT0, M_MAC_TXD_WEIGHT0) |
Definition at line 207 of file sb1250_mac.h.
#define G_MAC_TXD_WEIGHT1 | ( | x | ) | _SB_GETVALUE(x, S_MAC_TXD_WEIGHT1, M_MAC_TXD_WEIGHT1) |
Definition at line 212 of file sb1250_mac.h.
#define G_MAC_VLAN_TAG | ( | x | ) | _SB_GETVALUE(x, S_MAC_VLAN_TAG, M_MAC_VLAN_TAG) |
Definition at line 382 of file sb1250_mac.h.
#define G_TYPECFG_TYPE0 | ( | x | ) | _SB_GETVALUE(x, S_TYPECFG_TYPE0, M_TYPECFG_TYPE0) |
Definition at line 570 of file sb1250_mac.h.
#define G_TYPECFG_TYPE1 | ( | x | ) | _SB_GETVALUE(x, S_TYPECFG_TYPE1, M_TYPECFG_TYPE1) |
Definition at line 575 of file sb1250_mac.h.
#define G_TYPECFG_TYPE2 | ( | x | ) | _SB_GETVALUE(x, S_TYPECFG_TYPE2, M_TYPECFG_TYPE2) |
Definition at line 580 of file sb1250_mac.h.
#define G_TYPECFG_TYPE3 | ( | x | ) | _SB_GETVALUE(x, S_TYPECFG_TYPE3, M_TYPECFG_TYPE3) |
Definition at line 585 of file sb1250_mac.h.
#define K_MAC_BYPASS_ENCODED 1 |
Definition at line 125 of file sb1250_mac.h.
#define K_MAC_BYPASS_EOP 3 |
Definition at line 127 of file sb1250_mac.h.
#define K_MAC_BYPASS_GMII 0 |
Definition at line 124 of file sb1250_mac.h.
#define K_MAC_BYPASS_SOP 2 |
Definition at line 126 of file sb1250_mac.h.
#define K_MAC_FC_CMD_DISABLED 0 |
Definition at line 145 of file sb1250_mac.h.
#define K_MAC_FC_CMD_ENAB_FALSECARR 2 |
Definition at line 147 of file sb1250_mac.h.
#define K_MAC_FC_CMD_ENABLED 1 |
Definition at line 146 of file sb1250_mac.h.
#define K_MAC_IFG_RX_10 _SB_MAKE64(0) /* See table 176, not used */ |
Definition at line 330 of file sb1250_mac.h.
#define K_MAC_IFG_RX_100 _SB_MAKE64(0) |
Definition at line 331 of file sb1250_mac.h.
#define K_MAC_IFG_RX_1000 _SB_MAKE64(0) |
Definition at line 332 of file sb1250_mac.h.
#define K_MAC_IFG_THRSH_10 _SB_MAKE64(4) |
Definition at line 338 of file sb1250_mac.h.
#define K_MAC_IFG_THRSH_100 _SB_MAKE64(4) |
Definition at line 339 of file sb1250_mac.h.
#define K_MAC_IFG_THRSH_1000 _SB_MAKE64(0) |
Definition at line 340 of file sb1250_mac.h.
#define K_MAC_IFG_TX_10 _SB_MAKE64(20) |
Definition at line 334 of file sb1250_mac.h.
#define K_MAC_IFG_TX_100 _SB_MAKE64(20) |
Definition at line 335 of file sb1250_mac.h.
#define K_MAC_IFG_TX_1000 _SB_MAKE64(8) |
Definition at line 336 of file sb1250_mac.h.
#define K_MAC_MAX_FRAMESZ_DEFAULT _SB_MAKE64(1518) |
Definition at line 364 of file sb1250_mac.h.
#define K_MAC_MAX_FRAMESZ_JUMBO _SB_MAKE64(9216) |
Definition at line 365 of file sb1250_mac.h.
#define K_MAC_MIN_FRAMESZ_DEFAULT _SB_MAKE64(64) |
Definition at line 363 of file sb1250_mac.h.
#define K_MAC_MIN_FRAMESZ_FIFO _SB_MAKE64(9) |
Definition at line 362 of file sb1250_mac.h.
#define K_MAC_SLOT_SIZE_10 _SB_MAKE64(0) |
Definition at line 342 of file sb1250_mac.h.
#define K_MAC_SLOT_SIZE_100 _SB_MAKE64(0) |
Definition at line 343 of file sb1250_mac.h.
#define K_MAC_SLOT_SIZE_1000 _SB_MAKE64(0) |
Definition at line 344 of file sb1250_mac.h.
#define K_MAC_SPEED_SEL_1000MBPS 2 |
Definition at line 106 of file sb1250_mac.h.
#define K_MAC_SPEED_SEL_100MBPS 1 |
Definition at line 105 of file sb1250_mac.h.
#define K_MAC_SPEED_SEL_10MBPS 0 |
Definition at line 104 of file sb1250_mac.h.
#define K_MAC_SPEED_SEL_RESERVED 3 |
Definition at line 107 of file sb1250_mac.h.
#define K_MAC_TX_PAUSE_CNT_16K 5 |
Definition at line 66 of file sb1250_mac.h.
#define K_MAC_TX_PAUSE_CNT_1K 1 |
Definition at line 62 of file sb1250_mac.h.
#define K_MAC_TX_PAUSE_CNT_2K 2 |
Definition at line 63 of file sb1250_mac.h.
#define K_MAC_TX_PAUSE_CNT_32K 6 |
Definition at line 67 of file sb1250_mac.h.
#define K_MAC_TX_PAUSE_CNT_4K 3 |
Definition at line 64 of file sb1250_mac.h.
#define K_MAC_TX_PAUSE_CNT_512 0 |
Definition at line 61 of file sb1250_mac.h.
#define K_MAC_TX_PAUSE_CNT_64K 7 |
Definition at line 68 of file sb1250_mac.h.
#define K_MAC_TX_PAUSE_CNT_8K 4 |
Definition at line 65 of file sb1250_mac.h.
#define M_MAC_ALLPKT_EN _SB_MAKEMASK1(0) |
Definition at line 594 of file sb1250_mac.h.
#define M_MAC_AP_STAT_EN _SB_MAKEMASK1(17) |
Definition at line 81 of file sb1250_mac.h.
#define M_MAC_BACKOFF_SEL _SB_MAKEMASK(4, S_MAC_BACKOFF_SEL) |
Definition at line 301 of file sb1250_mac.h.
#define M_MAC_BCAST_EN _SB_MAKEMASK1(5) |
Definition at line 599 of file sb1250_mac.h.
#define M_MAC_BURST_EN _SB_MAKEMASK1(5) |
Definition at line 55 of file sb1250_mac.h.
#define M_MAC_BYPASS_16 _SB_MAKEMASK1(42) |
Definition at line 129 of file sb1250_mac.h.
#define M_MAC_BYPASS_CFG _SB_MAKEMASK(2, S_MAC_BYPASS_CFG) |
Definition at line 120 of file sb1250_mac.h.
#define M_MAC_BYPASS_FCS_CHK _SB_MAKEMASK1(43) |
Definition at line 130 of file sb1250_mac.h.
#define M_MAC_BYPASS_IFG _SB_MAKEMASK(8, S_MAC_BYPASS_IFG) |
Definition at line 141 of file sb1250_mac.h.
#define M_MAC_BYPASS_SEL _SB_MAKEMASK1(32) |
Definition at line 96 of file sb1250_mac.h.
#define M_MAC_CNTR_OVRFL_ERR _SB_MAKEMASK1(46) |
Definition at line 464 of file sb1250_mac.h.
#define M_MAC_COUNTER_ADDR _SB_MAKEMASK(5, S_MAC_COUNTER_ADDR) |
Definition at line 470 of file sb1250_mac.h.
#define M_MAC_DIRECT_INV _SB_MAKEMASK1(6) |
Definition at line 600 of file sb1250_mac.h.
#define M_MAC_DRP_CODEERRPKT_EN _SB_MAKEMASK1(21) |
Definition at line 88 of file sb1250_mac.h.
#define M_MAC_DRP_DRBLERRPKT_EN _SB_MAKEMASK1(22) |
Definition at line 89 of file sb1250_mac.h.
#define M_MAC_DRP_ERRPKT_EN _SB_MAKEMASK1(19) |
Definition at line 86 of file sb1250_mac.h.
#define M_MAC_DRP_FCSERRPKT_EN _SB_MAKEMASK1(20) |
Definition at line 87 of file sb1250_mac.h.
#define M_MAC_DRP_LENERRPKT_EN _SB_MAKEMASK1(25) |
Definition at line 92 of file sb1250_mac.h.
#define M_MAC_DRP_OSZPKT_EN _SB_MAKEMASK1(24) |
Definition at line 91 of file sb1250_mac.h.
#define M_MAC_DRP_RNTPKT_EN _SB_MAKEMASK1(23) |
Definition at line 90 of file sb1250_mac.h.
#define M_MAC_EXCOL_ERR _SB_MAKEMASK1(45) |
Definition at line 463 of file sb1250_mac.h.
#define M_MAC_FAST_SYNC _SB_MAKEMASK1(38) |
Definition at line 116 of file sb1250_mac.h.
#define M_MAC_FC_CMD _SB_MAKEMASK(2, S_MAC_FC_CMD) |
Definition at line 156 of file sb1250_mac.h.
#define M_MAC_FC_SEL _SB_MAKEMASK1(54) |
Definition at line 153 of file sb1250_mac.h.
#define M_MAC_GENC _SB_MAKEMASK1(S_MAC_GENC) |
Definition at line 653 of file sb1250_mac.h.
#define M_MAC_HDX_EN _SB_MAKEMASK1(33) |
Definition at line 97 of file sb1250_mac.h.
#define M_MAC_IFG_RX _SB_MAKEMASK(6, S_MAC_IFG_RX) |
Definition at line 279 of file sb1250_mac.h.
#define M_MAC_IFG_THRSH _SB_MAKEMASK(6, S_MAC_IFG_THRSH) |
Definition at line 296 of file sb1250_mac.h.
#define M_MAC_IFG_TX _SB_MAKEMASK(6, S_MAC_IFG_TX) |
Definition at line 291 of file sb1250_mac.h.
#define M_MAC_INT_CHANNEL _SB_MAKEMASK(8, 0) |
Definition at line 428 of file sb1250_mac.h.
#define M_MAC_INT_DROP _SB_MAKEMASK1(7) /* only for RX channels */ |
Definition at line 437 of file sb1250_mac.h.
#define M_MAC_INT_DSCR _SB_MAKEMASK1(5) |
Definition at line 434 of file sb1250_mac.h.
#define M_MAC_INT_DZERO _SB_MAKEMASK1(7) /* only for TX channels */ |
Definition at line 436 of file sb1250_mac.h.
#define M_MAC_INT_EOP_COUNT _SB_MAKEMASK1(0) |
Definition at line 429 of file sb1250_mac.h.
#define M_MAC_INT_EOP_SEEN _SB_MAKEMASK1(2) |
Definition at line 431 of file sb1250_mac.h.
#define M_MAC_INT_EOP_TIMER _SB_MAKEMASK1(1) |
Definition at line 430 of file sb1250_mac.h.
#define M_MAC_INT_ERR _SB_MAKEMASK1(6) |
Definition at line 435 of file sb1250_mac.h.
#define M_MAC_INT_HWM _SB_MAKEMASK1(3) |
Definition at line 432 of file sb1250_mac.h.
#define M_MAC_INT_LWM _SB_MAKEMASK1(4) |
Definition at line 433 of file sb1250_mac.h.
#define M_MAC_IPHDR_OFFSET _SB_MAKEMASK(8, S_MAC_IPHDR_OFFSET) |
Definition at line 606 of file sb1250_mac.h.
#define M_MAC_LFSR_SEED _SB_MAKEMASK(8, S_MAC_LFSR_SEED) |
Definition at line 306 of file sb1250_mac.h.
#define M_MAC_LOOPBACK_SEL _SB_MAKEMASK1(37) |
Definition at line 115 of file sb1250_mac.h.
#define M_MAC_LTCOL_ERR _SB_MAKEMASK1(44) |
Definition at line 462 of file sb1250_mac.h.
#define M_MAC_MAX_FRAMESZ _SB_MAKEMASK(16, S_MAC_MAX_FRAMESZ) |
Definition at line 321 of file sb1250_mac.h.
#define M_MAC_MCAST_EN _SB_MAKEMASK1(3) |
Definition at line 597 of file sb1250_mac.h.
#define M_MAC_MCAST_INV _SB_MAKEMASK1(4) |
Definition at line 598 of file sb1250_mac.h.
#define M_MAC_MDC _SB_MAKEMASK1(S_MAC_MDC) |
Definition at line 649 of file sb1250_mac.h.
#define M_MAC_MDIO_DIR _SB_MAKEMASK1(S_MAC_MDIO_DIR) |
Definition at line 650 of file sb1250_mac.h.
#define M_MAC_MDIO_DIR_INPUT _SB_MAKEMASK1(S_MAC_MDIO_DIR) |
Definition at line 651 of file sb1250_mac.h.
#define M_MAC_MDIO_IN _SB_MAKEMASK1(S_MAC_MDIO_IN) |
Definition at line 654 of file sb1250_mac.h.
#define M_MAC_MDIO_OUT _SB_MAKEMASK1(S_MAC_MDIO_OUT) |
Definition at line 652 of file sb1250_mac.h.
#define M_MAC_MIN_FRAMESZ _SB_MAKEMASK(8, S_MAC_MIN_FRAMESZ) |
Definition at line 316 of file sb1250_mac.h.
#define M_MAC_PORT_RESET _SB_MAKEMASK1(8) |
Definition at line 178 of file sb1250_mac.h.
#define M_MAC_RESERVED0 _SB_MAKEMASK1(0) |
Definition at line 50 of file sb1250_mac.h.
#define M_MAC_RESERVED1 _SB_MAKEMASK(8, 9) |
Definition at line 79 of file sb1250_mac.h.
#define M_MAC_RESERVED3 _SB_MAKEMASK(6, 26) |
Definition at line 94 of file sb1250_mac.h.
#define M_MAC_RET_DRPREQ_EN _SB_MAKEMASK1(3) |
Definition at line 53 of file sb1250_mac.h.
#define M_MAC_RET_UFL_EN _SB_MAKEMASK1(4) |
Definition at line 54 of file sb1250_mac.h.
#define M_MAC_RETRY_EN _SB_MAKEMASK1(2) |
Definition at line 52 of file sb1250_mac.h.
#define M_MAC_RX_CH_SEL _SB_MAKEMASK(7, S_MAC_RX_CH_SEL) |
Definition at line 161 of file sb1250_mac.h.
#define M_MAC_RX_EOP_COUNTER _SB_MAKEMASK(6, S_MAC_RX_EOP_COUNTER) |
Definition at line 518 of file sb1250_mac.h.
#define M_MAC_RX_OVRFL _SB_MAKEMASK1(41) |
Definition at line 459 of file sb1250_mac.h.
#define M_MAC_RX_PL_THRSH _SB_MAKEMASK(6, S_MAC_RX_PL_THRSH) |
Definition at line 249 of file sb1250_mac.h.
#define M_MAC_RX_RD_THRSH _SB_MAKEMASK(6, S_MAC_RX_RD_THRSH) |
Definition at line 254 of file sb1250_mac.h.
#define M_MAC_RX_RDPTR _SB_MAKEMASK(6, S_MAC_RX_RDPTR) |
Definition at line 501 of file sb1250_mac.h.
#define M_MAC_RX_RL_THRSH _SB_MAKEMASK(6, S_MAC_RX_RL_THRSH) |
Definition at line 259 of file sb1250_mac.h.
#define M_MAC_RX_UNDRFL _SB_MAKEMASK1(40) |
Definition at line 458 of file sb1250_mac.h.
#define M_MAC_RX_WRPTR _SB_MAKEMASK(6, S_MAC_RX_WRPTR) |
Definition at line 496 of file sb1250_mac.h.
#define M_MAC_RXDMA_EN0 _SB_MAKEMASK1(0) |
Definition at line 173 of file sb1250_mac.h.
#define M_MAC_RXDMA_EN1 _SB_MAKEMASK1(1) |
Definition at line 174 of file sb1250_mac.h.
#define M_MAC_SLOT_SIZE _SB_MAKEMASK(10, S_MAC_SLOT_SIZE) |
Definition at line 311 of file sb1250_mac.h.
#define M_MAC_SPEED_SEL _SB_MAKEMASK(2, S_MAC_SPEED_SEL) |
Definition at line 100 of file sb1250_mac.h.
#define M_MAC_SS_EN _SB_MAKEMASK1(39) |
Definition at line 117 of file sb1250_mac.h.
#define M_MAC_STATUS_CHANNEL | ( | ch, | |
txrx | |||
) | _SB_MAKEVALUE(_SB_MAKEMASK(8, 0), S_MAC_STATUS_CH_OFFSET(ch, txrx)) |
Definition at line 445 of file sb1250_mac.h.
#define M_MAC_STATUS_DROP | ( | ch, | |
txrx | |||
) | _SB_MAKEVALUE(M_MAC_INT_DROP, S_MAC_STATUS_CH_OFFSET(ch, txrx)) |
Definition at line 454 of file sb1250_mac.h.
#define M_MAC_STATUS_DSCR | ( | ch, | |
txrx | |||
) | _SB_MAKEVALUE(M_MAC_INT_DSCR, S_MAC_STATUS_CH_OFFSET(ch, txrx)) |
Definition at line 451 of file sb1250_mac.h.
#define M_MAC_STATUS_DZERO | ( | ch, | |
txrx | |||
) | _SB_MAKEVALUE(M_MAC_INT_DZERO, S_MAC_STATUS_CH_OFFSET(ch, txrx)) |
Definition at line 453 of file sb1250_mac.h.
#define M_MAC_STATUS_EOP_COUNT | ( | ch, | |
txrx | |||
) | _SB_MAKEVALUE(M_MAC_INT_EOP_COUNT, S_MAC_STATUS_CH_OFFSET(ch, txrx)) |
Definition at line 446 of file sb1250_mac.h.
#define M_MAC_STATUS_EOP_SEEN | ( | ch, | |
txrx | |||
) | _SB_MAKEVALUE(M_MAC_INT_EOP_SEEN, S_MAC_STATUS_CH_OFFSET(ch, txrx)) |
Definition at line 448 of file sb1250_mac.h.
#define M_MAC_STATUS_EOP_TIMER | ( | ch, | |
txrx | |||
) | _SB_MAKEVALUE(M_MAC_INT_EOP_TIMER, S_MAC_STATUS_CH_OFFSET(ch, txrx)) |
Definition at line 447 of file sb1250_mac.h.
#define M_MAC_STATUS_ERR | ( | ch, | |
txrx | |||
) | _SB_MAKEVALUE(M_MAC_INT_ERR, S_MAC_STATUS_CH_OFFSET(ch, txrx)) |
Definition at line 452 of file sb1250_mac.h.
#define M_MAC_STATUS_HWM | ( | ch, | |
txrx | |||
) | _SB_MAKEVALUE(M_MAC_INT_HWM, S_MAC_STATUS_CH_OFFSET(ch, txrx)) |
Definition at line 449 of file sb1250_mac.h.
#define M_MAC_STATUS_LWM | ( | ch, | |
txrx | |||
) | _SB_MAKEVALUE(M_MAC_INT_LWM, S_MAC_STATUS_CH_OFFSET(ch, txrx)) |
Definition at line 450 of file sb1250_mac.h.
#define M_MAC_STATUS_OTHER_ERR _SB_MAKEVALUE(_SB_MAKEMASK(7, 0), 40) |
Definition at line 455 of file sb1250_mac.h.
#define M_MAC_TX_CLK_EDGE_SEL _SB_MAKEMASK1(36) |
Definition at line 114 of file sb1250_mac.h.
#define M_MAC_TX_EOP_COUNTER _SB_MAKEMASK(6, S_MAC_TX_EOP_COUNTER) |
Definition at line 513 of file sb1250_mac.h.
#define M_MAC_TX_HOLD_SOP_EN _SB_MAKEMASK1(1) |
Definition at line 51 of file sb1250_mac.h.
#define M_MAC_TX_OVRFL _SB_MAKEMASK1(43) |
Definition at line 461 of file sb1250_mac.h.
#define M_MAC_TX_PAUSE_CNT _SB_MAKEMASK(3, S_MAC_TX_PAUSE) |
Definition at line 58 of file sb1250_mac.h.
#define M_MAC_TX_RDPTR _SB_MAKEMASK(6, S_MAC_TX_RDPTR) |
Definition at line 491 of file sb1250_mac.h.
#define M_MAC_TX_RL_THRSH _SB_MAKEMASK(4, S_MAC_TX_RL_THRSH) |
Definition at line 244 of file sb1250_mac.h.
#define M_MAC_TX_UNDRFL _SB_MAKEMASK1(42) |
Definition at line 460 of file sb1250_mac.h.
#define M_MAC_TX_WRPTR _SB_MAKEMASK(6, S_MAC_TX_WRPTR) |
Definition at line 486 of file sb1250_mac.h.
#define M_MAC_TXD_WEIGHT0 _SB_MAKEMASK(4, S_MAC_TXD_WEIGHT0) |
Definition at line 205 of file sb1250_mac.h.
#define M_MAC_TXD_WEIGHT1 _SB_MAKEMASK(4, S_MAC_TXD_WEIGHT1) |
Definition at line 210 of file sb1250_mac.h.
#define M_MAC_TXDMA_EN0 _SB_MAKEMASK1(4) |
Definition at line 175 of file sb1250_mac.h.
#define M_MAC_TXDMA_EN1 _SB_MAKEMASK1(5) |
Definition at line 176 of file sb1250_mac.h.
#define M_MAC_UCAST_EN _SB_MAKEMASK1(1) |
Definition at line 595 of file sb1250_mac.h.
#define M_MAC_UCAST_INV _SB_MAKEMASK1(2) |
Definition at line 596 of file sb1250_mac.h.
#define M_MAC_VLAN_TAG _SB_MAKEMASK(32, S_MAC_VLAN_TAG) |
Definition at line 380 of file sb1250_mac.h.
#define M_TYPECFG_TYPE0 _SB_MAKEMASK(16, S_TYPECFG_TYPE0) |
Definition at line 568 of file sb1250_mac.h.
#define M_TYPECFG_TYPE1 _SB_MAKEMASK(16, S_TYPECFG_TYPE1) |
Definition at line 573 of file sb1250_mac.h.
#define M_TYPECFG_TYPE2 _SB_MAKEMASK(16, S_TYPECFG_TYPE2) |
Definition at line 578 of file sb1250_mac.h.
#define M_TYPECFG_TYPE3 _SB_MAKEMASK(16, S_TYPECFG_TYPE3) |
Definition at line 583 of file sb1250_mac.h.
#define S_MAC_BACKOFF_SEL _SB_MAKE64(18) |
Definition at line 300 of file sb1250_mac.h.
#define S_MAC_BYPASS_CFG _SB_MAKE64(40) |
Definition at line 119 of file sb1250_mac.h.
#define S_MAC_BYPASS_IFG _SB_MAKE64(46) |
Definition at line 140 of file sb1250_mac.h.
#define S_MAC_CHANWIDTH _SB_MAKE64(8) /* bits between channels */ |
Definition at line 421 of file sb1250_mac.h.
#define S_MAC_COUNTER_ADDR _SB_MAKE64(47) |
Definition at line 469 of file sb1250_mac.h.
#define S_MAC_FC_CMD _SB_MAKE64(55) |
Definition at line 155 of file sb1250_mac.h.
#define S_MAC_GENC 3 |
Definition at line 646 of file sb1250_mac.h.
#define S_MAC_IFG_RX _SB_MAKE64(0) |
Definition at line 278 of file sb1250_mac.h.
#define S_MAC_IFG_THRSH _SB_MAKE64(12) |
Definition at line 295 of file sb1250_mac.h.
#define S_MAC_IFG_TX _SB_MAKE64(6) |
Definition at line 290 of file sb1250_mac.h.
#define S_MAC_IPHDR_OFFSET _SB_MAKE64(8) |
Definition at line 605 of file sb1250_mac.h.
#define S_MAC_LFSR_SEED _SB_MAKE64(22) |
Definition at line 305 of file sb1250_mac.h.
#define S_MAC_MAX_FRAMESZ _SB_MAKE64(48) |
Definition at line 320 of file sb1250_mac.h.
#define S_MAC_MDC 0 |
Definition at line 643 of file sb1250_mac.h.
#define S_MAC_MDIO_DIR 1 |
Definition at line 644 of file sb1250_mac.h.
#define S_MAC_MDIO_IN 4 |
Definition at line 647 of file sb1250_mac.h.
#define S_MAC_MDIO_OUT 2 |
Definition at line 645 of file sb1250_mac.h.
#define S_MAC_MIN_FRAMESZ _SB_MAKE64(40) |
Definition at line 315 of file sb1250_mac.h.
#define S_MAC_RX_CH0 _SB_MAKE64(0) |
Definition at line 415 of file sb1250_mac.h.
#define S_MAC_RX_CH1 _SB_MAKE64(8) |
Definition at line 416 of file sb1250_mac.h.
#define S_MAC_RX_CH_SEL _SB_MAKE64(57) |
Definition at line 160 of file sb1250_mac.h.
#define S_MAC_RX_EOP_COUNTER _SB_MAKE64(8) |
Definition at line 517 of file sb1250_mac.h.
#define S_MAC_RX_PL_THRSH _SB_MAKE64(24) |
Definition at line 248 of file sb1250_mac.h.
#define S_MAC_RX_RD_THRSH _SB_MAKE64(32) |
Definition at line 253 of file sb1250_mac.h.
#define S_MAC_RX_RDPTR _SB_MAKE64(24) |
Definition at line 500 of file sb1250_mac.h.
#define S_MAC_RX_RL_THRSH _SB_MAKE64(40) |
Definition at line 258 of file sb1250_mac.h.
#define S_MAC_RX_WRPTR _SB_MAKE64(16) |
Definition at line 495 of file sb1250_mac.h.
#define S_MAC_SLOT_SIZE _SB_MAKE64(30) |
Definition at line 310 of file sb1250_mac.h.
#define S_MAC_SPEED_SEL _SB_MAKE64(34) |
Definition at line 99 of file sb1250_mac.h.
#define S_MAC_STATUS_CH_OFFSET | ( | ch, | |
txrx | |||
) | _SB_MAKE64(((ch) + 2 * (txrx)) * S_MAC_CHANWIDTH) |
Definition at line 443 of file sb1250_mac.h.
#define S_MAC_TX_CH0 _SB_MAKE64(16) |
Definition at line 417 of file sb1250_mac.h.
#define S_MAC_TX_CH1 _SB_MAKE64(24) |
Definition at line 418 of file sb1250_mac.h.
#define S_MAC_TX_EOP_COUNTER _SB_MAKE64(0) |
Definition at line 512 of file sb1250_mac.h.
#define S_MAC_TX_PAUSE _SB_MAKE64(6) |
Definition at line 57 of file sb1250_mac.h.
#define S_MAC_TX_RD_THRSH _SB_MAKE64(8) |
Definition at line 232 of file sb1250_mac.h.
#define S_MAC_TX_RDPTR _SB_MAKE64(8) |
Definition at line 490 of file sb1250_mac.h.
#define S_MAC_TX_RL_THRSH _SB_MAKE64(16) |
Definition at line 243 of file sb1250_mac.h.
#define S_MAC_TX_WR_THRSH _SB_MAKE64(0) |
Definition at line 221 of file sb1250_mac.h.
#define S_MAC_TX_WRPTR _SB_MAKE64(0) |
Definition at line 485 of file sb1250_mac.h.
#define S_MAC_TXCHANNELS _SB_MAKE64(16) /* this is 1st TX chan */ |
Definition at line 420 of file sb1250_mac.h.
#define S_MAC_TXD_WEIGHT0 _SB_MAKE64(0) |
Definition at line 204 of file sb1250_mac.h.
#define S_MAC_TXD_WEIGHT1 _SB_MAKE64(4) |
Definition at line 209 of file sb1250_mac.h.
#define S_MAC_VLAN_TAG _SB_MAKE64(0) |
Definition at line 379 of file sb1250_mac.h.
#define S_TYPECFG_TYPE0 _SB_MAKE64(0) |
Definition at line 567 of file sb1250_mac.h.
#define S_TYPECFG_TYPE1 _SB_MAKE64(0) |
Definition at line 572 of file sb1250_mac.h.
#define S_TYPECFG_TYPE2 _SB_MAKE64(0) |
Definition at line 577 of file sb1250_mac.h.
#define S_TYPECFG_TYPE3 _SB_MAKE64(0) |
Definition at line 582 of file sb1250_mac.h.
#define S_TYPECFG_TYPESIZE _SB_MAKE64(16) |
Definition at line 565 of file sb1250_mac.h.
#define V_MAC_BACKOFF_SEL | ( | x | ) | _SB_MAKEVALUE(x, S_MAC_BACKOFF_SEL) |
Definition at line 302 of file sb1250_mac.h.
#define V_MAC_BYPASS_CFG | ( | x | ) | _SB_MAKEVALUE(x, S_MAC_BYPASS_CFG) |
Definition at line 121 of file sb1250_mac.h.
#define V_MAC_BYPASS_IFG | ( | x | ) | _SB_MAKEVALUE(x, S_MAC_BYPASS_IFG) |
Definition at line 142 of file sb1250_mac.h.
#define V_MAC_COUNTER_ADDR | ( | x | ) | _SB_MAKEVALUE(x, S_MAC_COUNTER_ADDR) |
Definition at line 471 of file sb1250_mac.h.
#define V_MAC_FC_CMD | ( | x | ) | _SB_MAKEVALUE(x, S_MAC_FC_CMD) |
Definition at line 157 of file sb1250_mac.h.
#define V_MAC_FC_CMD_DISABLED V_MAC_FC_CMD(K_MAC_FC_CMD_DISABLED) |
Definition at line 149 of file sb1250_mac.h.
#define V_MAC_FC_CMD_ENAB_FALSECARR V_MAC_FC_CMD(K_MAC_FC_CMD_ENAB_FALSECARR) |
Definition at line 151 of file sb1250_mac.h.
#define V_MAC_FC_CMD_ENABLED V_MAC_FC_CMD(K_MAC_FC_CMD_ENABLED) |
Definition at line 150 of file sb1250_mac.h.
#define V_MAC_IFG_RX | ( | x | ) | _SB_MAKEVALUE(x, S_MAC_IFG_RX) |
Definition at line 280 of file sb1250_mac.h.
#define V_MAC_IFG_RX_10 V_MAC_IFG_RX(K_MAC_IFG_RX_10) |
Definition at line 346 of file sb1250_mac.h.
#define V_MAC_IFG_RX_100 V_MAC_IFG_RX(K_MAC_IFG_RX_100) |
Definition at line 347 of file sb1250_mac.h.
#define V_MAC_IFG_RX_1000 V_MAC_IFG_RX(K_MAC_IFG_RX_1000) |
Definition at line 348 of file sb1250_mac.h.
#define V_MAC_IFG_THRSH | ( | x | ) | _SB_MAKEVALUE(x, S_MAC_IFG_THRSH) |
Definition at line 297 of file sb1250_mac.h.
#define V_MAC_IFG_THRSH_10 V_MAC_IFG_THRSH(K_MAC_IFG_THRSH_10) |
Definition at line 354 of file sb1250_mac.h.
#define V_MAC_IFG_THRSH_100 V_MAC_IFG_THRSH(K_MAC_IFG_THRSH_100) |
Definition at line 355 of file sb1250_mac.h.
#define V_MAC_IFG_THRSH_1000 V_MAC_IFG_THRSH(K_MAC_IFG_THRSH_1000) |
Definition at line 356 of file sb1250_mac.h.
#define V_MAC_IFG_TX | ( | x | ) | _SB_MAKEVALUE(x, S_MAC_IFG_TX) |
Definition at line 292 of file sb1250_mac.h.
#define V_MAC_IFG_TX_10 V_MAC_IFG_TX(K_MAC_IFG_TX_10) |
Definition at line 350 of file sb1250_mac.h.
#define V_MAC_IFG_TX_100 V_MAC_IFG_TX(K_MAC_IFG_TX_100) |
Definition at line 351 of file sb1250_mac.h.
#define V_MAC_IFG_TX_1000 V_MAC_IFG_TX(K_MAC_IFG_TX_1000) |
Definition at line 352 of file sb1250_mac.h.
#define V_MAC_IPHDR_OFFSET | ( | x | ) | _SB_MAKEVALUE(x, S_MAC_IPHDR_OFFSET) |
Definition at line 607 of file sb1250_mac.h.
#define V_MAC_LFSR_SEED | ( | x | ) | _SB_MAKEVALUE(x, S_MAC_LFSR_SEED) |
Definition at line 307 of file sb1250_mac.h.
#define V_MAC_MAX_FRAMESZ | ( | x | ) | _SB_MAKEVALUE(x, S_MAC_MAX_FRAMESZ) |
Definition at line 322 of file sb1250_mac.h.
#define V_MAC_MAX_FRAMESZ_DEFAULT V_MAC_MAX_FRAMESZ(K_MAC_MAX_FRAMESZ_DEFAULT) |
Definition at line 369 of file sb1250_mac.h.
#define V_MAC_MAX_FRAMESZ_JUMBO V_MAC_MAX_FRAMESZ(K_MAC_MAX_FRAMESZ_JUMBO) |
Definition at line 370 of file sb1250_mac.h.
#define V_MAC_MIN_FRAMESZ | ( | x | ) | _SB_MAKEVALUE(x, S_MAC_MIN_FRAMESZ) |
Definition at line 317 of file sb1250_mac.h.
#define V_MAC_MIN_FRAMESZ_DEFAULT V_MAC_MIN_FRAMESZ(K_MAC_MIN_FRAMESZ_DEFAULT) |
Definition at line 368 of file sb1250_mac.h.
#define V_MAC_MIN_FRAMESZ_FIFO V_MAC_MIN_FRAMESZ(K_MAC_MIN_FRAMESZ_FIFO) |
Definition at line 367 of file sb1250_mac.h.
#define V_MAC_RX_CH_SEL | ( | x | ) | _SB_MAKEVALUE(x, S_MAC_RX_CH_SEL) |
Definition at line 162 of file sb1250_mac.h.
#define V_MAC_RX_EOP_COUNTER | ( | x | ) | _SB_MAKEVALUE(x, S_MAC_RX_EOP_COUNTER) |
Definition at line 519 of file sb1250_mac.h.
#define V_MAC_RX_PL_THRSH | ( | x | ) | _SB_MAKEVALUE(x, S_MAC_RX_PL_THRSH) |
Definition at line 250 of file sb1250_mac.h.
#define V_MAC_RX_RD_THRSH | ( | x | ) | _SB_MAKEVALUE(x, S_MAC_RX_RD_THRSH) |
Definition at line 255 of file sb1250_mac.h.
#define V_MAC_RX_RDPTR | ( | x | ) | _SB_MAKEVALUE(x, S_MAC_RX_RDPTR) |
Definition at line 502 of file sb1250_mac.h.
#define V_MAC_RX_RL_THRSH | ( | x | ) | _SB_MAKEVALUE(x, S_MAC_RX_RL_THRSH) |
Definition at line 260 of file sb1250_mac.h.
#define V_MAC_RX_WRPTR | ( | x | ) | _SB_MAKEVALUE(x, S_MAC_RX_WRPTR) |
Definition at line 497 of file sb1250_mac.h.
#define V_MAC_SLOT_SIZE | ( | x | ) | _SB_MAKEVALUE(x, S_MAC_SLOT_SIZE) |
Definition at line 312 of file sb1250_mac.h.
#define V_MAC_SLOT_SIZE_10 V_MAC_SLOT_SIZE(K_MAC_SLOT_SIZE_10) |
Definition at line 358 of file sb1250_mac.h.
#define V_MAC_SLOT_SIZE_100 V_MAC_SLOT_SIZE(K_MAC_SLOT_SIZE_100) |
Definition at line 359 of file sb1250_mac.h.
#define V_MAC_SLOT_SIZE_1000 V_MAC_SLOT_SIZE(K_MAC_SLOT_SIZE_1000) |
Definition at line 360 of file sb1250_mac.h.
#define V_MAC_SPEED_SEL | ( | x | ) | _SB_MAKEVALUE(x, S_MAC_SPEED_SEL) |
Definition at line 101 of file sb1250_mac.h.
#define V_MAC_SPEED_SEL_1000MBPS V_MAC_SPEED_SEL(K_MAC_SPEED_SEL_1000MBPS) |
Definition at line 111 of file sb1250_mac.h.
#define V_MAC_SPEED_SEL_100MBPS V_MAC_SPEED_SEL(K_MAC_SPEED_SEL_100MBPS) |
Definition at line 110 of file sb1250_mac.h.
#define V_MAC_SPEED_SEL_10MBPS V_MAC_SPEED_SEL(K_MAC_SPEED_SEL_10MBPS) |
Definition at line 109 of file sb1250_mac.h.
#define V_MAC_SPEED_SEL_RESERVED V_MAC_SPEED_SEL(K_MAC_SPEED_SEL_RESERVED) |
Definition at line 112 of file sb1250_mac.h.
#define V_MAC_TX_EOP_COUNTER | ( | x | ) | _SB_MAKEVALUE(x, S_MAC_TX_EOP_COUNTER) |
Definition at line 514 of file sb1250_mac.h.
#define V_MAC_TX_PAUSE_CNT | ( | x | ) | _SB_MAKEVALUE(x, S_MAC_TX_PAUSE) |
Definition at line 59 of file sb1250_mac.h.
#define V_MAC_TX_PAUSE_CNT_16K V_MAC_TX_PAUSE_CNT(K_MAC_TX_PAUSE_CNT_16K) |
Definition at line 75 of file sb1250_mac.h.
#define V_MAC_TX_PAUSE_CNT_1K V_MAC_TX_PAUSE_CNT(K_MAC_TX_PAUSE_CNT_1K) |
Definition at line 71 of file sb1250_mac.h.
#define V_MAC_TX_PAUSE_CNT_2K V_MAC_TX_PAUSE_CNT(K_MAC_TX_PAUSE_CNT_2K) |
Definition at line 72 of file sb1250_mac.h.
#define V_MAC_TX_PAUSE_CNT_32K V_MAC_TX_PAUSE_CNT(K_MAC_TX_PAUSE_CNT_32K) |
Definition at line 76 of file sb1250_mac.h.
#define V_MAC_TX_PAUSE_CNT_4K V_MAC_TX_PAUSE_CNT(K_MAC_TX_PAUSE_CNT_4K) |
Definition at line 73 of file sb1250_mac.h.
#define V_MAC_TX_PAUSE_CNT_512 V_MAC_TX_PAUSE_CNT(K_MAC_TX_PAUSE_CNT_512) |
Definition at line 70 of file sb1250_mac.h.
#define V_MAC_TX_PAUSE_CNT_64K V_MAC_TX_PAUSE_CNT(K_MAC_TX_PAUSE_CNT_64K) |
Definition at line 77 of file sb1250_mac.h.
#define V_MAC_TX_PAUSE_CNT_8K V_MAC_TX_PAUSE_CNT(K_MAC_TX_PAUSE_CNT_8K) |
Definition at line 74 of file sb1250_mac.h.
#define V_MAC_TX_RD_THRSH | ( | x | ) | _SB_MAKEVALUE(x, S_MAC_TX_RD_THRSH) |
Definition at line 240 of file sb1250_mac.h.
#define V_MAC_TX_RDPTR | ( | x | ) | _SB_MAKEVALUE(x, S_MAC_TX_RDPTR) |
Definition at line 492 of file sb1250_mac.h.
#define V_MAC_TX_RL_THRSH | ( | x | ) | _SB_MAKEVALUE(x, S_MAC_TX_RL_THRSH) |
Definition at line 245 of file sb1250_mac.h.
#define V_MAC_TX_WR_THRSH | ( | x | ) | _SB_MAKEVALUE(x, S_MAC_TX_WR_THRSH) |
Definition at line 229 of file sb1250_mac.h.
#define V_MAC_TX_WRPTR | ( | x | ) | _SB_MAKEVALUE(x, S_MAC_TX_WRPTR) |
Definition at line 487 of file sb1250_mac.h.
#define V_MAC_TXD_WEIGHT0 | ( | x | ) | _SB_MAKEVALUE(x, S_MAC_TXD_WEIGHT0) |
Definition at line 206 of file sb1250_mac.h.
#define V_MAC_TXD_WEIGHT1 | ( | x | ) | _SB_MAKEVALUE(x, S_MAC_TXD_WEIGHT1) |
Definition at line 211 of file sb1250_mac.h.
#define V_MAC_VLAN_TAG | ( | x | ) | _SB_MAKEVALUE(x, S_MAC_VLAN_TAG) |
Definition at line 381 of file sb1250_mac.h.
#define V_TYPECFG_TYPE0 | ( | x | ) | _SB_MAKEVALUE(x, S_TYPECFG_TYPE0) |
Definition at line 569 of file sb1250_mac.h.
#define V_TYPECFG_TYPE1 | ( | x | ) | _SB_MAKEVALUE(x, S_TYPECFG_TYPE1) |
Definition at line 574 of file sb1250_mac.h.
#define V_TYPECFG_TYPE2 | ( | x | ) | _SB_MAKEVALUE(x, S_TYPECFG_TYPE2) |
Definition at line 579 of file sb1250_mac.h.
#define V_TYPECFG_TYPE3 | ( | x | ) | _SB_MAKEVALUE(x, S_TYPECFG_TYPE3) |
Definition at line 584 of file sb1250_mac.h.