lan9355_driver.h File Reference

LAN9355 3-port Ethernet switch driver. More...

#include "core/nic.h"

Go to the source code of this file.

Macros

#define LAN9355_PORT0   3
 
#define LAN9355_PORT1   1
 
#define LAN9355_PORT2   2
 
#define LAN9355_PORT_MASK   0x07
 
#define LAN9355_PORT0_MASK   0x04
 
#define LAN9355_PORT1_MASK   0x01
 
#define LAN9355_PORT2_MASK   0x02
 
#define LAN9355_PORT0_1_MASK   0x05
 
#define LAN9355_PORT0_2_MASK   0x06
 
#define LAN9355_PORT1_2_MASK   0x03
 
#define LAN9355_PORT0_1_2_MASK   0x07
 
#define LAN9355_ALR_TABLE_SIZE   512
 
#define LAN9355_VID_VLAN_RULES   0x0040
 
#define LAN9355_VID_CALC_PRIORITY   0x0020
 
#define LAN9355_VID_STP_OVERRIDE   0x0010
 
#define LAN9355_VID_ALR_LOOKUP   0x0008
 
#define LAN9355_VID_BROADCAST   0x0003
 
#define LAN9355_VID_DEST_PORT2   0x0002
 
#define LAN9355_VID_DEST_PORT1   0x0001
 
#define LAN9355_VID_DEST_PORT0   0x0000
 
#define LAN9355_VID_PRIORITY   0x0380
 
#define LAN9355_VID_PRIORITY_EN   0x0040
 
#define LAN9355_VID_STATIC   0x0020
 
#define LAN9355_VID_STP_OVERRIDE   0x0010
 
#define LAN9355_VID_IGMP_PACKET   0x0008
 
#define LAN9355_VID_SRC_PORT   0x0003
 
#define LAN9355_BMCR   0x00
 
#define LAN9355_BMSR   0x01
 
#define LAN9355_PHYID1   0x02
 
#define LAN9355_PHYID2   0x03
 
#define LAN9355_ANAR   0x04
 
#define LAN9355_ANLPAR   0x05
 
#define LAN9355_ANER   0x06
 
#define LAN9355_PMCSR   0x11
 
#define LAN9355_PSMR   0x12
 
#define LAN9355_PSCSIR   0x1B
 
#define LAN9355_PISR   0x1D
 
#define LAN9355_PIMR   0x1E
 
#define LAN9355_PSCSR   0x1F
 
#define LAN9355_ID_REV   0x0050
 
#define LAN9355_IRQ_CFG   0x0054
 
#define LAN9355_INT_STS   0x0058
 
#define LAN9355_INT_EN   0x005C
 
#define LAN9355_BYTE_TEST   0x0064
 
#define LAN9355_HW_CFG   0x0074
 
#define LAN9355_PMT_CTRL   0x0084
 
#define LAN9355_GPT_CFG   0x008C
 
#define LAN9355_GPT_CNT   0x0090
 
#define LAN9355_FREE_RUN   0x009C
 
#define LAN9355_PMI_DATA   0x00A4
 
#define LAN9355_PMI_ACCESS   0x00A8
 
#define LAN9355_VPHY_BASIC_CTRL_1   0x00C0
 
#define LAN9355_VPHY_BASIC_STATUS_1   0x00C4
 
#define LAN9355_VPHY_ID_MSB_1   0x00C8
 
#define LAN9355_VPHY_ID_LSB_1   0x00CC
 
#define LAN9355_VPHY_AN_ADV_1   0x00D0
 
#define LAN9355_VPHY_AN_LP_BASE_ABILITY_1   0x00D4
 
#define LAN9355_VPHY_AN_EXP_1   0x00D8
 
#define LAN9355_VPHY_SPECIAL_CTRL_STATUS_1   0x00DC
 
#define LAN9355_1588_CMD_CTL   0x0100
 
#define LAN9355_1588_GENERAL_CONFIG   0x0104
 
#define LAN9355_1588_INT_STS   0x0108
 
#define LAN9355_1588_INT_EN   0x010C
 
#define LAN9355_1588_CLOCK_SEC   0x0110
 
#define LAN9355_1588_CLOCK_NS   0x0114
 
#define LAN9355_1588_CLOCK_SUBNS   0x0118
 
#define LAN9355_1588_CLOCK_RATE_ADJ   0x011C
 
#define LAN9355_1588_CLOCK_TEMP_RATE_ADJ   0x0120
 
#define LAN9355_1588_CLOCK_TEMP_RATE_DURATION   0x0124
 
#define LAN9355_1588_CLOCK_STEP_ADJ   0x0128
 
#define LAN9355_1588_CLOCK_TARGET_SEC_A   0x012C
 
#define LAN9355_1588_CLOCK_TARGET_NS_A   0x0130
 
#define LAN9355_1588_CLOCK_TARGET_RELOAD_SEC_A   0x0134
 
#define LAN9355_1588_CLOCK_TARGET_RELOAD_NS_A   0x0138
 
#define LAN9355_1588_CLOCK_TARGET_SEC_B   0x013C
 
#define LAN9355_1588_CLOCK_TARGET_NS_B   0x0140
 
#define LAN9355_1588_CLOCK_TARGET_RELOAD_SEC_B   0x0144
 
#define LAN9355_1588_CLOCK_TARGET_RELOAD_NS_B   0x0148
 
#define LAN9355_1588_USER_MAC_HI   0x014C
 
#define LAN9355_1588_USER_MAC_LO   0x0150
 
#define LAN9355_1588_BANK_PORT_GPIO_SEL   0x0154
 
#define LAN9355_1588_LATENCY   0x0158
 
#define LAN9355_1588_RX_PARSE_CONFIG   0x0158
 
#define LAN9355_1588_TX_PARSE_CONFIG   0x0158
 
#define LAN9355_1588_ASYM_PEERDLY   0x015C
 
#define LAN9355_1588_RX_TIMESTAMP_CONFIG   0x015C
 
#define LAN9355_1588_TX_TIMESTAMP_CONFIG   0x015C
 
#define LAN9355_1588_GPIO_CAP_CONFIG   0x015C
 
#define LAN9355_1588_CAP_INFO   0x0160
 
#define LAN9355_1588_RX_TS_INSERT_CONFIG   0x0160
 
#define LAN9355_1588_RX_CF_MOD   0x0164
 
#define LAN9355_1588_TX_MOD   0x0164
 
#define LAN9355_1588_RX_FILTER_CONFIG   0x0168
 
#define LAN9355_1588_TX_MOD2   0x0168
 
#define LAN9355_1588_RX_INGRESS_SEC   0x016C
 
#define LAN9355_1588_TX_EGRESS_SEC   0x016C
 
#define LAN9355_1588_GPIO_RE_CLOCK_SEC_CAP   0x016C
 
#define LAN9355_1588_RX_INGRESS_NS   0x0170
 
#define LAN9355_1588_TX_EGRESS_NS   0x0170
 
#define LAN9355_1588_GPIO_RE_CLOCK_NS_CAP   0x0170
 
#define LAN9355_1588_RX_MSG_HEADER   0x0174
 
#define LAN9355_1588_TX_MSG_HEADER   0x0174
 
#define LAN9355_1588_RX_PDREQ_SEC   0x0178
 
#define LAN9355_1588_TX_DREQ_SEC   0x0178
 
#define LAN9355_1588_GPIO_FE_CLOCK_SEC_CAP   0x0178
 
#define LAN9355_1588_RX_PDREQ_NS   0x017C
 
#define LAN9355_1588_TX_DREQ_NS   0x017C
 
#define LAN9355_1588_GPIO_FE_CLOCK_NS_CAP   0x017C
 
#define LAN9355_1588_RX_PDREQ_CF_HI   0x0180
 
#define LAN9355_1588_TX_ONE_STEP_SYNC_SEC   0x0180
 
#define LAN9355_1588_RX_PDREQ_CF_LOW   0x0184
 
#define LAN9355_1588_RX_CHKSUM_DROPPED_CNT   0x0188
 
#define LAN9355_1588_RX_FILTERED_CNT   0x018C
 
#define LAN9355_MANUAL_FC_1   0x01A0
 
#define LAN9355_MANUAL_FC_2   0x01A4
 
#define LAN9355_MANUAL_FC_0   0x01A8
 
#define LAN9355_SWITCH_CSR_DATA   0x01AC
 
#define LAN9355_SWITCH_CSR_CMD   0x01B0
 
#define LAN9355_E2P_CMD   0x01B4
 
#define LAN9355_E2P_DATA   0x01B8
 
#define LAN9355_LED_CFG   0x01BC
 
#define LAN9355_VPHY_BASIC_CTRL_0   0x01C0
 
#define LAN9355_VPHY_BASIC_STATUS_0   0x01C4
 
#define LAN9355_VPHY_ID_MSB_0   0x01C8
 
#define LAN9355_VPHY_ID_LSB_0   0x01CC
 
#define LAN9355_VPHY_AN_ADV_0   0x01D0
 
#define LAN9355_VPHY_AN_LP_BASE_ABILITY_0   0x01D4
 
#define LAN9355_VPHY_AN_EXP_0   0x01D8
 
#define LAN9355_VPHY_SPECIAL_CTRL_STATUS_0   0x01DC
 
#define LAN9355_GPIO_CFG   0x01E0
 
#define LAN9355_GPIO_DATA_DIR   0x01E4
 
#define LAN9355_GPIO_INT_STS_EN   0x01E8
 
#define LAN9355_SWITCH_MAC_ADDRH   0x01F0
 
#define LAN9355_SWITCH_MAC_ADDRL   0x01F4
 
#define LAN9355_RESET_CTL   0x01F8
 
#define LAN9355_SWITCH_CSR_DIRECT_DATA   0x0200
 
#define LAN9355_SW_DEV_ID   0x0000
 
#define LAN9355_SW_RESET   0x0001
 
#define LAN9355_SW_IMR   0x0004
 
#define LAN9355_SW_IPR   0x0005
 
#define LAN9355_MAC_VER_ID_0   0x0400
 
#define LAN9355_MAC_RX_CFG_0   0x0401
 
#define LAN9355_MAC_RX_UNDSZE_CNT_0   0x0410
 
#define LAN9355_MAC_RX_64_CNT_0   0x0411
 
#define LAN9355_MAC_RX_65_TO_127_CNT_0   0x0412
 
#define LAN9355_MAC_RX_128_TO_255_CNT_0   0x0413
 
#define LAN9355_MAC_RX_256_TO_511_CNT_0   0x0414
 
#define LAN9355_MAC_RX_512_TO_1023_CNT_0   0x0415
 
#define LAN9355_MAC_RX_1024_TO_MAX_CNT_0   0x0416
 
#define LAN9355_MAC_RX_OVRSZE_CNT_0   0x0417
 
#define LAN9355_MAC_RX_PKTOK_CNT_0   0x0418
 
#define LAN9355_MAC_RX_CRCERR_CNT_0   0x0419
 
#define LAN9355_MAC_RX_MULCST_CNT_0   0x041A
 
#define LAN9355_MAC_RX_BRDCST_CNT_0   0x041B
 
#define LAN9355_MAC_RX_PAUSE_CNT_0   0x041C
 
#define LAN9355_MAC_RX_FRAG_CNT_0   0x041D
 
#define LAN9355_MAC_RX_JABB_CNT_0   0x041E
 
#define LAN9355_MAC_RX_ALIGN_CNT_0   0x041F
 
#define LAN9355_MAC_RX_PKTLEN_CNT_0   0x0420
 
#define LAN9355_MAC_RX_GOODPKTLEN_CNT_0   0x0421
 
#define LAN9355_MAC_RX_SYMBOL_CNT_0   0x0422
 
#define LAN9355_MAC_RX_CTLFRM_CNT_0   0x0423
 
#define LAN9355_RX_LPI_TRANSITION_0   0x0424
 
#define LAN9355_RX_LPI_TIME_0   0x0425
 
#define LAN9355_MAC_TX_CFG_0   0x0440
 
#define LAN9355_MAC_TX_FC_SETTINGS_0   0x0441
 
#define LAN9355_EEE_TW_TX_SYS_0   0x0442
 
#define LAN9355_EEE_TX_LPI_REQ_DELAY_0   0x0443
 
#define LAN9355_MAC_TX_DEFER_CNT_0   0x0451
 
#define LAN9355_MAC_TX_PAUSE_CNT_0   0x0452
 
#define LAN9355_MAC_TX_PKTOK_CNT_0   0x0453
 
#define LAN9355_MAC_TX_64_CNT_0   0x0454
 
#define LAN9355_MAC_TX_65_TO_127_CNT_0   0x0455
 
#define LAN9355_MAC_TX_128_TO_255_CNT_0   0x0456
 
#define LAN9355_MAC_TX_256_TO_511_CNT_0   0x0457
 
#define LAN9355_MAC_TX_512_TO_1023_CNT_0   0x0458
 
#define LAN9355_MAC_TX_1024_TO_MAX_CNT_0   0x0459
 
#define LAN9355_MAC_TX_UNDSZE_CNT_0   0x045A
 
#define LAN9355_MAC_TX_PKTLEN_CNT_0   0x045C
 
#define LAN9355_MAC_TX_BRDCST_CNT_0   0x045D
 
#define LAN9355_MAC_TX_MULCST_CNT_0   0x045E
 
#define LAN9355_MAC_TX_LATECOL_CNT_0   0x045F
 
#define LAN9355_MAC_TX_EXCCOL_CNT_0   0x0460
 
#define LAN9355_MAC_TX_SNGLECOL_CNT_0   0x0461
 
#define LAN9355_MAC_TX_MULTICOL_CNT_0   0x0462
 
#define LAN9355_MAC_TX_TOTALCOL_CNT_0   0x0463
 
#define LAN9355_TX_LPI_TRANSITION_0   0x0464
 
#define LAN9355_TX_LPI_TIME_0   0x0465
 
#define LAN9355_MAC_IMR_0   0x0480
 
#define LAN9355_MAC_IPR_0   0x0481
 
#define LAN9355_MAC_VER_ID_1   0x0800
 
#define LAN9355_MAC_RX_CFG_1   0x0801
 
#define LAN9355_MAC_RX_UNDSZE_CNT_1   0x0810
 
#define LAN9355_MAC_RX_64_CNT_1   0x0811
 
#define LAN9355_MAC_RX_65_TO_127_CNT_1   0x0812
 
#define LAN9355_MAC_RX_128_TO_255_CNT_1   0x0813
 
#define LAN9355_MAC_RX_256_TO_511_CNT_1   0x0814
 
#define LAN9355_MAC_RX_512_TO_1023_CNT_1   0x0815
 
#define LAN9355_MAC_RX_1024_TO_MAX_CNT_1   0x0816
 
#define LAN9355_MAC_RX_OVRSZE_CNT_1   0x0817
 
#define LAN9355_MAC_RX_PKTOK_CNT_1   0x0818
 
#define LAN9355_MAC_RX_CRCERR_CNT_1   0x0819
 
#define LAN9355_MAC_RX_MULCST_CNT_1   0x081A
 
#define LAN9355_MAC_RX_BRDCST_CNT_1   0x081B
 
#define LAN9355_MAC_RX_PAUSE_CNT_1   0x081C
 
#define LAN9355_MAC_RX_FRAG_CNT_1   0x081D
 
#define LAN9355_MAC_RX_JABB_CNT_1   0x081E
 
#define LAN9355_MAC_RX_ALIGN_CNT_1   0x081F
 
#define LAN9355_MAC_RX_PKTLEN_CNT_1   0x0820
 
#define LAN9355_MAC_RX_GOODPKTLEN_CNT_1   0x0821
 
#define LAN9355_MAC_RX_SYMBOL_CNT_1   0x0822
 
#define LAN9355_MAC_RX_CTLFRM_CNT_1   0x0823
 
#define LAN9355_RX_LPI_TRANSITION_1   0x0824
 
#define LAN9355_RX_LPI_TIME_1   0x0825
 
#define LAN9355_MAC_TX_CFG_1   0x0840
 
#define LAN9355_MAC_TX_FC_SETTINGS_1   0x0841
 
#define LAN9355_EEE_TW_TX_SYS_1   0x0842
 
#define LAN9355_EEE_TX_LPI_REQ_DELAY_1   0x0843
 
#define LAN9355_MAC_TX_DEFER_CNT_1   0x0851
 
#define LAN9355_MAC_TX_PAUSE_CNT_1   0x0852
 
#define LAN9355_MAC_TX_PKTOK_CNT_1   0x0853
 
#define LAN9355_MAC_TX_64_CNT_1   0x0854
 
#define LAN9355_MAC_TX_65_TO_127_CNT_1   0x0855
 
#define LAN9355_MAC_TX_128_TO_255_CNT_1   0x0856
 
#define LAN9355_MAC_TX_256_TO_511_CNT_1   0x0857
 
#define LAN9355_MAC_TX_512_TO_1023_CNT_1   0x0858
 
#define LAN9355_MAC_TX_1024_TO_MAX_CNT_1   0x0859
 
#define LAN9355_MAC_TX_UNDSZE_CNT_1   0x085A
 
#define LAN9355_MAC_TX_PKTLEN_CNT_1   0x085C
 
#define LAN9355_MAC_TX_BRDCST_CNT_1   0x085D
 
#define LAN9355_MAC_TX_MULCST_CNT_1   0x085E
 
#define LAN9355_MAC_TX_LATECOL_CNT_1   0x085F
 
#define LAN9355_MAC_TX_EXCCOL_CNT_1   0x0860
 
#define LAN9355_MAC_TX_SNGLECOL_CNT_1   0x0861
 
#define LAN9355_MAC_TX_MULTICOL_CNT_1   0x0862
 
#define LAN9355_MAC_TX_TOTALCOL_CNT_1   0x0863
 
#define LAN9355_TX_LPI_TRANSITION_1   0x0864
 
#define LAN9355_TX_LPI_TIME_1   0x0865
 
#define LAN9355_MAC_IMR_1   0x0880
 
#define LAN9355_MAC_IPR_1   0x0881
 
#define LAN9355_MAC_VER_ID_2   0x0C00
 
#define LAN9355_MAC_RX_CFG_2   0x0C01
 
#define LAN9355_MAC_RX_UNDSZE_CNT_2   0x0C10
 
#define LAN9355_MAC_RX_64_CNT_2   0x0C11
 
#define LAN9355_MAC_RX_65_TO_127_CNT_2   0x0C12
 
#define LAN9355_MAC_RX_128_TO_255_CNT_2   0x0C13
 
#define LAN9355_MAC_RX_256_TO_511_CNT_2   0x0C14
 
#define LAN9355_MAC_RX_512_TO_1023_CNT_2   0x0C15
 
#define LAN9355_MAC_RX_1024_TO_MAX_CNT_2   0x0C16
 
#define LAN9355_MAC_RX_OVRSZE_CNT_2   0x0C17
 
#define LAN9355_MAC_RX_PKTOK_CNT_2   0x0C18
 
#define LAN9355_MAC_RX_CRCERR_CNT_2   0x0C19
 
#define LAN9355_MAC_RX_MULCST_CNT_2   0x0C1A
 
#define LAN9355_MAC_RX_BRDCST_CNT_2   0x0C1B
 
#define LAN9355_MAC_RX_PAUSE_CNT_2   0x0C1C
 
#define LAN9355_MAC_RX_FRAG_CNT_2   0x0C1D
 
#define LAN9355_MAC_RX_JABB_CNT_2   0x0C1E
 
#define LAN9355_MAC_RX_ALIGN_CNT_2   0x0C1F
 
#define LAN9355_MAC_RX_PKTLEN_CNT_2   0x0C20
 
#define LAN9355_MAC_RX_GOODPKTLEN_CNT_2   0x0C21
 
#define LAN9355_MAC_RX_SYMBOL_CNT_2   0x0C22
 
#define LAN9355_MAC_RX_CTLFRM_CNT_2   0x0C23
 
#define LAN9355_RX_LPI_TRANSITION_2   0x0C24
 
#define LAN9355_RX_LPI_TIME_2   0x0C25
 
#define LAN9355_MAC_TX_CFG_2   0x0C40
 
#define LAN9355_MAC_TX_FC_SETTINGS_2   0x0C41
 
#define LAN9355_EEE_TW_TX_SYS_2   0x0C42
 
#define LAN9355_EEE_TX_LPI_REQ_DELAY_2   0x0C43
 
#define LAN9355_MAC_TX_DEFER_CNT_2   0x0C51
 
#define LAN9355_MAC_TX_PAUSE_CNT_2   0x0C52
 
#define LAN9355_MAC_TX_PKTOK_CNT_2   0x0C53
 
#define LAN9355_MAC_TX_64_CNT_2   0x0C54
 
#define LAN9355_MAC_TX_65_TO_127_CNT_2   0x0C55
 
#define LAN9355_MAC_TX_128_TO_255_CNT_2   0x0C56
 
#define LAN9355_MAC_TX_256_TO_511_CNT_2   0x0C57
 
#define LAN9355_MAC_TX_512_TO_1023_CNT_2   0x0C58
 
#define LAN9355_MAC_TX_1024_TO_MAX_CNT_2   0x0C59
 
#define LAN9355_MAC_TX_UNDSZE_CNT_2   0x0C5A
 
#define LAN9355_MAC_TX_PKTLEN_CNT_2   0x0C5C
 
#define LAN9355_MAC_TX_BRDCST_CNT_2   0x0C5D
 
#define LAN9355_MAC_TX_MULCST_CNT_2   0x0C5E
 
#define LAN9355_MAC_TX_LATECOL_CNT_2   0x0C5F
 
#define LAN9355_MAC_TX_EXCCOL_CNT_2   0x0C60
 
#define LAN9355_MAC_TX_SNGLECOL_CNT_2   0x0C61
 
#define LAN9355_MAC_TX_MULTICOL_CNT_2   0x0C62
 
#define LAN9355_MAC_TX_TOTALCOL_CNT_2   0x0C63
 
#define LAN9355_TX_LPI_TRANSITION_2   0x0C64
 
#define LAN9355_TX_LPI_TIME_2   0x0C65
 
#define LAN9355_MAC_IMR_2   0x0C80
 
#define LAN9355_MAC_IPR_2   0x0C81
 
#define LAN9355_SWE_ALR_CMD   0x1800
 
#define LAN9355_SWE_ALR_WR_DAT_0   0x1801
 
#define LAN9355_SWE_ALR_WR_DAT_1   0x1802
 
#define LAN9355_SWE_ALR_RD_DAT_0   0x1805
 
#define LAN9355_SWE_ALR_RD_DAT_1   0x1806
 
#define LAN9355_SWE_ALR_CMD_STS   0x1808
 
#define LAN9355_SWE_ALR_CFG   0x1809
 
#define LAN9355_SWE_ALR_OVERRIDE   0x180A
 
#define LAN9355_SWE_VLAN_CMD   0x180B
 
#define LAN9355_SWE_VLAN_WR_DATA   0x180C
 
#define LAN9355_SWE_VLAN_RD_DATA   0x180E
 
#define LAN9355_SWE_VLAN_CMD_STS   0x1810
 
#define LAN9355_SWE_DIFFSERV_TBL_CFG   0x1811
 
#define LAN9355_SWE_DIFFSERV_TBL_WR_DATA   0x1812
 
#define LAN9355_SWE_DIFFSERV_TBL_RD_DATA   0x1813
 
#define LAN9355_SWE_DIFFSERV_TBL_CMD_STS   0x1814
 
#define LAN9355_SWE_GLOBAL_INGRSS_CFG   0x1840
 
#define LAN9355_SWE_PORT_INGRSS_CFG   0x1841
 
#define LAN9355_SWE_ADMT_ONLY_VLAN   0x1842
 
#define LAN9355_SWE_PORT_STATE   0x1843
 
#define LAN9355_SWE_PRI_TO_QUE   0x1845
 
#define LAN9355_SWE_PORT_MIRROR   0x1846
 
#define LAN9355_SWE_INGRSS_PORT_TYP   0x1847
 
#define LAN9355_SWE_BCST_THROT   0x1848
 
#define LAN9355_SWE_ADMT_N_MEMBER   0x1849
 
#define LAN9355_SWE_INGRSS_RATE_CFG   0x184A
 
#define LAN9355_SWE_INGRSS_RATE_CMD   0x184B
 
#define LAN9355_SWE_INGRSS_RATE_CMD_STS   0x184C
 
#define LAN9355_SWE_INGRSS_RATE_WR_DATA   0x184D
 
#define LAN9355_SWE_INGRSS_RATE_RD_DATA   0x184E
 
#define LAN9355_SWE_FILTERED_CNT_0   0x1850
 
#define LAN9355_SWE_FILTERED_CNT_1   0x1851
 
#define LAN9355_SWE_FILTERED_CNT_2   0x1852
 
#define LAN9355_SWE_INGRSS_REGEN_TBL_0   0x1855
 
#define LAN9355_SWE_INGRSS_REGEN_TBL_1   0x1856
 
#define LAN9355_SWE_INGRSS_REGEN_TBL_2   0x1857
 
#define LAN9355_SWE_LRN_DISCRD_CNT_0   0x1858
 
#define LAN9355_SWE_LRN_DISCRD_CNT_1   0x1859
 
#define LAN9355_SWE_LRN_DISCRD_CNT_2   0x185A
 
#define LAN9355_SWE_IMR   0x1880
 
#define LAN9355_SWE_IPR   0x1881
 
#define LAN9355_BM_CFG   0x1C00
 
#define LAN9355_BM_DROP_LVL   0x1C01
 
#define LAN9355_BM_FC_PAUSE_LVL   0x1C02
 
#define LAN9355_BM_FC_RESUME_LVL   0x1C03
 
#define LAN9355_BM_BCST_LVL   0x1C04
 
#define LAN9355_BM_DRP_CNT_SRC_0   0x1C05
 
#define LAN9355_BM_DRP_CNT_SRC_1   0x1C06
 
#define LAN9355_BM_DRP_CNT_SRC_2   0x1C07
 
#define LAN9355_BM_RST_STS   0x1C08
 
#define LAN9355_BM_RNDM_DSCRD_TBL_CMD   0x1C09
 
#define LAN9355_BM_RNDM_DSCRD_TBL_WDATA   0x1C0A
 
#define LAN9355_BM_RNDM_DSCRD_TBL_RDATA   0x1C0B
 
#define LAN9355_BM_EGRSS_PORT_TYPE   0x1C0C
 
#define LAN9355_BM_EGRSS_RATE_00_01   0x1C0D
 
#define LAN9355_BM_EGRSS_RATE_02_03   0x1C0E
 
#define LAN9355_BM_EGRSS_RATE_10_11   0x1C0F
 
#define LAN9355_BM_EGRSS_RATE_12_13   0x1C10
 
#define LAN9355_BM_EGRSS_RATE_20_21   0x1C11
 
#define LAN9355_BM_EGRSS_RATE_22_23   0x1C12
 
#define LAN9355_BM_VLAN_0   0x1C13
 
#define LAN9355_BM_VLAN_1   0x1C14
 
#define LAN9355_BM_VLAN_2   0x1C15
 
#define LAN9355_BM_RATE_DRP_CNT_SRC_0   0x1C16
 
#define LAN9355_BM_RATE_DRP_CNT_SRC_1   0x1C17
 
#define LAN9355_BM_RATE_DRP_CNT_SRC_2   0x1C18
 
#define LAN9355_BM_IMR   0x1C20
 
#define LAN9355_BM_IPR   0x1C21
 
#define LAN9355_MAC_VER_ID(port)   (0x0400 + ((port) * 0x0400))
 
#define LAN9355_MAC_RX_CFG(port)   (0x0401 + ((port) * 0x0400))
 
#define LAN9355_MAC_RX_UNDSZE_CNT(port)   (0x0410 + ((port) * 0x0400))
 
#define LAN9355_MAC_RX_64_CNT(port)   (0x0411 + ((port) * 0x0400))
 
#define LAN9355_MAC_RX_65_TO_127_CNT(port)   (0x0412 + ((port) * 0x0400))
 
#define LAN9355_MAC_RX_128_TO_255_CNT(port)   (0x0413 + ((port) * 0x0400))
 
#define LAN9355_MAC_RX_256_TO_511_CNT(port)   (0x0414 + ((port) * 0x0400))
 
#define LAN9355_MAC_RX_512_TO_1023_CNT(port)   (0x0415 + ((port) * 0x0400))
 
#define LAN9355_MAC_RX_1024_TO_MAX_CNT(port)   (0x0416 + ((port) * 0x0400))
 
#define LAN9355_MAC_RX_OVRSZE_CNT(port)   (0x0417 + ((port) * 0x0400))
 
#define LAN9355_MAC_RX_PKTOK_CNT(port)   (0x0418 + ((port) * 0x0400))
 
#define LAN9355_MAC_RX_CRCERR_CNT(port)   (0x0419 + ((port) * 0x0400))
 
#define LAN9355_MAC_RX_MULCST_CNT(port)   (0x041A + ((port) * 0x0400))
 
#define LAN9355_MAC_RX_BRDCST_CNT(port)   (0x041B + ((port) * 0x0400))
 
#define LAN9355_MAC_RX_PAUSE_CNT(port)   (0x041C + ((port) * 0x0400))
 
#define LAN9355_MAC_RX_FRAG_CNT(port)   (0x041D + ((port) * 0x0400))
 
#define LAN9355_MAC_RX_JABB_CNT(port)   (0x041E + ((port) * 0x0400))
 
#define LAN9355_MAC_RX_ALIGN_CNT(port)   (0x041F + ((port) * 0x0400))
 
#define LAN9355_MAC_RX_PKTLEN_CNT(port)   (0x0420 + ((port) * 0x0400))
 
#define LAN9355_MAC_RX_GOODPKTLEN_CNT(port)   (0x0421 + ((port) * 0x0400))
 
#define LAN9355_MAC_RX_SYMBOL_CNT(port)   (0x0422 + ((port) * 0x0400))
 
#define LAN9355_MAC_RX_CTLFRM_CNT(port)   (0x0423 + ((port) * 0x0400))
 
#define LAN9355_RX_LPI_TRANSITION(port)   (0x0424 + ((port) * 0x0400))
 
#define LAN9355_RX_LPI_TIME(port)   (0x0425 + ((port) * 0x0400))
 
#define LAN9355_MAC_TX_CFG(port)   (0x0440 + ((port) * 0x0400))
 
#define LAN9355_MAC_TX_FC_SETTINGS(port)   (0x0441 + ((port) * 0x0400))
 
#define LAN9355_EEE_TW_TX_SYS(port)   (0x0442 + ((port) * 0x0400))
 
#define LAN9355_EEE_TX_LPI_REQ_DELAY(port)   (0x0443 + ((port) * 0x0400))
 
#define LAN9355_MAC_TX_DEFER_CNT(port)   (0x0451 + ((port) * 0x0400))
 
#define LAN9355_MAC_TX_PAUSE_CNT(port)   (0x0452 + ((port) * 0x0400))
 
#define LAN9355_MAC_TX_PKTOK_CNT(port)   (0x0453 + ((port) * 0x0400))
 
#define LAN9355_MAC_TX_64_CNT(port)   (0x0454 + ((port) * 0x0400))
 
#define LAN9355_MAC_TX_65_TO_127_CNT(port)   (0x0455 + ((port) * 0x0400))
 
#define LAN9355_MAC_TX_128_TO_255_CNT(port)   (0x0456 + ((port) * 0x0400))
 
#define LAN9355_MAC_TX_256_TO_511_CNT(port)   (0x0457 + ((port) * 0x0400))
 
#define LAN9355_MAC_TX_512_TO_1023_CNT(port)   (0x0458 + ((port) * 0x0400))
 
#define LAN9355_MAC_TX_1024_TO_MAX_CNT(port)   (0x0459 + ((port) * 0x0400))
 
#define LAN9355_MAC_TX_UNDSZE_CNT(port)   (0x045A + ((port) * 0x0400))
 
#define LAN9355_MAC_TX_PKTLEN_CNT(port)   (0x045C + ((port) * 0x0400))
 
#define LAN9355_MAC_TX_BRDCST_CNT(port)   (0x045D + ((port) * 0x0400))
 
#define LAN9355_MAC_TX_MULCST_CNT(port)   (0x045E + ((port) * 0x0400))
 
#define LAN9355_MAC_TX_LATECOL_CNT(port)   (0x045F + ((port) * 0x0400))
 
#define LAN9355_MAC_TX_EXCCOL_CNT(port)   (0x0460 + ((port) * 0x0400))
 
#define LAN9355_MAC_TX_SNGLECOL_CNT(port)   (0x0461 + ((port) * 0x0400))
 
#define LAN9355_MAC_TX_MULTICOL_CNT(port)   (0x0462 + ((port) * 0x0400))
 
#define LAN9355_MAC_TX_TOTALCOL_CNT(port)   (0x0463 + ((port) * 0x0400))
 
#define LAN9355_TX_LPI_TRANSITION(port)   (0x0464 + ((port) * 0x0400))
 
#define LAN9355_TX_LPI_TIME(port)   (0x0465 + ((port) * 0x0400))
 
#define LAN9355_MAC_IMR(port)   (0x0480 + ((port) * 0x0400))
 
#define LAN9355_MAC_IPR(port)   (0x0481 + ((port) * 0x0400))
 
#define LAN9355_BMCR_RESET   0x8000
 
#define LAN9355_BMCR_LOOPBACK   0x4000
 
#define LAN9355_BMCR_SPEED_SEL   0x2000
 
#define LAN9355_BMCR_AN_EN   0x1000
 
#define LAN9355_BMCR_POWER_DOWN   0x0800
 
#define LAN9355_BMCR_RESTART_AN   0x0200
 
#define LAN9355_BMCR_DUPLEX_MODE   0x0100
 
#define LAN9355_BMCR_COL_TEST   0x0080
 
#define LAN9355_BMSR_100BT4   0x8000
 
#define LAN9355_BMSR_100BTX_FD   0x4000
 
#define LAN9355_BMSR_100BTX_HD   0x2000
 
#define LAN9355_BMSR_10BT_FD   0x1000
 
#define LAN9355_BMSR_10BT_HD   0x0800
 
#define LAN9355_BMSR_100BT2_FD   0x0400
 
#define LAN9355_BMSR_100BT2_HD   0x0200
 
#define LAN9355_BMSR_EXTENDED_STATUS   0x0100
 
#define LAN9355_BMSR_UNIDIRECTIONAL_ABLE   0x0080
 
#define LAN9355_BMSR_MF_PREAMBLE_SUPPR   0x0040
 
#define LAN9355_BMSR_AN_COMPLETE   0x0020
 
#define LAN9355_BMSR_REMOTE_FAULT   0x0010
 
#define LAN9355_BMSR_AN_CAPABLE   0x0008
 
#define LAN9355_BMSR_LINK_STATUS   0x0004
 
#define LAN9355_BMSR_JABBER_DETECT   0x0002
 
#define LAN9355_BMSR_EXTENDED_CAPABLE   0x0001
 
#define LAN9355_PHYID1_PHY_ID_MSB   0xFFFF
 
#define LAN9355_PHYID1_PHY_ID_MSB_DEFAULT   0x0007
 
#define LAN9355_PHYID2_PHY_ID_LSB   0xFC00
 
#define LAN9355_PHYID2_PHY_ID_LSB_DEFAULT   0xC000
 
#define LAN9355_PHYID2_MODEL_NUM   0x03F0
 
#define LAN9355_PHYID2_MODEL_NUM_DEFAULT   0x0140
 
#define LAN9355_PHYID2_REVISION_NUM   0x000F
 
#define LAN9355_ANAR_REMOTE_FAULT   0x2000
 
#define LAN9355_ANAR_ASYM_PAUSE   0x0800
 
#define LAN9355_ANAR_SYM_PAUSE   0x0400
 
#define LAN9355_ANAR_100BTX_FD   0x0100
 
#define LAN9355_ANAR_100BTX_HD   0x0080
 
#define LAN9355_ANAR_10BT_FD   0x0040
 
#define LAN9355_ANAR_10BT_HD   0x0020
 
#define LAN9355_ANAR_SELECTOR   0x001F
 
#define LAN9355_ANAR_SELECTOR_DEFAULT   0x0001
 
#define LAN9355_ANLPAR_NEXT_PAGE   0x8000
 
#define LAN9355_ANLPAR_ACK   0x4000
 
#define LAN9355_ANLPAR_REMOTE_FAULT   0x2000
 
#define LAN9355_ANLPAR_ASYM_PAUSE   0x0800
 
#define LAN9355_ANLPAR_SYM_PAUSE   0x0400
 
#define LAN9355_ANLPAR_100BT4   0x0200
 
#define LAN9355_ANLPAR_100BTX_FD   0x0100
 
#define LAN9355_ANLPAR_100BTX_HD   0x0080
 
#define LAN9355_ANLPAR_10BT_FD   0x0040
 
#define LAN9355_ANLPAR_10BT_HD   0x0020
 
#define LAN9355_ANLPAR_SELECTOR   0x001F
 
#define LAN9355_ANLPAR_SELECTOR_DEFAULT   0x0001
 
#define LAN9355_ANER_PAR_DETECT_FAULT   0x0010
 
#define LAN9355_ANER_LP_NEXT_PAGE_ABLE   0x0008
 
#define LAN9355_ANER_NEXT_PAGE_ABLE   0x0004
 
#define LAN9355_ANER_PAGE_RECEIVED   0x0002
 
#define LAN9355_ANER_LP_AN_ABLE   0x0001
 
#define LAN9355_PMCSR_EDPWRDOWN   0x2000
 
#define LAN9355_PMCSR_ENERGYON   0x0002
 
#define LAN9355_PSMR_MODE   0x00E0
 
#define LAN9355_PSMR_MODE_10BT_HD   0x0000
 
#define LAN9355_PSMR_MODE_10BT_FD   0x0020
 
#define LAN9355_PSMR_MODE_100BTX_HD   0x0040
 
#define LAN9355_PSMR_MODE_100BTX_FD   0x0060
 
#define LAN9355_PSMR_MODE_POWER_DOWN   0x00C0
 
#define LAN9355_PSMR_MODE_AN   0x00E0
 
#define LAN9355_PSMR_PHYAD   0x001F
 
#define LAN9355_PSCSIR_AMDIXCTRL   0x8000
 
#define LAN9355_PSCSIR_AMDIXEN   0x4000
 
#define LAN9355_PSCSIR_AMDIXSTATE   0x2000
 
#define LAN9355_PSCSIR_SQEOFF   0x0800
 
#define LAN9355_PSCSIR_VCOOFF_LP   0x0400
 
#define LAN9355_PSCSIR_XPOL   0x0010
 
#define LAN9355_PISR_ENERGYON   0x0080
 
#define LAN9355_PISR_AN_COMPLETE   0x0040
 
#define LAN9355_PISR_REMOTE_FAULT   0x0020
 
#define LAN9355_PISR_LINK_DOWN   0x0010
 
#define LAN9355_PISR_AN_LP_ACK   0x0008
 
#define LAN9355_PISR_PAR_DETECT_FAULT   0x0004
 
#define LAN9355_PISR_AN_PAGE_RECEIVED   0x0002
 
#define LAN9355_PIMR_ENERGYON   0x0080
 
#define LAN9355_PIMR_AN_COMPLETE   0x0040
 
#define LAN9355_PIMR_REMOTE_FAULT   0x0020
 
#define LAN9355_PIMR_LINK_DOWN   0x0010
 
#define LAN9355_PIMR_AN_LP_ACK   0x0008
 
#define LAN9355_PIMR_PAR_DETECT_FAULT   0x0004
 
#define LAN9355_PIMR_AN_PAGE_RECEIVED   0x0002
 
#define LAN9355_PSCSR_AUTODONE   0x1000
 
#define LAN9355_PSCSR_SPEED   0x001C
 
#define LAN9355_PSCSR_SPEED_10BT_HD   0x0004
 
#define LAN9355_PSCSR_SPEED_100BTX_HD   0x0008
 
#define LAN9355_PSCSR_SPEED_10BT_FD   0x0014
 
#define LAN9355_PSCSR_SPEED_100BTX_FD   0x0018
 
#define LAN9355_ID_REV_CHIP_ID   0xFFFF0000
 
#define LAN9355_ID_REV_CHIP_ID_DEFAULT   0x93550000
 
#define LAN9355_ID_REV_CHIP_REV   0x0000FFFF
 
#define LAN9355_IRQ_CFG_INT_DEAS   0xFF000000
 
#define LAN9355_IRQ_CFG_INT_DEAS_CLR   0x00004000
 
#define LAN9355_IRQ_CFG_INT_DEAS_STS   0x00002000
 
#define LAN9355_IRQ_CFG_IRQ_INT   0x00001000
 
#define LAN9355_IRQ_CFG_IRQ_EN   0x00000100
 
#define LAN9355_IRQ_CFG_IRQ_POL   0x00000010
 
#define LAN9355_IRQ_CFG_IRQ_CLK_SELECT   0x00000002
 
#define LAN9355_IRQ_CFG_IRQ_TYPE   0x00000001
 
#define LAN9355_INT_STS_SW_INT   0x80000000
 
#define LAN9355_INT_STS_READY   0x40000000
 
#define LAN9355_INT_STS_1588_EVNT   0x20000000
 
#define LAN9355_INT_STS_SWITCH_INT   0x10000000
 
#define LAN9355_INT_STS_PHY_INT_B   0x08000000
 
#define LAN9355_INT_STS_PHY_INT_A   0x04000000
 
#define LAN9355_INT_STS_GPT_INT   0x00080000
 
#define LAN9355_INT_STS_PME_INT   0x00020000
 
#define LAN9355_INT_STS_GPIO   0x00001000
 
#define LAN9355_INT_EN_SW_INT_EN   0x80000000
 
#define LAN9355_INT_EN_READY_EN   0x40000000
 
#define LAN9355_INT_EN_1588_EVNT_EN   0x20000000
 
#define LAN9355_INT_EN_SWITCH_INT_EN   0x10000000
 
#define LAN9355_INT_EN_PHY_INT_B_EN   0x08000000
 
#define LAN9355_INT_EN_PHY_INT_A_EN   0x04000000
 
#define LAN9355_INT_EN_GPT_INT_EN   0x00080000
 
#define LAN9355_INT_EN_GPIO_EN   0x00001000
 
#define LAN9355_BYTE_TEST_DEFAULT   0x87654321
 
#define LAN9355_HW_CFG_DEVICE_READY   0x08000000
 
#define LAN9355_HW_CFG_AMDIX_EN_STRAP_STATE_PORT_B   0x04000000
 
#define LAN9355_HW_CFG_AMDIX_EN_STRAP_STATE_PORT_A   0x02000000
 
#define LAN9355_GPT_CFG_TIMER_EN   0x20000000
 
#define LAN9355_GPT_CFG_GPT_LOAD   0x0000FFFF
 
#define LAN9355_GPT_CNT_GPT_CNT   0x0000FFFF
 
#define LAN9355_FREE_RUN_FR_CNT   0xFFFFFFFF
 
#define LAN9355_PMI_DATA_MII_DATA   0x0000FFFF
 
#define LAN9355_PMI_ACCESS_PHY_ADDR   0x0000F800
 
#define LAN9355_PMI_ACCESS_MIIRINDA   0x000007C0
 
#define LAN9355_PMI_ACCESS_MIIW_R   0x00000002
 
#define LAN9355_PMI_ACCESS_MIIBZY   0x00000001
 
#define LAN9355_VPHY_BASIC_CTRL_1_VPHY_RST   0x00008000
 
#define LAN9355_VPHY_BASIC_CTRL_1_VPHY_LOOPBACK   0x00004000
 
#define LAN9355_VPHY_BASIC_CTRL_1_VPHY_SPEED_SEL_LSB   0x00002000
 
#define LAN9355_VPHY_BASIC_CTRL_1_VPHY_AN   0x00001000
 
#define LAN9355_VPHY_BASIC_CTRL_1_VPHY_PWR_DWN   0x00000800
 
#define LAN9355_VPHY_BASIC_CTRL_1_VPHY_ISO   0x00000400
 
#define LAN9355_VPHY_BASIC_CTRL_1_VPHY_RST_AN   0x00000200
 
#define LAN9355_VPHY_BASIC_CTRL_1_VPHY_DUPLEX   0x00000100
 
#define LAN9355_VPHY_BASIC_CTRL_1_VPHY_COL_TEST   0x00000080
 
#define LAN9355_VPHY_BASIC_CTRL_1_VPHY_SPEED_SEL_MSB   0x00000040
 
#define LAN9355_VPHY_BASIC_STATUS_1_100BT4   0x00008000
 
#define LAN9355_VPHY_BASIC_STATUS_1_100BTX_FD   0x00004000
 
#define LAN9355_VPHY_BASIC_STATUS_1_100BTX_HD   0x00002000
 
#define LAN9355_VPHY_BASIC_STATUS_1_10BT_FD   0x00001000
 
#define LAN9355_VPHY_BASIC_STATUS_1_10BT_HD   0x00000800
 
#define LAN9355_VPHY_BASIC_STATUS_1_100BT2_FD   0x00000400
 
#define LAN9355_VPHY_BASIC_STATUS_1_100BT2_HD   0x00000200
 
#define LAN9355_VPHY_BASIC_STATUS_1_EXTENDED_STATUS   0x00000100
 
#define LAN9355_VPHY_BASIC_STATUS_1_MF_PREAMBLE_SUPPR   0x00000040
 
#define LAN9355_VPHY_BASIC_STATUS_1_AN_COMPLETE   0x00000020
 
#define LAN9355_VPHY_BASIC_STATUS_1_REMOTE_FAULT   0x00000010
 
#define LAN9355_VPHY_BASIC_STATUS_1_AN_CAPABLE   0x00000008
 
#define LAN9355_VPHY_BASIC_STATUS_1_LINK_STATUS   0x00000004
 
#define LAN9355_VPHY_BASIC_STATUS_1_JABBER_DETECT   0x00000002
 
#define LAN9355_VPHY_BASIC_STATUS_1_EXTENDED_CAPABLE   0x00000001
 
#define LAN9355_VPHY_ID_MSB_1_PHY_ID_MSB   0x0000FFFF
 
#define LAN9355_VPHY_ID_LSB_1_PHY_ID_LSB   0x0000FC00
 
#define LAN9355_VPHY_ID_LSB_1_MODEL_NUM   0x000003F0
 
#define LAN9355_VPHY_ID_LSB_1_REVISION_NUM   0x0000000F
 
#define LAN9355_VPHY_AN_ADV_1_NEXT_PAGE   0x00008000
 
#define LAN9355_VPHY_AN_ADV_1_REMOTE_FAULT   0x00002000
 
#define LAN9355_VPHY_AN_ADV_1_ASYM_PAUSE   0x00000800
 
#define LAN9355_VPHY_AN_ADV_1_SYM_PAUSE   0x00000400
 
#define LAN9355_VPHY_AN_ADV_1_100BTX_FD   0x00000100
 
#define LAN9355_VPHY_AN_ADV_1_100BTX_HD   0x00000080
 
#define LAN9355_VPHY_AN_ADV_1_10BT_FD   0x00000040
 
#define LAN9355_VPHY_AN_ADV_1_10BT_HD   0x00000020
 
#define LAN9355_VPHY_AN_ADV_1_SELECTOR   0x0000001F
 
#define LAN9355_VPHY_AN_ADV_1_SELECTOR_DEFAULT   0x00000001
 
#define LAN9355_VPHY_AN_LP_BASE_ABILITY_1_NEXT_PAGE   0x00008000
 
#define LAN9355_VPHY_AN_LP_BASE_ABILITY_1_ACK   0x00004000
 
#define LAN9355_VPHY_AN_LP_BASE_ABILITY_1_REMOTE_FAULT   0x00002000
 
#define LAN9355_VPHY_AN_LP_BASE_ABILITY_1_ASYM_PAUSE   0x00000800
 
#define LAN9355_VPHY_AN_LP_BASE_ABILITY_1_SYM_PAUSE   0x00000400
 
#define LAN9355_VPHY_AN_LP_BASE_ABILITY_1_100BT4   0x00000200
 
#define LAN9355_VPHY_AN_LP_BASE_ABILITY_1_100BTX_FD   0x00000100
 
#define LAN9355_VPHY_AN_LP_BASE_ABILITY_1_100BTX_HD   0x00000080
 
#define LAN9355_VPHY_AN_LP_BASE_ABILITY_1_10BT_FD   0x00000040
 
#define LAN9355_VPHY_AN_LP_BASE_ABILITY_1_10BT_HD   0x00000020
 
#define LAN9355_VPHY_AN_LP_BASE_ABILITY_1_SELECTOR   0x0000001F
 
#define LAN9355_VPHY_AN_LP_BASE_ABILITY_1_SELECTOR_DEFAULT   0x00000001
 
#define LAN9355_VPHY_AN_EXP_1_PAR_DETECT_FAULT   0x00000010
 
#define LAN9355_VPHY_AN_EXP_1_LP_NEXT_PAGE_ABLE   0x00000008
 
#define LAN9355_VPHY_AN_EXP_1_NEXT_PAGE_ABLE   0x00000004
 
#define LAN9355_VPHY_AN_EXP_1_PAGE_RECEIVED   0x00000002
 
#define LAN9355_VPHY_AN_EXP_1_LP_AN_ABLE   0x00000001
 
#define LAN9355_VPHY_SPECIAL_CTRL_STATUS_1_MODE2   0x00008000
 
#define LAN9355_VPHY_SPECIAL_CTRL_STATUS_1_SW_LOOPBACK   0x00004000
 
#define LAN9355_VPHY_SPECIAL_CTRL_STATUS_1_TURBO_MODE_EN   0x00000400
 
#define LAN9355_VPHY_SPECIAL_CTRL_STATUS_1_MODE   0x00000300
 
#define LAN9355_VPHY_SPECIAL_CTRL_STATUS_1_MODE_MII_MAC   0x00000000
 
#define LAN9355_VPHY_SPECIAL_CTRL_STATUS_1_MODE_MII_PHY   0x00000100
 
#define LAN9355_VPHY_SPECIAL_CTRL_STATUS_1_MODE_RMII_MAC   0x00000200
 
#define LAN9355_VPHY_SPECIAL_CTRL_STATUS_1_MODE_RMII_PHY   0x00000300
 
#define LAN9355_VPHY_SPECIAL_CTRL_STATUS_1_SW_COL_TEST   0x00000080
 
#define LAN9355_VPHY_SPECIAL_CTRL_STATUS_1_RMII_CLK_DIR   0x00000040
 
#define LAN9355_VPHY_SPECIAL_CTRL_STATUS_1_RMII_CLK_DIR_IN   0x00000000
 
#define LAN9355_VPHY_SPECIAL_CTRL_STATUS_1_RMII_CLK_DIR_OUT   0x00000040
 
#define LAN9355_VPHY_SPECIAL_CTRL_STATUS_1_RMII_CLK_STRENGTH   0x00000020
 
#define LAN9355_VPHY_SPECIAL_CTRL_STATUS_1_IND   0x0000001C
 
#define LAN9355_VPHY_SPECIAL_CTRL_STATUS_1_IND_10_HD   0x00000004
 
#define LAN9355_VPHY_SPECIAL_CTRL_STATUS_1_IND_100_200_HD   0x00000008
 
#define LAN9355_VPHY_SPECIAL_CTRL_STATUS_1_IND_10_FD   0x00000014
 
#define LAN9355_VPHY_SPECIAL_CTRL_STATUS_1_IND_100_200_FD   0x00000018
 
#define LAN9355_VPHY_SPECIAL_CTRL_STATUS_1_SQEOFF   0x00000001
 
#define LAN9355_MANUAL_FC_1_BP_EN_1   0x00000040
 
#define LAN9355_MANUAL_FC_1_CUR_DUP_1   0x00000020
 
#define LAN9355_MANUAL_FC_1_CUR_RX_FC_1   0x00000010
 
#define LAN9355_MANUAL_FC_1_CUR_TX_FC_1   0x00000008
 
#define LAN9355_MANUAL_FC_1_RX_FC_1   0x00000004
 
#define LAN9355_MANUAL_FC_1_TX_FC_1   0x00000002
 
#define LAN9355_MANUAL_FC_1_MANUAL_FC_1   0x00000001
 
#define LAN9355_MANUAL_FC_2_BP_EN_2   0x00000040
 
#define LAN9355_MANUAL_FC_2_CUR_DUP_2   0x00000020
 
#define LAN9355_MANUAL_FC_2_CUR_RX_FC_2   0x00000010
 
#define LAN9355_MANUAL_FC_2_CUR_TX_FC_2   0x00000008
 
#define LAN9355_MANUAL_FC_2_RX_FC_2   0x00000004
 
#define LAN9355_MANUAL_FC_2_TX_FC_2   0x00000002
 
#define LAN9355_MANUAL_FC_2_MANUAL_FC_2   0x00000001
 
#define LAN9355_MANUAL_FC_0_BP_EN_0   0x00000040
 
#define LAN9355_MANUAL_FC_0_CUR_DUP_0   0x00000020
 
#define LAN9355_MANUAL_FC_0_CUR_RX_FC_0   0x00000010
 
#define LAN9355_MANUAL_FC_0_CUR_TX_FC_0   0x00000008
 
#define LAN9355_MANUAL_FC_0_RX_FC_0   0x00000004
 
#define LAN9355_MANUAL_FC_0_TX_FC_0   0x00000002
 
#define LAN9355_MANUAL_FC_0_MANUAL_FC_0   0x00000001
 
#define LAN9355_SWITCH_CSR_CMD_BUSY   0x80000000
 
#define LAN9355_SWITCH_CSR_CMD_WRITE   0x00000000
 
#define LAN9355_SWITCH_CSR_CMD_READ   0x40000000
 
#define LAN9355_SWITCH_CSR_CMD_AUTO_INC   0x20000000
 
#define LAN9355_SWITCH_CSR_CMD_AUTO_DEC   0x10000000
 
#define LAN9355_SWITCH_CSR_CMD_BE   0x000F0000
 
#define LAN9355_SWITCH_CSR_CMD_BE_0   0x00010000
 
#define LAN9355_SWITCH_CSR_CMD_BE_1   0x00020000
 
#define LAN9355_SWITCH_CSR_CMD_BE_2   0x00040000
 
#define LAN9355_SWITCH_CSR_CMD_BE_3   0x00080000
 
#define LAN9355_SWITCH_CSR_CMD_ADDR   0x0000FFFF
 
#define LAN9355_E2P_CMD_EPC_BUSY   0x80000000
 
#define LAN9355_E2P_CMD_EPC_COMMAND   0x70000000
 
#define LAN9355_E2P_CMD_EPC_COMMAND_READ   0x00000000
 
#define LAN9355_E2P_CMD_EPC_COMMAND_WRITE   0x30000000
 
#define LAN9355_E2P_CMD_EPC_COMMAND_RELOAD   0x70000000
 
#define LAN9355_E2P_CMD_LOADER_OVERFLOW   0x00040000
 
#define LAN9355_E2P_CMD_EPC_TIMEOUT   0x00020000
 
#define LAN9355_E2P_CMD_CFG_LOADED   0x00010000
 
#define LAN9355_E2P_CMD_EPC_ADDR   0x0000FFFF
 
#define LAN9355_E2P_DATA_EEPROM_DATA   0x000000FF
 
#define LAN9355_LED_CFG_LED_FUN   0x00000700
 
#define LAN9355_LED_CFG_LED_FUN_0   0x00000000
 
#define LAN9355_LED_CFG_LED_FUN_1   0x00000100
 
#define LAN9355_LED_CFG_LED_FUN_2   0x00000200
 
#define LAN9355_LED_CFG_LED_FUN_3   0x00000300
 
#define LAN9355_LED_CFG_LED_FUN_4   0x00000400
 
#define LAN9355_LED_CFG_LED_FUN_5   0x00000500
 
#define LAN9355_LED_CFG_LED_FUN_RESERVED   0x00000600
 
#define LAN9355_LED_CFG_LED_FUN_7   0x00000700
 
#define LAN9355_LED_CFG_LED_EN   0x0000003F
 
#define LAN9355_LED_CFG_LED_EN_0   0x00000001
 
#define LAN9355_LED_CFG_LED_EN_1   0x00000002
 
#define LAN9355_LED_CFG_LED_EN_2   0x00000004
 
#define LAN9355_LED_CFG_LED_EN_3   0x00000008
 
#define LAN9355_LED_CFG_LED_EN_4   0x00000010
 
#define LAN9355_LED_CFG_LED_EN_5   0x00000020
 
#define LAN9355_VPHY_BASIC_CTRL_0_VPHY_RST   0x00008000
 
#define LAN9355_VPHY_BASIC_CTRL_0_VPHY_LOOPBACK   0x00004000
 
#define LAN9355_VPHY_BASIC_CTRL_0_VPHY_SPEED_SEL_LSB   0x00002000
 
#define LAN9355_VPHY_BASIC_CTRL_0_VPHY_AN   0x00001000
 
#define LAN9355_VPHY_BASIC_CTRL_0_VPHY_PWR_DWN   0x00000800
 
#define LAN9355_VPHY_BASIC_CTRL_0_VPHY_ISO   0x00000400
 
#define LAN9355_VPHY_BASIC_CTRL_0_VPHY_RST_AN   0x00000200
 
#define LAN9355_VPHY_BASIC_CTRL_0_VPHY_DUPLEX   0x00000100
 
#define LAN9355_VPHY_BASIC_CTRL_0_VPHY_COL_TEST   0x00000080
 
#define LAN9355_VPHY_BASIC_CTRL_0_VPHY_SPEED_SEL_MSB   0x00000040
 
#define LAN9355_VPHY_BASIC_STATUS_0_100BT4   0x00008000
 
#define LAN9355_VPHY_BASIC_STATUS_0_100BTX_FD   0x00004000
 
#define LAN9355_VPHY_BASIC_STATUS_0_100BTX_HD   0x00002000
 
#define LAN9355_VPHY_BASIC_STATUS_0_10BT_FD   0x00001000
 
#define LAN9355_VPHY_BASIC_STATUS_0_10BT_HD   0x00000800
 
#define LAN9355_VPHY_BASIC_STATUS_0_100BT2_FD   0x00000400
 
#define LAN9355_VPHY_BASIC_STATUS_0_100BT2_HD   0x00000200
 
#define LAN9355_VPHY_BASIC_STATUS_0_EXTENDED_STATUS   0x00000100
 
#define LAN9355_VPHY_BASIC_STATUS_0_MF_PREAMBLE_SUPPR   0x00000040
 
#define LAN9355_VPHY_BASIC_STATUS_0_AN_COMPLETE   0x00000020
 
#define LAN9355_VPHY_BASIC_STATUS_0_REMOTE_FAULT   0x00000010
 
#define LAN9355_VPHY_BASIC_STATUS_0_AN_CAPABLE   0x00000008
 
#define LAN9355_VPHY_BASIC_STATUS_0_LINK_STATUS   0x00000004
 
#define LAN9355_VPHY_BASIC_STATUS_0_JABBER_DETECT   0x00000002
 
#define LAN9355_VPHY_BASIC_STATUS_0_EXTENDED_CAPABLE   0x00000001
 
#define LAN9355_VPHY_ID_MSB_0_PHY_ID_MSB   0x0000FFFF
 
#define LAN9355_VPHY_ID_LSB_0_PHY_ID_LSB   0x0000FC00
 
#define LAN9355_VPHY_ID_LSB_0_MODEL_NUM   0x000003F0
 
#define LAN9355_VPHY_ID_LSB_0_REVISION_NUM   0x0000000F
 
#define LAN9355_VPHY_AN_ADV_0_NEXT_PAGE   0x00008000
 
#define LAN9355_VPHY_AN_ADV_0_REMOTE_FAULT   0x00002000
 
#define LAN9355_VPHY_AN_ADV_0_ASYM_PAUSE   0x00000800
 
#define LAN9355_VPHY_AN_ADV_0_SYM_PAUSE   0x00000400
 
#define LAN9355_VPHY_AN_ADV_0_100BTX_FD   0x00000100
 
#define LAN9355_VPHY_AN_ADV_0_100BTX_HD   0x00000080
 
#define LAN9355_VPHY_AN_ADV_0_10BT_FD   0x00000040
 
#define LAN9355_VPHY_AN_ADV_0_10BT_HD   0x00000020
 
#define LAN9355_VPHY_AN_ADV_0_SELECTOR   0x0000001F
 
#define LAN9355_VPHY_AN_ADV_0_SELECTOR_DEFAULT   0x00000001
 
#define LAN9355_VPHY_AN_LP_BASE_ABILITY_0_NEXT_PAGE   0x00008000
 
#define LAN9355_VPHY_AN_LP_BASE_ABILITY_0_ACK   0x00004000
 
#define LAN9355_VPHY_AN_LP_BASE_ABILITY_0_REMOTE_FAULT   0x00002000
 
#define LAN9355_VPHY_AN_LP_BASE_ABILITY_0_ASYM_PAUSE   0x00000800
 
#define LAN9355_VPHY_AN_LP_BASE_ABILITY_0_SYM_PAUSE   0x00000400
 
#define LAN9355_VPHY_AN_LP_BASE_ABILITY_0_100BT4   0x00000200
 
#define LAN9355_VPHY_AN_LP_BASE_ABILITY_0_100BTX_FD   0x00000100
 
#define LAN9355_VPHY_AN_LP_BASE_ABILITY_0_100BTX_HD   0x00000080
 
#define LAN9355_VPHY_AN_LP_BASE_ABILITY_0_10BT_FD   0x00000040
 
#define LAN9355_VPHY_AN_LP_BASE_ABILITY_0_10BT_HD   0x00000020
 
#define LAN9355_VPHY_AN_LP_BASE_ABILITY_0_SELECTOR   0x0000001F
 
#define LAN9355_VPHY_AN_LP_BASE_ABILITY_0_SELECTOR_DEFAULT   0x00000001
 
#define LAN9355_VPHY_AN_EXP_0_PAR_DETECT_FAULT   0x00000010
 
#define LAN9355_VPHY_AN_EXP_0_LP_NEXT_PAGE_ABLE   0x00000008
 
#define LAN9355_VPHY_AN_EXP_0_NEXT_PAGE_ABLE   0x00000004
 
#define LAN9355_VPHY_AN_EXP_0_PAGE_RECEIVED   0x00000002
 
#define LAN9355_VPHY_AN_EXP_0_LP_AN_ABLE   0x00000001
 
#define LAN9355_VPHY_SPECIAL_CTRL_STATUS_0_MODE2   0x00008000
 
#define LAN9355_VPHY_SPECIAL_CTRL_STATUS_0_SW_LOOPBACK   0x00004000
 
#define LAN9355_VPHY_SPECIAL_CTRL_STATUS_0_TURBO_MODE_EN   0x00000400
 
#define LAN9355_VPHY_SPECIAL_CTRL_STATUS_0_MODE   0x00000300
 
#define LAN9355_VPHY_SPECIAL_CTRL_STATUS_0_MODE_MII_MAC   0x00000000
 
#define LAN9355_VPHY_SPECIAL_CTRL_STATUS_0_MODE_MII_PHY   0x00000100
 
#define LAN9355_VPHY_SPECIAL_CTRL_STATUS_0_MODE_RMII_MAC   0x00000200
 
#define LAN9355_VPHY_SPECIAL_CTRL_STATUS_0_MODE_RMII_PHY   0x00000300
 
#define LAN9355_VPHY_SPECIAL_CTRL_STATUS_0_SW_COL_TEST   0x00000080
 
#define LAN9355_VPHY_SPECIAL_CTRL_STATUS_0_RMII_CLK_DIR   0x00000040
 
#define LAN9355_VPHY_SPECIAL_CTRL_STATUS_0_RMII_CLK_DIR_IN   0x00000000
 
#define LAN9355_VPHY_SPECIAL_CTRL_STATUS_0_RMII_CLK_DIR_OUT   0x00000040
 
#define LAN9355_VPHY_SPECIAL_CTRL_STATUS_0_RMII_CLK_STRENGTH   0x00000020
 
#define LAN9355_VPHY_SPECIAL_CTRL_STATUS_0_IND   0x0000001C
 
#define LAN9355_VPHY_SPECIAL_CTRL_STATUS_0_IND_10_HD   0x00000004
 
#define LAN9355_VPHY_SPECIAL_CTRL_STATUS_0_IND_100_200_HD   0x00000008
 
#define LAN9355_VPHY_SPECIAL_CTRL_STATUS_0_IND_10_FD   0x00000014
 
#define LAN9355_VPHY_SPECIAL_CTRL_STATUS_0_IND_100_200_FD   0x00000018
 
#define LAN9355_VPHY_SPECIAL_CTRL_STATUS_0_SQEOFF   0x00000001
 
#define LAN9355_GPIO_CFG_GPIO_CH_SEL   0xFF000000
 
#define LAN9355_GPIO_CFG_GPIO_CH_SEL_0   0x01000000
 
#define LAN9355_GPIO_CFG_GPIO_CH_SEL_1   0x02000000
 
#define LAN9355_GPIO_CFG_GPIO_CH_SEL_2   0x04000000
 
#define LAN9355_GPIO_CFG_GPIO_CH_SEL_3   0x08000000
 
#define LAN9355_GPIO_CFG_GPIO_CH_SEL_4   0x10000000
 
#define LAN9355_GPIO_CFG_GPIO_CH_SEL_5   0x20000000
 
#define LAN9355_GPIO_CFG_GPIO_CH_SEL_6   0x40000000
 
#define LAN9355_GPIO_CFG_GPIO_CH_SEL_7   0x80000000
 
#define LAN9355_GPIO_CFG_GPIO_INT_POL   0x00FF0000
 
#define LAN9355_GPIO_CFG_GPIO_INT_POL_0   0x00010000
 
#define LAN9355_GPIO_CFG_GPIO_INT_POL_1   0x00020000
 
#define LAN9355_GPIO_CFG_GPIO_INT_POL_2   0x00040000
 
#define LAN9355_GPIO_CFG_GPIO_INT_POL_3   0x00080000
 
#define LAN9355_GPIO_CFG_GPIO_INT_POL_4   0x00100000
 
#define LAN9355_GPIO_CFG_GPIO_INT_POL_5   0x00200000
 
#define LAN9355_GPIO_CFG_GPIO_INT_POL_6   0x00400000
 
#define LAN9355_GPIO_CFG_GPIO_INT_POL_7   0x00800000
 
#define LAN9355_GPIO_CFG_1588_GPIO_OE   0x0000FF00
 
#define LAN9355_GPIO_CFG_1588_GPIO_OE_0   0x00000100
 
#define LAN9355_GPIO_CFG_1588_GPIO_OE_1   0x00000200
 
#define LAN9355_GPIO_CFG_1588_GPIO_OE_2   0x00000400
 
#define LAN9355_GPIO_CFG_1588_GPIO_OE_3   0x00000800
 
#define LAN9355_GPIO_CFG_1588_GPIO_OE_4   0x00001000
 
#define LAN9355_GPIO_CFG_1588_GPIO_OE_5   0x00002000
 
#define LAN9355_GPIO_CFG_1588_GPIO_OE_6   0x00004000
 
#define LAN9355_GPIO_CFG_1588_GPIO_OE_7   0x00008000
 
#define LAN9355_GPIO_CFG_GPIOBUF   0x000000FF
 
#define LAN9355_GPIO_CFG_GPIOBUF_0   0x00000001
 
#define LAN9355_GPIO_CFG_GPIOBUF_1   0x00000002
 
#define LAN9355_GPIO_CFG_GPIOBUF_2   0x00000004
 
#define LAN9355_GPIO_CFG_GPIOBUF_3   0x00000008
 
#define LAN9355_GPIO_CFG_GPIOBUF_4   0x00000010
 
#define LAN9355_GPIO_CFG_GPIOBUF_5   0x00000020
 
#define LAN9355_GPIO_CFG_GPIOBUF_6   0x00000040
 
#define LAN9355_GPIO_CFG_GPIOBUF_7   0x00000080
 
#define LAN9355_GPIO_DATA_DIR_GPDIR   0x00FF0000
 
#define LAN9355_GPIO_DATA_DIR_GPDIR_0   0x00010000
 
#define LAN9355_GPIO_DATA_DIR_GPDIR_1   0x00020000
 
#define LAN9355_GPIO_DATA_DIR_GPDIR_2   0x00040000
 
#define LAN9355_GPIO_DATA_DIR_GPDIR_3   0x00080000
 
#define LAN9355_GPIO_DATA_DIR_GPDIR_4   0x00100000
 
#define LAN9355_GPIO_DATA_DIR_GPDIR_5   0x00200000
 
#define LAN9355_GPIO_DATA_DIR_GPDIR_6   0x00400000
 
#define LAN9355_GPIO_DATA_DIR_GPDIR_7   0x00800000
 
#define LAN9355_GPIO_DATA_DIR_GPIOD   0x000000FF
 
#define LAN9355_GPIO_DATA_DIR_GPIOD_0   0x00000001
 
#define LAN9355_GPIO_DATA_DIR_GPIOD_1   0x00000002
 
#define LAN9355_GPIO_DATA_DIR_GPIOD_2   0x00000004
 
#define LAN9355_GPIO_DATA_DIR_GPIOD_3   0x00000008
 
#define LAN9355_GPIO_DATA_DIR_GPIOD_4   0x00000010
 
#define LAN9355_GPIO_DATA_DIR_GPIOD_5   0x00000020
 
#define LAN9355_GPIO_DATA_DIR_GPIOD_6   0x00000040
 
#define LAN9355_GPIO_DATA_DIR_GPIOD_7   0x00000080
 
#define LAN9355_GPIO_INT_STS_EN_GPIO_INT_EN   0x00FF0000
 
#define LAN9355_GPIO_INT_STS_EN_GPIO_INT_EN_0   0x00010000
 
#define LAN9355_GPIO_INT_STS_EN_GPIO_INT_EN_1   0x00020000
 
#define LAN9355_GPIO_INT_STS_EN_GPIO_INT_EN_2   0x00040000
 
#define LAN9355_GPIO_INT_STS_EN_GPIO_INT_EN_3   0x00080000
 
#define LAN9355_GPIO_INT_STS_EN_GPIO_INT_EN_4   0x00100000
 
#define LAN9355_GPIO_INT_STS_EN_GPIO_INT_EN_5   0x00200000
 
#define LAN9355_GPIO_INT_STS_EN_GPIO_INT_EN_6   0x00400000
 
#define LAN9355_GPIO_INT_STS_EN_GPIO_INT_EN_7   0x00800000
 
#define LAN9355_GPIO_INT_STS_EN_GPIO_INT   0x000000FF
 
#define LAN9355_GPIO_INT_STS_EN_GPIO_INT_0   0x00000001
 
#define LAN9355_GPIO_INT_STS_EN_GPIO_INT_1   0x00000002
 
#define LAN9355_GPIO_INT_STS_EN_GPIO_INT_2   0x00000004
 
#define LAN9355_GPIO_INT_STS_EN_GPIO_INT_3   0x00000008
 
#define LAN9355_GPIO_INT_STS_EN_GPIO_INT_4   0x00000010
 
#define LAN9355_GPIO_INT_STS_EN_GPIO_INT_5   0x00000020
 
#define LAN9355_GPIO_INT_STS_EN_GPIO_INT_6   0x00000040
 
#define LAN9355_GPIO_INT_STS_EN_GPIO_INT_7   0x00000080
 
#define LAN9355_SWITCH_MAC_ADDRH_DIFF_PAUSE_ADDR   0x00400000
 
#define LAN9355_SWITCH_MAC_ADDRH_PORT2_PHY_ADDR_41_40   0x00300000
 
#define LAN9355_SWITCH_MAC_ADDRH_PORT1_PHY_ADDR_41_40   0x000C0000
 
#define LAN9355_SWITCH_MAC_ADDRH_PORT0_PHY_ADDR_41_40   0x00030000
 
#define LAN9355_SWITCH_MAC_ADDRH_PHY_ADDR_47_32   0x0000FFFF
 
#define LAN9355_SWITCH_MAC_ADDRL_PHY_ADDR_31_0   0xFFFFFFFF
 
#define LAN9355_RESET_CTL_VPHY_1_RST   0x00000010
 
#define LAN9355_RESET_CTL_VPHY_0_RST   0x00000008
 
#define LAN9355_RESET_CTL_PHY_B_RST   0x00000004
 
#define LAN9355_RESET_CTL_PHY_A_RST   0x00000002
 
#define LAN9355_RESET_CTL_DIGITAL_RST   0x00000001
 
#define LAN9355_SW_DEV_ID_DEVICE_TYPE   0x00FF0000
 
#define LAN9355_SW_DEV_ID_DEVICE_TYPE_DEFAULT   0x00030000
 
#define LAN9355_SW_DEV_ID_CHIP_VERSION   0x0000FF00
 
#define LAN9355_SW_DEV_ID_CHIP_VERSION_DEFAULT   0x00000600
 
#define LAN9355_SW_DEV_ID_REVISION   0x000000FF
 
#define LAN9355_SW_DEV_ID_REVISION_DEFAULT   0x00000007
 
#define LAN9355_SW_RESET_SW_RESET   0x00000001
 
#define LAN9355_SW_IMR_BM   0x00000040
 
#define LAN9355_SW_IMR_SWE   0x00000020
 
#define LAN9355_SW_IMR_MAC2   0x00000004
 
#define LAN9355_SW_IMR_MAC1   0x00000002
 
#define LAN9355_SW_IMR_MAC0   0x00000001
 
#define LAN9355_SW_IPR_BM   0x00000040
 
#define LAN9355_SW_IPR_SWE   0x00000020
 
#define LAN9355_SW_IPR_MAC2   0x00000004
 
#define LAN9355_SW_IPR_MAC1   0x00000002
 
#define LAN9355_SW_IPR_MAC0   0x00000001
 
#define LAN9355_MAC_VER_ID_DEVICE_TYPE   0x00000F00
 
#define LAN9355_MAC_VER_ID_DEVICE_TYPE_DEFAULT   0x00000500
 
#define LAN9355_MAC_VER_ID_CHIP_VERSION   0x000000F0
 
#define LAN9355_MAC_VER_ID_CHIP_VERSION_DEFAULT   0x00000090
 
#define LAN9355_MAC_VER_ID_REVISION   0x0000000F
 
#define LAN9355_MAC_VER_ID_REVISION_DEFAULT   0x00000003
 
#define LAN9355_MAC_RX_CFG_RECEIVE_OWN_TRANSMIT_EN   0x00000020
 
#define LAN9355_MAC_RX_CFG_JUMBO_2K   0x00000008
 
#define LAN9355_MAC_RX_CFG_REJECT_MAC_TYPES   0x00000002
 
#define LAN9355_MAC_RX_CFG_RX_EN   0x00000001
 
#define LAN9355_MAC_TX_CFG_EEE_EN   0x00000100
 
#define LAN9355_MAC_TX_CFG_MAC_COUNTER_TEST   0x00000080
 
#define LAN9355_MAC_TX_CFG_IFG_CONFIG   0x0000007C
 
#define LAN9355_MAC_TX_CFG_IFG_CONFIG_DEFAULT   0x00000054
 
#define LAN9355_MAC_TX_CFG_TX_PAD_EN   0x00000002
 
#define LAN9355_MAC_TX_CFG_TX_EN   0x00000001
 
#define LAN9355_SWE_ALR_CMD_MAKE_ENTRY   0x00000004
 
#define LAN9355_SWE_ALR_CMD_GET_FIRST_ENTRY   0x00000002
 
#define LAN9355_SWE_ALR_CMD_GET_NEXT_ENTRY   0x00000001
 
#define LAN9355_SWE_ALR_WR_DAT_0_MAC_ADDR   0xFFFFFFFF
 
#define LAN9355_SWE_ALR_WR_DAT_1_VALID   0x04000000
 
#define LAN9355_SWE_ALR_WR_DAT_1_AGE1_OVERRIDE   0x02000000
 
#define LAN9355_SWE_ALR_WR_DAT_1_STATIC   0x01000000
 
#define LAN9355_SWE_ALR_WR_DAT_1_AGE0_FILTER   0x00800000
 
#define LAN9355_SWE_ALR_WR_DAT_1_PRIORITY_EN   0x00400000
 
#define LAN9355_SWE_ALR_WR_DAT_1_PRIORITY   0x00380000
 
#define LAN9355_SWE_ALR_WR_DAT_1_PORT   0x00070000
 
#define LAN9355_SWE_ALR_WR_DAT_1_PORT_0   0x00000000
 
#define LAN9355_SWE_ALR_WR_DAT_1_PORT_1   0x00010000
 
#define LAN9355_SWE_ALR_WR_DAT_1_PORT_2   0x00020000
 
#define LAN9355_SWE_ALR_WR_DAT_1_PORT_RESERVED   0x00030000
 
#define LAN9355_SWE_ALR_WR_DAT_1_PORT_0_1   0x00040000
 
#define LAN9355_SWE_ALR_WR_DAT_1_PORT_0_2   0x00050000
 
#define LAN9355_SWE_ALR_WR_DAT_1_PORT_1_2   0x00060000
 
#define LAN9355_SWE_ALR_WR_DAT_1_PORT_0_1_2   0x00070000
 
#define LAN9355_SWE_ALR_WR_DAT_1_MAC_ADDR   0x0000FFFF
 
#define LAN9355_SWE_ALR_RD_DAT_0_MAC_ADDR   0xFFFFFFFF
 
#define LAN9355_SWE_ALR_RD_DAT_1_END_OF_TABLE   0x08000000
 
#define LAN9355_SWE_ALR_RD_DAT_1_VALID   0x04000000
 
#define LAN9355_SWE_ALR_RD_DAT_1_AGE1_OVERRIDE   0x02000000
 
#define LAN9355_SWE_ALR_RD_DAT_1_STATIC   0x01000000
 
#define LAN9355_SWE_ALR_RD_DAT_1_AGE0_FILTER   0x00800000
 
#define LAN9355_SWE_ALR_RD_DAT_1_PRIORITY_EN   0x00400000
 
#define LAN9355_SWE_ALR_RD_DAT_1_PRIORITY   0x00380000
 
#define LAN9355_SWE_ALR_RD_DAT_1_PORT   0x00070000
 
#define LAN9355_SWE_ALR_RD_DAT_1_PORT_0   0x00000000
 
#define LAN9355_SWE_ALR_RD_DAT_1_PORT_1   0x00010000
 
#define LAN9355_SWE_ALR_RD_DAT_1_PORT_2   0x00020000
 
#define LAN9355_SWE_ALR_RD_DAT_1_PORT_RESERVED   0x00030000
 
#define LAN9355_SWE_ALR_RD_DAT_1_PORT_0_1   0x00040000
 
#define LAN9355_SWE_ALR_RD_DAT_1_PORT_0_2   0x00050000
 
#define LAN9355_SWE_ALR_RD_DAT_1_PORT_1_2   0x00060000
 
#define LAN9355_SWE_ALR_RD_DAT_1_PORT_0_1_2   0x00070000
 
#define LAN9355_SWE_ALR_RD_DAT_1_MAC_ADDR   0x0000FFFF
 
#define LAN9355_SWE_ALR_CMD_STS_ALR_INIT_DONE   0x00000002
 
#define LAN9355_SWE_ALR_CMD_STS_OPERATION_PENDING   0x00000001
 
#define LAN9355_SWE_ALR_CFG_AGING_TIME   0x0FFF0000
 
#define LAN9355_SWE_ALR_CFG_AGING_TIME_DEFAULT   0x01290000
 
#define LAN9355_SWE_ALR_CFG_ALLOW_BROADCAST   0x00000004
 
#define LAN9355_SWE_ALR_CFG_ALR_AGE_EN   0x00000002
 
#define LAN9355_SWE_ALR_CFG_ALR_AGE_TEST   0x00000001
 
#define LAN9355_SWE_ALR_OVERRIDE_ALR_OVERRIDE_PORT2   0x00000600
 
#define LAN9355_SWE_ALR_OVERRIDE_ALR_OVERRIDE_PORT2_PORT0   0x00000000
 
#define LAN9355_SWE_ALR_OVERRIDE_ALR_OVERRIDE_PORT2_PORT1   0x00000200
 
#define LAN9355_SWE_ALR_OVERRIDE_ALR_OVERRIDE_PORT2_EN   0x00000100
 
#define LAN9355_SWE_ALR_OVERRIDE_ALR_OVERRIDE_PORT1   0x00000060
 
#define LAN9355_SWE_ALR_OVERRIDE_ALR_OVERRIDE_PORT1_PORT0   0x00000000
 
#define LAN9355_SWE_ALR_OVERRIDE_ALR_OVERRIDE_PORT1_PORT2   0x00000040
 
#define LAN9355_SWE_ALR_OVERRIDE_ALR_OVERRIDE_PORT1_EN   0x00000010
 
#define LAN9355_SWE_ALR_OVERRIDE_ALR_OVERRIDE_PORT0   0x00000006
 
#define LAN9355_SWE_ALR_OVERRIDE_ALR_OVERRIDE_PORT0_PORT1   0x00000002
 
#define LAN9355_SWE_ALR_OVERRIDE_ALR_OVERRIDE_PORT0_PORT2   0x00000004
 
#define LAN9355_SWE_ALR_OVERRIDE_ALR_OVERRIDE_PORT0_EN   0x00000001
 
#define LAN9355_SWE_VLAN_CMD_WRITE   0x00000000
 
#define LAN9355_SWE_VLAN_CMD_READ   0x00000020
 
#define LAN9355_SWE_VLAN_CMD_VLAN   0x00000000
 
#define LAN9355_SWE_VLAN_CMD_PVID   0x00000010
 
#define LAN9355_SWE_VLAN_CMD_VLAN_PORT   0x0000000F
 
#define LAN9355_SWE_GLOBAL_INGRSS_CFG_OTHER_MLD_NEXT_HDR_EN   0x00020000
 
#define LAN9355_SWE_GLOBAL_INGRSS_CFG_ANY_HOP_BY_HOP_NEXT_HDR   0x00010000
 
#define LAN9355_SWE_GLOBAL_INGRSS_CFG_802_1Q_VLAN_DIS   0x00008000
 
#define LAN9355_SWE_GLOBAL_INGRSS_CFG_USE_TAG   0x00004000
 
#define LAN9355_SWE_GLOBAL_INGRSS_CFG_ALLOW_MONITOR_ECHO   0x00002000
 
#define LAN9355_SWE_GLOBAL_INGRSS_CFG_MLD_IGMP_MONITOR_PORT   0x00001C00
 
#define LAN9355_SWE_GLOBAL_INGRSS_CFG_MLD_IGMP_MONITOR_PORT_0   0x00000400
 
#define LAN9355_SWE_GLOBAL_INGRSS_CFG_MLD_IGMP_MONITOR_PORT_1   0x00000800
 
#define LAN9355_SWE_GLOBAL_INGRSS_CFG_MLD_IGMP_MONITOR_PORT_2   0x00001000
 
#define LAN9355_SWE_GLOBAL_INGRSS_CFG_USE_IP   0x00000200
 
#define LAN9355_SWE_GLOBAL_INGRSS_CFG_MLD_MONITORING_EN   0x00000100
 
#define LAN9355_SWE_GLOBAL_INGRSS_CFG_IGMP_MONITORING_EN   0x00000080
 
#define LAN9355_SWE_GLOBAL_INGRSS_CFG_SWE_COUNTER_TEST   0x00000040
 
#define LAN9355_SWE_GLOBAL_INGRSS_CFG_DA_HIGHEST_PRIORITY   0x00000020
 
#define LAN9355_SWE_GLOBAL_INGRSS_CFG_FILTER_MULTICAST   0x00000010
 
#define LAN9355_SWE_GLOBAL_INGRSS_CFG_DROP_UNKNOWN   0x00000008
 
#define LAN9355_SWE_GLOBAL_INGRSS_CFG_USE_PRECEDENCE   0x00000004
 
#define LAN9355_SWE_GLOBAL_INGRSS_CFG_VL_HIGHER_PRIORITY   0x00000002
 
#define LAN9355_SWE_GLOBAL_INGRSS_CFG_VLAN_EN   0x00000001
 
#define LAN9355_SWE_PORT_INGRSS_CFG_LEARN_ON_INGRESS   0x00000038
 
#define LAN9355_SWE_PORT_INGRSS_CFG_LEARN_ON_INGRESS_PORT0   0x00000000
 
#define LAN9355_SWE_PORT_INGRSS_CFG_LEARN_ON_INGRESS_PORT1   0x00000008
 
#define LAN9355_SWE_PORT_INGRSS_CFG_LEARN_ON_INGRESS_PORT2   0x00000010
 
#define LAN9355_SWE_PORT_INGRSS_CFG_MEMBERSHIP_CHECK   0x00000007
 
#define LAN9355_SWE_PORT_INGRSS_CFG_MEMBERSHIP_CHECK_PORT0   0x00000000
 
#define LAN9355_SWE_PORT_INGRSS_CFG_MEMBERSHIP_CHECK_PORT1   0x00000001
 
#define LAN9355_SWE_PORT_INGRSS_CFG_MEMBERSHIP_CHECK_PORT2   0x00000002
 
#define LAN9355_SWE_ADMT_ONLY_VLAN_ADMIT_ONLY_VLAN   0x00000007
 
#define LAN9355_SWE_ADMT_ONLY_VLAN_ADMIT_ONLY_VLAN_PORT0   0x00000001
 
#define LAN9355_SWE_ADMT_ONLY_VLAN_ADMIT_ONLY_VLAN_PORT1   0x00000002
 
#define LAN9355_SWE_ADMT_ONLY_VLAN_ADMIT_ONLY_VLAN_PORT2   0x00000004
 
#define LAN9355_SWE_PORT_STATE_PORT2   0x00000030
 
#define LAN9355_SWE_PORT_STATE_PORT2_FORWARDING   0x00000000
 
#define LAN9355_SWE_PORT_STATE_PORT2_LISTENING   0x00000010
 
#define LAN9355_SWE_PORT_STATE_PORT2_LEARNING   0x00000020
 
#define LAN9355_SWE_PORT_STATE_PORT2_DISABLED   0x00000030
 
#define LAN9355_SWE_PORT_STATE_PORT1   0x0000000C
 
#define LAN9355_SWE_PORT_STATE_PORT1_FORWARDING   0x00000000
 
#define LAN9355_SWE_PORT_STATE_PORT1_LISTENING   0x00000004
 
#define LAN9355_SWE_PORT_STATE_PORT1_LEARNING   0x00000008
 
#define LAN9355_SWE_PORT_STATE_PORT1_DISABLED   0x0000000C
 
#define LAN9355_SWE_PORT_STATE_PORT0   0x00000003
 
#define LAN9355_SWE_PORT_STATE_PORT0_FORWARDING   0x00000000
 
#define LAN9355_SWE_PORT_STATE_PORT0_LISTENING   0x00000001
 
#define LAN9355_SWE_PORT_STATE_PORT0_LEARNING   0x00000002
 
#define LAN9355_SWE_PORT_STATE_PORT0_DISABLED   0x00000003
 
#define LAN9355_SWE_PRI_TO_QUE_PRIO_7_TRAFFIC_CLASS   0x0000C000
 
#define LAN9355_SWE_PRI_TO_QUE_PRIO_6_TRAFFIC_CLASS   0x00003000
 
#define LAN9355_SWE_PRI_TO_QUE_PRIO_5_TRAFFIC_CLASS   0x00000C00
 
#define LAN9355_SWE_PRI_TO_QUE_PRIO_4_TRAFFIC_CLASS   0x00000300
 
#define LAN9355_SWE_PRI_TO_QUE_PRIO_3_TRAFFIC_CLASS   0x000000C0
 
#define LAN9355_SWE_PRI_TO_QUE_PRIO_2_TRAFFIC_CLASS   0x00000030
 
#define LAN9355_SWE_PRI_TO_QUE_PRIO_1_TRAFFIC_CLASS   0x0000000C
 
#define LAN9355_SWE_PRI_TO_QUE_PRIO_0_TRAFFIC_CLASS   0x00000003
 
#define LAN9355_SWE_PORT_MIRROR_RX_MIRRORING_FILT_EN   0x00000100
 
#define LAN9355_SWE_PORT_MIRROR_SNIFFER_PORT   0x000000E0
 
#define LAN9355_SWE_PORT_MIRROR_SNIFFER_PORT_0   0x00000020
 
#define LAN9355_SWE_PORT_MIRROR_SNIFFER_PORT_1   0x00000040
 
#define LAN9355_SWE_PORT_MIRROR_SNIFFER_PORT_2   0x00000080
 
#define LAN9355_SWE_PORT_MIRROR_MIRRORED_PORT   0x0000001C
 
#define LAN9355_SWE_PORT_MIRROR_MIRRORED_PORT_0   0x00000004
 
#define LAN9355_SWE_PORT_MIRROR_MIRRORED_PORT_1   0x00000008
 
#define LAN9355_SWE_PORT_MIRROR_MIRRORED_PORT_2   0x00000010
 
#define LAN9355_SWE_PORT_MIRROR_RX_MIRRORING_EN   0x00000002
 
#define LAN9355_SWE_PORT_MIRROR_TX_MIRRORING_EN   0x00000001
 
#define LAN9355_SWE_INGRSS_PORT_TYP_PORT2   0x00000030
 
#define LAN9355_SWE_INGRSS_PORT_TYP_PORT2_DIS   0x00000000
 
#define LAN9355_SWE_INGRSS_PORT_TYP_PORT2_EN   0x00000030
 
#define LAN9355_SWE_INGRSS_PORT_TYP_PORT1   0x0000000C
 
#define LAN9355_SWE_INGRSS_PORT_TYP_PORT1_DIS   0x00000000
 
#define LAN9355_SWE_INGRSS_PORT_TYP_PORT1_EN   0x0000000C
 
#define LAN9355_SWE_INGRSS_PORT_TYP_PORT0   0x00000003
 
#define LAN9355_SWE_INGRSS_PORT_TYP_PORT0_DIS   0x00000000
 
#define LAN9355_SWE_INGRSS_PORT_TYP_PORT0_EN   0x00000003
 
#define LAN9355_BM_EGRSS_PORT_TYPE_VID_SEL_PORT2   0x00400000
 
#define LAN9355_BM_EGRSS_PORT_TYPE_INSERT_TAG_PORT2   0x00200000
 
#define LAN9355_BM_EGRSS_PORT_TYPE_CHANGE_VID_PORT2   0x00100000
 
#define LAN9355_BM_EGRSS_PORT_TYPE_CHANGE_PRIO_PORT2   0x00080000
 
#define LAN9355_BM_EGRSS_PORT_TYPE_CHANGE_TAG_PORT2   0x00040000
 
#define LAN9355_BM_EGRSS_PORT_TYPE_PORT2_TYPE   0x00030000
 
#define LAN9355_BM_EGRSS_PORT_TYPE_PORT2_TYPE_DUMB   0x00000000
 
#define LAN9355_BM_EGRSS_PORT_TYPE_PORT2_TYPE_ACCESS   0x00010000
 
#define LAN9355_BM_EGRSS_PORT_TYPE_PORT2_TYPE_HYBRID   0x00020000
 
#define LAN9355_BM_EGRSS_PORT_TYPE_PORT2_TYPE_CPU   0x00030000
 
#define LAN9355_BM_EGRSS_PORT_TYPE_VID_SEL_PORT1   0x00004000
 
#define LAN9355_BM_EGRSS_PORT_TYPE_INSERT_TAG_PORT1   0x00002000
 
#define LAN9355_BM_EGRSS_PORT_TYPE_CHANGE_VID_PORT1   0x00001000
 
#define LAN9355_BM_EGRSS_PORT_TYPE_CHANGE_PRIO_PORT1   0x00000800
 
#define LAN9355_BM_EGRSS_PORT_TYPE_CHANGE_TAG_PORT1   0x00000400
 
#define LAN9355_BM_EGRSS_PORT_TYPE_PORT1_TYPE   0x00000300
 
#define LAN9355_BM_EGRSS_PORT_TYPE_PORT1_TYPE_DUMB   0x00000000
 
#define LAN9355_BM_EGRSS_PORT_TYPE_PORT1_TYPE_ACCESS   0x00000100
 
#define LAN9355_BM_EGRSS_PORT_TYPE_PORT1_TYPE_HYBRID   0x00000200
 
#define LAN9355_BM_EGRSS_PORT_TYPE_PORT1_TYPE_CPU   0x00000300
 
#define LAN9355_BM_EGRSS_PORT_TYPE_VID_SEL_PORT0   0x00000040
 
#define LAN9355_BM_EGRSS_PORT_TYPE_INSERT_TAG_PORT0   0x00000020
 
#define LAN9355_BM_EGRSS_PORT_TYPE_CHANGE_VID_PORT0   0x00000010
 
#define LAN9355_BM_EGRSS_PORT_TYPE_CHANGE_PRIO_PORT0   0x00000008
 
#define LAN9355_BM_EGRSS_PORT_TYPE_CHANGE_TAG_PORT0   0x00000004
 
#define LAN9355_BM_EGRSS_PORT_TYPE_PORT0_TYPE   0x00000003
 
#define LAN9355_BM_EGRSS_PORT_TYPE_PORT0_TYPE_DUMB   0x00000000
 
#define LAN9355_BM_EGRSS_PORT_TYPE_PORT0_TYPE_ACCESS   0x00000001
 
#define LAN9355_BM_EGRSS_PORT_TYPE_PORT0_TYPE_HYBRID   0x00000002
 
#define LAN9355_BM_EGRSS_PORT_TYPE_PORT0_TYPE_CPU   0x00000003
 

Functions

error_t lan9355Init (NetInterface *interface)
 LAN9355 Ethernet switch initialization. More...
 
void lan9355InitHook (NetInterface *interface)
 LAN9355 custom configuration. More...
 
void lan9355Tick (NetInterface *interface)
 LAN9355 timer handler. More...
 
void lan9355EnableIrq (NetInterface *interface)
 Enable interrupts. More...
 
void lan9355DisableIrq (NetInterface *interface)
 Disable interrupts. More...
 
void lan9355EventHandler (NetInterface *interface)
 LAN9355 event handler. More...
 
error_t lan9355TagFrame (NetInterface *interface, NetBuffer *buffer, size_t *offset, NetTxAncillary *ancillary)
 Add special VLAN tag to Ethernet frame. More...
 
error_t lan9355UntagFrame (NetInterface *interface, uint8_t **frame, size_t *length, NetRxAncillary *ancillary)
 Decode special VLAN tag from incoming Ethernet frame. More...
 
bool_t lan9355GetLinkState (NetInterface *interface, uint8_t port)
 Get link state. More...
 
uint32_t lan9355GetLinkSpeed (NetInterface *interface, uint8_t port)
 Get link speed. More...
 
NicDuplexMode lan9355GetDuplexMode (NetInterface *interface, uint8_t port)
 Get duplex mode. More...
 
void lan9355SetPortState (NetInterface *interface, uint8_t port, SwitchPortState state)
 Set port state. More...
 
SwitchPortState lan9355GetPortState (NetInterface *interface, uint8_t port)
 Get port state. More...
 
void lan9355SetAgingTime (NetInterface *interface, uint32_t agingTime)
 Set aging time for dynamic filtering entries. More...
 
void lan9355EnableIgmpSnooping (NetInterface *interface, bool_t enable)
 Enable IGMP snooping. More...
 
void lan9355EnableMldSnooping (NetInterface *interface, bool_t enable)
 Enable MLD snooping. More...
 
void lan9355EnableRsvdMcastTable (NetInterface *interface, bool_t enable)
 Enable reserved multicast table. More...
 
error_t lan9355AddStaticFdbEntry (NetInterface *interface, const SwitchFdbEntry *entry)
 Add a new entry to the static MAC table. More...
 
error_t lan9355DeleteStaticFdbEntry (NetInterface *interface, const SwitchFdbEntry *entry)
 Remove an entry from the static MAC table. More...
 
error_t lan9355GetStaticFdbEntry (NetInterface *interface, uint_t index, SwitchFdbEntry *entry)
 Read an entry from the static MAC table. More...
 
void lan9355FlushStaticFdbTable (NetInterface *interface)
 Flush static MAC table. More...
 
error_t lan9355GetDynamicFdbEntry (NetInterface *interface, uint_t index, SwitchFdbEntry *entry)
 Read an entry from the dynamic MAC table. More...
 
void lan9355FlushDynamicFdbTable (NetInterface *interface, uint8_t port)
 Flush dynamic MAC table. More...
 
void lan9355SetUnknownMcastFwdPorts (NetInterface *interface, bool_t enable, uint32_t forwardPorts)
 Set forward ports for unknown multicast packets. More...
 
void lan9355WritePhyReg (NetInterface *interface, uint8_t port, uint8_t address, uint16_t data)
 Write PHY register. More...
 
uint16_t lan9355ReadPhyReg (NetInterface *interface, uint8_t port, uint8_t address)
 Read PHY register. More...
 
void lan9355DumpPhyReg (NetInterface *interface, uint8_t port)
 Dump PHY registers for debugging purpose. More...
 
void lan9355WriteSysReg (NetInterface *interface, uint16_t address, uint32_t data)
 Write system CSR register. More...
 
uint32_t lan9355ReadSysReg (NetInterface *interface, uint16_t address)
 Read system CSR register. More...
 
void lan9355DumpSysReg (NetInterface *interface)
 Dump system CSR registers for debugging purpose. More...
 
void lan9355WriteSwitchReg (NetInterface *interface, uint16_t address, uint32_t data)
 Write switch fabric CSR register. More...
 
uint32_t lan9355ReadSwitchReg (NetInterface *interface, uint16_t address)
 Read switch fabric CSR register. More...
 

Variables

const SwitchDriver lan9355SwitchDriver
 LAN9355 Ethernet switch driver. More...
 

Detailed Description

LAN9355 3-port Ethernet switch driver.

License

SPDX-License-Identifier: GPL-2.0-or-later

Copyright (C) 2010-2024 Oryx Embedded SARL. All rights reserved.

This file is part of CycloneTCP Open.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

Author
Oryx Embedded SARL (www.oryx-embedded.com)
Version
2.4.4

Definition in file lan9355_driver.h.

Macro Definition Documentation

◆ LAN9355_1588_ASYM_PEERDLY

#define LAN9355_1588_ASYM_PEERDLY   0x015C

Definition at line 134 of file lan9355_driver.h.

◆ LAN9355_1588_BANK_PORT_GPIO_SEL

#define LAN9355_1588_BANK_PORT_GPIO_SEL   0x0154

Definition at line 130 of file lan9355_driver.h.

◆ LAN9355_1588_CAP_INFO

#define LAN9355_1588_CAP_INFO   0x0160

Definition at line 138 of file lan9355_driver.h.

◆ LAN9355_1588_CLOCK_NS

#define LAN9355_1588_CLOCK_NS   0x0114

Definition at line 114 of file lan9355_driver.h.

◆ LAN9355_1588_CLOCK_RATE_ADJ

#define LAN9355_1588_CLOCK_RATE_ADJ   0x011C

Definition at line 116 of file lan9355_driver.h.

◆ LAN9355_1588_CLOCK_SEC

#define LAN9355_1588_CLOCK_SEC   0x0110

Definition at line 113 of file lan9355_driver.h.

◆ LAN9355_1588_CLOCK_STEP_ADJ

#define LAN9355_1588_CLOCK_STEP_ADJ   0x0128

Definition at line 119 of file lan9355_driver.h.

◆ LAN9355_1588_CLOCK_SUBNS

#define LAN9355_1588_CLOCK_SUBNS   0x0118

Definition at line 115 of file lan9355_driver.h.

◆ LAN9355_1588_CLOCK_TARGET_NS_A

#define LAN9355_1588_CLOCK_TARGET_NS_A   0x0130

Definition at line 121 of file lan9355_driver.h.

◆ LAN9355_1588_CLOCK_TARGET_NS_B

#define LAN9355_1588_CLOCK_TARGET_NS_B   0x0140

Definition at line 125 of file lan9355_driver.h.

◆ LAN9355_1588_CLOCK_TARGET_RELOAD_NS_A

#define LAN9355_1588_CLOCK_TARGET_RELOAD_NS_A   0x0138

Definition at line 123 of file lan9355_driver.h.

◆ LAN9355_1588_CLOCK_TARGET_RELOAD_NS_B

#define LAN9355_1588_CLOCK_TARGET_RELOAD_NS_B   0x0148

Definition at line 127 of file lan9355_driver.h.

◆ LAN9355_1588_CLOCK_TARGET_RELOAD_SEC_A

#define LAN9355_1588_CLOCK_TARGET_RELOAD_SEC_A   0x0134

Definition at line 122 of file lan9355_driver.h.

◆ LAN9355_1588_CLOCK_TARGET_RELOAD_SEC_B

#define LAN9355_1588_CLOCK_TARGET_RELOAD_SEC_B   0x0144

Definition at line 126 of file lan9355_driver.h.

◆ LAN9355_1588_CLOCK_TARGET_SEC_A

#define LAN9355_1588_CLOCK_TARGET_SEC_A   0x012C

Definition at line 120 of file lan9355_driver.h.

◆ LAN9355_1588_CLOCK_TARGET_SEC_B

#define LAN9355_1588_CLOCK_TARGET_SEC_B   0x013C

Definition at line 124 of file lan9355_driver.h.

◆ LAN9355_1588_CLOCK_TEMP_RATE_ADJ

#define LAN9355_1588_CLOCK_TEMP_RATE_ADJ   0x0120

Definition at line 117 of file lan9355_driver.h.

◆ LAN9355_1588_CLOCK_TEMP_RATE_DURATION

#define LAN9355_1588_CLOCK_TEMP_RATE_DURATION   0x0124

Definition at line 118 of file lan9355_driver.h.

◆ LAN9355_1588_CMD_CTL

#define LAN9355_1588_CMD_CTL   0x0100

Definition at line 109 of file lan9355_driver.h.

◆ LAN9355_1588_GENERAL_CONFIG

#define LAN9355_1588_GENERAL_CONFIG   0x0104

Definition at line 110 of file lan9355_driver.h.

◆ LAN9355_1588_GPIO_CAP_CONFIG

#define LAN9355_1588_GPIO_CAP_CONFIG   0x015C

Definition at line 137 of file lan9355_driver.h.

◆ LAN9355_1588_GPIO_FE_CLOCK_NS_CAP

#define LAN9355_1588_GPIO_FE_CLOCK_NS_CAP   0x017C

Definition at line 157 of file lan9355_driver.h.

◆ LAN9355_1588_GPIO_FE_CLOCK_SEC_CAP

#define LAN9355_1588_GPIO_FE_CLOCK_SEC_CAP   0x0178

Definition at line 154 of file lan9355_driver.h.

◆ LAN9355_1588_GPIO_RE_CLOCK_NS_CAP

#define LAN9355_1588_GPIO_RE_CLOCK_NS_CAP   0x0170

Definition at line 149 of file lan9355_driver.h.

◆ LAN9355_1588_GPIO_RE_CLOCK_SEC_CAP

#define LAN9355_1588_GPIO_RE_CLOCK_SEC_CAP   0x016C

Definition at line 146 of file lan9355_driver.h.

◆ LAN9355_1588_INT_EN

#define LAN9355_1588_INT_EN   0x010C

Definition at line 112 of file lan9355_driver.h.

◆ LAN9355_1588_INT_STS

#define LAN9355_1588_INT_STS   0x0108

Definition at line 111 of file lan9355_driver.h.

◆ LAN9355_1588_LATENCY

#define LAN9355_1588_LATENCY   0x0158

Definition at line 131 of file lan9355_driver.h.

◆ LAN9355_1588_RX_CF_MOD

#define LAN9355_1588_RX_CF_MOD   0x0164

Definition at line 140 of file lan9355_driver.h.

◆ LAN9355_1588_RX_CHKSUM_DROPPED_CNT

#define LAN9355_1588_RX_CHKSUM_DROPPED_CNT   0x0188

Definition at line 161 of file lan9355_driver.h.

◆ LAN9355_1588_RX_FILTER_CONFIG

#define LAN9355_1588_RX_FILTER_CONFIG   0x0168

Definition at line 142 of file lan9355_driver.h.

◆ LAN9355_1588_RX_FILTERED_CNT

#define LAN9355_1588_RX_FILTERED_CNT   0x018C

Definition at line 162 of file lan9355_driver.h.

◆ LAN9355_1588_RX_INGRESS_NS

#define LAN9355_1588_RX_INGRESS_NS   0x0170

Definition at line 147 of file lan9355_driver.h.

◆ LAN9355_1588_RX_INGRESS_SEC

#define LAN9355_1588_RX_INGRESS_SEC   0x016C

Definition at line 144 of file lan9355_driver.h.

◆ LAN9355_1588_RX_MSG_HEADER

#define LAN9355_1588_RX_MSG_HEADER   0x0174

Definition at line 150 of file lan9355_driver.h.

◆ LAN9355_1588_RX_PARSE_CONFIG

#define LAN9355_1588_RX_PARSE_CONFIG   0x0158

Definition at line 132 of file lan9355_driver.h.

◆ LAN9355_1588_RX_PDREQ_CF_HI

#define LAN9355_1588_RX_PDREQ_CF_HI   0x0180

Definition at line 158 of file lan9355_driver.h.

◆ LAN9355_1588_RX_PDREQ_CF_LOW

#define LAN9355_1588_RX_PDREQ_CF_LOW   0x0184

Definition at line 160 of file lan9355_driver.h.

◆ LAN9355_1588_RX_PDREQ_NS

#define LAN9355_1588_RX_PDREQ_NS   0x017C

Definition at line 155 of file lan9355_driver.h.

◆ LAN9355_1588_RX_PDREQ_SEC

#define LAN9355_1588_RX_PDREQ_SEC   0x0178

Definition at line 152 of file lan9355_driver.h.

◆ LAN9355_1588_RX_TIMESTAMP_CONFIG

#define LAN9355_1588_RX_TIMESTAMP_CONFIG   0x015C

Definition at line 135 of file lan9355_driver.h.

◆ LAN9355_1588_RX_TS_INSERT_CONFIG

#define LAN9355_1588_RX_TS_INSERT_CONFIG   0x0160

Definition at line 139 of file lan9355_driver.h.

◆ LAN9355_1588_TX_DREQ_NS

#define LAN9355_1588_TX_DREQ_NS   0x017C

Definition at line 156 of file lan9355_driver.h.

◆ LAN9355_1588_TX_DREQ_SEC

#define LAN9355_1588_TX_DREQ_SEC   0x0178

Definition at line 153 of file lan9355_driver.h.

◆ LAN9355_1588_TX_EGRESS_NS

#define LAN9355_1588_TX_EGRESS_NS   0x0170

Definition at line 148 of file lan9355_driver.h.

◆ LAN9355_1588_TX_EGRESS_SEC

#define LAN9355_1588_TX_EGRESS_SEC   0x016C

Definition at line 145 of file lan9355_driver.h.

◆ LAN9355_1588_TX_MOD

#define LAN9355_1588_TX_MOD   0x0164

Definition at line 141 of file lan9355_driver.h.

◆ LAN9355_1588_TX_MOD2

#define LAN9355_1588_TX_MOD2   0x0168

Definition at line 143 of file lan9355_driver.h.

◆ LAN9355_1588_TX_MSG_HEADER

#define LAN9355_1588_TX_MSG_HEADER   0x0174

Definition at line 151 of file lan9355_driver.h.

◆ LAN9355_1588_TX_ONE_STEP_SYNC_SEC

#define LAN9355_1588_TX_ONE_STEP_SYNC_SEC   0x0180

Definition at line 159 of file lan9355_driver.h.

◆ LAN9355_1588_TX_PARSE_CONFIG

#define LAN9355_1588_TX_PARSE_CONFIG   0x0158

Definition at line 133 of file lan9355_driver.h.

◆ LAN9355_1588_TX_TIMESTAMP_CONFIG

#define LAN9355_1588_TX_TIMESTAMP_CONFIG   0x015C

Definition at line 136 of file lan9355_driver.h.

◆ LAN9355_1588_USER_MAC_HI

#define LAN9355_1588_USER_MAC_HI   0x014C

Definition at line 128 of file lan9355_driver.h.

◆ LAN9355_1588_USER_MAC_LO

#define LAN9355_1588_USER_MAC_LO   0x0150

Definition at line 129 of file lan9355_driver.h.

◆ LAN9355_ALR_TABLE_SIZE

#define LAN9355_ALR_TABLE_SIZE   512

Definition at line 53 of file lan9355_driver.h.

◆ LAN9355_ANAR

#define LAN9355_ANAR   0x04

Definition at line 78 of file lan9355_driver.h.

◆ LAN9355_ANAR_100BTX_FD

#define LAN9355_ANAR_100BTX_FD   0x0100

Definition at line 506 of file lan9355_driver.h.

◆ LAN9355_ANAR_100BTX_HD

#define LAN9355_ANAR_100BTX_HD   0x0080

Definition at line 507 of file lan9355_driver.h.

◆ LAN9355_ANAR_10BT_FD

#define LAN9355_ANAR_10BT_FD   0x0040

Definition at line 508 of file lan9355_driver.h.

◆ LAN9355_ANAR_10BT_HD

#define LAN9355_ANAR_10BT_HD   0x0020

Definition at line 509 of file lan9355_driver.h.

◆ LAN9355_ANAR_ASYM_PAUSE

#define LAN9355_ANAR_ASYM_PAUSE   0x0800

Definition at line 504 of file lan9355_driver.h.

◆ LAN9355_ANAR_REMOTE_FAULT

#define LAN9355_ANAR_REMOTE_FAULT   0x2000

Definition at line 503 of file lan9355_driver.h.

◆ LAN9355_ANAR_SELECTOR

#define LAN9355_ANAR_SELECTOR   0x001F

Definition at line 510 of file lan9355_driver.h.

◆ LAN9355_ANAR_SELECTOR_DEFAULT

#define LAN9355_ANAR_SELECTOR_DEFAULT   0x0001

Definition at line 511 of file lan9355_driver.h.

◆ LAN9355_ANAR_SYM_PAUSE

#define LAN9355_ANAR_SYM_PAUSE   0x0400

Definition at line 505 of file lan9355_driver.h.

◆ LAN9355_ANER

#define LAN9355_ANER   0x06

Definition at line 80 of file lan9355_driver.h.

◆ LAN9355_ANER_LP_AN_ABLE

#define LAN9355_ANER_LP_AN_ABLE   0x0001

Definition at line 532 of file lan9355_driver.h.

◆ LAN9355_ANER_LP_NEXT_PAGE_ABLE

#define LAN9355_ANER_LP_NEXT_PAGE_ABLE   0x0008

Definition at line 529 of file lan9355_driver.h.

◆ LAN9355_ANER_NEXT_PAGE_ABLE

#define LAN9355_ANER_NEXT_PAGE_ABLE   0x0004

Definition at line 530 of file lan9355_driver.h.

◆ LAN9355_ANER_PAGE_RECEIVED

#define LAN9355_ANER_PAGE_RECEIVED   0x0002

Definition at line 531 of file lan9355_driver.h.

◆ LAN9355_ANER_PAR_DETECT_FAULT

#define LAN9355_ANER_PAR_DETECT_FAULT   0x0010

Definition at line 528 of file lan9355_driver.h.

◆ LAN9355_ANLPAR

#define LAN9355_ANLPAR   0x05

Definition at line 79 of file lan9355_driver.h.

◆ LAN9355_ANLPAR_100BT4

#define LAN9355_ANLPAR_100BT4   0x0200

Definition at line 519 of file lan9355_driver.h.

◆ LAN9355_ANLPAR_100BTX_FD

#define LAN9355_ANLPAR_100BTX_FD   0x0100

Definition at line 520 of file lan9355_driver.h.

◆ LAN9355_ANLPAR_100BTX_HD

#define LAN9355_ANLPAR_100BTX_HD   0x0080

Definition at line 521 of file lan9355_driver.h.

◆ LAN9355_ANLPAR_10BT_FD

#define LAN9355_ANLPAR_10BT_FD   0x0040

Definition at line 522 of file lan9355_driver.h.

◆ LAN9355_ANLPAR_10BT_HD

#define LAN9355_ANLPAR_10BT_HD   0x0020

Definition at line 523 of file lan9355_driver.h.

◆ LAN9355_ANLPAR_ACK

#define LAN9355_ANLPAR_ACK   0x4000

Definition at line 515 of file lan9355_driver.h.

◆ LAN9355_ANLPAR_ASYM_PAUSE

#define LAN9355_ANLPAR_ASYM_PAUSE   0x0800

Definition at line 517 of file lan9355_driver.h.

◆ LAN9355_ANLPAR_NEXT_PAGE

#define LAN9355_ANLPAR_NEXT_PAGE   0x8000

Definition at line 514 of file lan9355_driver.h.

◆ LAN9355_ANLPAR_REMOTE_FAULT

#define LAN9355_ANLPAR_REMOTE_FAULT   0x2000

Definition at line 516 of file lan9355_driver.h.

◆ LAN9355_ANLPAR_SELECTOR

#define LAN9355_ANLPAR_SELECTOR   0x001F

Definition at line 524 of file lan9355_driver.h.

◆ LAN9355_ANLPAR_SELECTOR_DEFAULT

#define LAN9355_ANLPAR_SELECTOR_DEFAULT   0x0001

Definition at line 525 of file lan9355_driver.h.

◆ LAN9355_ANLPAR_SYM_PAUSE

#define LAN9355_ANLPAR_SYM_PAUSE   0x0400

Definition at line 518 of file lan9355_driver.h.

◆ LAN9355_BM_BCST_LVL

#define LAN9355_BM_BCST_LVL   0x1C04

Definition at line 387 of file lan9355_driver.h.

◆ LAN9355_BM_CFG

#define LAN9355_BM_CFG   0x1C00

Definition at line 383 of file lan9355_driver.h.

◆ LAN9355_BM_DROP_LVL

#define LAN9355_BM_DROP_LVL   0x1C01

Definition at line 384 of file lan9355_driver.h.

◆ LAN9355_BM_DRP_CNT_SRC_0

#define LAN9355_BM_DRP_CNT_SRC_0   0x1C05

Definition at line 388 of file lan9355_driver.h.

◆ LAN9355_BM_DRP_CNT_SRC_1

#define LAN9355_BM_DRP_CNT_SRC_1   0x1C06

Definition at line 389 of file lan9355_driver.h.

◆ LAN9355_BM_DRP_CNT_SRC_2

#define LAN9355_BM_DRP_CNT_SRC_2   0x1C07

Definition at line 390 of file lan9355_driver.h.

◆ LAN9355_BM_EGRSS_PORT_TYPE

#define LAN9355_BM_EGRSS_PORT_TYPE   0x1C0C

Definition at line 395 of file lan9355_driver.h.

◆ LAN9355_BM_EGRSS_PORT_TYPE_CHANGE_PRIO_PORT0

#define LAN9355_BM_EGRSS_PORT_TYPE_CHANGE_PRIO_PORT0   0x00000008

Definition at line 1233 of file lan9355_driver.h.

◆ LAN9355_BM_EGRSS_PORT_TYPE_CHANGE_PRIO_PORT1

#define LAN9355_BM_EGRSS_PORT_TYPE_CHANGE_PRIO_PORT1   0x00000800

Definition at line 1223 of file lan9355_driver.h.

◆ LAN9355_BM_EGRSS_PORT_TYPE_CHANGE_PRIO_PORT2

#define LAN9355_BM_EGRSS_PORT_TYPE_CHANGE_PRIO_PORT2   0x00080000

Definition at line 1213 of file lan9355_driver.h.

◆ LAN9355_BM_EGRSS_PORT_TYPE_CHANGE_TAG_PORT0

#define LAN9355_BM_EGRSS_PORT_TYPE_CHANGE_TAG_PORT0   0x00000004

Definition at line 1234 of file lan9355_driver.h.

◆ LAN9355_BM_EGRSS_PORT_TYPE_CHANGE_TAG_PORT1

#define LAN9355_BM_EGRSS_PORT_TYPE_CHANGE_TAG_PORT1   0x00000400

Definition at line 1224 of file lan9355_driver.h.

◆ LAN9355_BM_EGRSS_PORT_TYPE_CHANGE_TAG_PORT2

#define LAN9355_BM_EGRSS_PORT_TYPE_CHANGE_TAG_PORT2   0x00040000

Definition at line 1214 of file lan9355_driver.h.

◆ LAN9355_BM_EGRSS_PORT_TYPE_CHANGE_VID_PORT0

#define LAN9355_BM_EGRSS_PORT_TYPE_CHANGE_VID_PORT0   0x00000010

Definition at line 1232 of file lan9355_driver.h.

◆ LAN9355_BM_EGRSS_PORT_TYPE_CHANGE_VID_PORT1

#define LAN9355_BM_EGRSS_PORT_TYPE_CHANGE_VID_PORT1   0x00001000

Definition at line 1222 of file lan9355_driver.h.

◆ LAN9355_BM_EGRSS_PORT_TYPE_CHANGE_VID_PORT2

#define LAN9355_BM_EGRSS_PORT_TYPE_CHANGE_VID_PORT2   0x00100000

Definition at line 1212 of file lan9355_driver.h.

◆ LAN9355_BM_EGRSS_PORT_TYPE_INSERT_TAG_PORT0

#define LAN9355_BM_EGRSS_PORT_TYPE_INSERT_TAG_PORT0   0x00000020

Definition at line 1231 of file lan9355_driver.h.

◆ LAN9355_BM_EGRSS_PORT_TYPE_INSERT_TAG_PORT1

#define LAN9355_BM_EGRSS_PORT_TYPE_INSERT_TAG_PORT1   0x00002000

Definition at line 1221 of file lan9355_driver.h.

◆ LAN9355_BM_EGRSS_PORT_TYPE_INSERT_TAG_PORT2

#define LAN9355_BM_EGRSS_PORT_TYPE_INSERT_TAG_PORT2   0x00200000

Definition at line 1211 of file lan9355_driver.h.

◆ LAN9355_BM_EGRSS_PORT_TYPE_PORT0_TYPE

#define LAN9355_BM_EGRSS_PORT_TYPE_PORT0_TYPE   0x00000003

Definition at line 1235 of file lan9355_driver.h.

◆ LAN9355_BM_EGRSS_PORT_TYPE_PORT0_TYPE_ACCESS

#define LAN9355_BM_EGRSS_PORT_TYPE_PORT0_TYPE_ACCESS   0x00000001

Definition at line 1237 of file lan9355_driver.h.

◆ LAN9355_BM_EGRSS_PORT_TYPE_PORT0_TYPE_CPU

#define LAN9355_BM_EGRSS_PORT_TYPE_PORT0_TYPE_CPU   0x00000003

Definition at line 1239 of file lan9355_driver.h.

◆ LAN9355_BM_EGRSS_PORT_TYPE_PORT0_TYPE_DUMB

#define LAN9355_BM_EGRSS_PORT_TYPE_PORT0_TYPE_DUMB   0x00000000

Definition at line 1236 of file lan9355_driver.h.

◆ LAN9355_BM_EGRSS_PORT_TYPE_PORT0_TYPE_HYBRID

#define LAN9355_BM_EGRSS_PORT_TYPE_PORT0_TYPE_HYBRID   0x00000002

Definition at line 1238 of file lan9355_driver.h.

◆ LAN9355_BM_EGRSS_PORT_TYPE_PORT1_TYPE

#define LAN9355_BM_EGRSS_PORT_TYPE_PORT1_TYPE   0x00000300

Definition at line 1225 of file lan9355_driver.h.

◆ LAN9355_BM_EGRSS_PORT_TYPE_PORT1_TYPE_ACCESS

#define LAN9355_BM_EGRSS_PORT_TYPE_PORT1_TYPE_ACCESS   0x00000100

Definition at line 1227 of file lan9355_driver.h.

◆ LAN9355_BM_EGRSS_PORT_TYPE_PORT1_TYPE_CPU

#define LAN9355_BM_EGRSS_PORT_TYPE_PORT1_TYPE_CPU   0x00000300

Definition at line 1229 of file lan9355_driver.h.

◆ LAN9355_BM_EGRSS_PORT_TYPE_PORT1_TYPE_DUMB

#define LAN9355_BM_EGRSS_PORT_TYPE_PORT1_TYPE_DUMB   0x00000000

Definition at line 1226 of file lan9355_driver.h.

◆ LAN9355_BM_EGRSS_PORT_TYPE_PORT1_TYPE_HYBRID

#define LAN9355_BM_EGRSS_PORT_TYPE_PORT1_TYPE_HYBRID   0x00000200

Definition at line 1228 of file lan9355_driver.h.

◆ LAN9355_BM_EGRSS_PORT_TYPE_PORT2_TYPE

#define LAN9355_BM_EGRSS_PORT_TYPE_PORT2_TYPE   0x00030000

Definition at line 1215 of file lan9355_driver.h.

◆ LAN9355_BM_EGRSS_PORT_TYPE_PORT2_TYPE_ACCESS

#define LAN9355_BM_EGRSS_PORT_TYPE_PORT2_TYPE_ACCESS   0x00010000

Definition at line 1217 of file lan9355_driver.h.

◆ LAN9355_BM_EGRSS_PORT_TYPE_PORT2_TYPE_CPU

#define LAN9355_BM_EGRSS_PORT_TYPE_PORT2_TYPE_CPU   0x00030000

Definition at line 1219 of file lan9355_driver.h.

◆ LAN9355_BM_EGRSS_PORT_TYPE_PORT2_TYPE_DUMB

#define LAN9355_BM_EGRSS_PORT_TYPE_PORT2_TYPE_DUMB   0x00000000

Definition at line 1216 of file lan9355_driver.h.

◆ LAN9355_BM_EGRSS_PORT_TYPE_PORT2_TYPE_HYBRID

#define LAN9355_BM_EGRSS_PORT_TYPE_PORT2_TYPE_HYBRID   0x00020000

Definition at line 1218 of file lan9355_driver.h.

◆ LAN9355_BM_EGRSS_PORT_TYPE_VID_SEL_PORT0

#define LAN9355_BM_EGRSS_PORT_TYPE_VID_SEL_PORT0   0x00000040

Definition at line 1230 of file lan9355_driver.h.

◆ LAN9355_BM_EGRSS_PORT_TYPE_VID_SEL_PORT1

#define LAN9355_BM_EGRSS_PORT_TYPE_VID_SEL_PORT1   0x00004000

Definition at line 1220 of file lan9355_driver.h.

◆ LAN9355_BM_EGRSS_PORT_TYPE_VID_SEL_PORT2

#define LAN9355_BM_EGRSS_PORT_TYPE_VID_SEL_PORT2   0x00400000

Definition at line 1210 of file lan9355_driver.h.

◆ LAN9355_BM_EGRSS_RATE_00_01

#define LAN9355_BM_EGRSS_RATE_00_01   0x1C0D

Definition at line 396 of file lan9355_driver.h.

◆ LAN9355_BM_EGRSS_RATE_02_03

#define LAN9355_BM_EGRSS_RATE_02_03   0x1C0E

Definition at line 397 of file lan9355_driver.h.

◆ LAN9355_BM_EGRSS_RATE_10_11

#define LAN9355_BM_EGRSS_RATE_10_11   0x1C0F

Definition at line 398 of file lan9355_driver.h.

◆ LAN9355_BM_EGRSS_RATE_12_13

#define LAN9355_BM_EGRSS_RATE_12_13   0x1C10

Definition at line 399 of file lan9355_driver.h.

◆ LAN9355_BM_EGRSS_RATE_20_21

#define LAN9355_BM_EGRSS_RATE_20_21   0x1C11

Definition at line 400 of file lan9355_driver.h.

◆ LAN9355_BM_EGRSS_RATE_22_23

#define LAN9355_BM_EGRSS_RATE_22_23   0x1C12

Definition at line 401 of file lan9355_driver.h.

◆ LAN9355_BM_FC_PAUSE_LVL

#define LAN9355_BM_FC_PAUSE_LVL   0x1C02

Definition at line 385 of file lan9355_driver.h.

◆ LAN9355_BM_FC_RESUME_LVL

#define LAN9355_BM_FC_RESUME_LVL   0x1C03

Definition at line 386 of file lan9355_driver.h.

◆ LAN9355_BM_IMR

#define LAN9355_BM_IMR   0x1C20

Definition at line 408 of file lan9355_driver.h.

◆ LAN9355_BM_IPR

#define LAN9355_BM_IPR   0x1C21

Definition at line 409 of file lan9355_driver.h.

◆ LAN9355_BM_RATE_DRP_CNT_SRC_0

#define LAN9355_BM_RATE_DRP_CNT_SRC_0   0x1C16

Definition at line 405 of file lan9355_driver.h.

◆ LAN9355_BM_RATE_DRP_CNT_SRC_1

#define LAN9355_BM_RATE_DRP_CNT_SRC_1   0x1C17

Definition at line 406 of file lan9355_driver.h.

◆ LAN9355_BM_RATE_DRP_CNT_SRC_2

#define LAN9355_BM_RATE_DRP_CNT_SRC_2   0x1C18

Definition at line 407 of file lan9355_driver.h.

◆ LAN9355_BM_RNDM_DSCRD_TBL_CMD

#define LAN9355_BM_RNDM_DSCRD_TBL_CMD   0x1C09

Definition at line 392 of file lan9355_driver.h.

◆ LAN9355_BM_RNDM_DSCRD_TBL_RDATA

#define LAN9355_BM_RNDM_DSCRD_TBL_RDATA   0x1C0B

Definition at line 394 of file lan9355_driver.h.

◆ LAN9355_BM_RNDM_DSCRD_TBL_WDATA

#define LAN9355_BM_RNDM_DSCRD_TBL_WDATA   0x1C0A

Definition at line 393 of file lan9355_driver.h.

◆ LAN9355_BM_RST_STS

#define LAN9355_BM_RST_STS   0x1C08

Definition at line 391 of file lan9355_driver.h.

◆ LAN9355_BM_VLAN_0

#define LAN9355_BM_VLAN_0   0x1C13

Definition at line 402 of file lan9355_driver.h.

◆ LAN9355_BM_VLAN_1

#define LAN9355_BM_VLAN_1   0x1C14

Definition at line 403 of file lan9355_driver.h.

◆ LAN9355_BM_VLAN_2

#define LAN9355_BM_VLAN_2   0x1C15

Definition at line 404 of file lan9355_driver.h.

◆ LAN9355_BMCR

#define LAN9355_BMCR   0x00

Definition at line 74 of file lan9355_driver.h.

◆ LAN9355_BMCR_AN_EN

#define LAN9355_BMCR_AN_EN   0x1000

Definition at line 467 of file lan9355_driver.h.

◆ LAN9355_BMCR_COL_TEST

#define LAN9355_BMCR_COL_TEST   0x0080

Definition at line 471 of file lan9355_driver.h.

◆ LAN9355_BMCR_DUPLEX_MODE

#define LAN9355_BMCR_DUPLEX_MODE   0x0100

Definition at line 470 of file lan9355_driver.h.

◆ LAN9355_BMCR_LOOPBACK

#define LAN9355_BMCR_LOOPBACK   0x4000

Definition at line 465 of file lan9355_driver.h.

◆ LAN9355_BMCR_POWER_DOWN

#define LAN9355_BMCR_POWER_DOWN   0x0800

Definition at line 468 of file lan9355_driver.h.

◆ LAN9355_BMCR_RESET

#define LAN9355_BMCR_RESET   0x8000

Definition at line 464 of file lan9355_driver.h.

◆ LAN9355_BMCR_RESTART_AN

#define LAN9355_BMCR_RESTART_AN   0x0200

Definition at line 469 of file lan9355_driver.h.

◆ LAN9355_BMCR_SPEED_SEL

#define LAN9355_BMCR_SPEED_SEL   0x2000

Definition at line 466 of file lan9355_driver.h.

◆ LAN9355_BMSR

#define LAN9355_BMSR   0x01

Definition at line 75 of file lan9355_driver.h.

◆ LAN9355_BMSR_100BT2_FD

#define LAN9355_BMSR_100BT2_FD   0x0400

Definition at line 479 of file lan9355_driver.h.

◆ LAN9355_BMSR_100BT2_HD

#define LAN9355_BMSR_100BT2_HD   0x0200

Definition at line 480 of file lan9355_driver.h.

◆ LAN9355_BMSR_100BT4

#define LAN9355_BMSR_100BT4   0x8000

Definition at line 474 of file lan9355_driver.h.

◆ LAN9355_BMSR_100BTX_FD

#define LAN9355_BMSR_100BTX_FD   0x4000

Definition at line 475 of file lan9355_driver.h.

◆ LAN9355_BMSR_100BTX_HD

#define LAN9355_BMSR_100BTX_HD   0x2000

Definition at line 476 of file lan9355_driver.h.

◆ LAN9355_BMSR_10BT_FD

#define LAN9355_BMSR_10BT_FD   0x1000

Definition at line 477 of file lan9355_driver.h.

◆ LAN9355_BMSR_10BT_HD

#define LAN9355_BMSR_10BT_HD   0x0800

Definition at line 478 of file lan9355_driver.h.

◆ LAN9355_BMSR_AN_CAPABLE

#define LAN9355_BMSR_AN_CAPABLE   0x0008

Definition at line 486 of file lan9355_driver.h.

◆ LAN9355_BMSR_AN_COMPLETE

#define LAN9355_BMSR_AN_COMPLETE   0x0020

Definition at line 484 of file lan9355_driver.h.

◆ LAN9355_BMSR_EXTENDED_CAPABLE

#define LAN9355_BMSR_EXTENDED_CAPABLE   0x0001

Definition at line 489 of file lan9355_driver.h.

◆ LAN9355_BMSR_EXTENDED_STATUS

#define LAN9355_BMSR_EXTENDED_STATUS   0x0100

Definition at line 481 of file lan9355_driver.h.

◆ LAN9355_BMSR_JABBER_DETECT

#define LAN9355_BMSR_JABBER_DETECT   0x0002

Definition at line 488 of file lan9355_driver.h.

◆ LAN9355_BMSR_LINK_STATUS

#define LAN9355_BMSR_LINK_STATUS   0x0004

Definition at line 487 of file lan9355_driver.h.

◆ LAN9355_BMSR_MF_PREAMBLE_SUPPR

#define LAN9355_BMSR_MF_PREAMBLE_SUPPR   0x0040

Definition at line 483 of file lan9355_driver.h.

◆ LAN9355_BMSR_REMOTE_FAULT

#define LAN9355_BMSR_REMOTE_FAULT   0x0010

Definition at line 485 of file lan9355_driver.h.

◆ LAN9355_BMSR_UNIDIRECTIONAL_ABLE

#define LAN9355_BMSR_UNIDIRECTIONAL_ABLE   0x0080

Definition at line 482 of file lan9355_driver.h.

◆ LAN9355_BYTE_TEST

#define LAN9355_BYTE_TEST   0x0064

Definition at line 93 of file lan9355_driver.h.

◆ LAN9355_BYTE_TEST_DEFAULT

#define LAN9355_BYTE_TEST_DEFAULT   0x87654321

Definition at line 619 of file lan9355_driver.h.

◆ LAN9355_E2P_CMD

#define LAN9355_E2P_CMD   0x01B4

Definition at line 168 of file lan9355_driver.h.

◆ LAN9355_E2P_CMD_CFG_LOADED

#define LAN9355_E2P_CMD_CFG_LOADED   0x00010000

Definition at line 784 of file lan9355_driver.h.

◆ LAN9355_E2P_CMD_EPC_ADDR

#define LAN9355_E2P_CMD_EPC_ADDR   0x0000FFFF

Definition at line 785 of file lan9355_driver.h.

◆ LAN9355_E2P_CMD_EPC_BUSY

#define LAN9355_E2P_CMD_EPC_BUSY   0x80000000

Definition at line 777 of file lan9355_driver.h.

◆ LAN9355_E2P_CMD_EPC_COMMAND

#define LAN9355_E2P_CMD_EPC_COMMAND   0x70000000

Definition at line 778 of file lan9355_driver.h.

◆ LAN9355_E2P_CMD_EPC_COMMAND_READ

#define LAN9355_E2P_CMD_EPC_COMMAND_READ   0x00000000

Definition at line 779 of file lan9355_driver.h.

◆ LAN9355_E2P_CMD_EPC_COMMAND_RELOAD

#define LAN9355_E2P_CMD_EPC_COMMAND_RELOAD   0x70000000

Definition at line 781 of file lan9355_driver.h.

◆ LAN9355_E2P_CMD_EPC_COMMAND_WRITE

#define LAN9355_E2P_CMD_EPC_COMMAND_WRITE   0x30000000

Definition at line 780 of file lan9355_driver.h.

◆ LAN9355_E2P_CMD_EPC_TIMEOUT

#define LAN9355_E2P_CMD_EPC_TIMEOUT   0x00020000

Definition at line 783 of file lan9355_driver.h.

◆ LAN9355_E2P_CMD_LOADER_OVERFLOW

#define LAN9355_E2P_CMD_LOADER_OVERFLOW   0x00040000

Definition at line 782 of file lan9355_driver.h.

◆ LAN9355_E2P_DATA

#define LAN9355_E2P_DATA   0x01B8

Definition at line 169 of file lan9355_driver.h.

◆ LAN9355_E2P_DATA_EEPROM_DATA

#define LAN9355_E2P_DATA_EEPROM_DATA   0x000000FF

Definition at line 788 of file lan9355_driver.h.

◆ LAN9355_EEE_TW_TX_SYS

#define LAN9355_EEE_TW_TX_SYS (   port)    (0x0442 + ((port) * 0x0400))

Definition at line 438 of file lan9355_driver.h.

◆ LAN9355_EEE_TW_TX_SYS_0

#define LAN9355_EEE_TW_TX_SYS_0   0x0442

Definition at line 218 of file lan9355_driver.h.

◆ LAN9355_EEE_TW_TX_SYS_1

#define LAN9355_EEE_TW_TX_SYS_1   0x0842

Definition at line 268 of file lan9355_driver.h.

◆ LAN9355_EEE_TW_TX_SYS_2

#define LAN9355_EEE_TW_TX_SYS_2   0x0C42

Definition at line 318 of file lan9355_driver.h.

◆ LAN9355_EEE_TX_LPI_REQ_DELAY

#define LAN9355_EEE_TX_LPI_REQ_DELAY (   port)    (0x0443 + ((port) * 0x0400))

Definition at line 439 of file lan9355_driver.h.

◆ LAN9355_EEE_TX_LPI_REQ_DELAY_0

#define LAN9355_EEE_TX_LPI_REQ_DELAY_0   0x0443

Definition at line 219 of file lan9355_driver.h.

◆ LAN9355_EEE_TX_LPI_REQ_DELAY_1

#define LAN9355_EEE_TX_LPI_REQ_DELAY_1   0x0843

Definition at line 269 of file lan9355_driver.h.

◆ LAN9355_EEE_TX_LPI_REQ_DELAY_2

#define LAN9355_EEE_TX_LPI_REQ_DELAY_2   0x0C43

Definition at line 319 of file lan9355_driver.h.

◆ LAN9355_FREE_RUN

#define LAN9355_FREE_RUN   0x009C

Definition at line 98 of file lan9355_driver.h.

◆ LAN9355_FREE_RUN_FR_CNT

#define LAN9355_FREE_RUN_FR_CNT   0xFFFFFFFF

Definition at line 634 of file lan9355_driver.h.

◆ LAN9355_GPIO_CFG

#define LAN9355_GPIO_CFG   0x01E0

Definition at line 179 of file lan9355_driver.h.

◆ LAN9355_GPIO_CFG_1588_GPIO_OE

#define LAN9355_GPIO_CFG_1588_GPIO_OE   0x0000FF00

Definition at line 918 of file lan9355_driver.h.

◆ LAN9355_GPIO_CFG_1588_GPIO_OE_0

#define LAN9355_GPIO_CFG_1588_GPIO_OE_0   0x00000100

Definition at line 919 of file lan9355_driver.h.

◆ LAN9355_GPIO_CFG_1588_GPIO_OE_1

#define LAN9355_GPIO_CFG_1588_GPIO_OE_1   0x00000200

Definition at line 920 of file lan9355_driver.h.

◆ LAN9355_GPIO_CFG_1588_GPIO_OE_2

#define LAN9355_GPIO_CFG_1588_GPIO_OE_2   0x00000400

Definition at line 921 of file lan9355_driver.h.

◆ LAN9355_GPIO_CFG_1588_GPIO_OE_3

#define LAN9355_GPIO_CFG_1588_GPIO_OE_3   0x00000800

Definition at line 922 of file lan9355_driver.h.

◆ LAN9355_GPIO_CFG_1588_GPIO_OE_4

#define LAN9355_GPIO_CFG_1588_GPIO_OE_4   0x00001000

Definition at line 923 of file lan9355_driver.h.

◆ LAN9355_GPIO_CFG_1588_GPIO_OE_5

#define LAN9355_GPIO_CFG_1588_GPIO_OE_5   0x00002000

Definition at line 924 of file lan9355_driver.h.

◆ LAN9355_GPIO_CFG_1588_GPIO_OE_6

#define LAN9355_GPIO_CFG_1588_GPIO_OE_6   0x00004000

Definition at line 925 of file lan9355_driver.h.

◆ LAN9355_GPIO_CFG_1588_GPIO_OE_7

#define LAN9355_GPIO_CFG_1588_GPIO_OE_7   0x00008000

Definition at line 926 of file lan9355_driver.h.

◆ LAN9355_GPIO_CFG_GPIO_CH_SEL

#define LAN9355_GPIO_CFG_GPIO_CH_SEL   0xFF000000

Definition at line 900 of file lan9355_driver.h.

◆ LAN9355_GPIO_CFG_GPIO_CH_SEL_0

#define LAN9355_GPIO_CFG_GPIO_CH_SEL_0   0x01000000

Definition at line 901 of file lan9355_driver.h.

◆ LAN9355_GPIO_CFG_GPIO_CH_SEL_1

#define LAN9355_GPIO_CFG_GPIO_CH_SEL_1   0x02000000

Definition at line 902 of file lan9355_driver.h.

◆ LAN9355_GPIO_CFG_GPIO_CH_SEL_2

#define LAN9355_GPIO_CFG_GPIO_CH_SEL_2   0x04000000

Definition at line 903 of file lan9355_driver.h.

◆ LAN9355_GPIO_CFG_GPIO_CH_SEL_3

#define LAN9355_GPIO_CFG_GPIO_CH_SEL_3   0x08000000

Definition at line 904 of file lan9355_driver.h.

◆ LAN9355_GPIO_CFG_GPIO_CH_SEL_4

#define LAN9355_GPIO_CFG_GPIO_CH_SEL_4   0x10000000

Definition at line 905 of file lan9355_driver.h.

◆ LAN9355_GPIO_CFG_GPIO_CH_SEL_5

#define LAN9355_GPIO_CFG_GPIO_CH_SEL_5   0x20000000

Definition at line 906 of file lan9355_driver.h.

◆ LAN9355_GPIO_CFG_GPIO_CH_SEL_6

#define LAN9355_GPIO_CFG_GPIO_CH_SEL_6   0x40000000

Definition at line 907 of file lan9355_driver.h.

◆ LAN9355_GPIO_CFG_GPIO_CH_SEL_7

#define LAN9355_GPIO_CFG_GPIO_CH_SEL_7   0x80000000

Definition at line 908 of file lan9355_driver.h.

◆ LAN9355_GPIO_CFG_GPIO_INT_POL

#define LAN9355_GPIO_CFG_GPIO_INT_POL   0x00FF0000

Definition at line 909 of file lan9355_driver.h.

◆ LAN9355_GPIO_CFG_GPIO_INT_POL_0

#define LAN9355_GPIO_CFG_GPIO_INT_POL_0   0x00010000

Definition at line 910 of file lan9355_driver.h.

◆ LAN9355_GPIO_CFG_GPIO_INT_POL_1

#define LAN9355_GPIO_CFG_GPIO_INT_POL_1   0x00020000

Definition at line 911 of file lan9355_driver.h.

◆ LAN9355_GPIO_CFG_GPIO_INT_POL_2

#define LAN9355_GPIO_CFG_GPIO_INT_POL_2   0x00040000

Definition at line 912 of file lan9355_driver.h.

◆ LAN9355_GPIO_CFG_GPIO_INT_POL_3

#define LAN9355_GPIO_CFG_GPIO_INT_POL_3   0x00080000

Definition at line 913 of file lan9355_driver.h.

◆ LAN9355_GPIO_CFG_GPIO_INT_POL_4

#define LAN9355_GPIO_CFG_GPIO_INT_POL_4   0x00100000

Definition at line 914 of file lan9355_driver.h.

◆ LAN9355_GPIO_CFG_GPIO_INT_POL_5

#define LAN9355_GPIO_CFG_GPIO_INT_POL_5   0x00200000

Definition at line 915 of file lan9355_driver.h.

◆ LAN9355_GPIO_CFG_GPIO_INT_POL_6

#define LAN9355_GPIO_CFG_GPIO_INT_POL_6   0x00400000

Definition at line 916 of file lan9355_driver.h.

◆ LAN9355_GPIO_CFG_GPIO_INT_POL_7

#define LAN9355_GPIO_CFG_GPIO_INT_POL_7   0x00800000

Definition at line 917 of file lan9355_driver.h.

◆ LAN9355_GPIO_CFG_GPIOBUF

#define LAN9355_GPIO_CFG_GPIOBUF   0x000000FF

Definition at line 927 of file lan9355_driver.h.

◆ LAN9355_GPIO_CFG_GPIOBUF_0

#define LAN9355_GPIO_CFG_GPIOBUF_0   0x00000001

Definition at line 928 of file lan9355_driver.h.

◆ LAN9355_GPIO_CFG_GPIOBUF_1

#define LAN9355_GPIO_CFG_GPIOBUF_1   0x00000002

Definition at line 929 of file lan9355_driver.h.

◆ LAN9355_GPIO_CFG_GPIOBUF_2

#define LAN9355_GPIO_CFG_GPIOBUF_2   0x00000004

Definition at line 930 of file lan9355_driver.h.

◆ LAN9355_GPIO_CFG_GPIOBUF_3

#define LAN9355_GPIO_CFG_GPIOBUF_3   0x00000008

Definition at line 931 of file lan9355_driver.h.

◆ LAN9355_GPIO_CFG_GPIOBUF_4

#define LAN9355_GPIO_CFG_GPIOBUF_4   0x00000010

Definition at line 932 of file lan9355_driver.h.

◆ LAN9355_GPIO_CFG_GPIOBUF_5

#define LAN9355_GPIO_CFG_GPIOBUF_5   0x00000020

Definition at line 933 of file lan9355_driver.h.

◆ LAN9355_GPIO_CFG_GPIOBUF_6

#define LAN9355_GPIO_CFG_GPIOBUF_6   0x00000040

Definition at line 934 of file lan9355_driver.h.

◆ LAN9355_GPIO_CFG_GPIOBUF_7

#define LAN9355_GPIO_CFG_GPIOBUF_7   0x00000080

Definition at line 935 of file lan9355_driver.h.

◆ LAN9355_GPIO_DATA_DIR

#define LAN9355_GPIO_DATA_DIR   0x01E4

Definition at line 180 of file lan9355_driver.h.

◆ LAN9355_GPIO_DATA_DIR_GPDIR

#define LAN9355_GPIO_DATA_DIR_GPDIR   0x00FF0000

Definition at line 938 of file lan9355_driver.h.

◆ LAN9355_GPIO_DATA_DIR_GPDIR_0

#define LAN9355_GPIO_DATA_DIR_GPDIR_0   0x00010000

Definition at line 939 of file lan9355_driver.h.

◆ LAN9355_GPIO_DATA_DIR_GPDIR_1

#define LAN9355_GPIO_DATA_DIR_GPDIR_1   0x00020000

Definition at line 940 of file lan9355_driver.h.

◆ LAN9355_GPIO_DATA_DIR_GPDIR_2

#define LAN9355_GPIO_DATA_DIR_GPDIR_2   0x00040000

Definition at line 941 of file lan9355_driver.h.

◆ LAN9355_GPIO_DATA_DIR_GPDIR_3

#define LAN9355_GPIO_DATA_DIR_GPDIR_3   0x00080000

Definition at line 942 of file lan9355_driver.h.

◆ LAN9355_GPIO_DATA_DIR_GPDIR_4

#define LAN9355_GPIO_DATA_DIR_GPDIR_4   0x00100000

Definition at line 943 of file lan9355_driver.h.

◆ LAN9355_GPIO_DATA_DIR_GPDIR_5

#define LAN9355_GPIO_DATA_DIR_GPDIR_5   0x00200000

Definition at line 944 of file lan9355_driver.h.

◆ LAN9355_GPIO_DATA_DIR_GPDIR_6

#define LAN9355_GPIO_DATA_DIR_GPDIR_6   0x00400000

Definition at line 945 of file lan9355_driver.h.

◆ LAN9355_GPIO_DATA_DIR_GPDIR_7

#define LAN9355_GPIO_DATA_DIR_GPDIR_7   0x00800000

Definition at line 946 of file lan9355_driver.h.

◆ LAN9355_GPIO_DATA_DIR_GPIOD

#define LAN9355_GPIO_DATA_DIR_GPIOD   0x000000FF

Definition at line 947 of file lan9355_driver.h.

◆ LAN9355_GPIO_DATA_DIR_GPIOD_0

#define LAN9355_GPIO_DATA_DIR_GPIOD_0   0x00000001

Definition at line 948 of file lan9355_driver.h.

◆ LAN9355_GPIO_DATA_DIR_GPIOD_1

#define LAN9355_GPIO_DATA_DIR_GPIOD_1   0x00000002

Definition at line 949 of file lan9355_driver.h.

◆ LAN9355_GPIO_DATA_DIR_GPIOD_2

#define LAN9355_GPIO_DATA_DIR_GPIOD_2   0x00000004

Definition at line 950 of file lan9355_driver.h.

◆ LAN9355_GPIO_DATA_DIR_GPIOD_3

#define LAN9355_GPIO_DATA_DIR_GPIOD_3   0x00000008

Definition at line 951 of file lan9355_driver.h.

◆ LAN9355_GPIO_DATA_DIR_GPIOD_4

#define LAN9355_GPIO_DATA_DIR_GPIOD_4   0x00000010

Definition at line 952 of file lan9355_driver.h.

◆ LAN9355_GPIO_DATA_DIR_GPIOD_5

#define LAN9355_GPIO_DATA_DIR_GPIOD_5   0x00000020

Definition at line 953 of file lan9355_driver.h.

◆ LAN9355_GPIO_DATA_DIR_GPIOD_6

#define LAN9355_GPIO_DATA_DIR_GPIOD_6   0x00000040

Definition at line 954 of file lan9355_driver.h.

◆ LAN9355_GPIO_DATA_DIR_GPIOD_7

#define LAN9355_GPIO_DATA_DIR_GPIOD_7   0x00000080

Definition at line 955 of file lan9355_driver.h.

◆ LAN9355_GPIO_INT_STS_EN

#define LAN9355_GPIO_INT_STS_EN   0x01E8

Definition at line 181 of file lan9355_driver.h.

◆ LAN9355_GPIO_INT_STS_EN_GPIO_INT

#define LAN9355_GPIO_INT_STS_EN_GPIO_INT   0x000000FF

Definition at line 967 of file lan9355_driver.h.

◆ LAN9355_GPIO_INT_STS_EN_GPIO_INT_0

#define LAN9355_GPIO_INT_STS_EN_GPIO_INT_0   0x00000001

Definition at line 968 of file lan9355_driver.h.

◆ LAN9355_GPIO_INT_STS_EN_GPIO_INT_1

#define LAN9355_GPIO_INT_STS_EN_GPIO_INT_1   0x00000002

Definition at line 969 of file lan9355_driver.h.

◆ LAN9355_GPIO_INT_STS_EN_GPIO_INT_2

#define LAN9355_GPIO_INT_STS_EN_GPIO_INT_2   0x00000004

Definition at line 970 of file lan9355_driver.h.

◆ LAN9355_GPIO_INT_STS_EN_GPIO_INT_3

#define LAN9355_GPIO_INT_STS_EN_GPIO_INT_3   0x00000008

Definition at line 971 of file lan9355_driver.h.

◆ LAN9355_GPIO_INT_STS_EN_GPIO_INT_4

#define LAN9355_GPIO_INT_STS_EN_GPIO_INT_4   0x00000010

Definition at line 972 of file lan9355_driver.h.

◆ LAN9355_GPIO_INT_STS_EN_GPIO_INT_5

#define LAN9355_GPIO_INT_STS_EN_GPIO_INT_5   0x00000020

Definition at line 973 of file lan9355_driver.h.

◆ LAN9355_GPIO_INT_STS_EN_GPIO_INT_6

#define LAN9355_GPIO_INT_STS_EN_GPIO_INT_6   0x00000040

Definition at line 974 of file lan9355_driver.h.

◆ LAN9355_GPIO_INT_STS_EN_GPIO_INT_7

#define LAN9355_GPIO_INT_STS_EN_GPIO_INT_7   0x00000080

Definition at line 975 of file lan9355_driver.h.

◆ LAN9355_GPIO_INT_STS_EN_GPIO_INT_EN

#define LAN9355_GPIO_INT_STS_EN_GPIO_INT_EN   0x00FF0000

Definition at line 958 of file lan9355_driver.h.

◆ LAN9355_GPIO_INT_STS_EN_GPIO_INT_EN_0

#define LAN9355_GPIO_INT_STS_EN_GPIO_INT_EN_0   0x00010000

Definition at line 959 of file lan9355_driver.h.

◆ LAN9355_GPIO_INT_STS_EN_GPIO_INT_EN_1

#define LAN9355_GPIO_INT_STS_EN_GPIO_INT_EN_1   0x00020000

Definition at line 960 of file lan9355_driver.h.

◆ LAN9355_GPIO_INT_STS_EN_GPIO_INT_EN_2

#define LAN9355_GPIO_INT_STS_EN_GPIO_INT_EN_2   0x00040000

Definition at line 961 of file lan9355_driver.h.

◆ LAN9355_GPIO_INT_STS_EN_GPIO_INT_EN_3

#define LAN9355_GPIO_INT_STS_EN_GPIO_INT_EN_3   0x00080000

Definition at line 962 of file lan9355_driver.h.

◆ LAN9355_GPIO_INT_STS_EN_GPIO_INT_EN_4

#define LAN9355_GPIO_INT_STS_EN_GPIO_INT_EN_4   0x00100000

Definition at line 963 of file lan9355_driver.h.

◆ LAN9355_GPIO_INT_STS_EN_GPIO_INT_EN_5

#define LAN9355_GPIO_INT_STS_EN_GPIO_INT_EN_5   0x00200000

Definition at line 964 of file lan9355_driver.h.

◆ LAN9355_GPIO_INT_STS_EN_GPIO_INT_EN_6

#define LAN9355_GPIO_INT_STS_EN_GPIO_INT_EN_6   0x00400000

Definition at line 965 of file lan9355_driver.h.

◆ LAN9355_GPIO_INT_STS_EN_GPIO_INT_EN_7

#define LAN9355_GPIO_INT_STS_EN_GPIO_INT_EN_7   0x00800000

Definition at line 966 of file lan9355_driver.h.

◆ LAN9355_GPT_CFG

#define LAN9355_GPT_CFG   0x008C

Definition at line 96 of file lan9355_driver.h.

◆ LAN9355_GPT_CFG_GPT_LOAD

#define LAN9355_GPT_CFG_GPT_LOAD   0x0000FFFF

Definition at line 628 of file lan9355_driver.h.

◆ LAN9355_GPT_CFG_TIMER_EN

#define LAN9355_GPT_CFG_TIMER_EN   0x20000000

Definition at line 627 of file lan9355_driver.h.

◆ LAN9355_GPT_CNT

#define LAN9355_GPT_CNT   0x0090

Definition at line 97 of file lan9355_driver.h.

◆ LAN9355_GPT_CNT_GPT_CNT

#define LAN9355_GPT_CNT_GPT_CNT   0x0000FFFF

Definition at line 631 of file lan9355_driver.h.

◆ LAN9355_HW_CFG

#define LAN9355_HW_CFG   0x0074

Definition at line 94 of file lan9355_driver.h.

◆ LAN9355_HW_CFG_AMDIX_EN_STRAP_STATE_PORT_A

#define LAN9355_HW_CFG_AMDIX_EN_STRAP_STATE_PORT_A   0x02000000

Definition at line 624 of file lan9355_driver.h.

◆ LAN9355_HW_CFG_AMDIX_EN_STRAP_STATE_PORT_B

#define LAN9355_HW_CFG_AMDIX_EN_STRAP_STATE_PORT_B   0x04000000

Definition at line 623 of file lan9355_driver.h.

◆ LAN9355_HW_CFG_DEVICE_READY

#define LAN9355_HW_CFG_DEVICE_READY   0x08000000

Definition at line 622 of file lan9355_driver.h.

◆ LAN9355_ID_REV

#define LAN9355_ID_REV   0x0050

Definition at line 89 of file lan9355_driver.h.

◆ LAN9355_ID_REV_CHIP_ID

#define LAN9355_ID_REV_CHIP_ID   0xFFFF0000

Definition at line 583 of file lan9355_driver.h.

◆ LAN9355_ID_REV_CHIP_ID_DEFAULT

#define LAN9355_ID_REV_CHIP_ID_DEFAULT   0x93550000

Definition at line 584 of file lan9355_driver.h.

◆ LAN9355_ID_REV_CHIP_REV

#define LAN9355_ID_REV_CHIP_REV   0x0000FFFF

Definition at line 585 of file lan9355_driver.h.

◆ LAN9355_INT_EN

#define LAN9355_INT_EN   0x005C

Definition at line 92 of file lan9355_driver.h.

◆ LAN9355_INT_EN_1588_EVNT_EN

#define LAN9355_INT_EN_1588_EVNT_EN   0x20000000

Definition at line 611 of file lan9355_driver.h.

◆ LAN9355_INT_EN_GPIO_EN

#define LAN9355_INT_EN_GPIO_EN   0x00001000

Definition at line 616 of file lan9355_driver.h.

◆ LAN9355_INT_EN_GPT_INT_EN

#define LAN9355_INT_EN_GPT_INT_EN   0x00080000

Definition at line 615 of file lan9355_driver.h.

◆ LAN9355_INT_EN_PHY_INT_A_EN

#define LAN9355_INT_EN_PHY_INT_A_EN   0x04000000

Definition at line 614 of file lan9355_driver.h.

◆ LAN9355_INT_EN_PHY_INT_B_EN

#define LAN9355_INT_EN_PHY_INT_B_EN   0x08000000

Definition at line 613 of file lan9355_driver.h.

◆ LAN9355_INT_EN_READY_EN

#define LAN9355_INT_EN_READY_EN   0x40000000

Definition at line 610 of file lan9355_driver.h.

◆ LAN9355_INT_EN_SW_INT_EN

#define LAN9355_INT_EN_SW_INT_EN   0x80000000

Definition at line 609 of file lan9355_driver.h.

◆ LAN9355_INT_EN_SWITCH_INT_EN

#define LAN9355_INT_EN_SWITCH_INT_EN   0x10000000

Definition at line 612 of file lan9355_driver.h.

◆ LAN9355_INT_STS

#define LAN9355_INT_STS   0x0058

Definition at line 91 of file lan9355_driver.h.

◆ LAN9355_INT_STS_1588_EVNT

#define LAN9355_INT_STS_1588_EVNT   0x20000000

Definition at line 600 of file lan9355_driver.h.

◆ LAN9355_INT_STS_GPIO

#define LAN9355_INT_STS_GPIO   0x00001000

Definition at line 606 of file lan9355_driver.h.

◆ LAN9355_INT_STS_GPT_INT

#define LAN9355_INT_STS_GPT_INT   0x00080000

Definition at line 604 of file lan9355_driver.h.

◆ LAN9355_INT_STS_PHY_INT_A

#define LAN9355_INT_STS_PHY_INT_A   0x04000000

Definition at line 603 of file lan9355_driver.h.

◆ LAN9355_INT_STS_PHY_INT_B

#define LAN9355_INT_STS_PHY_INT_B   0x08000000

Definition at line 602 of file lan9355_driver.h.

◆ LAN9355_INT_STS_PME_INT

#define LAN9355_INT_STS_PME_INT   0x00020000

Definition at line 605 of file lan9355_driver.h.

◆ LAN9355_INT_STS_READY

#define LAN9355_INT_STS_READY   0x40000000

Definition at line 599 of file lan9355_driver.h.

◆ LAN9355_INT_STS_SW_INT

#define LAN9355_INT_STS_SW_INT   0x80000000

Definition at line 598 of file lan9355_driver.h.

◆ LAN9355_INT_STS_SWITCH_INT

#define LAN9355_INT_STS_SWITCH_INT   0x10000000

Definition at line 601 of file lan9355_driver.h.

◆ LAN9355_IRQ_CFG

#define LAN9355_IRQ_CFG   0x0054

Definition at line 90 of file lan9355_driver.h.

◆ LAN9355_IRQ_CFG_INT_DEAS

#define LAN9355_IRQ_CFG_INT_DEAS   0xFF000000

Definition at line 588 of file lan9355_driver.h.

◆ LAN9355_IRQ_CFG_INT_DEAS_CLR

#define LAN9355_IRQ_CFG_INT_DEAS_CLR   0x00004000

Definition at line 589 of file lan9355_driver.h.

◆ LAN9355_IRQ_CFG_INT_DEAS_STS

#define LAN9355_IRQ_CFG_INT_DEAS_STS   0x00002000

Definition at line 590 of file lan9355_driver.h.

◆ LAN9355_IRQ_CFG_IRQ_CLK_SELECT

#define LAN9355_IRQ_CFG_IRQ_CLK_SELECT   0x00000002

Definition at line 594 of file lan9355_driver.h.

◆ LAN9355_IRQ_CFG_IRQ_EN

#define LAN9355_IRQ_CFG_IRQ_EN   0x00000100

Definition at line 592 of file lan9355_driver.h.

◆ LAN9355_IRQ_CFG_IRQ_INT

#define LAN9355_IRQ_CFG_IRQ_INT   0x00001000

Definition at line 591 of file lan9355_driver.h.

◆ LAN9355_IRQ_CFG_IRQ_POL

#define LAN9355_IRQ_CFG_IRQ_POL   0x00000010

Definition at line 593 of file lan9355_driver.h.

◆ LAN9355_IRQ_CFG_IRQ_TYPE

#define LAN9355_IRQ_CFG_IRQ_TYPE   0x00000001

Definition at line 595 of file lan9355_driver.h.

◆ LAN9355_LED_CFG

#define LAN9355_LED_CFG   0x01BC

Definition at line 170 of file lan9355_driver.h.

◆ LAN9355_LED_CFG_LED_EN

#define LAN9355_LED_CFG_LED_EN   0x0000003F

Definition at line 800 of file lan9355_driver.h.

◆ LAN9355_LED_CFG_LED_EN_0

#define LAN9355_LED_CFG_LED_EN_0   0x00000001

Definition at line 801 of file lan9355_driver.h.

◆ LAN9355_LED_CFG_LED_EN_1

#define LAN9355_LED_CFG_LED_EN_1   0x00000002

Definition at line 802 of file lan9355_driver.h.

◆ LAN9355_LED_CFG_LED_EN_2

#define LAN9355_LED_CFG_LED_EN_2   0x00000004

Definition at line 803 of file lan9355_driver.h.

◆ LAN9355_LED_CFG_LED_EN_3

#define LAN9355_LED_CFG_LED_EN_3   0x00000008

Definition at line 804 of file lan9355_driver.h.

◆ LAN9355_LED_CFG_LED_EN_4

#define LAN9355_LED_CFG_LED_EN_4   0x00000010

Definition at line 805 of file lan9355_driver.h.

◆ LAN9355_LED_CFG_LED_EN_5

#define LAN9355_LED_CFG_LED_EN_5   0x00000020

Definition at line 806 of file lan9355_driver.h.

◆ LAN9355_LED_CFG_LED_FUN

#define LAN9355_LED_CFG_LED_FUN   0x00000700

Definition at line 791 of file lan9355_driver.h.

◆ LAN9355_LED_CFG_LED_FUN_0

#define LAN9355_LED_CFG_LED_FUN_0   0x00000000

Definition at line 792 of file lan9355_driver.h.

◆ LAN9355_LED_CFG_LED_FUN_1

#define LAN9355_LED_CFG_LED_FUN_1   0x00000100

Definition at line 793 of file lan9355_driver.h.

◆ LAN9355_LED_CFG_LED_FUN_2

#define LAN9355_LED_CFG_LED_FUN_2   0x00000200

Definition at line 794 of file lan9355_driver.h.

◆ LAN9355_LED_CFG_LED_FUN_3

#define LAN9355_LED_CFG_LED_FUN_3   0x00000300

Definition at line 795 of file lan9355_driver.h.

◆ LAN9355_LED_CFG_LED_FUN_4

#define LAN9355_LED_CFG_LED_FUN_4   0x00000400

Definition at line 796 of file lan9355_driver.h.

◆ LAN9355_LED_CFG_LED_FUN_5

#define LAN9355_LED_CFG_LED_FUN_5   0x00000500

Definition at line 797 of file lan9355_driver.h.

◆ LAN9355_LED_CFG_LED_FUN_7

#define LAN9355_LED_CFG_LED_FUN_7   0x00000700

Definition at line 799 of file lan9355_driver.h.

◆ LAN9355_LED_CFG_LED_FUN_RESERVED

#define LAN9355_LED_CFG_LED_FUN_RESERVED   0x00000600

Definition at line 798 of file lan9355_driver.h.

◆ LAN9355_MAC_IMR

#define LAN9355_MAC_IMR (   port)    (0x0480 + ((port) * 0x0400))

Definition at line 460 of file lan9355_driver.h.

◆ LAN9355_MAC_IMR_0

#define LAN9355_MAC_IMR_0   0x0480

Definition at line 240 of file lan9355_driver.h.

◆ LAN9355_MAC_IMR_1

#define LAN9355_MAC_IMR_1   0x0880

Definition at line 290 of file lan9355_driver.h.

◆ LAN9355_MAC_IMR_2

#define LAN9355_MAC_IMR_2   0x0C80

Definition at line 340 of file lan9355_driver.h.

◆ LAN9355_MAC_IPR

#define LAN9355_MAC_IPR (   port)    (0x0481 + ((port) * 0x0400))

Definition at line 461 of file lan9355_driver.h.

◆ LAN9355_MAC_IPR_0

#define LAN9355_MAC_IPR_0   0x0481

Definition at line 241 of file lan9355_driver.h.

◆ LAN9355_MAC_IPR_1

#define LAN9355_MAC_IPR_1   0x0881

Definition at line 291 of file lan9355_driver.h.

◆ LAN9355_MAC_IPR_2

#define LAN9355_MAC_IPR_2   0x0C81

Definition at line 341 of file lan9355_driver.h.

◆ LAN9355_MAC_RX_1024_TO_MAX_CNT

#define LAN9355_MAC_RX_1024_TO_MAX_CNT (   port)    (0x0416 + ((port) * 0x0400))

Definition at line 420 of file lan9355_driver.h.

◆ LAN9355_MAC_RX_1024_TO_MAX_CNT_0

#define LAN9355_MAC_RX_1024_TO_MAX_CNT_0   0x0416

Definition at line 200 of file lan9355_driver.h.

◆ LAN9355_MAC_RX_1024_TO_MAX_CNT_1

#define LAN9355_MAC_RX_1024_TO_MAX_CNT_1   0x0816

Definition at line 250 of file lan9355_driver.h.

◆ LAN9355_MAC_RX_1024_TO_MAX_CNT_2

#define LAN9355_MAC_RX_1024_TO_MAX_CNT_2   0x0C16

Definition at line 300 of file lan9355_driver.h.

◆ LAN9355_MAC_RX_128_TO_255_CNT

#define LAN9355_MAC_RX_128_TO_255_CNT (   port)    (0x0413 + ((port) * 0x0400))

Definition at line 417 of file lan9355_driver.h.

◆ LAN9355_MAC_RX_128_TO_255_CNT_0

#define LAN9355_MAC_RX_128_TO_255_CNT_0   0x0413

Definition at line 197 of file lan9355_driver.h.

◆ LAN9355_MAC_RX_128_TO_255_CNT_1

#define LAN9355_MAC_RX_128_TO_255_CNT_1   0x0813

Definition at line 247 of file lan9355_driver.h.

◆ LAN9355_MAC_RX_128_TO_255_CNT_2

#define LAN9355_MAC_RX_128_TO_255_CNT_2   0x0C13

Definition at line 297 of file lan9355_driver.h.

◆ LAN9355_MAC_RX_256_TO_511_CNT

#define LAN9355_MAC_RX_256_TO_511_CNT (   port)    (0x0414 + ((port) * 0x0400))

Definition at line 418 of file lan9355_driver.h.

◆ LAN9355_MAC_RX_256_TO_511_CNT_0

#define LAN9355_MAC_RX_256_TO_511_CNT_0   0x0414

Definition at line 198 of file lan9355_driver.h.

◆ LAN9355_MAC_RX_256_TO_511_CNT_1

#define LAN9355_MAC_RX_256_TO_511_CNT_1   0x0814

Definition at line 248 of file lan9355_driver.h.

◆ LAN9355_MAC_RX_256_TO_511_CNT_2

#define LAN9355_MAC_RX_256_TO_511_CNT_2   0x0C14

Definition at line 298 of file lan9355_driver.h.

◆ LAN9355_MAC_RX_512_TO_1023_CNT

#define LAN9355_MAC_RX_512_TO_1023_CNT (   port)    (0x0415 + ((port) * 0x0400))

Definition at line 419 of file lan9355_driver.h.

◆ LAN9355_MAC_RX_512_TO_1023_CNT_0

#define LAN9355_MAC_RX_512_TO_1023_CNT_0   0x0415

Definition at line 199 of file lan9355_driver.h.

◆ LAN9355_MAC_RX_512_TO_1023_CNT_1

#define LAN9355_MAC_RX_512_TO_1023_CNT_1   0x0815

Definition at line 249 of file lan9355_driver.h.

◆ LAN9355_MAC_RX_512_TO_1023_CNT_2

#define LAN9355_MAC_RX_512_TO_1023_CNT_2   0x0C15

Definition at line 299 of file lan9355_driver.h.

◆ LAN9355_MAC_RX_64_CNT

#define LAN9355_MAC_RX_64_CNT (   port)    (0x0411 + ((port) * 0x0400))

Definition at line 415 of file lan9355_driver.h.

◆ LAN9355_MAC_RX_64_CNT_0

#define LAN9355_MAC_RX_64_CNT_0   0x0411

Definition at line 195 of file lan9355_driver.h.

◆ LAN9355_MAC_RX_64_CNT_1

#define LAN9355_MAC_RX_64_CNT_1   0x0811

Definition at line 245 of file lan9355_driver.h.

◆ LAN9355_MAC_RX_64_CNT_2

#define LAN9355_MAC_RX_64_CNT_2   0x0C11

Definition at line 295 of file lan9355_driver.h.

◆ LAN9355_MAC_RX_65_TO_127_CNT

#define LAN9355_MAC_RX_65_TO_127_CNT (   port)    (0x0412 + ((port) * 0x0400))

Definition at line 416 of file lan9355_driver.h.

◆ LAN9355_MAC_RX_65_TO_127_CNT_0

#define LAN9355_MAC_RX_65_TO_127_CNT_0   0x0412

Definition at line 196 of file lan9355_driver.h.

◆ LAN9355_MAC_RX_65_TO_127_CNT_1

#define LAN9355_MAC_RX_65_TO_127_CNT_1   0x0812

Definition at line 246 of file lan9355_driver.h.

◆ LAN9355_MAC_RX_65_TO_127_CNT_2

#define LAN9355_MAC_RX_65_TO_127_CNT_2   0x0C12

Definition at line 296 of file lan9355_driver.h.

◆ LAN9355_MAC_RX_ALIGN_CNT

#define LAN9355_MAC_RX_ALIGN_CNT (   port)    (0x041F + ((port) * 0x0400))

Definition at line 429 of file lan9355_driver.h.

◆ LAN9355_MAC_RX_ALIGN_CNT_0

#define LAN9355_MAC_RX_ALIGN_CNT_0   0x041F

Definition at line 209 of file lan9355_driver.h.

◆ LAN9355_MAC_RX_ALIGN_CNT_1

#define LAN9355_MAC_RX_ALIGN_CNT_1   0x081F

Definition at line 259 of file lan9355_driver.h.

◆ LAN9355_MAC_RX_ALIGN_CNT_2

#define LAN9355_MAC_RX_ALIGN_CNT_2   0x0C1F

Definition at line 309 of file lan9355_driver.h.

◆ LAN9355_MAC_RX_BRDCST_CNT

#define LAN9355_MAC_RX_BRDCST_CNT (   port)    (0x041B + ((port) * 0x0400))

Definition at line 425 of file lan9355_driver.h.

◆ LAN9355_MAC_RX_BRDCST_CNT_0

#define LAN9355_MAC_RX_BRDCST_CNT_0   0x041B

Definition at line 205 of file lan9355_driver.h.

◆ LAN9355_MAC_RX_BRDCST_CNT_1

#define LAN9355_MAC_RX_BRDCST_CNT_1   0x081B

Definition at line 255 of file lan9355_driver.h.

◆ LAN9355_MAC_RX_BRDCST_CNT_2

#define LAN9355_MAC_RX_BRDCST_CNT_2   0x0C1B

Definition at line 305 of file lan9355_driver.h.

◆ LAN9355_MAC_RX_CFG

#define LAN9355_MAC_RX_CFG (   port)    (0x0401 + ((port) * 0x0400))

Definition at line 413 of file lan9355_driver.h.

◆ LAN9355_MAC_RX_CFG_0

#define LAN9355_MAC_RX_CFG_0   0x0401

Definition at line 193 of file lan9355_driver.h.

◆ LAN9355_MAC_RX_CFG_1

#define LAN9355_MAC_RX_CFG_1   0x0801

Definition at line 243 of file lan9355_driver.h.

◆ LAN9355_MAC_RX_CFG_2

#define LAN9355_MAC_RX_CFG_2   0x0C01

Definition at line 293 of file lan9355_driver.h.

◆ LAN9355_MAC_RX_CFG_JUMBO_2K

#define LAN9355_MAC_RX_CFG_JUMBO_2K   0x00000008

Definition at line 1029 of file lan9355_driver.h.

◆ LAN9355_MAC_RX_CFG_RECEIVE_OWN_TRANSMIT_EN

#define LAN9355_MAC_RX_CFG_RECEIVE_OWN_TRANSMIT_EN   0x00000020

Definition at line 1028 of file lan9355_driver.h.

◆ LAN9355_MAC_RX_CFG_REJECT_MAC_TYPES

#define LAN9355_MAC_RX_CFG_REJECT_MAC_TYPES   0x00000002

Definition at line 1030 of file lan9355_driver.h.

◆ LAN9355_MAC_RX_CFG_RX_EN

#define LAN9355_MAC_RX_CFG_RX_EN   0x00000001

Definition at line 1031 of file lan9355_driver.h.

◆ LAN9355_MAC_RX_CRCERR_CNT

#define LAN9355_MAC_RX_CRCERR_CNT (   port)    (0x0419 + ((port) * 0x0400))

Definition at line 423 of file lan9355_driver.h.

◆ LAN9355_MAC_RX_CRCERR_CNT_0

#define LAN9355_MAC_RX_CRCERR_CNT_0   0x0419

Definition at line 203 of file lan9355_driver.h.

◆ LAN9355_MAC_RX_CRCERR_CNT_1

#define LAN9355_MAC_RX_CRCERR_CNT_1   0x0819

Definition at line 253 of file lan9355_driver.h.

◆ LAN9355_MAC_RX_CRCERR_CNT_2

#define LAN9355_MAC_RX_CRCERR_CNT_2   0x0C19

Definition at line 303 of file lan9355_driver.h.

◆ LAN9355_MAC_RX_CTLFRM_CNT

#define LAN9355_MAC_RX_CTLFRM_CNT (   port)    (0x0423 + ((port) * 0x0400))

Definition at line 433 of file lan9355_driver.h.

◆ LAN9355_MAC_RX_CTLFRM_CNT_0

#define LAN9355_MAC_RX_CTLFRM_CNT_0   0x0423

Definition at line 213 of file lan9355_driver.h.

◆ LAN9355_MAC_RX_CTLFRM_CNT_1

#define LAN9355_MAC_RX_CTLFRM_CNT_1   0x0823

Definition at line 263 of file lan9355_driver.h.

◆ LAN9355_MAC_RX_CTLFRM_CNT_2

#define LAN9355_MAC_RX_CTLFRM_CNT_2   0x0C23

Definition at line 313 of file lan9355_driver.h.

◆ LAN9355_MAC_RX_FRAG_CNT

#define LAN9355_MAC_RX_FRAG_CNT (   port)    (0x041D + ((port) * 0x0400))

Definition at line 427 of file lan9355_driver.h.

◆ LAN9355_MAC_RX_FRAG_CNT_0

#define LAN9355_MAC_RX_FRAG_CNT_0   0x041D

Definition at line 207 of file lan9355_driver.h.

◆ LAN9355_MAC_RX_FRAG_CNT_1

#define LAN9355_MAC_RX_FRAG_CNT_1   0x081D

Definition at line 257 of file lan9355_driver.h.

◆ LAN9355_MAC_RX_FRAG_CNT_2

#define LAN9355_MAC_RX_FRAG_CNT_2   0x0C1D

Definition at line 307 of file lan9355_driver.h.

◆ LAN9355_MAC_RX_GOODPKTLEN_CNT

#define LAN9355_MAC_RX_GOODPKTLEN_CNT (   port)    (0x0421 + ((port) * 0x0400))

Definition at line 431 of file lan9355_driver.h.

◆ LAN9355_MAC_RX_GOODPKTLEN_CNT_0

#define LAN9355_MAC_RX_GOODPKTLEN_CNT_0   0x0421

Definition at line 211 of file lan9355_driver.h.

◆ LAN9355_MAC_RX_GOODPKTLEN_CNT_1

#define LAN9355_MAC_RX_GOODPKTLEN_CNT_1   0x0821

Definition at line 261 of file lan9355_driver.h.

◆ LAN9355_MAC_RX_GOODPKTLEN_CNT_2

#define LAN9355_MAC_RX_GOODPKTLEN_CNT_2   0x0C21

Definition at line 311 of file lan9355_driver.h.

◆ LAN9355_MAC_RX_JABB_CNT

#define LAN9355_MAC_RX_JABB_CNT (   port)    (0x041E + ((port) * 0x0400))

Definition at line 428 of file lan9355_driver.h.

◆ LAN9355_MAC_RX_JABB_CNT_0

#define LAN9355_MAC_RX_JABB_CNT_0   0x041E

Definition at line 208 of file lan9355_driver.h.

◆ LAN9355_MAC_RX_JABB_CNT_1

#define LAN9355_MAC_RX_JABB_CNT_1   0x081E

Definition at line 258 of file lan9355_driver.h.

◆ LAN9355_MAC_RX_JABB_CNT_2

#define LAN9355_MAC_RX_JABB_CNT_2   0x0C1E

Definition at line 308 of file lan9355_driver.h.

◆ LAN9355_MAC_RX_MULCST_CNT

#define LAN9355_MAC_RX_MULCST_CNT (   port)    (0x041A + ((port) * 0x0400))

Definition at line 424 of file lan9355_driver.h.

◆ LAN9355_MAC_RX_MULCST_CNT_0

#define LAN9355_MAC_RX_MULCST_CNT_0   0x041A

Definition at line 204 of file lan9355_driver.h.

◆ LAN9355_MAC_RX_MULCST_CNT_1

#define LAN9355_MAC_RX_MULCST_CNT_1   0x081A

Definition at line 254 of file lan9355_driver.h.

◆ LAN9355_MAC_RX_MULCST_CNT_2

#define LAN9355_MAC_RX_MULCST_CNT_2   0x0C1A

Definition at line 304 of file lan9355_driver.h.

◆ LAN9355_MAC_RX_OVRSZE_CNT

#define LAN9355_MAC_RX_OVRSZE_CNT (   port)    (0x0417 + ((port) * 0x0400))

Definition at line 421 of file lan9355_driver.h.

◆ LAN9355_MAC_RX_OVRSZE_CNT_0

#define LAN9355_MAC_RX_OVRSZE_CNT_0   0x0417

Definition at line 201 of file lan9355_driver.h.

◆ LAN9355_MAC_RX_OVRSZE_CNT_1

#define LAN9355_MAC_RX_OVRSZE_CNT_1   0x0817

Definition at line 251 of file lan9355_driver.h.

◆ LAN9355_MAC_RX_OVRSZE_CNT_2

#define LAN9355_MAC_RX_OVRSZE_CNT_2   0x0C17

Definition at line 301 of file lan9355_driver.h.

◆ LAN9355_MAC_RX_PAUSE_CNT

#define LAN9355_MAC_RX_PAUSE_CNT (   port)    (0x041C + ((port) * 0x0400))

Definition at line 426 of file lan9355_driver.h.

◆ LAN9355_MAC_RX_PAUSE_CNT_0

#define LAN9355_MAC_RX_PAUSE_CNT_0   0x041C

Definition at line 206 of file lan9355_driver.h.

◆ LAN9355_MAC_RX_PAUSE_CNT_1

#define LAN9355_MAC_RX_PAUSE_CNT_1   0x081C

Definition at line 256 of file lan9355_driver.h.

◆ LAN9355_MAC_RX_PAUSE_CNT_2

#define LAN9355_MAC_RX_PAUSE_CNT_2   0x0C1C

Definition at line 306 of file lan9355_driver.h.

◆ LAN9355_MAC_RX_PKTLEN_CNT

#define LAN9355_MAC_RX_PKTLEN_CNT (   port)    (0x0420 + ((port) * 0x0400))

Definition at line 430 of file lan9355_driver.h.

◆ LAN9355_MAC_RX_PKTLEN_CNT_0

#define LAN9355_MAC_RX_PKTLEN_CNT_0   0x0420

Definition at line 210 of file lan9355_driver.h.

◆ LAN9355_MAC_RX_PKTLEN_CNT_1

#define LAN9355_MAC_RX_PKTLEN_CNT_1   0x0820

Definition at line 260 of file lan9355_driver.h.

◆ LAN9355_MAC_RX_PKTLEN_CNT_2

#define LAN9355_MAC_RX_PKTLEN_CNT_2   0x0C20

Definition at line 310 of file lan9355_driver.h.

◆ LAN9355_MAC_RX_PKTOK_CNT

#define LAN9355_MAC_RX_PKTOK_CNT (   port)    (0x0418 + ((port) * 0x0400))

Definition at line 422 of file lan9355_driver.h.

◆ LAN9355_MAC_RX_PKTOK_CNT_0

#define LAN9355_MAC_RX_PKTOK_CNT_0   0x0418

Definition at line 202 of file lan9355_driver.h.

◆ LAN9355_MAC_RX_PKTOK_CNT_1

#define LAN9355_MAC_RX_PKTOK_CNT_1   0x0818

Definition at line 252 of file lan9355_driver.h.

◆ LAN9355_MAC_RX_PKTOK_CNT_2

#define LAN9355_MAC_RX_PKTOK_CNT_2   0x0C18

Definition at line 302 of file lan9355_driver.h.

◆ LAN9355_MAC_RX_SYMBOL_CNT

#define LAN9355_MAC_RX_SYMBOL_CNT (   port)    (0x0422 + ((port) * 0x0400))

Definition at line 432 of file lan9355_driver.h.

◆ LAN9355_MAC_RX_SYMBOL_CNT_0

#define LAN9355_MAC_RX_SYMBOL_CNT_0   0x0422

Definition at line 212 of file lan9355_driver.h.

◆ LAN9355_MAC_RX_SYMBOL_CNT_1

#define LAN9355_MAC_RX_SYMBOL_CNT_1   0x0822

Definition at line 262 of file lan9355_driver.h.

◆ LAN9355_MAC_RX_SYMBOL_CNT_2

#define LAN9355_MAC_RX_SYMBOL_CNT_2   0x0C22

Definition at line 312 of file lan9355_driver.h.

◆ LAN9355_MAC_RX_UNDSZE_CNT

#define LAN9355_MAC_RX_UNDSZE_CNT (   port)    (0x0410 + ((port) * 0x0400))

Definition at line 414 of file lan9355_driver.h.

◆ LAN9355_MAC_RX_UNDSZE_CNT_0

#define LAN9355_MAC_RX_UNDSZE_CNT_0   0x0410

Definition at line 194 of file lan9355_driver.h.

◆ LAN9355_MAC_RX_UNDSZE_CNT_1

#define LAN9355_MAC_RX_UNDSZE_CNT_1   0x0810

Definition at line 244 of file lan9355_driver.h.

◆ LAN9355_MAC_RX_UNDSZE_CNT_2

#define LAN9355_MAC_RX_UNDSZE_CNT_2   0x0C10

Definition at line 294 of file lan9355_driver.h.

◆ LAN9355_MAC_TX_1024_TO_MAX_CNT

#define LAN9355_MAC_TX_1024_TO_MAX_CNT (   port)    (0x0459 + ((port) * 0x0400))

Definition at line 448 of file lan9355_driver.h.

◆ LAN9355_MAC_TX_1024_TO_MAX_CNT_0

#define LAN9355_MAC_TX_1024_TO_MAX_CNT_0   0x0459

Definition at line 228 of file lan9355_driver.h.

◆ LAN9355_MAC_TX_1024_TO_MAX_CNT_1

#define LAN9355_MAC_TX_1024_TO_MAX_CNT_1   0x0859

Definition at line 278 of file lan9355_driver.h.

◆ LAN9355_MAC_TX_1024_TO_MAX_CNT_2

#define LAN9355_MAC_TX_1024_TO_MAX_CNT_2   0x0C59

Definition at line 328 of file lan9355_driver.h.

◆ LAN9355_MAC_TX_128_TO_255_CNT

#define LAN9355_MAC_TX_128_TO_255_CNT (   port)    (0x0456 + ((port) * 0x0400))

Definition at line 445 of file lan9355_driver.h.

◆ LAN9355_MAC_TX_128_TO_255_CNT_0

#define LAN9355_MAC_TX_128_TO_255_CNT_0   0x0456

Definition at line 225 of file lan9355_driver.h.

◆ LAN9355_MAC_TX_128_TO_255_CNT_1

#define LAN9355_MAC_TX_128_TO_255_CNT_1   0x0856

Definition at line 275 of file lan9355_driver.h.

◆ LAN9355_MAC_TX_128_TO_255_CNT_2

#define LAN9355_MAC_TX_128_TO_255_CNT_2   0x0C56

Definition at line 325 of file lan9355_driver.h.

◆ LAN9355_MAC_TX_256_TO_511_CNT

#define LAN9355_MAC_TX_256_TO_511_CNT (   port)    (0x0457 + ((port) * 0x0400))

Definition at line 446 of file lan9355_driver.h.

◆ LAN9355_MAC_TX_256_TO_511_CNT_0

#define LAN9355_MAC_TX_256_TO_511_CNT_0   0x0457

Definition at line 226 of file lan9355_driver.h.

◆ LAN9355_MAC_TX_256_TO_511_CNT_1

#define LAN9355_MAC_TX_256_TO_511_CNT_1   0x0857

Definition at line 276 of file lan9355_driver.h.

◆ LAN9355_MAC_TX_256_TO_511_CNT_2

#define LAN9355_MAC_TX_256_TO_511_CNT_2   0x0C57

Definition at line 326 of file lan9355_driver.h.

◆ LAN9355_MAC_TX_512_TO_1023_CNT

#define LAN9355_MAC_TX_512_TO_1023_CNT (   port)    (0x0458 + ((port) * 0x0400))

Definition at line 447 of file lan9355_driver.h.

◆ LAN9355_MAC_TX_512_TO_1023_CNT_0

#define LAN9355_MAC_TX_512_TO_1023_CNT_0   0x0458

Definition at line 227 of file lan9355_driver.h.

◆ LAN9355_MAC_TX_512_TO_1023_CNT_1

#define LAN9355_MAC_TX_512_TO_1023_CNT_1   0x0858

Definition at line 277 of file lan9355_driver.h.

◆ LAN9355_MAC_TX_512_TO_1023_CNT_2

#define LAN9355_MAC_TX_512_TO_1023_CNT_2   0x0C58

Definition at line 327 of file lan9355_driver.h.

◆ LAN9355_MAC_TX_64_CNT

#define LAN9355_MAC_TX_64_CNT (   port)    (0x0454 + ((port) * 0x0400))

Definition at line 443 of file lan9355_driver.h.

◆ LAN9355_MAC_TX_64_CNT_0

#define LAN9355_MAC_TX_64_CNT_0   0x0454

Definition at line 223 of file lan9355_driver.h.

◆ LAN9355_MAC_TX_64_CNT_1

#define LAN9355_MAC_TX_64_CNT_1   0x0854

Definition at line 273 of file lan9355_driver.h.

◆ LAN9355_MAC_TX_64_CNT_2

#define LAN9355_MAC_TX_64_CNT_2   0x0C54

Definition at line 323 of file lan9355_driver.h.

◆ LAN9355_MAC_TX_65_TO_127_CNT

#define LAN9355_MAC_TX_65_TO_127_CNT (   port)    (0x0455 + ((port) * 0x0400))

Definition at line 444 of file lan9355_driver.h.

◆ LAN9355_MAC_TX_65_TO_127_CNT_0

#define LAN9355_MAC_TX_65_TO_127_CNT_0   0x0455

Definition at line 224 of file lan9355_driver.h.

◆ LAN9355_MAC_TX_65_TO_127_CNT_1

#define LAN9355_MAC_TX_65_TO_127_CNT_1   0x0855

Definition at line 274 of file lan9355_driver.h.

◆ LAN9355_MAC_TX_65_TO_127_CNT_2

#define LAN9355_MAC_TX_65_TO_127_CNT_2   0x0C55

Definition at line 324 of file lan9355_driver.h.

◆ LAN9355_MAC_TX_BRDCST_CNT

#define LAN9355_MAC_TX_BRDCST_CNT (   port)    (0x045D + ((port) * 0x0400))

Definition at line 451 of file lan9355_driver.h.

◆ LAN9355_MAC_TX_BRDCST_CNT_0

#define LAN9355_MAC_TX_BRDCST_CNT_0   0x045D

Definition at line 231 of file lan9355_driver.h.

◆ LAN9355_MAC_TX_BRDCST_CNT_1

#define LAN9355_MAC_TX_BRDCST_CNT_1   0x085D

Definition at line 281 of file lan9355_driver.h.

◆ LAN9355_MAC_TX_BRDCST_CNT_2

#define LAN9355_MAC_TX_BRDCST_CNT_2   0x0C5D

Definition at line 331 of file lan9355_driver.h.

◆ LAN9355_MAC_TX_CFG

#define LAN9355_MAC_TX_CFG (   port)    (0x0440 + ((port) * 0x0400))

Definition at line 436 of file lan9355_driver.h.

◆ LAN9355_MAC_TX_CFG_0

#define LAN9355_MAC_TX_CFG_0   0x0440

Definition at line 216 of file lan9355_driver.h.

◆ LAN9355_MAC_TX_CFG_1

#define LAN9355_MAC_TX_CFG_1   0x0840

Definition at line 266 of file lan9355_driver.h.

◆ LAN9355_MAC_TX_CFG_2

#define LAN9355_MAC_TX_CFG_2   0x0C40

Definition at line 316 of file lan9355_driver.h.

◆ LAN9355_MAC_TX_CFG_EEE_EN

#define LAN9355_MAC_TX_CFG_EEE_EN   0x00000100

Definition at line 1034 of file lan9355_driver.h.

◆ LAN9355_MAC_TX_CFG_IFG_CONFIG

#define LAN9355_MAC_TX_CFG_IFG_CONFIG   0x0000007C

Definition at line 1036 of file lan9355_driver.h.

◆ LAN9355_MAC_TX_CFG_IFG_CONFIG_DEFAULT

#define LAN9355_MAC_TX_CFG_IFG_CONFIG_DEFAULT   0x00000054

Definition at line 1037 of file lan9355_driver.h.

◆ LAN9355_MAC_TX_CFG_MAC_COUNTER_TEST

#define LAN9355_MAC_TX_CFG_MAC_COUNTER_TEST   0x00000080

Definition at line 1035 of file lan9355_driver.h.

◆ LAN9355_MAC_TX_CFG_TX_EN

#define LAN9355_MAC_TX_CFG_TX_EN   0x00000001

Definition at line 1039 of file lan9355_driver.h.

◆ LAN9355_MAC_TX_CFG_TX_PAD_EN

#define LAN9355_MAC_TX_CFG_TX_PAD_EN   0x00000002

Definition at line 1038 of file lan9355_driver.h.

◆ LAN9355_MAC_TX_DEFER_CNT

#define LAN9355_MAC_TX_DEFER_CNT (   port)    (0x0451 + ((port) * 0x0400))

Definition at line 440 of file lan9355_driver.h.

◆ LAN9355_MAC_TX_DEFER_CNT_0

#define LAN9355_MAC_TX_DEFER_CNT_0   0x0451

Definition at line 220 of file lan9355_driver.h.

◆ LAN9355_MAC_TX_DEFER_CNT_1

#define LAN9355_MAC_TX_DEFER_CNT_1   0x0851

Definition at line 270 of file lan9355_driver.h.

◆ LAN9355_MAC_TX_DEFER_CNT_2

#define LAN9355_MAC_TX_DEFER_CNT_2   0x0C51

Definition at line 320 of file lan9355_driver.h.

◆ LAN9355_MAC_TX_EXCCOL_CNT

#define LAN9355_MAC_TX_EXCCOL_CNT (   port)    (0x0460 + ((port) * 0x0400))

Definition at line 454 of file lan9355_driver.h.

◆ LAN9355_MAC_TX_EXCCOL_CNT_0

#define LAN9355_MAC_TX_EXCCOL_CNT_0   0x0460

Definition at line 234 of file lan9355_driver.h.

◆ LAN9355_MAC_TX_EXCCOL_CNT_1

#define LAN9355_MAC_TX_EXCCOL_CNT_1   0x0860

Definition at line 284 of file lan9355_driver.h.

◆ LAN9355_MAC_TX_EXCCOL_CNT_2

#define LAN9355_MAC_TX_EXCCOL_CNT_2   0x0C60

Definition at line 334 of file lan9355_driver.h.

◆ LAN9355_MAC_TX_FC_SETTINGS

#define LAN9355_MAC_TX_FC_SETTINGS (   port)    (0x0441 + ((port) * 0x0400))

Definition at line 437 of file lan9355_driver.h.

◆ LAN9355_MAC_TX_FC_SETTINGS_0

#define LAN9355_MAC_TX_FC_SETTINGS_0   0x0441

Definition at line 217 of file lan9355_driver.h.

◆ LAN9355_MAC_TX_FC_SETTINGS_1

#define LAN9355_MAC_TX_FC_SETTINGS_1   0x0841

Definition at line 267 of file lan9355_driver.h.

◆ LAN9355_MAC_TX_FC_SETTINGS_2

#define LAN9355_MAC_TX_FC_SETTINGS_2   0x0C41

Definition at line 317 of file lan9355_driver.h.

◆ LAN9355_MAC_TX_LATECOL_CNT

#define LAN9355_MAC_TX_LATECOL_CNT (   port)    (0x045F + ((port) * 0x0400))

Definition at line 453 of file lan9355_driver.h.

◆ LAN9355_MAC_TX_LATECOL_CNT_0

#define LAN9355_MAC_TX_LATECOL_CNT_0   0x045F

Definition at line 233 of file lan9355_driver.h.

◆ LAN9355_MAC_TX_LATECOL_CNT_1

#define LAN9355_MAC_TX_LATECOL_CNT_1   0x085F

Definition at line 283 of file lan9355_driver.h.

◆ LAN9355_MAC_TX_LATECOL_CNT_2

#define LAN9355_MAC_TX_LATECOL_CNT_2   0x0C5F

Definition at line 333 of file lan9355_driver.h.

◆ LAN9355_MAC_TX_MULCST_CNT

#define LAN9355_MAC_TX_MULCST_CNT (   port)    (0x045E + ((port) * 0x0400))

Definition at line 452 of file lan9355_driver.h.

◆ LAN9355_MAC_TX_MULCST_CNT_0

#define LAN9355_MAC_TX_MULCST_CNT_0   0x045E

Definition at line 232 of file lan9355_driver.h.

◆ LAN9355_MAC_TX_MULCST_CNT_1

#define LAN9355_MAC_TX_MULCST_CNT_1   0x085E

Definition at line 282 of file lan9355_driver.h.

◆ LAN9355_MAC_TX_MULCST_CNT_2

#define LAN9355_MAC_TX_MULCST_CNT_2   0x0C5E

Definition at line 332 of file lan9355_driver.h.

◆ LAN9355_MAC_TX_MULTICOL_CNT

#define LAN9355_MAC_TX_MULTICOL_CNT (   port)    (0x0462 + ((port) * 0x0400))

Definition at line 456 of file lan9355_driver.h.

◆ LAN9355_MAC_TX_MULTICOL_CNT_0

#define LAN9355_MAC_TX_MULTICOL_CNT_0   0x0462

Definition at line 236 of file lan9355_driver.h.

◆ LAN9355_MAC_TX_MULTICOL_CNT_1

#define LAN9355_MAC_TX_MULTICOL_CNT_1   0x0862

Definition at line 286 of file lan9355_driver.h.

◆ LAN9355_MAC_TX_MULTICOL_CNT_2

#define LAN9355_MAC_TX_MULTICOL_CNT_2   0x0C62

Definition at line 336 of file lan9355_driver.h.

◆ LAN9355_MAC_TX_PAUSE_CNT

#define LAN9355_MAC_TX_PAUSE_CNT (   port)    (0x0452 + ((port) * 0x0400))

Definition at line 441 of file lan9355_driver.h.

◆ LAN9355_MAC_TX_PAUSE_CNT_0

#define LAN9355_MAC_TX_PAUSE_CNT_0   0x0452

Definition at line 221 of file lan9355_driver.h.

◆ LAN9355_MAC_TX_PAUSE_CNT_1

#define LAN9355_MAC_TX_PAUSE_CNT_1   0x0852

Definition at line 271 of file lan9355_driver.h.

◆ LAN9355_MAC_TX_PAUSE_CNT_2

#define LAN9355_MAC_TX_PAUSE_CNT_2   0x0C52

Definition at line 321 of file lan9355_driver.h.

◆ LAN9355_MAC_TX_PKTLEN_CNT

#define LAN9355_MAC_TX_PKTLEN_CNT (   port)    (0x045C + ((port) * 0x0400))

Definition at line 450 of file lan9355_driver.h.

◆ LAN9355_MAC_TX_PKTLEN_CNT_0

#define LAN9355_MAC_TX_PKTLEN_CNT_0   0x045C

Definition at line 230 of file lan9355_driver.h.

◆ LAN9355_MAC_TX_PKTLEN_CNT_1

#define LAN9355_MAC_TX_PKTLEN_CNT_1   0x085C

Definition at line 280 of file lan9355_driver.h.

◆ LAN9355_MAC_TX_PKTLEN_CNT_2

#define LAN9355_MAC_TX_PKTLEN_CNT_2   0x0C5C

Definition at line 330 of file lan9355_driver.h.

◆ LAN9355_MAC_TX_PKTOK_CNT

#define LAN9355_MAC_TX_PKTOK_CNT (   port)    (0x0453 + ((port) * 0x0400))

Definition at line 442 of file lan9355_driver.h.

◆ LAN9355_MAC_TX_PKTOK_CNT_0

#define LAN9355_MAC_TX_PKTOK_CNT_0   0x0453

Definition at line 222 of file lan9355_driver.h.

◆ LAN9355_MAC_TX_PKTOK_CNT_1

#define LAN9355_MAC_TX_PKTOK_CNT_1   0x0853

Definition at line 272 of file lan9355_driver.h.

◆ LAN9355_MAC_TX_PKTOK_CNT_2

#define LAN9355_MAC_TX_PKTOK_CNT_2   0x0C53

Definition at line 322 of file lan9355_driver.h.

◆ LAN9355_MAC_TX_SNGLECOL_CNT

#define LAN9355_MAC_TX_SNGLECOL_CNT (   port)    (0x0461 + ((port) * 0x0400))

Definition at line 455 of file lan9355_driver.h.

◆ LAN9355_MAC_TX_SNGLECOL_CNT_0

#define LAN9355_MAC_TX_SNGLECOL_CNT_0   0x0461

Definition at line 235 of file lan9355_driver.h.

◆ LAN9355_MAC_TX_SNGLECOL_CNT_1

#define LAN9355_MAC_TX_SNGLECOL_CNT_1   0x0861

Definition at line 285 of file lan9355_driver.h.

◆ LAN9355_MAC_TX_SNGLECOL_CNT_2

#define LAN9355_MAC_TX_SNGLECOL_CNT_2   0x0C61

Definition at line 335 of file lan9355_driver.h.

◆ LAN9355_MAC_TX_TOTALCOL_CNT

#define LAN9355_MAC_TX_TOTALCOL_CNT (   port)    (0x0463 + ((port) * 0x0400))

Definition at line 457 of file lan9355_driver.h.

◆ LAN9355_MAC_TX_TOTALCOL_CNT_0

#define LAN9355_MAC_TX_TOTALCOL_CNT_0   0x0463

Definition at line 237 of file lan9355_driver.h.

◆ LAN9355_MAC_TX_TOTALCOL_CNT_1

#define LAN9355_MAC_TX_TOTALCOL_CNT_1   0x0863

Definition at line 287 of file lan9355_driver.h.

◆ LAN9355_MAC_TX_TOTALCOL_CNT_2

#define LAN9355_MAC_TX_TOTALCOL_CNT_2   0x0C63

Definition at line 337 of file lan9355_driver.h.

◆ LAN9355_MAC_TX_UNDSZE_CNT

#define LAN9355_MAC_TX_UNDSZE_CNT (   port)    (0x045A + ((port) * 0x0400))

Definition at line 449 of file lan9355_driver.h.

◆ LAN9355_MAC_TX_UNDSZE_CNT_0

#define LAN9355_MAC_TX_UNDSZE_CNT_0   0x045A

Definition at line 229 of file lan9355_driver.h.

◆ LAN9355_MAC_TX_UNDSZE_CNT_1

#define LAN9355_MAC_TX_UNDSZE_CNT_1   0x085A

Definition at line 279 of file lan9355_driver.h.

◆ LAN9355_MAC_TX_UNDSZE_CNT_2

#define LAN9355_MAC_TX_UNDSZE_CNT_2   0x0C5A

Definition at line 329 of file lan9355_driver.h.

◆ LAN9355_MAC_VER_ID

#define LAN9355_MAC_VER_ID (   port)    (0x0400 + ((port) * 0x0400))

Definition at line 412 of file lan9355_driver.h.

◆ LAN9355_MAC_VER_ID_0

#define LAN9355_MAC_VER_ID_0   0x0400

Definition at line 192 of file lan9355_driver.h.

◆ LAN9355_MAC_VER_ID_1

#define LAN9355_MAC_VER_ID_1   0x0800

Definition at line 242 of file lan9355_driver.h.

◆ LAN9355_MAC_VER_ID_2

#define LAN9355_MAC_VER_ID_2   0x0C00

Definition at line 292 of file lan9355_driver.h.

◆ LAN9355_MAC_VER_ID_CHIP_VERSION

#define LAN9355_MAC_VER_ID_CHIP_VERSION   0x000000F0

Definition at line 1022 of file lan9355_driver.h.

◆ LAN9355_MAC_VER_ID_CHIP_VERSION_DEFAULT

#define LAN9355_MAC_VER_ID_CHIP_VERSION_DEFAULT   0x00000090

Definition at line 1023 of file lan9355_driver.h.

◆ LAN9355_MAC_VER_ID_DEVICE_TYPE

#define LAN9355_MAC_VER_ID_DEVICE_TYPE   0x00000F00

Definition at line 1020 of file lan9355_driver.h.

◆ LAN9355_MAC_VER_ID_DEVICE_TYPE_DEFAULT

#define LAN9355_MAC_VER_ID_DEVICE_TYPE_DEFAULT   0x00000500

Definition at line 1021 of file lan9355_driver.h.

◆ LAN9355_MAC_VER_ID_REVISION

#define LAN9355_MAC_VER_ID_REVISION   0x0000000F

Definition at line 1024 of file lan9355_driver.h.

◆ LAN9355_MAC_VER_ID_REVISION_DEFAULT

#define LAN9355_MAC_VER_ID_REVISION_DEFAULT   0x00000003

Definition at line 1025 of file lan9355_driver.h.

◆ LAN9355_MANUAL_FC_0

#define LAN9355_MANUAL_FC_0   0x01A8

Definition at line 165 of file lan9355_driver.h.

◆ LAN9355_MANUAL_FC_0_BP_EN_0

#define LAN9355_MANUAL_FC_0_BP_EN_0   0x00000040

Definition at line 755 of file lan9355_driver.h.

◆ LAN9355_MANUAL_FC_0_CUR_DUP_0

#define LAN9355_MANUAL_FC_0_CUR_DUP_0   0x00000020

Definition at line 756 of file lan9355_driver.h.

◆ LAN9355_MANUAL_FC_0_CUR_RX_FC_0

#define LAN9355_MANUAL_FC_0_CUR_RX_FC_0   0x00000010

Definition at line 757 of file lan9355_driver.h.

◆ LAN9355_MANUAL_FC_0_CUR_TX_FC_0

#define LAN9355_MANUAL_FC_0_CUR_TX_FC_0   0x00000008

Definition at line 758 of file lan9355_driver.h.

◆ LAN9355_MANUAL_FC_0_MANUAL_FC_0

#define LAN9355_MANUAL_FC_0_MANUAL_FC_0   0x00000001

Definition at line 761 of file lan9355_driver.h.

◆ LAN9355_MANUAL_FC_0_RX_FC_0

#define LAN9355_MANUAL_FC_0_RX_FC_0   0x00000004

Definition at line 759 of file lan9355_driver.h.

◆ LAN9355_MANUAL_FC_0_TX_FC_0

#define LAN9355_MANUAL_FC_0_TX_FC_0   0x00000002

Definition at line 760 of file lan9355_driver.h.

◆ LAN9355_MANUAL_FC_1

#define LAN9355_MANUAL_FC_1   0x01A0

Definition at line 163 of file lan9355_driver.h.

◆ LAN9355_MANUAL_FC_1_BP_EN_1

#define LAN9355_MANUAL_FC_1_BP_EN_1   0x00000040

Definition at line 737 of file lan9355_driver.h.

◆ LAN9355_MANUAL_FC_1_CUR_DUP_1

#define LAN9355_MANUAL_FC_1_CUR_DUP_1   0x00000020

Definition at line 738 of file lan9355_driver.h.

◆ LAN9355_MANUAL_FC_1_CUR_RX_FC_1

#define LAN9355_MANUAL_FC_1_CUR_RX_FC_1   0x00000010

Definition at line 739 of file lan9355_driver.h.

◆ LAN9355_MANUAL_FC_1_CUR_TX_FC_1

#define LAN9355_MANUAL_FC_1_CUR_TX_FC_1   0x00000008

Definition at line 740 of file lan9355_driver.h.

◆ LAN9355_MANUAL_FC_1_MANUAL_FC_1

#define LAN9355_MANUAL_FC_1_MANUAL_FC_1   0x00000001

Definition at line 743 of file lan9355_driver.h.

◆ LAN9355_MANUAL_FC_1_RX_FC_1

#define LAN9355_MANUAL_FC_1_RX_FC_1   0x00000004

Definition at line 741 of file lan9355_driver.h.

◆ LAN9355_MANUAL_FC_1_TX_FC_1

#define LAN9355_MANUAL_FC_1_TX_FC_1   0x00000002

Definition at line 742 of file lan9355_driver.h.

◆ LAN9355_MANUAL_FC_2

#define LAN9355_MANUAL_FC_2   0x01A4

Definition at line 164 of file lan9355_driver.h.

◆ LAN9355_MANUAL_FC_2_BP_EN_2

#define LAN9355_MANUAL_FC_2_BP_EN_2   0x00000040

Definition at line 746 of file lan9355_driver.h.

◆ LAN9355_MANUAL_FC_2_CUR_DUP_2

#define LAN9355_MANUAL_FC_2_CUR_DUP_2   0x00000020

Definition at line 747 of file lan9355_driver.h.

◆ LAN9355_MANUAL_FC_2_CUR_RX_FC_2

#define LAN9355_MANUAL_FC_2_CUR_RX_FC_2   0x00000010

Definition at line 748 of file lan9355_driver.h.

◆ LAN9355_MANUAL_FC_2_CUR_TX_FC_2

#define LAN9355_MANUAL_FC_2_CUR_TX_FC_2   0x00000008

Definition at line 749 of file lan9355_driver.h.

◆ LAN9355_MANUAL_FC_2_MANUAL_FC_2

#define LAN9355_MANUAL_FC_2_MANUAL_FC_2   0x00000001

Definition at line 752 of file lan9355_driver.h.

◆ LAN9355_MANUAL_FC_2_RX_FC_2

#define LAN9355_MANUAL_FC_2_RX_FC_2   0x00000004

Definition at line 750 of file lan9355_driver.h.

◆ LAN9355_MANUAL_FC_2_TX_FC_2

#define LAN9355_MANUAL_FC_2_TX_FC_2   0x00000002

Definition at line 751 of file lan9355_driver.h.

◆ LAN9355_PHYID1

#define LAN9355_PHYID1   0x02

Definition at line 76 of file lan9355_driver.h.

◆ LAN9355_PHYID1_PHY_ID_MSB

#define LAN9355_PHYID1_PHY_ID_MSB   0xFFFF

Definition at line 492 of file lan9355_driver.h.

◆ LAN9355_PHYID1_PHY_ID_MSB_DEFAULT

#define LAN9355_PHYID1_PHY_ID_MSB_DEFAULT   0x0007

Definition at line 493 of file lan9355_driver.h.

◆ LAN9355_PHYID2

#define LAN9355_PHYID2   0x03

Definition at line 77 of file lan9355_driver.h.

◆ LAN9355_PHYID2_MODEL_NUM

#define LAN9355_PHYID2_MODEL_NUM   0x03F0

Definition at line 498 of file lan9355_driver.h.

◆ LAN9355_PHYID2_MODEL_NUM_DEFAULT

#define LAN9355_PHYID2_MODEL_NUM_DEFAULT   0x0140

Definition at line 499 of file lan9355_driver.h.

◆ LAN9355_PHYID2_PHY_ID_LSB

#define LAN9355_PHYID2_PHY_ID_LSB   0xFC00

Definition at line 496 of file lan9355_driver.h.

◆ LAN9355_PHYID2_PHY_ID_LSB_DEFAULT

#define LAN9355_PHYID2_PHY_ID_LSB_DEFAULT   0xC000

Definition at line 497 of file lan9355_driver.h.

◆ LAN9355_PHYID2_REVISION_NUM

#define LAN9355_PHYID2_REVISION_NUM   0x000F

Definition at line 500 of file lan9355_driver.h.

◆ LAN9355_PIMR

#define LAN9355_PIMR   0x1E

Definition at line 85 of file lan9355_driver.h.

◆ LAN9355_PIMR_AN_COMPLETE

#define LAN9355_PIMR_AN_COMPLETE   0x0040

Definition at line 567 of file lan9355_driver.h.

◆ LAN9355_PIMR_AN_LP_ACK

#define LAN9355_PIMR_AN_LP_ACK   0x0008

Definition at line 570 of file lan9355_driver.h.

◆ LAN9355_PIMR_AN_PAGE_RECEIVED

#define LAN9355_PIMR_AN_PAGE_RECEIVED   0x0002

Definition at line 572 of file lan9355_driver.h.

◆ LAN9355_PIMR_ENERGYON

#define LAN9355_PIMR_ENERGYON   0x0080

Definition at line 566 of file lan9355_driver.h.

◆ LAN9355_PIMR_LINK_DOWN

#define LAN9355_PIMR_LINK_DOWN   0x0010

Definition at line 569 of file lan9355_driver.h.

◆ LAN9355_PIMR_PAR_DETECT_FAULT

#define LAN9355_PIMR_PAR_DETECT_FAULT   0x0004

Definition at line 571 of file lan9355_driver.h.

◆ LAN9355_PIMR_REMOTE_FAULT

#define LAN9355_PIMR_REMOTE_FAULT   0x0020

Definition at line 568 of file lan9355_driver.h.

◆ LAN9355_PISR

#define LAN9355_PISR   0x1D

Definition at line 84 of file lan9355_driver.h.

◆ LAN9355_PISR_AN_COMPLETE

#define LAN9355_PISR_AN_COMPLETE   0x0040

Definition at line 558 of file lan9355_driver.h.

◆ LAN9355_PISR_AN_LP_ACK

#define LAN9355_PISR_AN_LP_ACK   0x0008

Definition at line 561 of file lan9355_driver.h.

◆ LAN9355_PISR_AN_PAGE_RECEIVED

#define LAN9355_PISR_AN_PAGE_RECEIVED   0x0002

Definition at line 563 of file lan9355_driver.h.

◆ LAN9355_PISR_ENERGYON

#define LAN9355_PISR_ENERGYON   0x0080

Definition at line 557 of file lan9355_driver.h.

◆ LAN9355_PISR_LINK_DOWN

#define LAN9355_PISR_LINK_DOWN   0x0010

Definition at line 560 of file lan9355_driver.h.

◆ LAN9355_PISR_PAR_DETECT_FAULT

#define LAN9355_PISR_PAR_DETECT_FAULT   0x0004

Definition at line 562 of file lan9355_driver.h.

◆ LAN9355_PISR_REMOTE_FAULT

#define LAN9355_PISR_REMOTE_FAULT   0x0020

Definition at line 559 of file lan9355_driver.h.

◆ LAN9355_PMCSR

#define LAN9355_PMCSR   0x11

Definition at line 81 of file lan9355_driver.h.

◆ LAN9355_PMCSR_EDPWRDOWN

#define LAN9355_PMCSR_EDPWRDOWN   0x2000

Definition at line 535 of file lan9355_driver.h.

◆ LAN9355_PMCSR_ENERGYON

#define LAN9355_PMCSR_ENERGYON   0x0002

Definition at line 536 of file lan9355_driver.h.

◆ LAN9355_PMI_ACCESS

#define LAN9355_PMI_ACCESS   0x00A8

Definition at line 100 of file lan9355_driver.h.

◆ LAN9355_PMI_ACCESS_MIIBZY

#define LAN9355_PMI_ACCESS_MIIBZY   0x00000001

Definition at line 643 of file lan9355_driver.h.

◆ LAN9355_PMI_ACCESS_MIIRINDA

#define LAN9355_PMI_ACCESS_MIIRINDA   0x000007C0

Definition at line 641 of file lan9355_driver.h.

◆ LAN9355_PMI_ACCESS_MIIW_R

#define LAN9355_PMI_ACCESS_MIIW_R   0x00000002

Definition at line 642 of file lan9355_driver.h.

◆ LAN9355_PMI_ACCESS_PHY_ADDR

#define LAN9355_PMI_ACCESS_PHY_ADDR   0x0000F800

Definition at line 640 of file lan9355_driver.h.

◆ LAN9355_PMI_DATA

#define LAN9355_PMI_DATA   0x00A4

Definition at line 99 of file lan9355_driver.h.

◆ LAN9355_PMI_DATA_MII_DATA

#define LAN9355_PMI_DATA_MII_DATA   0x0000FFFF

Definition at line 637 of file lan9355_driver.h.

◆ LAN9355_PMT_CTRL

#define LAN9355_PMT_CTRL   0x0084

Definition at line 95 of file lan9355_driver.h.

◆ LAN9355_PORT0

#define LAN9355_PORT0   3

Definition at line 38 of file lan9355_driver.h.

◆ LAN9355_PORT0_1_2_MASK

#define LAN9355_PORT0_1_2_MASK   0x07

Definition at line 50 of file lan9355_driver.h.

◆ LAN9355_PORT0_1_MASK

#define LAN9355_PORT0_1_MASK   0x05

Definition at line 47 of file lan9355_driver.h.

◆ LAN9355_PORT0_2_MASK

#define LAN9355_PORT0_2_MASK   0x06

Definition at line 48 of file lan9355_driver.h.

◆ LAN9355_PORT0_MASK

#define LAN9355_PORT0_MASK   0x04

Definition at line 44 of file lan9355_driver.h.

◆ LAN9355_PORT1

#define LAN9355_PORT1   1

Definition at line 39 of file lan9355_driver.h.

◆ LAN9355_PORT1_2_MASK

#define LAN9355_PORT1_2_MASK   0x03

Definition at line 49 of file lan9355_driver.h.

◆ LAN9355_PORT1_MASK

#define LAN9355_PORT1_MASK   0x01

Definition at line 45 of file lan9355_driver.h.

◆ LAN9355_PORT2

#define LAN9355_PORT2   2

Definition at line 40 of file lan9355_driver.h.

◆ LAN9355_PORT2_MASK

#define LAN9355_PORT2_MASK   0x02

Definition at line 46 of file lan9355_driver.h.

◆ LAN9355_PORT_MASK

#define LAN9355_PORT_MASK   0x07

Definition at line 43 of file lan9355_driver.h.

◆ LAN9355_PSCSIR

#define LAN9355_PSCSIR   0x1B

Definition at line 83 of file lan9355_driver.h.

◆ LAN9355_PSCSIR_AMDIXCTRL

#define LAN9355_PSCSIR_AMDIXCTRL   0x8000

Definition at line 549 of file lan9355_driver.h.

◆ LAN9355_PSCSIR_AMDIXEN

#define LAN9355_PSCSIR_AMDIXEN   0x4000

Definition at line 550 of file lan9355_driver.h.

◆ LAN9355_PSCSIR_AMDIXSTATE

#define LAN9355_PSCSIR_AMDIXSTATE   0x2000

Definition at line 551 of file lan9355_driver.h.

◆ LAN9355_PSCSIR_SQEOFF

#define LAN9355_PSCSIR_SQEOFF   0x0800

Definition at line 552 of file lan9355_driver.h.

◆ LAN9355_PSCSIR_VCOOFF_LP

#define LAN9355_PSCSIR_VCOOFF_LP   0x0400

Definition at line 553 of file lan9355_driver.h.

◆ LAN9355_PSCSIR_XPOL

#define LAN9355_PSCSIR_XPOL   0x0010

Definition at line 554 of file lan9355_driver.h.

◆ LAN9355_PSCSR

#define LAN9355_PSCSR   0x1F

Definition at line 86 of file lan9355_driver.h.

◆ LAN9355_PSCSR_AUTODONE

#define LAN9355_PSCSR_AUTODONE   0x1000

Definition at line 575 of file lan9355_driver.h.

◆ LAN9355_PSCSR_SPEED

#define LAN9355_PSCSR_SPEED   0x001C

Definition at line 576 of file lan9355_driver.h.

◆ LAN9355_PSCSR_SPEED_100BTX_FD

#define LAN9355_PSCSR_SPEED_100BTX_FD   0x0018

Definition at line 580 of file lan9355_driver.h.

◆ LAN9355_PSCSR_SPEED_100BTX_HD

#define LAN9355_PSCSR_SPEED_100BTX_HD   0x0008

Definition at line 578 of file lan9355_driver.h.

◆ LAN9355_PSCSR_SPEED_10BT_FD

#define LAN9355_PSCSR_SPEED_10BT_FD   0x0014

Definition at line 579 of file lan9355_driver.h.

◆ LAN9355_PSCSR_SPEED_10BT_HD

#define LAN9355_PSCSR_SPEED_10BT_HD   0x0004

Definition at line 577 of file lan9355_driver.h.

◆ LAN9355_PSMR

#define LAN9355_PSMR   0x12

Definition at line 82 of file lan9355_driver.h.

◆ LAN9355_PSMR_MODE

#define LAN9355_PSMR_MODE   0x00E0

Definition at line 539 of file lan9355_driver.h.

◆ LAN9355_PSMR_MODE_100BTX_FD

#define LAN9355_PSMR_MODE_100BTX_FD   0x0060

Definition at line 543 of file lan9355_driver.h.

◆ LAN9355_PSMR_MODE_100BTX_HD

#define LAN9355_PSMR_MODE_100BTX_HD   0x0040

Definition at line 542 of file lan9355_driver.h.

◆ LAN9355_PSMR_MODE_10BT_FD

#define LAN9355_PSMR_MODE_10BT_FD   0x0020

Definition at line 541 of file lan9355_driver.h.

◆ LAN9355_PSMR_MODE_10BT_HD

#define LAN9355_PSMR_MODE_10BT_HD   0x0000

Definition at line 540 of file lan9355_driver.h.

◆ LAN9355_PSMR_MODE_AN

#define LAN9355_PSMR_MODE_AN   0x00E0

Definition at line 545 of file lan9355_driver.h.

◆ LAN9355_PSMR_MODE_POWER_DOWN

#define LAN9355_PSMR_MODE_POWER_DOWN   0x00C0

Definition at line 544 of file lan9355_driver.h.

◆ LAN9355_PSMR_PHYAD

#define LAN9355_PSMR_PHYAD   0x001F

Definition at line 546 of file lan9355_driver.h.

◆ LAN9355_RESET_CTL

#define LAN9355_RESET_CTL   0x01F8

Definition at line 184 of file lan9355_driver.h.

◆ LAN9355_RESET_CTL_DIGITAL_RST

#define LAN9355_RESET_CTL_DIGITAL_RST   0x00000001

Definition at line 992 of file lan9355_driver.h.

◆ LAN9355_RESET_CTL_PHY_A_RST

#define LAN9355_RESET_CTL_PHY_A_RST   0x00000002

Definition at line 991 of file lan9355_driver.h.

◆ LAN9355_RESET_CTL_PHY_B_RST

#define LAN9355_RESET_CTL_PHY_B_RST   0x00000004

Definition at line 990 of file lan9355_driver.h.

◆ LAN9355_RESET_CTL_VPHY_0_RST

#define LAN9355_RESET_CTL_VPHY_0_RST   0x00000008

Definition at line 989 of file lan9355_driver.h.

◆ LAN9355_RESET_CTL_VPHY_1_RST

#define LAN9355_RESET_CTL_VPHY_1_RST   0x00000010

Definition at line 988 of file lan9355_driver.h.

◆ LAN9355_RX_LPI_TIME

#define LAN9355_RX_LPI_TIME (   port)    (0x0425 + ((port) * 0x0400))

Definition at line 435 of file lan9355_driver.h.

◆ LAN9355_RX_LPI_TIME_0

#define LAN9355_RX_LPI_TIME_0   0x0425

Definition at line 215 of file lan9355_driver.h.

◆ LAN9355_RX_LPI_TIME_1

#define LAN9355_RX_LPI_TIME_1   0x0825

Definition at line 265 of file lan9355_driver.h.

◆ LAN9355_RX_LPI_TIME_2

#define LAN9355_RX_LPI_TIME_2   0x0C25

Definition at line 315 of file lan9355_driver.h.

◆ LAN9355_RX_LPI_TRANSITION

#define LAN9355_RX_LPI_TRANSITION (   port)    (0x0424 + ((port) * 0x0400))

Definition at line 434 of file lan9355_driver.h.

◆ LAN9355_RX_LPI_TRANSITION_0

#define LAN9355_RX_LPI_TRANSITION_0   0x0424

Definition at line 214 of file lan9355_driver.h.

◆ LAN9355_RX_LPI_TRANSITION_1

#define LAN9355_RX_LPI_TRANSITION_1   0x0824

Definition at line 264 of file lan9355_driver.h.

◆ LAN9355_RX_LPI_TRANSITION_2

#define LAN9355_RX_LPI_TRANSITION_2   0x0C24

Definition at line 314 of file lan9355_driver.h.

◆ LAN9355_SW_DEV_ID

#define LAN9355_SW_DEV_ID   0x0000

Definition at line 188 of file lan9355_driver.h.

◆ LAN9355_SW_DEV_ID_CHIP_VERSION

#define LAN9355_SW_DEV_ID_CHIP_VERSION   0x0000FF00

Definition at line 997 of file lan9355_driver.h.

◆ LAN9355_SW_DEV_ID_CHIP_VERSION_DEFAULT

#define LAN9355_SW_DEV_ID_CHIP_VERSION_DEFAULT   0x00000600

Definition at line 998 of file lan9355_driver.h.

◆ LAN9355_SW_DEV_ID_DEVICE_TYPE

#define LAN9355_SW_DEV_ID_DEVICE_TYPE   0x00FF0000

Definition at line 995 of file lan9355_driver.h.

◆ LAN9355_SW_DEV_ID_DEVICE_TYPE_DEFAULT

#define LAN9355_SW_DEV_ID_DEVICE_TYPE_DEFAULT   0x00030000

Definition at line 996 of file lan9355_driver.h.

◆ LAN9355_SW_DEV_ID_REVISION

#define LAN9355_SW_DEV_ID_REVISION   0x000000FF

Definition at line 999 of file lan9355_driver.h.

◆ LAN9355_SW_DEV_ID_REVISION_DEFAULT

#define LAN9355_SW_DEV_ID_REVISION_DEFAULT   0x00000007

Definition at line 1000 of file lan9355_driver.h.

◆ LAN9355_SW_IMR

#define LAN9355_SW_IMR   0x0004

Definition at line 190 of file lan9355_driver.h.

◆ LAN9355_SW_IMR_BM

#define LAN9355_SW_IMR_BM   0x00000040

Definition at line 1006 of file lan9355_driver.h.

◆ LAN9355_SW_IMR_MAC0

#define LAN9355_SW_IMR_MAC0   0x00000001

Definition at line 1010 of file lan9355_driver.h.

◆ LAN9355_SW_IMR_MAC1

#define LAN9355_SW_IMR_MAC1   0x00000002

Definition at line 1009 of file lan9355_driver.h.

◆ LAN9355_SW_IMR_MAC2

#define LAN9355_SW_IMR_MAC2   0x00000004

Definition at line 1008 of file lan9355_driver.h.

◆ LAN9355_SW_IMR_SWE

#define LAN9355_SW_IMR_SWE   0x00000020

Definition at line 1007 of file lan9355_driver.h.

◆ LAN9355_SW_IPR

#define LAN9355_SW_IPR   0x0005

Definition at line 191 of file lan9355_driver.h.

◆ LAN9355_SW_IPR_BM

#define LAN9355_SW_IPR_BM   0x00000040

Definition at line 1013 of file lan9355_driver.h.

◆ LAN9355_SW_IPR_MAC0

#define LAN9355_SW_IPR_MAC0   0x00000001

Definition at line 1017 of file lan9355_driver.h.

◆ LAN9355_SW_IPR_MAC1

#define LAN9355_SW_IPR_MAC1   0x00000002

Definition at line 1016 of file lan9355_driver.h.

◆ LAN9355_SW_IPR_MAC2

#define LAN9355_SW_IPR_MAC2   0x00000004

Definition at line 1015 of file lan9355_driver.h.

◆ LAN9355_SW_IPR_SWE

#define LAN9355_SW_IPR_SWE   0x00000020

Definition at line 1014 of file lan9355_driver.h.

◆ LAN9355_SW_RESET

#define LAN9355_SW_RESET   0x0001

Definition at line 189 of file lan9355_driver.h.

◆ LAN9355_SW_RESET_SW_RESET

#define LAN9355_SW_RESET_SW_RESET   0x00000001

Definition at line 1003 of file lan9355_driver.h.

◆ LAN9355_SWE_ADMT_N_MEMBER

#define LAN9355_SWE_ADMT_N_MEMBER   0x1849

Definition at line 366 of file lan9355_driver.h.

◆ LAN9355_SWE_ADMT_ONLY_VLAN

#define LAN9355_SWE_ADMT_ONLY_VLAN   0x1842

Definition at line 360 of file lan9355_driver.h.

◆ LAN9355_SWE_ADMT_ONLY_VLAN_ADMIT_ONLY_VLAN

#define LAN9355_SWE_ADMT_ONLY_VLAN_ADMIT_ONLY_VLAN   0x00000007

Definition at line 1153 of file lan9355_driver.h.

◆ LAN9355_SWE_ADMT_ONLY_VLAN_ADMIT_ONLY_VLAN_PORT0

#define LAN9355_SWE_ADMT_ONLY_VLAN_ADMIT_ONLY_VLAN_PORT0   0x00000001

Definition at line 1154 of file lan9355_driver.h.

◆ LAN9355_SWE_ADMT_ONLY_VLAN_ADMIT_ONLY_VLAN_PORT1

#define LAN9355_SWE_ADMT_ONLY_VLAN_ADMIT_ONLY_VLAN_PORT1   0x00000002

Definition at line 1155 of file lan9355_driver.h.

◆ LAN9355_SWE_ADMT_ONLY_VLAN_ADMIT_ONLY_VLAN_PORT2

#define LAN9355_SWE_ADMT_ONLY_VLAN_ADMIT_ONLY_VLAN_PORT2   0x00000004

Definition at line 1156 of file lan9355_driver.h.

◆ LAN9355_SWE_ALR_CFG

#define LAN9355_SWE_ALR_CFG   0x1809

Definition at line 348 of file lan9355_driver.h.

◆ LAN9355_SWE_ALR_CFG_AGING_TIME

#define LAN9355_SWE_ALR_CFG_AGING_TIME   0x0FFF0000

Definition at line 1094 of file lan9355_driver.h.

◆ LAN9355_SWE_ALR_CFG_AGING_TIME_DEFAULT

#define LAN9355_SWE_ALR_CFG_AGING_TIME_DEFAULT   0x01290000

Definition at line 1095 of file lan9355_driver.h.

◆ LAN9355_SWE_ALR_CFG_ALLOW_BROADCAST

#define LAN9355_SWE_ALR_CFG_ALLOW_BROADCAST   0x00000004

Definition at line 1096 of file lan9355_driver.h.

◆ LAN9355_SWE_ALR_CFG_ALR_AGE_EN

#define LAN9355_SWE_ALR_CFG_ALR_AGE_EN   0x00000002

Definition at line 1097 of file lan9355_driver.h.

◆ LAN9355_SWE_ALR_CFG_ALR_AGE_TEST

#define LAN9355_SWE_ALR_CFG_ALR_AGE_TEST   0x00000001

Definition at line 1098 of file lan9355_driver.h.

◆ LAN9355_SWE_ALR_CMD

#define LAN9355_SWE_ALR_CMD   0x1800

Definition at line 342 of file lan9355_driver.h.

◆ LAN9355_SWE_ALR_CMD_GET_FIRST_ENTRY

#define LAN9355_SWE_ALR_CMD_GET_FIRST_ENTRY   0x00000002

Definition at line 1043 of file lan9355_driver.h.

◆ LAN9355_SWE_ALR_CMD_GET_NEXT_ENTRY

#define LAN9355_SWE_ALR_CMD_GET_NEXT_ENTRY   0x00000001

Definition at line 1044 of file lan9355_driver.h.

◆ LAN9355_SWE_ALR_CMD_MAKE_ENTRY

#define LAN9355_SWE_ALR_CMD_MAKE_ENTRY   0x00000004

Definition at line 1042 of file lan9355_driver.h.

◆ LAN9355_SWE_ALR_CMD_STS

#define LAN9355_SWE_ALR_CMD_STS   0x1808

Definition at line 347 of file lan9355_driver.h.

◆ LAN9355_SWE_ALR_CMD_STS_ALR_INIT_DONE

#define LAN9355_SWE_ALR_CMD_STS_ALR_INIT_DONE   0x00000002

Definition at line 1090 of file lan9355_driver.h.

◆ LAN9355_SWE_ALR_CMD_STS_OPERATION_PENDING

#define LAN9355_SWE_ALR_CMD_STS_OPERATION_PENDING   0x00000001

Definition at line 1091 of file lan9355_driver.h.

◆ LAN9355_SWE_ALR_OVERRIDE

#define LAN9355_SWE_ALR_OVERRIDE   0x180A

Definition at line 349 of file lan9355_driver.h.

◆ LAN9355_SWE_ALR_OVERRIDE_ALR_OVERRIDE_PORT0

#define LAN9355_SWE_ALR_OVERRIDE_ALR_OVERRIDE_PORT0   0x00000006

Definition at line 1109 of file lan9355_driver.h.

◆ LAN9355_SWE_ALR_OVERRIDE_ALR_OVERRIDE_PORT0_EN

#define LAN9355_SWE_ALR_OVERRIDE_ALR_OVERRIDE_PORT0_EN   0x00000001

Definition at line 1112 of file lan9355_driver.h.

◆ LAN9355_SWE_ALR_OVERRIDE_ALR_OVERRIDE_PORT0_PORT1

#define LAN9355_SWE_ALR_OVERRIDE_ALR_OVERRIDE_PORT0_PORT1   0x00000002

Definition at line 1110 of file lan9355_driver.h.

◆ LAN9355_SWE_ALR_OVERRIDE_ALR_OVERRIDE_PORT0_PORT2

#define LAN9355_SWE_ALR_OVERRIDE_ALR_OVERRIDE_PORT0_PORT2   0x00000004

Definition at line 1111 of file lan9355_driver.h.

◆ LAN9355_SWE_ALR_OVERRIDE_ALR_OVERRIDE_PORT1

#define LAN9355_SWE_ALR_OVERRIDE_ALR_OVERRIDE_PORT1   0x00000060

Definition at line 1105 of file lan9355_driver.h.

◆ LAN9355_SWE_ALR_OVERRIDE_ALR_OVERRIDE_PORT1_EN

#define LAN9355_SWE_ALR_OVERRIDE_ALR_OVERRIDE_PORT1_EN   0x00000010

Definition at line 1108 of file lan9355_driver.h.

◆ LAN9355_SWE_ALR_OVERRIDE_ALR_OVERRIDE_PORT1_PORT0

#define LAN9355_SWE_ALR_OVERRIDE_ALR_OVERRIDE_PORT1_PORT0   0x00000000

Definition at line 1106 of file lan9355_driver.h.

◆ LAN9355_SWE_ALR_OVERRIDE_ALR_OVERRIDE_PORT1_PORT2

#define LAN9355_SWE_ALR_OVERRIDE_ALR_OVERRIDE_PORT1_PORT2   0x00000040

Definition at line 1107 of file lan9355_driver.h.

◆ LAN9355_SWE_ALR_OVERRIDE_ALR_OVERRIDE_PORT2

#define LAN9355_SWE_ALR_OVERRIDE_ALR_OVERRIDE_PORT2   0x00000600

Definition at line 1101 of file lan9355_driver.h.

◆ LAN9355_SWE_ALR_OVERRIDE_ALR_OVERRIDE_PORT2_EN

#define LAN9355_SWE_ALR_OVERRIDE_ALR_OVERRIDE_PORT2_EN   0x00000100

Definition at line 1104 of file lan9355_driver.h.

◆ LAN9355_SWE_ALR_OVERRIDE_ALR_OVERRIDE_PORT2_PORT0

#define LAN9355_SWE_ALR_OVERRIDE_ALR_OVERRIDE_PORT2_PORT0   0x00000000

Definition at line 1102 of file lan9355_driver.h.

◆ LAN9355_SWE_ALR_OVERRIDE_ALR_OVERRIDE_PORT2_PORT1

#define LAN9355_SWE_ALR_OVERRIDE_ALR_OVERRIDE_PORT2_PORT1   0x00000200

Definition at line 1103 of file lan9355_driver.h.

◆ LAN9355_SWE_ALR_RD_DAT_0

#define LAN9355_SWE_ALR_RD_DAT_0   0x1805

Definition at line 345 of file lan9355_driver.h.

◆ LAN9355_SWE_ALR_RD_DAT_0_MAC_ADDR

#define LAN9355_SWE_ALR_RD_DAT_0_MAC_ADDR   0xFFFFFFFF

Definition at line 1068 of file lan9355_driver.h.

◆ LAN9355_SWE_ALR_RD_DAT_1

#define LAN9355_SWE_ALR_RD_DAT_1   0x1806

Definition at line 346 of file lan9355_driver.h.

◆ LAN9355_SWE_ALR_RD_DAT_1_AGE0_FILTER

#define LAN9355_SWE_ALR_RD_DAT_1_AGE0_FILTER   0x00800000

Definition at line 1075 of file lan9355_driver.h.

◆ LAN9355_SWE_ALR_RD_DAT_1_AGE1_OVERRIDE

#define LAN9355_SWE_ALR_RD_DAT_1_AGE1_OVERRIDE   0x02000000

Definition at line 1073 of file lan9355_driver.h.

◆ LAN9355_SWE_ALR_RD_DAT_1_END_OF_TABLE

#define LAN9355_SWE_ALR_RD_DAT_1_END_OF_TABLE   0x08000000

Definition at line 1071 of file lan9355_driver.h.

◆ LAN9355_SWE_ALR_RD_DAT_1_MAC_ADDR

#define LAN9355_SWE_ALR_RD_DAT_1_MAC_ADDR   0x0000FFFF

Definition at line 1087 of file lan9355_driver.h.

◆ LAN9355_SWE_ALR_RD_DAT_1_PORT

#define LAN9355_SWE_ALR_RD_DAT_1_PORT   0x00070000

Definition at line 1078 of file lan9355_driver.h.

◆ LAN9355_SWE_ALR_RD_DAT_1_PORT_0

#define LAN9355_SWE_ALR_RD_DAT_1_PORT_0   0x00000000

Definition at line 1079 of file lan9355_driver.h.

◆ LAN9355_SWE_ALR_RD_DAT_1_PORT_0_1

#define LAN9355_SWE_ALR_RD_DAT_1_PORT_0_1   0x00040000

Definition at line 1083 of file lan9355_driver.h.

◆ LAN9355_SWE_ALR_RD_DAT_1_PORT_0_1_2

#define LAN9355_SWE_ALR_RD_DAT_1_PORT_0_1_2   0x00070000

Definition at line 1086 of file lan9355_driver.h.

◆ LAN9355_SWE_ALR_RD_DAT_1_PORT_0_2

#define LAN9355_SWE_ALR_RD_DAT_1_PORT_0_2   0x00050000

Definition at line 1084 of file lan9355_driver.h.

◆ LAN9355_SWE_ALR_RD_DAT_1_PORT_1

#define LAN9355_SWE_ALR_RD_DAT_1_PORT_1   0x00010000

Definition at line 1080 of file lan9355_driver.h.

◆ LAN9355_SWE_ALR_RD_DAT_1_PORT_1_2

#define LAN9355_SWE_ALR_RD_DAT_1_PORT_1_2   0x00060000

Definition at line 1085 of file lan9355_driver.h.

◆ LAN9355_SWE_ALR_RD_DAT_1_PORT_2

#define LAN9355_SWE_ALR_RD_DAT_1_PORT_2   0x00020000

Definition at line 1081 of file lan9355_driver.h.

◆ LAN9355_SWE_ALR_RD_DAT_1_PORT_RESERVED

#define LAN9355_SWE_ALR_RD_DAT_1_PORT_RESERVED   0x00030000

Definition at line 1082 of file lan9355_driver.h.

◆ LAN9355_SWE_ALR_RD_DAT_1_PRIORITY

#define LAN9355_SWE_ALR_RD_DAT_1_PRIORITY   0x00380000

Definition at line 1077 of file lan9355_driver.h.

◆ LAN9355_SWE_ALR_RD_DAT_1_PRIORITY_EN

#define LAN9355_SWE_ALR_RD_DAT_1_PRIORITY_EN   0x00400000

Definition at line 1076 of file lan9355_driver.h.

◆ LAN9355_SWE_ALR_RD_DAT_1_STATIC

#define LAN9355_SWE_ALR_RD_DAT_1_STATIC   0x01000000

Definition at line 1074 of file lan9355_driver.h.

◆ LAN9355_SWE_ALR_RD_DAT_1_VALID

#define LAN9355_SWE_ALR_RD_DAT_1_VALID   0x04000000

Definition at line 1072 of file lan9355_driver.h.

◆ LAN9355_SWE_ALR_WR_DAT_0

#define LAN9355_SWE_ALR_WR_DAT_0   0x1801

Definition at line 343 of file lan9355_driver.h.

◆ LAN9355_SWE_ALR_WR_DAT_0_MAC_ADDR

#define LAN9355_SWE_ALR_WR_DAT_0_MAC_ADDR   0xFFFFFFFF

Definition at line 1047 of file lan9355_driver.h.

◆ LAN9355_SWE_ALR_WR_DAT_1

#define LAN9355_SWE_ALR_WR_DAT_1   0x1802

Definition at line 344 of file lan9355_driver.h.

◆ LAN9355_SWE_ALR_WR_DAT_1_AGE0_FILTER

#define LAN9355_SWE_ALR_WR_DAT_1_AGE0_FILTER   0x00800000

Definition at line 1053 of file lan9355_driver.h.

◆ LAN9355_SWE_ALR_WR_DAT_1_AGE1_OVERRIDE

#define LAN9355_SWE_ALR_WR_DAT_1_AGE1_OVERRIDE   0x02000000

Definition at line 1051 of file lan9355_driver.h.

◆ LAN9355_SWE_ALR_WR_DAT_1_MAC_ADDR

#define LAN9355_SWE_ALR_WR_DAT_1_MAC_ADDR   0x0000FFFF

Definition at line 1065 of file lan9355_driver.h.

◆ LAN9355_SWE_ALR_WR_DAT_1_PORT

#define LAN9355_SWE_ALR_WR_DAT_1_PORT   0x00070000

Definition at line 1056 of file lan9355_driver.h.

◆ LAN9355_SWE_ALR_WR_DAT_1_PORT_0

#define LAN9355_SWE_ALR_WR_DAT_1_PORT_0   0x00000000

Definition at line 1057 of file lan9355_driver.h.

◆ LAN9355_SWE_ALR_WR_DAT_1_PORT_0_1

#define LAN9355_SWE_ALR_WR_DAT_1_PORT_0_1   0x00040000

Definition at line 1061 of file lan9355_driver.h.

◆ LAN9355_SWE_ALR_WR_DAT_1_PORT_0_1_2

#define LAN9355_SWE_ALR_WR_DAT_1_PORT_0_1_2   0x00070000

Definition at line 1064 of file lan9355_driver.h.

◆ LAN9355_SWE_ALR_WR_DAT_1_PORT_0_2

#define LAN9355_SWE_ALR_WR_DAT_1_PORT_0_2   0x00050000

Definition at line 1062 of file lan9355_driver.h.

◆ LAN9355_SWE_ALR_WR_DAT_1_PORT_1

#define LAN9355_SWE_ALR_WR_DAT_1_PORT_1   0x00010000

Definition at line 1058 of file lan9355_driver.h.

◆ LAN9355_SWE_ALR_WR_DAT_1_PORT_1_2

#define LAN9355_SWE_ALR_WR_DAT_1_PORT_1_2   0x00060000

Definition at line 1063 of file lan9355_driver.h.

◆ LAN9355_SWE_ALR_WR_DAT_1_PORT_2

#define LAN9355_SWE_ALR_WR_DAT_1_PORT_2   0x00020000

Definition at line 1059 of file lan9355_driver.h.

◆ LAN9355_SWE_ALR_WR_DAT_1_PORT_RESERVED

#define LAN9355_SWE_ALR_WR_DAT_1_PORT_RESERVED   0x00030000

Definition at line 1060 of file lan9355_driver.h.

◆ LAN9355_SWE_ALR_WR_DAT_1_PRIORITY

#define LAN9355_SWE_ALR_WR_DAT_1_PRIORITY   0x00380000

Definition at line 1055 of file lan9355_driver.h.

◆ LAN9355_SWE_ALR_WR_DAT_1_PRIORITY_EN

#define LAN9355_SWE_ALR_WR_DAT_1_PRIORITY_EN   0x00400000

Definition at line 1054 of file lan9355_driver.h.

◆ LAN9355_SWE_ALR_WR_DAT_1_STATIC

#define LAN9355_SWE_ALR_WR_DAT_1_STATIC   0x01000000

Definition at line 1052 of file lan9355_driver.h.

◆ LAN9355_SWE_ALR_WR_DAT_1_VALID

#define LAN9355_SWE_ALR_WR_DAT_1_VALID   0x04000000

Definition at line 1050 of file lan9355_driver.h.

◆ LAN9355_SWE_BCST_THROT

#define LAN9355_SWE_BCST_THROT   0x1848

Definition at line 365 of file lan9355_driver.h.

◆ LAN9355_SWE_DIFFSERV_TBL_CFG

#define LAN9355_SWE_DIFFSERV_TBL_CFG   0x1811

Definition at line 354 of file lan9355_driver.h.

◆ LAN9355_SWE_DIFFSERV_TBL_CMD_STS

#define LAN9355_SWE_DIFFSERV_TBL_CMD_STS   0x1814

Definition at line 357 of file lan9355_driver.h.

◆ LAN9355_SWE_DIFFSERV_TBL_RD_DATA

#define LAN9355_SWE_DIFFSERV_TBL_RD_DATA   0x1813

Definition at line 356 of file lan9355_driver.h.

◆ LAN9355_SWE_DIFFSERV_TBL_WR_DATA

#define LAN9355_SWE_DIFFSERV_TBL_WR_DATA   0x1812

Definition at line 355 of file lan9355_driver.h.

◆ LAN9355_SWE_FILTERED_CNT_0

#define LAN9355_SWE_FILTERED_CNT_0   0x1850

Definition at line 372 of file lan9355_driver.h.

◆ LAN9355_SWE_FILTERED_CNT_1

#define LAN9355_SWE_FILTERED_CNT_1   0x1851

Definition at line 373 of file lan9355_driver.h.

◆ LAN9355_SWE_FILTERED_CNT_2

#define LAN9355_SWE_FILTERED_CNT_2   0x1852

Definition at line 374 of file lan9355_driver.h.

◆ LAN9355_SWE_GLOBAL_INGRSS_CFG

#define LAN9355_SWE_GLOBAL_INGRSS_CFG   0x1840

Definition at line 358 of file lan9355_driver.h.

◆ LAN9355_SWE_GLOBAL_INGRSS_CFG_802_1Q_VLAN_DIS

#define LAN9355_SWE_GLOBAL_INGRSS_CFG_802_1Q_VLAN_DIS   0x00008000

Definition at line 1124 of file lan9355_driver.h.

◆ LAN9355_SWE_GLOBAL_INGRSS_CFG_ALLOW_MONITOR_ECHO

#define LAN9355_SWE_GLOBAL_INGRSS_CFG_ALLOW_MONITOR_ECHO   0x00002000

Definition at line 1126 of file lan9355_driver.h.

◆ LAN9355_SWE_GLOBAL_INGRSS_CFG_ANY_HOP_BY_HOP_NEXT_HDR

#define LAN9355_SWE_GLOBAL_INGRSS_CFG_ANY_HOP_BY_HOP_NEXT_HDR   0x00010000

Definition at line 1123 of file lan9355_driver.h.

◆ LAN9355_SWE_GLOBAL_INGRSS_CFG_DA_HIGHEST_PRIORITY

#define LAN9355_SWE_GLOBAL_INGRSS_CFG_DA_HIGHEST_PRIORITY   0x00000020

Definition at line 1135 of file lan9355_driver.h.

◆ LAN9355_SWE_GLOBAL_INGRSS_CFG_DROP_UNKNOWN

#define LAN9355_SWE_GLOBAL_INGRSS_CFG_DROP_UNKNOWN   0x00000008

Definition at line 1137 of file lan9355_driver.h.

◆ LAN9355_SWE_GLOBAL_INGRSS_CFG_FILTER_MULTICAST

#define LAN9355_SWE_GLOBAL_INGRSS_CFG_FILTER_MULTICAST   0x00000010

Definition at line 1136 of file lan9355_driver.h.

◆ LAN9355_SWE_GLOBAL_INGRSS_CFG_IGMP_MONITORING_EN

#define LAN9355_SWE_GLOBAL_INGRSS_CFG_IGMP_MONITORING_EN   0x00000080

Definition at line 1133 of file lan9355_driver.h.

◆ LAN9355_SWE_GLOBAL_INGRSS_CFG_MLD_IGMP_MONITOR_PORT

#define LAN9355_SWE_GLOBAL_INGRSS_CFG_MLD_IGMP_MONITOR_PORT   0x00001C00

Definition at line 1127 of file lan9355_driver.h.

◆ LAN9355_SWE_GLOBAL_INGRSS_CFG_MLD_IGMP_MONITOR_PORT_0

#define LAN9355_SWE_GLOBAL_INGRSS_CFG_MLD_IGMP_MONITOR_PORT_0   0x00000400

Definition at line 1128 of file lan9355_driver.h.

◆ LAN9355_SWE_GLOBAL_INGRSS_CFG_MLD_IGMP_MONITOR_PORT_1

#define LAN9355_SWE_GLOBAL_INGRSS_CFG_MLD_IGMP_MONITOR_PORT_1   0x00000800

Definition at line 1129 of file lan9355_driver.h.

◆ LAN9355_SWE_GLOBAL_INGRSS_CFG_MLD_IGMP_MONITOR_PORT_2

#define LAN9355_SWE_GLOBAL_INGRSS_CFG_MLD_IGMP_MONITOR_PORT_2   0x00001000

Definition at line 1130 of file lan9355_driver.h.

◆ LAN9355_SWE_GLOBAL_INGRSS_CFG_MLD_MONITORING_EN

#define LAN9355_SWE_GLOBAL_INGRSS_CFG_MLD_MONITORING_EN   0x00000100

Definition at line 1132 of file lan9355_driver.h.

◆ LAN9355_SWE_GLOBAL_INGRSS_CFG_OTHER_MLD_NEXT_HDR_EN

#define LAN9355_SWE_GLOBAL_INGRSS_CFG_OTHER_MLD_NEXT_HDR_EN   0x00020000

Definition at line 1122 of file lan9355_driver.h.

◆ LAN9355_SWE_GLOBAL_INGRSS_CFG_SWE_COUNTER_TEST

#define LAN9355_SWE_GLOBAL_INGRSS_CFG_SWE_COUNTER_TEST   0x00000040

Definition at line 1134 of file lan9355_driver.h.

◆ LAN9355_SWE_GLOBAL_INGRSS_CFG_USE_IP

#define LAN9355_SWE_GLOBAL_INGRSS_CFG_USE_IP   0x00000200

Definition at line 1131 of file lan9355_driver.h.

◆ LAN9355_SWE_GLOBAL_INGRSS_CFG_USE_PRECEDENCE

#define LAN9355_SWE_GLOBAL_INGRSS_CFG_USE_PRECEDENCE   0x00000004

Definition at line 1138 of file lan9355_driver.h.

◆ LAN9355_SWE_GLOBAL_INGRSS_CFG_USE_TAG

#define LAN9355_SWE_GLOBAL_INGRSS_CFG_USE_TAG   0x00004000

Definition at line 1125 of file lan9355_driver.h.

◆ LAN9355_SWE_GLOBAL_INGRSS_CFG_VL_HIGHER_PRIORITY

#define LAN9355_SWE_GLOBAL_INGRSS_CFG_VL_HIGHER_PRIORITY   0x00000002

Definition at line 1139 of file lan9355_driver.h.

◆ LAN9355_SWE_GLOBAL_INGRSS_CFG_VLAN_EN

#define LAN9355_SWE_GLOBAL_INGRSS_CFG_VLAN_EN   0x00000001

Definition at line 1140 of file lan9355_driver.h.

◆ LAN9355_SWE_IMR

#define LAN9355_SWE_IMR   0x1880

Definition at line 381 of file lan9355_driver.h.

◆ LAN9355_SWE_INGRSS_PORT_TYP

#define LAN9355_SWE_INGRSS_PORT_TYP   0x1847

Definition at line 364 of file lan9355_driver.h.

◆ LAN9355_SWE_INGRSS_PORT_TYP_PORT0

#define LAN9355_SWE_INGRSS_PORT_TYP_PORT0   0x00000003

Definition at line 1205 of file lan9355_driver.h.

◆ LAN9355_SWE_INGRSS_PORT_TYP_PORT0_DIS

#define LAN9355_SWE_INGRSS_PORT_TYP_PORT0_DIS   0x00000000

Definition at line 1206 of file lan9355_driver.h.

◆ LAN9355_SWE_INGRSS_PORT_TYP_PORT0_EN

#define LAN9355_SWE_INGRSS_PORT_TYP_PORT0_EN   0x00000003

Definition at line 1207 of file lan9355_driver.h.

◆ LAN9355_SWE_INGRSS_PORT_TYP_PORT1

#define LAN9355_SWE_INGRSS_PORT_TYP_PORT1   0x0000000C

Definition at line 1202 of file lan9355_driver.h.

◆ LAN9355_SWE_INGRSS_PORT_TYP_PORT1_DIS

#define LAN9355_SWE_INGRSS_PORT_TYP_PORT1_DIS   0x00000000

Definition at line 1203 of file lan9355_driver.h.

◆ LAN9355_SWE_INGRSS_PORT_TYP_PORT1_EN

#define LAN9355_SWE_INGRSS_PORT_TYP_PORT1_EN   0x0000000C

Definition at line 1204 of file lan9355_driver.h.

◆ LAN9355_SWE_INGRSS_PORT_TYP_PORT2

#define LAN9355_SWE_INGRSS_PORT_TYP_PORT2   0x00000030

Definition at line 1199 of file lan9355_driver.h.

◆ LAN9355_SWE_INGRSS_PORT_TYP_PORT2_DIS

#define LAN9355_SWE_INGRSS_PORT_TYP_PORT2_DIS   0x00000000

Definition at line 1200 of file lan9355_driver.h.

◆ LAN9355_SWE_INGRSS_PORT_TYP_PORT2_EN

#define LAN9355_SWE_INGRSS_PORT_TYP_PORT2_EN   0x00000030

Definition at line 1201 of file lan9355_driver.h.

◆ LAN9355_SWE_INGRSS_RATE_CFG

#define LAN9355_SWE_INGRSS_RATE_CFG   0x184A

Definition at line 367 of file lan9355_driver.h.

◆ LAN9355_SWE_INGRSS_RATE_CMD

#define LAN9355_SWE_INGRSS_RATE_CMD   0x184B

Definition at line 368 of file lan9355_driver.h.

◆ LAN9355_SWE_INGRSS_RATE_CMD_STS

#define LAN9355_SWE_INGRSS_RATE_CMD_STS   0x184C

Definition at line 369 of file lan9355_driver.h.

◆ LAN9355_SWE_INGRSS_RATE_RD_DATA

#define LAN9355_SWE_INGRSS_RATE_RD_DATA   0x184E

Definition at line 371 of file lan9355_driver.h.

◆ LAN9355_SWE_INGRSS_RATE_WR_DATA

#define LAN9355_SWE_INGRSS_RATE_WR_DATA   0x184D

Definition at line 370 of file lan9355_driver.h.

◆ LAN9355_SWE_INGRSS_REGEN_TBL_0

#define LAN9355_SWE_INGRSS_REGEN_TBL_0   0x1855

Definition at line 375 of file lan9355_driver.h.

◆ LAN9355_SWE_INGRSS_REGEN_TBL_1

#define LAN9355_SWE_INGRSS_REGEN_TBL_1   0x1856

Definition at line 376 of file lan9355_driver.h.

◆ LAN9355_SWE_INGRSS_REGEN_TBL_2

#define LAN9355_SWE_INGRSS_REGEN_TBL_2   0x1857

Definition at line 377 of file lan9355_driver.h.

◆ LAN9355_SWE_IPR

#define LAN9355_SWE_IPR   0x1881

Definition at line 382 of file lan9355_driver.h.

◆ LAN9355_SWE_LRN_DISCRD_CNT_0

#define LAN9355_SWE_LRN_DISCRD_CNT_0   0x1858

Definition at line 378 of file lan9355_driver.h.

◆ LAN9355_SWE_LRN_DISCRD_CNT_1

#define LAN9355_SWE_LRN_DISCRD_CNT_1   0x1859

Definition at line 379 of file lan9355_driver.h.

◆ LAN9355_SWE_LRN_DISCRD_CNT_2

#define LAN9355_SWE_LRN_DISCRD_CNT_2   0x185A

Definition at line 380 of file lan9355_driver.h.

◆ LAN9355_SWE_PORT_INGRSS_CFG

#define LAN9355_SWE_PORT_INGRSS_CFG   0x1841

Definition at line 359 of file lan9355_driver.h.

◆ LAN9355_SWE_PORT_INGRSS_CFG_LEARN_ON_INGRESS

#define LAN9355_SWE_PORT_INGRSS_CFG_LEARN_ON_INGRESS   0x00000038

Definition at line 1143 of file lan9355_driver.h.

◆ LAN9355_SWE_PORT_INGRSS_CFG_LEARN_ON_INGRESS_PORT0

#define LAN9355_SWE_PORT_INGRSS_CFG_LEARN_ON_INGRESS_PORT0   0x00000000

Definition at line 1144 of file lan9355_driver.h.

◆ LAN9355_SWE_PORT_INGRSS_CFG_LEARN_ON_INGRESS_PORT1

#define LAN9355_SWE_PORT_INGRSS_CFG_LEARN_ON_INGRESS_PORT1   0x00000008

Definition at line 1145 of file lan9355_driver.h.

◆ LAN9355_SWE_PORT_INGRSS_CFG_LEARN_ON_INGRESS_PORT2

#define LAN9355_SWE_PORT_INGRSS_CFG_LEARN_ON_INGRESS_PORT2   0x00000010

Definition at line 1146 of file lan9355_driver.h.

◆ LAN9355_SWE_PORT_INGRSS_CFG_MEMBERSHIP_CHECK

#define LAN9355_SWE_PORT_INGRSS_CFG_MEMBERSHIP_CHECK   0x00000007

Definition at line 1147 of file lan9355_driver.h.

◆ LAN9355_SWE_PORT_INGRSS_CFG_MEMBERSHIP_CHECK_PORT0

#define LAN9355_SWE_PORT_INGRSS_CFG_MEMBERSHIP_CHECK_PORT0   0x00000000

Definition at line 1148 of file lan9355_driver.h.

◆ LAN9355_SWE_PORT_INGRSS_CFG_MEMBERSHIP_CHECK_PORT1

#define LAN9355_SWE_PORT_INGRSS_CFG_MEMBERSHIP_CHECK_PORT1   0x00000001

Definition at line 1149 of file lan9355_driver.h.

◆ LAN9355_SWE_PORT_INGRSS_CFG_MEMBERSHIP_CHECK_PORT2

#define LAN9355_SWE_PORT_INGRSS_CFG_MEMBERSHIP_CHECK_PORT2   0x00000002

Definition at line 1150 of file lan9355_driver.h.

◆ LAN9355_SWE_PORT_MIRROR

#define LAN9355_SWE_PORT_MIRROR   0x1846

Definition at line 363 of file lan9355_driver.h.

◆ LAN9355_SWE_PORT_MIRROR_MIRRORED_PORT

#define LAN9355_SWE_PORT_MIRROR_MIRRORED_PORT   0x0000001C

Definition at line 1191 of file lan9355_driver.h.

◆ LAN9355_SWE_PORT_MIRROR_MIRRORED_PORT_0

#define LAN9355_SWE_PORT_MIRROR_MIRRORED_PORT_0   0x00000004

Definition at line 1192 of file lan9355_driver.h.

◆ LAN9355_SWE_PORT_MIRROR_MIRRORED_PORT_1

#define LAN9355_SWE_PORT_MIRROR_MIRRORED_PORT_1   0x00000008

Definition at line 1193 of file lan9355_driver.h.

◆ LAN9355_SWE_PORT_MIRROR_MIRRORED_PORT_2

#define LAN9355_SWE_PORT_MIRROR_MIRRORED_PORT_2   0x00000010

Definition at line 1194 of file lan9355_driver.h.

◆ LAN9355_SWE_PORT_MIRROR_RX_MIRRORING_EN

#define LAN9355_SWE_PORT_MIRROR_RX_MIRRORING_EN   0x00000002

Definition at line 1195 of file lan9355_driver.h.

◆ LAN9355_SWE_PORT_MIRROR_RX_MIRRORING_FILT_EN

#define LAN9355_SWE_PORT_MIRROR_RX_MIRRORING_FILT_EN   0x00000100

Definition at line 1186 of file lan9355_driver.h.

◆ LAN9355_SWE_PORT_MIRROR_SNIFFER_PORT

#define LAN9355_SWE_PORT_MIRROR_SNIFFER_PORT   0x000000E0

Definition at line 1187 of file lan9355_driver.h.

◆ LAN9355_SWE_PORT_MIRROR_SNIFFER_PORT_0

#define LAN9355_SWE_PORT_MIRROR_SNIFFER_PORT_0   0x00000020

Definition at line 1188 of file lan9355_driver.h.

◆ LAN9355_SWE_PORT_MIRROR_SNIFFER_PORT_1

#define LAN9355_SWE_PORT_MIRROR_SNIFFER_PORT_1   0x00000040

Definition at line 1189 of file lan9355_driver.h.

◆ LAN9355_SWE_PORT_MIRROR_SNIFFER_PORT_2

#define LAN9355_SWE_PORT_MIRROR_SNIFFER_PORT_2   0x00000080

Definition at line 1190 of file lan9355_driver.h.

◆ LAN9355_SWE_PORT_MIRROR_TX_MIRRORING_EN

#define LAN9355_SWE_PORT_MIRROR_TX_MIRRORING_EN   0x00000001

Definition at line 1196 of file lan9355_driver.h.

◆ LAN9355_SWE_PORT_STATE

#define LAN9355_SWE_PORT_STATE   0x1843

Definition at line 361 of file lan9355_driver.h.

◆ LAN9355_SWE_PORT_STATE_PORT0

#define LAN9355_SWE_PORT_STATE_PORT0   0x00000003

Definition at line 1169 of file lan9355_driver.h.

◆ LAN9355_SWE_PORT_STATE_PORT0_DISABLED

#define LAN9355_SWE_PORT_STATE_PORT0_DISABLED   0x00000003

Definition at line 1173 of file lan9355_driver.h.

◆ LAN9355_SWE_PORT_STATE_PORT0_FORWARDING

#define LAN9355_SWE_PORT_STATE_PORT0_FORWARDING   0x00000000

Definition at line 1170 of file lan9355_driver.h.

◆ LAN9355_SWE_PORT_STATE_PORT0_LEARNING

#define LAN9355_SWE_PORT_STATE_PORT0_LEARNING   0x00000002

Definition at line 1172 of file lan9355_driver.h.

◆ LAN9355_SWE_PORT_STATE_PORT0_LISTENING

#define LAN9355_SWE_PORT_STATE_PORT0_LISTENING   0x00000001

Definition at line 1171 of file lan9355_driver.h.

◆ LAN9355_SWE_PORT_STATE_PORT1

#define LAN9355_SWE_PORT_STATE_PORT1   0x0000000C

Definition at line 1164 of file lan9355_driver.h.

◆ LAN9355_SWE_PORT_STATE_PORT1_DISABLED

#define LAN9355_SWE_PORT_STATE_PORT1_DISABLED   0x0000000C

Definition at line 1168 of file lan9355_driver.h.

◆ LAN9355_SWE_PORT_STATE_PORT1_FORWARDING

#define LAN9355_SWE_PORT_STATE_PORT1_FORWARDING   0x00000000

Definition at line 1165 of file lan9355_driver.h.

◆ LAN9355_SWE_PORT_STATE_PORT1_LEARNING

#define LAN9355_SWE_PORT_STATE_PORT1_LEARNING   0x00000008

Definition at line 1167 of file lan9355_driver.h.

◆ LAN9355_SWE_PORT_STATE_PORT1_LISTENING

#define LAN9355_SWE_PORT_STATE_PORT1_LISTENING   0x00000004

Definition at line 1166 of file lan9355_driver.h.

◆ LAN9355_SWE_PORT_STATE_PORT2

#define LAN9355_SWE_PORT_STATE_PORT2   0x00000030

Definition at line 1159 of file lan9355_driver.h.

◆ LAN9355_SWE_PORT_STATE_PORT2_DISABLED

#define LAN9355_SWE_PORT_STATE_PORT2_DISABLED   0x00000030

Definition at line 1163 of file lan9355_driver.h.

◆ LAN9355_SWE_PORT_STATE_PORT2_FORWARDING

#define LAN9355_SWE_PORT_STATE_PORT2_FORWARDING   0x00000000

Definition at line 1160 of file lan9355_driver.h.

◆ LAN9355_SWE_PORT_STATE_PORT2_LEARNING

#define LAN9355_SWE_PORT_STATE_PORT2_LEARNING   0x00000020

Definition at line 1162 of file lan9355_driver.h.

◆ LAN9355_SWE_PORT_STATE_PORT2_LISTENING

#define LAN9355_SWE_PORT_STATE_PORT2_LISTENING   0x00000010

Definition at line 1161 of file lan9355_driver.h.

◆ LAN9355_SWE_PRI_TO_QUE

#define LAN9355_SWE_PRI_TO_QUE   0x1845

Definition at line 362 of file lan9355_driver.h.

◆ LAN9355_SWE_PRI_TO_QUE_PRIO_0_TRAFFIC_CLASS

#define LAN9355_SWE_PRI_TO_QUE_PRIO_0_TRAFFIC_CLASS   0x00000003

Definition at line 1183 of file lan9355_driver.h.

◆ LAN9355_SWE_PRI_TO_QUE_PRIO_1_TRAFFIC_CLASS

#define LAN9355_SWE_PRI_TO_QUE_PRIO_1_TRAFFIC_CLASS   0x0000000C

Definition at line 1182 of file lan9355_driver.h.

◆ LAN9355_SWE_PRI_TO_QUE_PRIO_2_TRAFFIC_CLASS

#define LAN9355_SWE_PRI_TO_QUE_PRIO_2_TRAFFIC_CLASS   0x00000030

Definition at line 1181 of file lan9355_driver.h.

◆ LAN9355_SWE_PRI_TO_QUE_PRIO_3_TRAFFIC_CLASS

#define LAN9355_SWE_PRI_TO_QUE_PRIO_3_TRAFFIC_CLASS   0x000000C0

Definition at line 1180 of file lan9355_driver.h.

◆ LAN9355_SWE_PRI_TO_QUE_PRIO_4_TRAFFIC_CLASS

#define LAN9355_SWE_PRI_TO_QUE_PRIO_4_TRAFFIC_CLASS   0x00000300

Definition at line 1179 of file lan9355_driver.h.

◆ LAN9355_SWE_PRI_TO_QUE_PRIO_5_TRAFFIC_CLASS

#define LAN9355_SWE_PRI_TO_QUE_PRIO_5_TRAFFIC_CLASS   0x00000C00

Definition at line 1178 of file lan9355_driver.h.

◆ LAN9355_SWE_PRI_TO_QUE_PRIO_6_TRAFFIC_CLASS

#define LAN9355_SWE_PRI_TO_QUE_PRIO_6_TRAFFIC_CLASS   0x00003000

Definition at line 1177 of file lan9355_driver.h.

◆ LAN9355_SWE_PRI_TO_QUE_PRIO_7_TRAFFIC_CLASS

#define LAN9355_SWE_PRI_TO_QUE_PRIO_7_TRAFFIC_CLASS   0x0000C000

Definition at line 1176 of file lan9355_driver.h.

◆ LAN9355_SWE_VLAN_CMD

#define LAN9355_SWE_VLAN_CMD   0x180B

Definition at line 350 of file lan9355_driver.h.

◆ LAN9355_SWE_VLAN_CMD_PVID

#define LAN9355_SWE_VLAN_CMD_PVID   0x00000010

Definition at line 1118 of file lan9355_driver.h.

◆ LAN9355_SWE_VLAN_CMD_READ

#define LAN9355_SWE_VLAN_CMD_READ   0x00000020

Definition at line 1116 of file lan9355_driver.h.

◆ LAN9355_SWE_VLAN_CMD_STS

#define LAN9355_SWE_VLAN_CMD_STS   0x1810

Definition at line 353 of file lan9355_driver.h.

◆ LAN9355_SWE_VLAN_CMD_VLAN

#define LAN9355_SWE_VLAN_CMD_VLAN   0x00000000

Definition at line 1117 of file lan9355_driver.h.

◆ LAN9355_SWE_VLAN_CMD_VLAN_PORT

#define LAN9355_SWE_VLAN_CMD_VLAN_PORT   0x0000000F

Definition at line 1119 of file lan9355_driver.h.

◆ LAN9355_SWE_VLAN_CMD_WRITE

#define LAN9355_SWE_VLAN_CMD_WRITE   0x00000000

Definition at line 1115 of file lan9355_driver.h.

◆ LAN9355_SWE_VLAN_RD_DATA

#define LAN9355_SWE_VLAN_RD_DATA   0x180E

Definition at line 352 of file lan9355_driver.h.

◆ LAN9355_SWE_VLAN_WR_DATA

#define LAN9355_SWE_VLAN_WR_DATA   0x180C

Definition at line 351 of file lan9355_driver.h.

◆ LAN9355_SWITCH_CSR_CMD

#define LAN9355_SWITCH_CSR_CMD   0x01B0

Definition at line 167 of file lan9355_driver.h.

◆ LAN9355_SWITCH_CSR_CMD_ADDR

#define LAN9355_SWITCH_CSR_CMD_ADDR   0x0000FFFF

Definition at line 774 of file lan9355_driver.h.

◆ LAN9355_SWITCH_CSR_CMD_AUTO_DEC

#define LAN9355_SWITCH_CSR_CMD_AUTO_DEC   0x10000000

Definition at line 768 of file lan9355_driver.h.

◆ LAN9355_SWITCH_CSR_CMD_AUTO_INC

#define LAN9355_SWITCH_CSR_CMD_AUTO_INC   0x20000000

Definition at line 767 of file lan9355_driver.h.

◆ LAN9355_SWITCH_CSR_CMD_BE

#define LAN9355_SWITCH_CSR_CMD_BE   0x000F0000

Definition at line 769 of file lan9355_driver.h.

◆ LAN9355_SWITCH_CSR_CMD_BE_0

#define LAN9355_SWITCH_CSR_CMD_BE_0   0x00010000

Definition at line 770 of file lan9355_driver.h.

◆ LAN9355_SWITCH_CSR_CMD_BE_1

#define LAN9355_SWITCH_CSR_CMD_BE_1   0x00020000

Definition at line 771 of file lan9355_driver.h.

◆ LAN9355_SWITCH_CSR_CMD_BE_2

#define LAN9355_SWITCH_CSR_CMD_BE_2   0x00040000

Definition at line 772 of file lan9355_driver.h.

◆ LAN9355_SWITCH_CSR_CMD_BE_3

#define LAN9355_SWITCH_CSR_CMD_BE_3   0x00080000

Definition at line 773 of file lan9355_driver.h.

◆ LAN9355_SWITCH_CSR_CMD_BUSY

#define LAN9355_SWITCH_CSR_CMD_BUSY   0x80000000

Definition at line 764 of file lan9355_driver.h.

◆ LAN9355_SWITCH_CSR_CMD_READ

#define LAN9355_SWITCH_CSR_CMD_READ   0x40000000

Definition at line 766 of file lan9355_driver.h.

◆ LAN9355_SWITCH_CSR_CMD_WRITE

#define LAN9355_SWITCH_CSR_CMD_WRITE   0x00000000

Definition at line 765 of file lan9355_driver.h.

◆ LAN9355_SWITCH_CSR_DATA

#define LAN9355_SWITCH_CSR_DATA   0x01AC

Definition at line 166 of file lan9355_driver.h.

◆ LAN9355_SWITCH_CSR_DIRECT_DATA

#define LAN9355_SWITCH_CSR_DIRECT_DATA   0x0200

Definition at line 185 of file lan9355_driver.h.

◆ LAN9355_SWITCH_MAC_ADDRH

#define LAN9355_SWITCH_MAC_ADDRH   0x01F0

Definition at line 182 of file lan9355_driver.h.

◆ LAN9355_SWITCH_MAC_ADDRH_DIFF_PAUSE_ADDR

#define LAN9355_SWITCH_MAC_ADDRH_DIFF_PAUSE_ADDR   0x00400000

Definition at line 978 of file lan9355_driver.h.

◆ LAN9355_SWITCH_MAC_ADDRH_PHY_ADDR_47_32

#define LAN9355_SWITCH_MAC_ADDRH_PHY_ADDR_47_32   0x0000FFFF

Definition at line 982 of file lan9355_driver.h.

◆ LAN9355_SWITCH_MAC_ADDRH_PORT0_PHY_ADDR_41_40

#define LAN9355_SWITCH_MAC_ADDRH_PORT0_PHY_ADDR_41_40   0x00030000

Definition at line 981 of file lan9355_driver.h.

◆ LAN9355_SWITCH_MAC_ADDRH_PORT1_PHY_ADDR_41_40

#define LAN9355_SWITCH_MAC_ADDRH_PORT1_PHY_ADDR_41_40   0x000C0000

Definition at line 980 of file lan9355_driver.h.

◆ LAN9355_SWITCH_MAC_ADDRH_PORT2_PHY_ADDR_41_40

#define LAN9355_SWITCH_MAC_ADDRH_PORT2_PHY_ADDR_41_40   0x00300000

Definition at line 979 of file lan9355_driver.h.

◆ LAN9355_SWITCH_MAC_ADDRL

#define LAN9355_SWITCH_MAC_ADDRL   0x01F4

Definition at line 183 of file lan9355_driver.h.

◆ LAN9355_SWITCH_MAC_ADDRL_PHY_ADDR_31_0

#define LAN9355_SWITCH_MAC_ADDRL_PHY_ADDR_31_0   0xFFFFFFFF

Definition at line 985 of file lan9355_driver.h.

◆ LAN9355_TX_LPI_TIME

#define LAN9355_TX_LPI_TIME (   port)    (0x0465 + ((port) * 0x0400))

Definition at line 459 of file lan9355_driver.h.

◆ LAN9355_TX_LPI_TIME_0

#define LAN9355_TX_LPI_TIME_0   0x0465

Definition at line 239 of file lan9355_driver.h.

◆ LAN9355_TX_LPI_TIME_1

#define LAN9355_TX_LPI_TIME_1   0x0865

Definition at line 289 of file lan9355_driver.h.

◆ LAN9355_TX_LPI_TIME_2

#define LAN9355_TX_LPI_TIME_2   0x0C65

Definition at line 339 of file lan9355_driver.h.

◆ LAN9355_TX_LPI_TRANSITION

#define LAN9355_TX_LPI_TRANSITION (   port)    (0x0464 + ((port) * 0x0400))

Definition at line 458 of file lan9355_driver.h.

◆ LAN9355_TX_LPI_TRANSITION_0

#define LAN9355_TX_LPI_TRANSITION_0   0x0464

Definition at line 238 of file lan9355_driver.h.

◆ LAN9355_TX_LPI_TRANSITION_1

#define LAN9355_TX_LPI_TRANSITION_1   0x0864

Definition at line 288 of file lan9355_driver.h.

◆ LAN9355_TX_LPI_TRANSITION_2

#define LAN9355_TX_LPI_TRANSITION_2   0x0C64

Definition at line 338 of file lan9355_driver.h.

◆ LAN9355_VID_ALR_LOOKUP

#define LAN9355_VID_ALR_LOOKUP   0x0008

Definition at line 59 of file lan9355_driver.h.

◆ LAN9355_VID_BROADCAST

#define LAN9355_VID_BROADCAST   0x0003

Definition at line 60 of file lan9355_driver.h.

◆ LAN9355_VID_CALC_PRIORITY

#define LAN9355_VID_CALC_PRIORITY   0x0020

Definition at line 57 of file lan9355_driver.h.

◆ LAN9355_VID_DEST_PORT0

#define LAN9355_VID_DEST_PORT0   0x0000

Definition at line 63 of file lan9355_driver.h.

◆ LAN9355_VID_DEST_PORT1

#define LAN9355_VID_DEST_PORT1   0x0001

Definition at line 62 of file lan9355_driver.h.

◆ LAN9355_VID_DEST_PORT2

#define LAN9355_VID_DEST_PORT2   0x0002

Definition at line 61 of file lan9355_driver.h.

◆ LAN9355_VID_IGMP_PACKET

#define LAN9355_VID_IGMP_PACKET   0x0008

Definition at line 70 of file lan9355_driver.h.

◆ LAN9355_VID_PRIORITY

#define LAN9355_VID_PRIORITY   0x0380

Definition at line 66 of file lan9355_driver.h.

◆ LAN9355_VID_PRIORITY_EN

#define LAN9355_VID_PRIORITY_EN   0x0040

Definition at line 67 of file lan9355_driver.h.

◆ LAN9355_VID_SRC_PORT

#define LAN9355_VID_SRC_PORT   0x0003

Definition at line 71 of file lan9355_driver.h.

◆ LAN9355_VID_STATIC

#define LAN9355_VID_STATIC   0x0020

Definition at line 68 of file lan9355_driver.h.

◆ LAN9355_VID_STP_OVERRIDE [1/2]

#define LAN9355_VID_STP_OVERRIDE   0x0010

Definition at line 69 of file lan9355_driver.h.

◆ LAN9355_VID_STP_OVERRIDE [2/2]

#define LAN9355_VID_STP_OVERRIDE   0x0010

Definition at line 69 of file lan9355_driver.h.

◆ LAN9355_VID_VLAN_RULES

#define LAN9355_VID_VLAN_RULES   0x0040

Definition at line 56 of file lan9355_driver.h.

◆ LAN9355_VPHY_AN_ADV_0

#define LAN9355_VPHY_AN_ADV_0   0x01D0

Definition at line 175 of file lan9355_driver.h.

◆ LAN9355_VPHY_AN_ADV_0_100BTX_FD

#define LAN9355_VPHY_AN_ADV_0_100BTX_FD   0x00000100

Definition at line 850 of file lan9355_driver.h.

◆ LAN9355_VPHY_AN_ADV_0_100BTX_HD

#define LAN9355_VPHY_AN_ADV_0_100BTX_HD   0x00000080

Definition at line 851 of file lan9355_driver.h.

◆ LAN9355_VPHY_AN_ADV_0_10BT_FD

#define LAN9355_VPHY_AN_ADV_0_10BT_FD   0x00000040

Definition at line 852 of file lan9355_driver.h.

◆ LAN9355_VPHY_AN_ADV_0_10BT_HD

#define LAN9355_VPHY_AN_ADV_0_10BT_HD   0x00000020

Definition at line 853 of file lan9355_driver.h.

◆ LAN9355_VPHY_AN_ADV_0_ASYM_PAUSE

#define LAN9355_VPHY_AN_ADV_0_ASYM_PAUSE   0x00000800

Definition at line 848 of file lan9355_driver.h.

◆ LAN9355_VPHY_AN_ADV_0_NEXT_PAGE

#define LAN9355_VPHY_AN_ADV_0_NEXT_PAGE   0x00008000

Definition at line 846 of file lan9355_driver.h.

◆ LAN9355_VPHY_AN_ADV_0_REMOTE_FAULT

#define LAN9355_VPHY_AN_ADV_0_REMOTE_FAULT   0x00002000

Definition at line 847 of file lan9355_driver.h.

◆ LAN9355_VPHY_AN_ADV_0_SELECTOR

#define LAN9355_VPHY_AN_ADV_0_SELECTOR   0x0000001F

Definition at line 854 of file lan9355_driver.h.

◆ LAN9355_VPHY_AN_ADV_0_SELECTOR_DEFAULT

#define LAN9355_VPHY_AN_ADV_0_SELECTOR_DEFAULT   0x00000001

Definition at line 855 of file lan9355_driver.h.

◆ LAN9355_VPHY_AN_ADV_0_SYM_PAUSE

#define LAN9355_VPHY_AN_ADV_0_SYM_PAUSE   0x00000400

Definition at line 849 of file lan9355_driver.h.

◆ LAN9355_VPHY_AN_ADV_1

#define LAN9355_VPHY_AN_ADV_1   0x00D0

Definition at line 105 of file lan9355_driver.h.

◆ LAN9355_VPHY_AN_ADV_1_100BTX_FD

#define LAN9355_VPHY_AN_ADV_1_100BTX_FD   0x00000100

Definition at line 687 of file lan9355_driver.h.

◆ LAN9355_VPHY_AN_ADV_1_100BTX_HD

#define LAN9355_VPHY_AN_ADV_1_100BTX_HD   0x00000080

Definition at line 688 of file lan9355_driver.h.

◆ LAN9355_VPHY_AN_ADV_1_10BT_FD

#define LAN9355_VPHY_AN_ADV_1_10BT_FD   0x00000040

Definition at line 689 of file lan9355_driver.h.

◆ LAN9355_VPHY_AN_ADV_1_10BT_HD

#define LAN9355_VPHY_AN_ADV_1_10BT_HD   0x00000020

Definition at line 690 of file lan9355_driver.h.

◆ LAN9355_VPHY_AN_ADV_1_ASYM_PAUSE

#define LAN9355_VPHY_AN_ADV_1_ASYM_PAUSE   0x00000800

Definition at line 685 of file lan9355_driver.h.

◆ LAN9355_VPHY_AN_ADV_1_NEXT_PAGE

#define LAN9355_VPHY_AN_ADV_1_NEXT_PAGE   0x00008000

Definition at line 683 of file lan9355_driver.h.

◆ LAN9355_VPHY_AN_ADV_1_REMOTE_FAULT

#define LAN9355_VPHY_AN_ADV_1_REMOTE_FAULT   0x00002000

Definition at line 684 of file lan9355_driver.h.

◆ LAN9355_VPHY_AN_ADV_1_SELECTOR

#define LAN9355_VPHY_AN_ADV_1_SELECTOR   0x0000001F

Definition at line 691 of file lan9355_driver.h.

◆ LAN9355_VPHY_AN_ADV_1_SELECTOR_DEFAULT

#define LAN9355_VPHY_AN_ADV_1_SELECTOR_DEFAULT   0x00000001

Definition at line 692 of file lan9355_driver.h.

◆ LAN9355_VPHY_AN_ADV_1_SYM_PAUSE

#define LAN9355_VPHY_AN_ADV_1_SYM_PAUSE   0x00000400

Definition at line 686 of file lan9355_driver.h.

◆ LAN9355_VPHY_AN_EXP_0

#define LAN9355_VPHY_AN_EXP_0   0x01D8

Definition at line 177 of file lan9355_driver.h.

◆ LAN9355_VPHY_AN_EXP_0_LP_AN_ABLE

#define LAN9355_VPHY_AN_EXP_0_LP_AN_ABLE   0x00000001

Definition at line 876 of file lan9355_driver.h.

◆ LAN9355_VPHY_AN_EXP_0_LP_NEXT_PAGE_ABLE

#define LAN9355_VPHY_AN_EXP_0_LP_NEXT_PAGE_ABLE   0x00000008

Definition at line 873 of file lan9355_driver.h.

◆ LAN9355_VPHY_AN_EXP_0_NEXT_PAGE_ABLE

#define LAN9355_VPHY_AN_EXP_0_NEXT_PAGE_ABLE   0x00000004

Definition at line 874 of file lan9355_driver.h.

◆ LAN9355_VPHY_AN_EXP_0_PAGE_RECEIVED

#define LAN9355_VPHY_AN_EXP_0_PAGE_RECEIVED   0x00000002

Definition at line 875 of file lan9355_driver.h.

◆ LAN9355_VPHY_AN_EXP_0_PAR_DETECT_FAULT

#define LAN9355_VPHY_AN_EXP_0_PAR_DETECT_FAULT   0x00000010

Definition at line 872 of file lan9355_driver.h.

◆ LAN9355_VPHY_AN_EXP_1

#define LAN9355_VPHY_AN_EXP_1   0x00D8

Definition at line 107 of file lan9355_driver.h.

◆ LAN9355_VPHY_AN_EXP_1_LP_AN_ABLE

#define LAN9355_VPHY_AN_EXP_1_LP_AN_ABLE   0x00000001

Definition at line 713 of file lan9355_driver.h.

◆ LAN9355_VPHY_AN_EXP_1_LP_NEXT_PAGE_ABLE

#define LAN9355_VPHY_AN_EXP_1_LP_NEXT_PAGE_ABLE   0x00000008

Definition at line 710 of file lan9355_driver.h.

◆ LAN9355_VPHY_AN_EXP_1_NEXT_PAGE_ABLE

#define LAN9355_VPHY_AN_EXP_1_NEXT_PAGE_ABLE   0x00000004

Definition at line 711 of file lan9355_driver.h.

◆ LAN9355_VPHY_AN_EXP_1_PAGE_RECEIVED

#define LAN9355_VPHY_AN_EXP_1_PAGE_RECEIVED   0x00000002

Definition at line 712 of file lan9355_driver.h.

◆ LAN9355_VPHY_AN_EXP_1_PAR_DETECT_FAULT

#define LAN9355_VPHY_AN_EXP_1_PAR_DETECT_FAULT   0x00000010

Definition at line 709 of file lan9355_driver.h.

◆ LAN9355_VPHY_AN_LP_BASE_ABILITY_0

#define LAN9355_VPHY_AN_LP_BASE_ABILITY_0   0x01D4

Definition at line 176 of file lan9355_driver.h.

◆ LAN9355_VPHY_AN_LP_BASE_ABILITY_0_100BT4

#define LAN9355_VPHY_AN_LP_BASE_ABILITY_0_100BT4   0x00000200

Definition at line 863 of file lan9355_driver.h.

◆ LAN9355_VPHY_AN_LP_BASE_ABILITY_0_100BTX_FD

#define LAN9355_VPHY_AN_LP_BASE_ABILITY_0_100BTX_FD   0x00000100

Definition at line 864 of file lan9355_driver.h.

◆ LAN9355_VPHY_AN_LP_BASE_ABILITY_0_100BTX_HD

#define LAN9355_VPHY_AN_LP_BASE_ABILITY_0_100BTX_HD   0x00000080

Definition at line 865 of file lan9355_driver.h.

◆ LAN9355_VPHY_AN_LP_BASE_ABILITY_0_10BT_FD

#define LAN9355_VPHY_AN_LP_BASE_ABILITY_0_10BT_FD   0x00000040

Definition at line 866 of file lan9355_driver.h.

◆ LAN9355_VPHY_AN_LP_BASE_ABILITY_0_10BT_HD

#define LAN9355_VPHY_AN_LP_BASE_ABILITY_0_10BT_HD   0x00000020

Definition at line 867 of file lan9355_driver.h.

◆ LAN9355_VPHY_AN_LP_BASE_ABILITY_0_ACK

#define LAN9355_VPHY_AN_LP_BASE_ABILITY_0_ACK   0x00004000

Definition at line 859 of file lan9355_driver.h.

◆ LAN9355_VPHY_AN_LP_BASE_ABILITY_0_ASYM_PAUSE

#define LAN9355_VPHY_AN_LP_BASE_ABILITY_0_ASYM_PAUSE   0x00000800

Definition at line 861 of file lan9355_driver.h.

◆ LAN9355_VPHY_AN_LP_BASE_ABILITY_0_NEXT_PAGE

#define LAN9355_VPHY_AN_LP_BASE_ABILITY_0_NEXT_PAGE   0x00008000

Definition at line 858 of file lan9355_driver.h.

◆ LAN9355_VPHY_AN_LP_BASE_ABILITY_0_REMOTE_FAULT

#define LAN9355_VPHY_AN_LP_BASE_ABILITY_0_REMOTE_FAULT   0x00002000

Definition at line 860 of file lan9355_driver.h.

◆ LAN9355_VPHY_AN_LP_BASE_ABILITY_0_SELECTOR

#define LAN9355_VPHY_AN_LP_BASE_ABILITY_0_SELECTOR   0x0000001F

Definition at line 868 of file lan9355_driver.h.

◆ LAN9355_VPHY_AN_LP_BASE_ABILITY_0_SELECTOR_DEFAULT

#define LAN9355_VPHY_AN_LP_BASE_ABILITY_0_SELECTOR_DEFAULT   0x00000001

Definition at line 869 of file lan9355_driver.h.

◆ LAN9355_VPHY_AN_LP_BASE_ABILITY_0_SYM_PAUSE

#define LAN9355_VPHY_AN_LP_BASE_ABILITY_0_SYM_PAUSE   0x00000400

Definition at line 862 of file lan9355_driver.h.

◆ LAN9355_VPHY_AN_LP_BASE_ABILITY_1

#define LAN9355_VPHY_AN_LP_BASE_ABILITY_1   0x00D4

Definition at line 106 of file lan9355_driver.h.

◆ LAN9355_VPHY_AN_LP_BASE_ABILITY_1_100BT4

#define LAN9355_VPHY_AN_LP_BASE_ABILITY_1_100BT4   0x00000200

Definition at line 700 of file lan9355_driver.h.

◆ LAN9355_VPHY_AN_LP_BASE_ABILITY_1_100BTX_FD

#define LAN9355_VPHY_AN_LP_BASE_ABILITY_1_100BTX_FD   0x00000100

Definition at line 701 of file lan9355_driver.h.

◆ LAN9355_VPHY_AN_LP_BASE_ABILITY_1_100BTX_HD

#define LAN9355_VPHY_AN_LP_BASE_ABILITY_1_100BTX_HD   0x00000080

Definition at line 702 of file lan9355_driver.h.

◆ LAN9355_VPHY_AN_LP_BASE_ABILITY_1_10BT_FD

#define LAN9355_VPHY_AN_LP_BASE_ABILITY_1_10BT_FD   0x00000040

Definition at line 703 of file lan9355_driver.h.

◆ LAN9355_VPHY_AN_LP_BASE_ABILITY_1_10BT_HD

#define LAN9355_VPHY_AN_LP_BASE_ABILITY_1_10BT_HD   0x00000020

Definition at line 704 of file lan9355_driver.h.

◆ LAN9355_VPHY_AN_LP_BASE_ABILITY_1_ACK

#define LAN9355_VPHY_AN_LP_BASE_ABILITY_1_ACK   0x00004000

Definition at line 696 of file lan9355_driver.h.

◆ LAN9355_VPHY_AN_LP_BASE_ABILITY_1_ASYM_PAUSE

#define LAN9355_VPHY_AN_LP_BASE_ABILITY_1_ASYM_PAUSE   0x00000800

Definition at line 698 of file lan9355_driver.h.

◆ LAN9355_VPHY_AN_LP_BASE_ABILITY_1_NEXT_PAGE

#define LAN9355_VPHY_AN_LP_BASE_ABILITY_1_NEXT_PAGE   0x00008000

Definition at line 695 of file lan9355_driver.h.

◆ LAN9355_VPHY_AN_LP_BASE_ABILITY_1_REMOTE_FAULT

#define LAN9355_VPHY_AN_LP_BASE_ABILITY_1_REMOTE_FAULT   0x00002000

Definition at line 697 of file lan9355_driver.h.

◆ LAN9355_VPHY_AN_LP_BASE_ABILITY_1_SELECTOR

#define LAN9355_VPHY_AN_LP_BASE_ABILITY_1_SELECTOR   0x0000001F

Definition at line 705 of file lan9355_driver.h.

◆ LAN9355_VPHY_AN_LP_BASE_ABILITY_1_SELECTOR_DEFAULT

#define LAN9355_VPHY_AN_LP_BASE_ABILITY_1_SELECTOR_DEFAULT   0x00000001

Definition at line 706 of file lan9355_driver.h.

◆ LAN9355_VPHY_AN_LP_BASE_ABILITY_1_SYM_PAUSE

#define LAN9355_VPHY_AN_LP_BASE_ABILITY_1_SYM_PAUSE   0x00000400

Definition at line 699 of file lan9355_driver.h.

◆ LAN9355_VPHY_BASIC_CTRL_0

#define LAN9355_VPHY_BASIC_CTRL_0   0x01C0

Definition at line 171 of file lan9355_driver.h.

◆ LAN9355_VPHY_BASIC_CTRL_0_VPHY_AN

#define LAN9355_VPHY_BASIC_CTRL_0_VPHY_AN   0x00001000

Definition at line 812 of file lan9355_driver.h.

◆ LAN9355_VPHY_BASIC_CTRL_0_VPHY_COL_TEST

#define LAN9355_VPHY_BASIC_CTRL_0_VPHY_COL_TEST   0x00000080

Definition at line 817 of file lan9355_driver.h.

◆ LAN9355_VPHY_BASIC_CTRL_0_VPHY_DUPLEX

#define LAN9355_VPHY_BASIC_CTRL_0_VPHY_DUPLEX   0x00000100

Definition at line 816 of file lan9355_driver.h.

◆ LAN9355_VPHY_BASIC_CTRL_0_VPHY_ISO

#define LAN9355_VPHY_BASIC_CTRL_0_VPHY_ISO   0x00000400

Definition at line 814 of file lan9355_driver.h.

◆ LAN9355_VPHY_BASIC_CTRL_0_VPHY_LOOPBACK

#define LAN9355_VPHY_BASIC_CTRL_0_VPHY_LOOPBACK   0x00004000

Definition at line 810 of file lan9355_driver.h.

◆ LAN9355_VPHY_BASIC_CTRL_0_VPHY_PWR_DWN

#define LAN9355_VPHY_BASIC_CTRL_0_VPHY_PWR_DWN   0x00000800

Definition at line 813 of file lan9355_driver.h.

◆ LAN9355_VPHY_BASIC_CTRL_0_VPHY_RST

#define LAN9355_VPHY_BASIC_CTRL_0_VPHY_RST   0x00008000

Definition at line 809 of file lan9355_driver.h.

◆ LAN9355_VPHY_BASIC_CTRL_0_VPHY_RST_AN

#define LAN9355_VPHY_BASIC_CTRL_0_VPHY_RST_AN   0x00000200

Definition at line 815 of file lan9355_driver.h.

◆ LAN9355_VPHY_BASIC_CTRL_0_VPHY_SPEED_SEL_LSB

#define LAN9355_VPHY_BASIC_CTRL_0_VPHY_SPEED_SEL_LSB   0x00002000

Definition at line 811 of file lan9355_driver.h.

◆ LAN9355_VPHY_BASIC_CTRL_0_VPHY_SPEED_SEL_MSB

#define LAN9355_VPHY_BASIC_CTRL_0_VPHY_SPEED_SEL_MSB   0x00000040

Definition at line 818 of file lan9355_driver.h.

◆ LAN9355_VPHY_BASIC_CTRL_1

#define LAN9355_VPHY_BASIC_CTRL_1   0x00C0

Definition at line 101 of file lan9355_driver.h.

◆ LAN9355_VPHY_BASIC_CTRL_1_VPHY_AN

#define LAN9355_VPHY_BASIC_CTRL_1_VPHY_AN   0x00001000

Definition at line 649 of file lan9355_driver.h.

◆ LAN9355_VPHY_BASIC_CTRL_1_VPHY_COL_TEST

#define LAN9355_VPHY_BASIC_CTRL_1_VPHY_COL_TEST   0x00000080

Definition at line 654 of file lan9355_driver.h.

◆ LAN9355_VPHY_BASIC_CTRL_1_VPHY_DUPLEX

#define LAN9355_VPHY_BASIC_CTRL_1_VPHY_DUPLEX   0x00000100

Definition at line 653 of file lan9355_driver.h.

◆ LAN9355_VPHY_BASIC_CTRL_1_VPHY_ISO

#define LAN9355_VPHY_BASIC_CTRL_1_VPHY_ISO   0x00000400

Definition at line 651 of file lan9355_driver.h.

◆ LAN9355_VPHY_BASIC_CTRL_1_VPHY_LOOPBACK

#define LAN9355_VPHY_BASIC_CTRL_1_VPHY_LOOPBACK   0x00004000

Definition at line 647 of file lan9355_driver.h.

◆ LAN9355_VPHY_BASIC_CTRL_1_VPHY_PWR_DWN

#define LAN9355_VPHY_BASIC_CTRL_1_VPHY_PWR_DWN   0x00000800

Definition at line 650 of file lan9355_driver.h.

◆ LAN9355_VPHY_BASIC_CTRL_1_VPHY_RST

#define LAN9355_VPHY_BASIC_CTRL_1_VPHY_RST   0x00008000

Definition at line 646 of file lan9355_driver.h.

◆ LAN9355_VPHY_BASIC_CTRL_1_VPHY_RST_AN

#define LAN9355_VPHY_BASIC_CTRL_1_VPHY_RST_AN   0x00000200

Definition at line 652 of file lan9355_driver.h.

◆ LAN9355_VPHY_BASIC_CTRL_1_VPHY_SPEED_SEL_LSB

#define LAN9355_VPHY_BASIC_CTRL_1_VPHY_SPEED_SEL_LSB   0x00002000

Definition at line 648 of file lan9355_driver.h.

◆ LAN9355_VPHY_BASIC_CTRL_1_VPHY_SPEED_SEL_MSB

#define LAN9355_VPHY_BASIC_CTRL_1_VPHY_SPEED_SEL_MSB   0x00000040

Definition at line 655 of file lan9355_driver.h.

◆ LAN9355_VPHY_BASIC_STATUS_0

#define LAN9355_VPHY_BASIC_STATUS_0   0x01C4

Definition at line 172 of file lan9355_driver.h.

◆ LAN9355_VPHY_BASIC_STATUS_0_100BT2_FD

#define LAN9355_VPHY_BASIC_STATUS_0_100BT2_FD   0x00000400

Definition at line 826 of file lan9355_driver.h.

◆ LAN9355_VPHY_BASIC_STATUS_0_100BT2_HD

#define LAN9355_VPHY_BASIC_STATUS_0_100BT2_HD   0x00000200

Definition at line 827 of file lan9355_driver.h.

◆ LAN9355_VPHY_BASIC_STATUS_0_100BT4

#define LAN9355_VPHY_BASIC_STATUS_0_100BT4   0x00008000

Definition at line 821 of file lan9355_driver.h.

◆ LAN9355_VPHY_BASIC_STATUS_0_100BTX_FD

#define LAN9355_VPHY_BASIC_STATUS_0_100BTX_FD   0x00004000

Definition at line 822 of file lan9355_driver.h.

◆ LAN9355_VPHY_BASIC_STATUS_0_100BTX_HD

#define LAN9355_VPHY_BASIC_STATUS_0_100BTX_HD   0x00002000

Definition at line 823 of file lan9355_driver.h.

◆ LAN9355_VPHY_BASIC_STATUS_0_10BT_FD

#define LAN9355_VPHY_BASIC_STATUS_0_10BT_FD   0x00001000

Definition at line 824 of file lan9355_driver.h.

◆ LAN9355_VPHY_BASIC_STATUS_0_10BT_HD

#define LAN9355_VPHY_BASIC_STATUS_0_10BT_HD   0x00000800

Definition at line 825 of file lan9355_driver.h.

◆ LAN9355_VPHY_BASIC_STATUS_0_AN_CAPABLE

#define LAN9355_VPHY_BASIC_STATUS_0_AN_CAPABLE   0x00000008

Definition at line 832 of file lan9355_driver.h.

◆ LAN9355_VPHY_BASIC_STATUS_0_AN_COMPLETE

#define LAN9355_VPHY_BASIC_STATUS_0_AN_COMPLETE   0x00000020

Definition at line 830 of file lan9355_driver.h.

◆ LAN9355_VPHY_BASIC_STATUS_0_EXTENDED_CAPABLE

#define LAN9355_VPHY_BASIC_STATUS_0_EXTENDED_CAPABLE   0x00000001

Definition at line 835 of file lan9355_driver.h.

◆ LAN9355_VPHY_BASIC_STATUS_0_EXTENDED_STATUS

#define LAN9355_VPHY_BASIC_STATUS_0_EXTENDED_STATUS   0x00000100

Definition at line 828 of file lan9355_driver.h.

◆ LAN9355_VPHY_BASIC_STATUS_0_JABBER_DETECT

#define LAN9355_VPHY_BASIC_STATUS_0_JABBER_DETECT   0x00000002

Definition at line 834 of file lan9355_driver.h.

◆ LAN9355_VPHY_BASIC_STATUS_0_LINK_STATUS

#define LAN9355_VPHY_BASIC_STATUS_0_LINK_STATUS   0x00000004

Definition at line 833 of file lan9355_driver.h.

◆ LAN9355_VPHY_BASIC_STATUS_0_MF_PREAMBLE_SUPPR

#define LAN9355_VPHY_BASIC_STATUS_0_MF_PREAMBLE_SUPPR   0x00000040

Definition at line 829 of file lan9355_driver.h.

◆ LAN9355_VPHY_BASIC_STATUS_0_REMOTE_FAULT

#define LAN9355_VPHY_BASIC_STATUS_0_REMOTE_FAULT   0x00000010

Definition at line 831 of file lan9355_driver.h.

◆ LAN9355_VPHY_BASIC_STATUS_1

#define LAN9355_VPHY_BASIC_STATUS_1   0x00C4

Definition at line 102 of file lan9355_driver.h.

◆ LAN9355_VPHY_BASIC_STATUS_1_100BT2_FD

#define LAN9355_VPHY_BASIC_STATUS_1_100BT2_FD   0x00000400

Definition at line 663 of file lan9355_driver.h.

◆ LAN9355_VPHY_BASIC_STATUS_1_100BT2_HD

#define LAN9355_VPHY_BASIC_STATUS_1_100BT2_HD   0x00000200

Definition at line 664 of file lan9355_driver.h.

◆ LAN9355_VPHY_BASIC_STATUS_1_100BT4

#define LAN9355_VPHY_BASIC_STATUS_1_100BT4   0x00008000

Definition at line 658 of file lan9355_driver.h.

◆ LAN9355_VPHY_BASIC_STATUS_1_100BTX_FD

#define LAN9355_VPHY_BASIC_STATUS_1_100BTX_FD   0x00004000

Definition at line 659 of file lan9355_driver.h.

◆ LAN9355_VPHY_BASIC_STATUS_1_100BTX_HD

#define LAN9355_VPHY_BASIC_STATUS_1_100BTX_HD   0x00002000

Definition at line 660 of file lan9355_driver.h.

◆ LAN9355_VPHY_BASIC_STATUS_1_10BT_FD

#define LAN9355_VPHY_BASIC_STATUS_1_10BT_FD   0x00001000

Definition at line 661 of file lan9355_driver.h.

◆ LAN9355_VPHY_BASIC_STATUS_1_10BT_HD

#define LAN9355_VPHY_BASIC_STATUS_1_10BT_HD   0x00000800

Definition at line 662 of file lan9355_driver.h.

◆ LAN9355_VPHY_BASIC_STATUS_1_AN_CAPABLE

#define LAN9355_VPHY_BASIC_STATUS_1_AN_CAPABLE   0x00000008

Definition at line 669 of file lan9355_driver.h.

◆ LAN9355_VPHY_BASIC_STATUS_1_AN_COMPLETE

#define LAN9355_VPHY_BASIC_STATUS_1_AN_COMPLETE   0x00000020

Definition at line 667 of file lan9355_driver.h.

◆ LAN9355_VPHY_BASIC_STATUS_1_EXTENDED_CAPABLE

#define LAN9355_VPHY_BASIC_STATUS_1_EXTENDED_CAPABLE   0x00000001

Definition at line 672 of file lan9355_driver.h.

◆ LAN9355_VPHY_BASIC_STATUS_1_EXTENDED_STATUS

#define LAN9355_VPHY_BASIC_STATUS_1_EXTENDED_STATUS   0x00000100

Definition at line 665 of file lan9355_driver.h.

◆ LAN9355_VPHY_BASIC_STATUS_1_JABBER_DETECT

#define LAN9355_VPHY_BASIC_STATUS_1_JABBER_DETECT   0x00000002

Definition at line 671 of file lan9355_driver.h.

◆ LAN9355_VPHY_BASIC_STATUS_1_LINK_STATUS

#define LAN9355_VPHY_BASIC_STATUS_1_LINK_STATUS   0x00000004

Definition at line 670 of file lan9355_driver.h.

◆ LAN9355_VPHY_BASIC_STATUS_1_MF_PREAMBLE_SUPPR

#define LAN9355_VPHY_BASIC_STATUS_1_MF_PREAMBLE_SUPPR   0x00000040

Definition at line 666 of file lan9355_driver.h.

◆ LAN9355_VPHY_BASIC_STATUS_1_REMOTE_FAULT

#define LAN9355_VPHY_BASIC_STATUS_1_REMOTE_FAULT   0x00000010

Definition at line 668 of file lan9355_driver.h.

◆ LAN9355_VPHY_ID_LSB_0

#define LAN9355_VPHY_ID_LSB_0   0x01CC

Definition at line 174 of file lan9355_driver.h.

◆ LAN9355_VPHY_ID_LSB_0_MODEL_NUM

#define LAN9355_VPHY_ID_LSB_0_MODEL_NUM   0x000003F0

Definition at line 842 of file lan9355_driver.h.

◆ LAN9355_VPHY_ID_LSB_0_PHY_ID_LSB

#define LAN9355_VPHY_ID_LSB_0_PHY_ID_LSB   0x0000FC00

Definition at line 841 of file lan9355_driver.h.

◆ LAN9355_VPHY_ID_LSB_0_REVISION_NUM

#define LAN9355_VPHY_ID_LSB_0_REVISION_NUM   0x0000000F

Definition at line 843 of file lan9355_driver.h.

◆ LAN9355_VPHY_ID_LSB_1

#define LAN9355_VPHY_ID_LSB_1   0x00CC

Definition at line 104 of file lan9355_driver.h.

◆ LAN9355_VPHY_ID_LSB_1_MODEL_NUM

#define LAN9355_VPHY_ID_LSB_1_MODEL_NUM   0x000003F0

Definition at line 679 of file lan9355_driver.h.

◆ LAN9355_VPHY_ID_LSB_1_PHY_ID_LSB

#define LAN9355_VPHY_ID_LSB_1_PHY_ID_LSB   0x0000FC00

Definition at line 678 of file lan9355_driver.h.

◆ LAN9355_VPHY_ID_LSB_1_REVISION_NUM

#define LAN9355_VPHY_ID_LSB_1_REVISION_NUM   0x0000000F

Definition at line 680 of file lan9355_driver.h.

◆ LAN9355_VPHY_ID_MSB_0

#define LAN9355_VPHY_ID_MSB_0   0x01C8

Definition at line 173 of file lan9355_driver.h.

◆ LAN9355_VPHY_ID_MSB_0_PHY_ID_MSB

#define LAN9355_VPHY_ID_MSB_0_PHY_ID_MSB   0x0000FFFF

Definition at line 838 of file lan9355_driver.h.

◆ LAN9355_VPHY_ID_MSB_1

#define LAN9355_VPHY_ID_MSB_1   0x00C8

Definition at line 103 of file lan9355_driver.h.

◆ LAN9355_VPHY_ID_MSB_1_PHY_ID_MSB

#define LAN9355_VPHY_ID_MSB_1_PHY_ID_MSB   0x0000FFFF

Definition at line 675 of file lan9355_driver.h.

◆ LAN9355_VPHY_SPECIAL_CTRL_STATUS_0

#define LAN9355_VPHY_SPECIAL_CTRL_STATUS_0   0x01DC

Definition at line 178 of file lan9355_driver.h.

◆ LAN9355_VPHY_SPECIAL_CTRL_STATUS_0_IND

#define LAN9355_VPHY_SPECIAL_CTRL_STATUS_0_IND   0x0000001C

Definition at line 892 of file lan9355_driver.h.

◆ LAN9355_VPHY_SPECIAL_CTRL_STATUS_0_IND_100_200_FD

#define LAN9355_VPHY_SPECIAL_CTRL_STATUS_0_IND_100_200_FD   0x00000018

Definition at line 896 of file lan9355_driver.h.

◆ LAN9355_VPHY_SPECIAL_CTRL_STATUS_0_IND_100_200_HD

#define LAN9355_VPHY_SPECIAL_CTRL_STATUS_0_IND_100_200_HD   0x00000008

Definition at line 894 of file lan9355_driver.h.

◆ LAN9355_VPHY_SPECIAL_CTRL_STATUS_0_IND_10_FD

#define LAN9355_VPHY_SPECIAL_CTRL_STATUS_0_IND_10_FD   0x00000014

Definition at line 895 of file lan9355_driver.h.

◆ LAN9355_VPHY_SPECIAL_CTRL_STATUS_0_IND_10_HD

#define LAN9355_VPHY_SPECIAL_CTRL_STATUS_0_IND_10_HD   0x00000004

Definition at line 893 of file lan9355_driver.h.

◆ LAN9355_VPHY_SPECIAL_CTRL_STATUS_0_MODE

#define LAN9355_VPHY_SPECIAL_CTRL_STATUS_0_MODE   0x00000300

Definition at line 882 of file lan9355_driver.h.

◆ LAN9355_VPHY_SPECIAL_CTRL_STATUS_0_MODE2

#define LAN9355_VPHY_SPECIAL_CTRL_STATUS_0_MODE2   0x00008000

Definition at line 879 of file lan9355_driver.h.

◆ LAN9355_VPHY_SPECIAL_CTRL_STATUS_0_MODE_MII_MAC

#define LAN9355_VPHY_SPECIAL_CTRL_STATUS_0_MODE_MII_MAC   0x00000000

Definition at line 883 of file lan9355_driver.h.

◆ LAN9355_VPHY_SPECIAL_CTRL_STATUS_0_MODE_MII_PHY

#define LAN9355_VPHY_SPECIAL_CTRL_STATUS_0_MODE_MII_PHY   0x00000100

Definition at line 884 of file lan9355_driver.h.

◆ LAN9355_VPHY_SPECIAL_CTRL_STATUS_0_MODE_RMII_MAC

#define LAN9355_VPHY_SPECIAL_CTRL_STATUS_0_MODE_RMII_MAC   0x00000200

Definition at line 885 of file lan9355_driver.h.

◆ LAN9355_VPHY_SPECIAL_CTRL_STATUS_0_MODE_RMII_PHY

#define LAN9355_VPHY_SPECIAL_CTRL_STATUS_0_MODE_RMII_PHY   0x00000300

Definition at line 886 of file lan9355_driver.h.

◆ LAN9355_VPHY_SPECIAL_CTRL_STATUS_0_RMII_CLK_DIR

#define LAN9355_VPHY_SPECIAL_CTRL_STATUS_0_RMII_CLK_DIR   0x00000040

Definition at line 888 of file lan9355_driver.h.

◆ LAN9355_VPHY_SPECIAL_CTRL_STATUS_0_RMII_CLK_DIR_IN

#define LAN9355_VPHY_SPECIAL_CTRL_STATUS_0_RMII_CLK_DIR_IN   0x00000000

Definition at line 889 of file lan9355_driver.h.

◆ LAN9355_VPHY_SPECIAL_CTRL_STATUS_0_RMII_CLK_DIR_OUT

#define LAN9355_VPHY_SPECIAL_CTRL_STATUS_0_RMII_CLK_DIR_OUT   0x00000040

Definition at line 890 of file lan9355_driver.h.

◆ LAN9355_VPHY_SPECIAL_CTRL_STATUS_0_RMII_CLK_STRENGTH

#define LAN9355_VPHY_SPECIAL_CTRL_STATUS_0_RMII_CLK_STRENGTH   0x00000020

Definition at line 891 of file lan9355_driver.h.

◆ LAN9355_VPHY_SPECIAL_CTRL_STATUS_0_SQEOFF

#define LAN9355_VPHY_SPECIAL_CTRL_STATUS_0_SQEOFF   0x00000001

Definition at line 897 of file lan9355_driver.h.

◆ LAN9355_VPHY_SPECIAL_CTRL_STATUS_0_SW_COL_TEST

#define LAN9355_VPHY_SPECIAL_CTRL_STATUS_0_SW_COL_TEST   0x00000080

Definition at line 887 of file lan9355_driver.h.

◆ LAN9355_VPHY_SPECIAL_CTRL_STATUS_0_SW_LOOPBACK

#define LAN9355_VPHY_SPECIAL_CTRL_STATUS_0_SW_LOOPBACK   0x00004000

Definition at line 880 of file lan9355_driver.h.

◆ LAN9355_VPHY_SPECIAL_CTRL_STATUS_0_TURBO_MODE_EN

#define LAN9355_VPHY_SPECIAL_CTRL_STATUS_0_TURBO_MODE_EN   0x00000400

Definition at line 881 of file lan9355_driver.h.

◆ LAN9355_VPHY_SPECIAL_CTRL_STATUS_1

#define LAN9355_VPHY_SPECIAL_CTRL_STATUS_1   0x00DC

Definition at line 108 of file lan9355_driver.h.

◆ LAN9355_VPHY_SPECIAL_CTRL_STATUS_1_IND

#define LAN9355_VPHY_SPECIAL_CTRL_STATUS_1_IND   0x0000001C

Definition at line 729 of file lan9355_driver.h.

◆ LAN9355_VPHY_SPECIAL_CTRL_STATUS_1_IND_100_200_FD

#define LAN9355_VPHY_SPECIAL_CTRL_STATUS_1_IND_100_200_FD   0x00000018

Definition at line 733 of file lan9355_driver.h.

◆ LAN9355_VPHY_SPECIAL_CTRL_STATUS_1_IND_100_200_HD

#define LAN9355_VPHY_SPECIAL_CTRL_STATUS_1_IND_100_200_HD   0x00000008

Definition at line 731 of file lan9355_driver.h.

◆ LAN9355_VPHY_SPECIAL_CTRL_STATUS_1_IND_10_FD

#define LAN9355_VPHY_SPECIAL_CTRL_STATUS_1_IND_10_FD   0x00000014

Definition at line 732 of file lan9355_driver.h.

◆ LAN9355_VPHY_SPECIAL_CTRL_STATUS_1_IND_10_HD

#define LAN9355_VPHY_SPECIAL_CTRL_STATUS_1_IND_10_HD   0x00000004

Definition at line 730 of file lan9355_driver.h.

◆ LAN9355_VPHY_SPECIAL_CTRL_STATUS_1_MODE

#define LAN9355_VPHY_SPECIAL_CTRL_STATUS_1_MODE   0x00000300

Definition at line 719 of file lan9355_driver.h.

◆ LAN9355_VPHY_SPECIAL_CTRL_STATUS_1_MODE2

#define LAN9355_VPHY_SPECIAL_CTRL_STATUS_1_MODE2   0x00008000

Definition at line 716 of file lan9355_driver.h.

◆ LAN9355_VPHY_SPECIAL_CTRL_STATUS_1_MODE_MII_MAC

#define LAN9355_VPHY_SPECIAL_CTRL_STATUS_1_MODE_MII_MAC   0x00000000

Definition at line 720 of file lan9355_driver.h.

◆ LAN9355_VPHY_SPECIAL_CTRL_STATUS_1_MODE_MII_PHY

#define LAN9355_VPHY_SPECIAL_CTRL_STATUS_1_MODE_MII_PHY   0x00000100

Definition at line 721 of file lan9355_driver.h.

◆ LAN9355_VPHY_SPECIAL_CTRL_STATUS_1_MODE_RMII_MAC

#define LAN9355_VPHY_SPECIAL_CTRL_STATUS_1_MODE_RMII_MAC   0x00000200

Definition at line 722 of file lan9355_driver.h.

◆ LAN9355_VPHY_SPECIAL_CTRL_STATUS_1_MODE_RMII_PHY

#define LAN9355_VPHY_SPECIAL_CTRL_STATUS_1_MODE_RMII_PHY   0x00000300

Definition at line 723 of file lan9355_driver.h.

◆ LAN9355_VPHY_SPECIAL_CTRL_STATUS_1_RMII_CLK_DIR

#define LAN9355_VPHY_SPECIAL_CTRL_STATUS_1_RMII_CLK_DIR   0x00000040

Definition at line 725 of file lan9355_driver.h.

◆ LAN9355_VPHY_SPECIAL_CTRL_STATUS_1_RMII_CLK_DIR_IN

#define LAN9355_VPHY_SPECIAL_CTRL_STATUS_1_RMII_CLK_DIR_IN   0x00000000

Definition at line 726 of file lan9355_driver.h.

◆ LAN9355_VPHY_SPECIAL_CTRL_STATUS_1_RMII_CLK_DIR_OUT

#define LAN9355_VPHY_SPECIAL_CTRL_STATUS_1_RMII_CLK_DIR_OUT   0x00000040

Definition at line 727 of file lan9355_driver.h.

◆ LAN9355_VPHY_SPECIAL_CTRL_STATUS_1_RMII_CLK_STRENGTH

#define LAN9355_VPHY_SPECIAL_CTRL_STATUS_1_RMII_CLK_STRENGTH   0x00000020

Definition at line 728 of file lan9355_driver.h.

◆ LAN9355_VPHY_SPECIAL_CTRL_STATUS_1_SQEOFF

#define LAN9355_VPHY_SPECIAL_CTRL_STATUS_1_SQEOFF   0x00000001

Definition at line 734 of file lan9355_driver.h.

◆ LAN9355_VPHY_SPECIAL_CTRL_STATUS_1_SW_COL_TEST

#define LAN9355_VPHY_SPECIAL_CTRL_STATUS_1_SW_COL_TEST   0x00000080

Definition at line 724 of file lan9355_driver.h.

◆ LAN9355_VPHY_SPECIAL_CTRL_STATUS_1_SW_LOOPBACK

#define LAN9355_VPHY_SPECIAL_CTRL_STATUS_1_SW_LOOPBACK   0x00004000

Definition at line 717 of file lan9355_driver.h.

◆ LAN9355_VPHY_SPECIAL_CTRL_STATUS_1_TURBO_MODE_EN

#define LAN9355_VPHY_SPECIAL_CTRL_STATUS_1_TURBO_MODE_EN   0x00000400

Definition at line 718 of file lan9355_driver.h.

Function Documentation

◆ lan9355AddStaticFdbEntry()

error_t lan9355AddStaticFdbEntry ( NetInterface interface,
const SwitchFdbEntry entry 
)

Add a new entry to the static MAC table.

Parameters
[in]interfaceUnderlying network interface
[in]entryPointer to the forwarding database entry
Returns
Error code

Definition at line 984 of file lan9355_driver.c.

◆ lan9355DeleteStaticFdbEntry()

error_t lan9355DeleteStaticFdbEntry ( NetInterface interface,
const SwitchFdbEntry entry 
)

Remove an entry from the static MAC table.

Parameters
[in]interfaceUnderlying network interface
[in]entryForwarding database entry to remove from the table
Returns
Error code

Definition at line 1089 of file lan9355_driver.c.

◆ lan9355DisableIrq()

void lan9355DisableIrq ( NetInterface interface)

Disable interrupts.

Parameters
[in]interfaceUnderlying network interface

Definition at line 287 of file lan9355_driver.c.

◆ lan9355DumpPhyReg()

void lan9355DumpPhyReg ( NetInterface interface,
uint8_t  port 
)

Dump PHY registers for debugging purpose.

Parameters
[in]interfaceUnderlying network interface
[in]portPort number

Definition at line 1518 of file lan9355_driver.c.

◆ lan9355DumpSysReg()

void lan9355DumpSysReg ( NetInterface interface)

Dump system CSR registers for debugging purpose.

Parameters
[in]interfaceUnderlying network interface

Definition at line 1631 of file lan9355_driver.c.

◆ lan9355EnableIgmpSnooping()

void lan9355EnableIgmpSnooping ( NetInterface interface,
bool_t  enable 
)

Enable IGMP snooping.

Parameters
[in]interfaceUnderlying network interface
[in]enableEnable or disable IGMP snooping

Definition at line 878 of file lan9355_driver.c.

◆ lan9355EnableIrq()

void lan9355EnableIrq ( NetInterface interface)

Enable interrupts.

Parameters
[in]interfaceUnderlying network interface

Definition at line 277 of file lan9355_driver.c.

◆ lan9355EnableMldSnooping()

void lan9355EnableMldSnooping ( NetInterface interface,
bool_t  enable 
)

Enable MLD snooping.

Parameters
[in]interfaceUnderlying network interface
[in]enableEnable or disable MLD snooping

Definition at line 910 of file lan9355_driver.c.

◆ lan9355EnableRsvdMcastTable()

void lan9355EnableRsvdMcastTable ( NetInterface interface,
bool_t  enable 
)

Enable reserved multicast table.

Parameters
[in]interfaceUnderlying network interface
[in]enableEnable or disable reserved group addresses

Definition at line 942 of file lan9355_driver.c.

◆ lan9355EventHandler()

void lan9355EventHandler ( NetInterface interface)

LAN9355 event handler.

Parameters
[in]interfaceUnderlying network interface

Definition at line 297 of file lan9355_driver.c.

◆ lan9355FlushDynamicFdbTable()

void lan9355FlushDynamicFdbTable ( NetInterface interface,
uint8_t  port 
)

Flush dynamic MAC table.

Parameters
[in]interfaceUnderlying network interface
[in]portPort number

Definition at line 1389 of file lan9355_driver.c.

◆ lan9355FlushStaticFdbTable()

void lan9355FlushStaticFdbTable ( NetInterface interface)

Flush static MAC table.

Parameters
[in]interfaceUnderlying network interface

Definition at line 1252 of file lan9355_driver.c.

◆ lan9355GetDuplexMode()

NicDuplexMode lan9355GetDuplexMode ( NetInterface interface,
uint8_t  port 
)

Get duplex mode.

Parameters
[in]interfaceUnderlying network interface
[in]portPort number
Returns
Duplex mode

Definition at line 671 of file lan9355_driver.c.

◆ lan9355GetDynamicFdbEntry()

error_t lan9355GetDynamicFdbEntry ( NetInterface interface,
uint_t  index,
SwitchFdbEntry entry 
)

Read an entry from the dynamic MAC table.

Parameters
[in]interfaceUnderlying network interface
[in]indexZero-based index of the entry to read
[out]entryPointer to the forwarding database entry
Returns
Error code

Definition at line 1287 of file lan9355_driver.c.

◆ lan9355GetLinkSpeed()

uint32_t lan9355GetLinkSpeed ( NetInterface interface,
uint8_t  port 
)

Get link speed.

Parameters
[in]interfaceUnderlying network interface
[in]portPort number
Returns
Link speed

Definition at line 621 of file lan9355_driver.c.

◆ lan9355GetLinkState()

bool_t lan9355GetLinkState ( NetInterface interface,
uint8_t  port 
)

Get link state.

Parameters
[in]interfaceUnderlying network interface
[in]portPort number
Returns
Link state

Definition at line 589 of file lan9355_driver.c.

◆ lan9355GetPortState()

SwitchPortState lan9355GetPortState ( NetInterface interface,
uint8_t  port 
)

Get port state.

Parameters
[in]interfaceUnderlying network interface
[in]portPort number
Returns
Port state

Definition at line 791 of file lan9355_driver.c.

◆ lan9355GetStaticFdbEntry()

error_t lan9355GetStaticFdbEntry ( NetInterface interface,
uint_t  index,
SwitchFdbEntry entry 
)

Read an entry from the static MAC table.

Parameters
[in]interfaceUnderlying network interface
[in]indexZero-based index of the entry to read
[out]entryPointer to the forwarding database entry
Returns
Error code

Definition at line 1139 of file lan9355_driver.c.

◆ lan9355Init()

error_t lan9355Init ( NetInterface interface)

LAN9355 Ethernet switch initialization.

Parameters
[in]interfaceUnderlying network interface
Returns
Error code

Definition at line 78 of file lan9355_driver.c.

◆ lan9355InitHook()

void lan9355InitHook ( NetInterface interface)

LAN9355 custom configuration.

Parameters
[in]interfaceUnderlying network interface

Definition at line 197 of file lan9355_driver.c.

◆ lan9355ReadPhyReg()

uint16_t lan9355ReadPhyReg ( NetInterface interface,
uint8_t  port,
uint8_t  address 
)

Read PHY register.

Parameters
[in]interfaceUnderlying network interface
[in]portPort number
[in]addressPHY register address
Returns
Register value

Definition at line 1492 of file lan9355_driver.c.

◆ lan9355ReadSwitchReg()

uint32_t lan9355ReadSwitchReg ( NetInterface interface,
uint16_t  address 
)

Read switch fabric CSR register.

Parameters
[in]interfaceUnderlying network interface
[in]addressSwitch fabric register address
Returns
Register value

Definition at line 1694 of file lan9355_driver.c.

◆ lan9355ReadSysReg()

uint32_t lan9355ReadSysReg ( NetInterface interface,
uint16_t  address 
)

Read system CSR register.

Parameters
[in]interfaceUnderlying network interface
[in]addressSystem register address
Returns
Register value

Definition at line 1586 of file lan9355_driver.c.

◆ lan9355SetAgingTime()

void lan9355SetAgingTime ( NetInterface interface,
uint32_t  agingTime 
)

Set aging time for dynamic filtering entries.

Parameters
[in]interfaceUnderlying network interface
[in]agingTimeAging time, in seconds

Definition at line 855 of file lan9355_driver.c.

◆ lan9355SetPortState()

void lan9355SetPortState ( NetInterface interface,
uint8_t  port,
SwitchPortState  state 
)

Set port state.

Parameters
[in]interfaceUnderlying network interface
[in]portPort number
[in]statePort state

Definition at line 721 of file lan9355_driver.c.

◆ lan9355SetUnknownMcastFwdPorts()

void lan9355SetUnknownMcastFwdPorts ( NetInterface interface,
bool_t  enable,
uint32_t  forwardPorts 
)

Set forward ports for unknown multicast packets.

Parameters
[in]interfaceUnderlying network interface
[in]enableEnable or disable forwarding of unknown multicast packets
[in]forwardPortsPort map

Definition at line 1454 of file lan9355_driver.c.

◆ lan9355TagFrame()

error_t lan9355TagFrame ( NetInterface interface,
NetBuffer buffer,
size_t *  offset,
NetTxAncillary ancillary 
)

Add special VLAN tag to Ethernet frame.

Parameters
[in]interfaceUnderlying network interface
[in]bufferMulti-part buffer containing the payload
[in,out]offsetOffset to the first payload byte
[in]ancillaryAdditional options passed to the stack along with the packet
Returns
Error code

Definition at line 443 of file lan9355_driver.c.

◆ lan9355Tick()

void lan9355Tick ( NetInterface interface)

LAN9355 timer handler.

Parameters
[in]interfaceUnderlying network interface

Definition at line 207 of file lan9355_driver.c.

◆ lan9355UntagFrame()

error_t lan9355UntagFrame ( NetInterface interface,
uint8_t **  frame,
size_t *  length,
NetRxAncillary ancillary 
)

Decode special VLAN tag from incoming Ethernet frame.

Parameters
[in]interfaceUnderlying network interface
[in,out]framePointer to the received Ethernet frame
[in,out]lengthLength of the frame, in bytes
[in,out]ancillaryAdditional options passed to the stack along with the packet
Returns
Error code

Definition at line 521 of file lan9355_driver.c.

◆ lan9355WritePhyReg()

void lan9355WritePhyReg ( NetInterface interface,
uint8_t  port,
uint8_t  address,
uint16_t  data 
)

Write PHY register.

Parameters
[in]interfaceUnderlying network interface
[in]portPort number
[in]addressPHY register address
[in]dataRegister value

Definition at line 1469 of file lan9355_driver.c.

◆ lan9355WriteSwitchReg()

void lan9355WriteSwitchReg ( NetInterface interface,
uint16_t  address,
uint32_t  data 
)

Write switch fabric CSR register.

Parameters
[in]interfaceUnderlying network interface
[in]addressSwitch fabric register address
[in]dataRegister value

Definition at line 1655 of file lan9355_driver.c.

◆ lan9355WriteSysReg()

void lan9355WriteSysReg ( NetInterface interface,
uint16_t  address,
uint32_t  data 
)

Write system CSR register.

Parameters
[in]interfaceUnderlying network interface
[in]addressSystem register address
[in]dataRegister value

Definition at line 1542 of file lan9355_driver.c.

Variable Documentation

◆ lan9355SwitchDriver

const SwitchDriver lan9355SwitchDriver
extern

LAN9355 Ethernet switch driver.

Definition at line 44 of file lan9355_driver.c.