OpenNSL API Guide and Reference Manual
|
Go to the source code of this file.
Macros | |
#define | _SHR_PM_1000MB (_SHR_PM_1000MB_HD | _SHR_PM_1000MB_FD) |
#define | _SHR_PM_1000MB_FD (1 << 5) |
#define | _SHR_PM_1000MB_HD (1 << 4) |
#define | _SHR_PM_100MB (_SHR_PM_100MB_HD | _SHR_PM_100MB_FD) |
#define | _SHR_PM_100MB_FD (1 << 3) |
#define | _SHR_PM_100MB_HD (1 << 2) |
#define | _SHR_PM_10GB (_SHR_PM_10GB_HD | _SHR_PM_10GB_FD) |
#define | _SHR_PM_10GB_FD (1 << 9) |
#define | _SHR_PM_10GB_HD (1 << 8) |
#define | _SHR_PM_10MB (_SHR_PM_10MB_HD | _SHR_PM_10MB_FD) |
#define | _SHR_PM_10MB_FD (1 << 1) |
#define | _SHR_PM_10MB_HD (1 << 0) |
#define | _SHR_PM_12GB (_SHR_PM_12GB_HD | _SHR_PM_12GB_FD) |
#define | _SHR_PM_12GB_FD (1 << 23) |
#define | _SHR_PM_12GB_HD (1 << 22) |
#define | _SHR_PM_13GB (_SHR_PM_13GB_HD | _SHR_PM_13GB_FD) |
#define | _SHR_PM_13GB_FD (1 << 25) |
#define | _SHR_PM_13GB_HD (1 << 24) |
#define | _SHR_PM_16GB (_SHR_PM_16GB_HD | _SHR_PM_16GB_FD) |
#define | _SHR_PM_16GB_FD (1 << 27) |
#define | _SHR_PM_16GB_HD (1 << 26) |
#define | _SHR_PM_2500MB (_SHR_PM_2500MB_HD | _SHR_PM_2500MB_FD) |
#define | _SHR_PM_2500MB_FD (1 << 7) |
#define | _SHR_PM_2500MB_HD (1 << 6) |
#define | _SHR_PM_3000MB (_SHR_PM_3000MB_HD | _SHR_PM_3000MB_FD) |
#define | _SHR_PM_3000MB_FD (1 << 30) |
#define | _SHR_PM_3000MB_HD (1 << 29) |
#define | _SHR_PM_AN (1 << 21) /* Auto-negotiation */ |
#define | _SHR_PM_COMBO |
#define | _SHR_PM_FD |
#define | _SHR_PM_GMII (1 << 15) /* GMII mode supported */ |
#define | _SHR_PM_HD |
#define | _SHR_PM_LB_MAC (1 << 18) /* MAC loopback supported */ |
#define | _SHR_PM_LB_NONE (1 << 19) /* Useful for automated test */ |
#define | _SHR_PM_LB_PHY (1 << 20) /* PHY loopback supported */ |
#define | _SHR_PM_MII (1 << 14) /* MII mode supported */ |
#define | _SHR_PM_PAUSE (_SHR_PM_PAUSE_TX | _SHR_PM_PAUSE_RX) |
#define | _SHR_PM_PAUSE_ASYMM (1 << 12) /* Asymm pause capable (R/O) */ |
#define | _SHR_PM_PAUSE_RX (1 << 11) /* RX pause capable */ |
#define | _SHR_PM_PAUSE_TX (1 << 10) /* TX pause capable */ |
#define | _SHR_PM_SGMII (1 << 16) /* SGMII mode supported */ |
#define | _SHR_PM_SPEED(s) |
#define | _SHR_PM_SPEED_ALL |
#define | _SHR_PM_SPEED_MAX(m) |
#define | _SHR_PM_TBI (1 << 13) /* TBI mode supported */ |
#define | _SHR_PM_XGMII (1 << 17) /* XGMII mode supported */ |
Typedefs | |
typedef unsigned int | _shr_port_mode_t |
#define _SHR_PM_1000MB (_SHR_PM_1000MB_HD | _SHR_PM_1000MB_FD) |
Definition at line 73 of file portmode.h.
#define _SHR_PM_1000MB_FD (1 << 5) |
Definition at line 43 of file portmode.h.
#define _SHR_PM_1000MB_HD (1 << 4) |
Definition at line 42 of file portmode.h.
#define _SHR_PM_100MB (_SHR_PM_100MB_HD | _SHR_PM_100MB_FD) |
Definition at line 72 of file portmode.h.
#define _SHR_PM_100MB_FD (1 << 3) |
Definition at line 41 of file portmode.h.
#define _SHR_PM_100MB_HD (1 << 2) |
Definition at line 40 of file portmode.h.
#define _SHR_PM_10GB (_SHR_PM_10GB_HD | _SHR_PM_10GB_FD) |
Definition at line 76 of file portmode.h.
#define _SHR_PM_10GB_FD (1 << 9) |
Definition at line 47 of file portmode.h.
#define _SHR_PM_10GB_HD (1 << 8) |
Definition at line 46 of file portmode.h.
#define _SHR_PM_10MB (_SHR_PM_10MB_HD | _SHR_PM_10MB_FD) |
Definition at line 71 of file portmode.h.
#define _SHR_PM_10MB_FD (1 << 1) |
Definition at line 39 of file portmode.h.
#define _SHR_PM_10MB_HD (1 << 0) |
Definition at line 38 of file portmode.h.
#define _SHR_PM_12GB (_SHR_PM_12GB_HD | _SHR_PM_12GB_FD) |
Definition at line 77 of file portmode.h.
#define _SHR_PM_12GB_FD (1 << 23) |
Definition at line 63 of file portmode.h.
#define _SHR_PM_12GB_HD (1 << 22) |
Definition at line 62 of file portmode.h.
#define _SHR_PM_13GB (_SHR_PM_13GB_HD | _SHR_PM_13GB_FD) |
Definition at line 78 of file portmode.h.
#define _SHR_PM_13GB_FD (1 << 25) |
Definition at line 65 of file portmode.h.
#define _SHR_PM_13GB_HD (1 << 24) |
Definition at line 64 of file portmode.h.
#define _SHR_PM_16GB (_SHR_PM_16GB_HD | _SHR_PM_16GB_FD) |
Definition at line 79 of file portmode.h.
#define _SHR_PM_16GB_FD (1 << 27) |
Definition at line 67 of file portmode.h.
#define _SHR_PM_16GB_HD (1 << 26) |
Definition at line 66 of file portmode.h.
#define _SHR_PM_2500MB (_SHR_PM_2500MB_HD | _SHR_PM_2500MB_FD) |
Definition at line 74 of file portmode.h.
#define _SHR_PM_2500MB_FD (1 << 7) |
Definition at line 45 of file portmode.h.
#define _SHR_PM_2500MB_HD (1 << 6) |
Definition at line 44 of file portmode.h.
#define _SHR_PM_3000MB (_SHR_PM_3000MB_HD | _SHR_PM_3000MB_FD) |
Definition at line 75 of file portmode.h.
#define _SHR_PM_3000MB_FD (1 << 30) |
Definition at line 61 of file portmode.h.
#define _SHR_PM_3000MB_HD (1 << 29) |
Definition at line 60 of file portmode.h.
#define _SHR_PM_AN (1 << 21) /* Auto-negotiation */ |
Definition at line 59 of file portmode.h.
#define _SHR_PM_COMBO |
Definition at line 68 of file portmode.h.
#define _SHR_PM_FD |
Definition at line 111 of file portmode.h.
#define _SHR_PM_GMII (1 << 15) /* GMII mode supported */ |
Definition at line 53 of file portmode.h.
#define _SHR_PM_HD |
Definition at line 121 of file portmode.h.
#define _SHR_PM_LB_MAC (1 << 18) /* MAC loopback supported */ |
Definition at line 56 of file portmode.h.
#define _SHR_PM_LB_NONE (1 << 19) /* Useful for automated test */ |
Definition at line 57 of file portmode.h.
#define _SHR_PM_LB_PHY (1 << 20) /* PHY loopback supported */ |
Definition at line 58 of file portmode.h.
#define _SHR_PM_MII (1 << 14) /* MII mode supported */ |
Definition at line 52 of file portmode.h.
#define _SHR_PM_PAUSE (_SHR_PM_PAUSE_TX | _SHR_PM_PAUSE_RX) |
Definition at line 70 of file portmode.h.
#define _SHR_PM_PAUSE_ASYMM (1 << 12) /* Asymm pause capable (R/O) */ |
Definition at line 50 of file portmode.h.
#define _SHR_PM_PAUSE_RX (1 << 11) /* RX pause capable */ |
Definition at line 49 of file portmode.h.
#define _SHR_PM_PAUSE_TX (1 << 10) /* TX pause capable */ |
Definition at line 48 of file portmode.h.
#define _SHR_PM_SGMII (1 << 16) /* SGMII mode supported */ |
Definition at line 54 of file portmode.h.
#define _SHR_PM_SPEED | ( | s | ) |
Definition at line 101 of file portmode.h.
#define _SHR_PM_SPEED_ALL |
Definition at line 81 of file portmode.h.
#define _SHR_PM_SPEED_MAX | ( | m | ) |
Definition at line 91 of file portmode.h.
#define _SHR_PM_TBI (1 << 13) /* TBI mode supported */ |
Definition at line 51 of file portmode.h.
#define _SHR_PM_XGMII (1 << 17) /* XGMII mode supported */ |
Definition at line 55 of file portmode.h.
typedef unsigned int _shr_port_mode_t |
Definition at line 29 of file portmode.h.