mv88e1112_driver.h File Reference

88E1112 Gigabit Ethernet PHY driver More...

#include "core/nic.h"

Go to the source code of this file.

Macros

#define MV88E1112_PHY_ADDR   0
 
#define MV88E1112_COPPER_CTRL   0x00
 
#define MV88E1112_COPPER_STAT   0x01
 
#define MV88E1112_COPPER_PHYID1   0x02
 
#define MV88E1112_COPPER_PHYID2   0x03
 
#define MV88E1112_COPPER_ANAR   0x04
 
#define MV88E1112_COPPER_ANLPAR   0x05
 
#define MV88E1112_COPPER_ANER   0x06
 
#define MV88E1112_COPPER_ANNPTR   0x07
 
#define MV88E1112_COPPER_ANLPNPR   0x08
 
#define MV88E1112_GBCR   0x09
 
#define MV88E1112_GBSR   0x0A
 
#define MV88E1112_GBESR   0x0F
 
#define MV88E1112_COPPER_CTRL1   0x10
 
#define MV88E1112_COPPER_STAT1   0x11
 
#define MV88E1112_COPPER_INT_EN   0x12
 
#define MV88E1112_COPPER_STAT2   0x13
 
#define MV88E1112_COPPER_RX_ERR_COUNTER   0x15
 
#define MV88E1112_PAGE_ADDR   0x16
 
#define MV88E1112_COPPER_CTRL2   0x1A
 
#define MV88E1112_FIBER_CTRL   0x00
 
#define MV88E1112_FIBER_STAT   0x01
 
#define MV88E1112_FIBER_ANAR   0x04
 
#define MV88E1112_FIBER_ANLPAR   0x05
 
#define MV88E1112_FIBER_ANER   0x06
 
#define MV88E1112_FIBER_ANNPTR   0x07
 
#define MV88E1112_FIBER_ANLPNPR   0x08
 
#define MV88E1112_FIBER_CTRL1   0x10
 
#define MV88E1112_FIBER_STAT1   0x11
 
#define MV88E1112_FIBER_INT_EN   0x12
 
#define MV88E1112_FIBER_STAT2   0x13
 
#define MV88E1112_FIBER_CTRL2   0x1A
 
#define MV88E1112_MAC_CTRL   0x00
 
#define MV88E1112_MAC_CTRL1   0x10
 
#define MV88E1112_MAC_STAT1   0x11
 
#define MV88E1112_MAC_INT_EN   0x12
 
#define MV88E1112_MAC_STAT2   0x13
 
#define MV88E1112_MAC_CTRL2   0x1A
 
#define MV88E1112_LED_FUNC_CTRL   0x10
 
#define MV88E1112_LED_POL_CTRL   0x11
 
#define MV88E1112_LED_TIMER_CTRL   0x12
 
#define MV88E1112_NVM_ADDR   0x10
 
#define MV88E1112_NVM_RD_DATA_STAT   0x11
 
#define MV88E1112_NVM_WR_DATA_CTRL   0x12
 
#define MV88E1112_RAM_DATA   0x13
 
#define MV88E1112_RAM_ADDR   0x14
 
#define MV88E1112_MDI0_VCT_STAT   0x10
 
#define MV88E1112_MDI1_VCT_STAT   0x11
 
#define MV88E1112_MDI2_VCT_STAT   0x12
 
#define MV88E1112_MDI3_VCT_STAT   0x13
 
#define MV88E1112_1000BT_PAIR_SKEW   0x14
 
#define MV88E1112_1000BT_PAIR_SWAP_POL   0x15
 
#define MV88E1112_VCT_DSP_DIST   0x1A
 
#define MV88E1112_PKT_GEN   0x10
 
#define MV88E1112_CRC_COUNTERS   0x11
 
#define MV88E1112_COPPER_CTRL_RESET   0x8000
 
#define MV88E1112_COPPER_CTRL_LOOPBACK   0x4000
 
#define MV88E1112_COPPER_CTRL_SPEED_SEL_LSB   0x2000
 
#define MV88E1112_COPPER_CTRL_AN_EN   0x1000
 
#define MV88E1112_COPPER_CTRL_POWER_DOWN   0x0800
 
#define MV88E1112_COPPER_CTRL_ISOLATE   0x0400
 
#define MV88E1112_COPPER_CTRL_RESTART_AN   0x0200
 
#define MV88E1112_COPPER_CTRL_DUPLEX_MODE   0x0100
 
#define MV88E1112_COPPER_CTRL_COL_TEST   0x0080
 
#define MV88E1112_COPPER_CTRL_SPEED_SEL_MSB   0x0040
 
#define MV88E1112_COPPER_STAT_100BT4   0x8000
 
#define MV88E1112_COPPER_STAT_100BTX_FD   0x4000
 
#define MV88E1112_COPPER_STAT_100BTX_HD   0x2000
 
#define MV88E1112_COPPER_STAT_10BT_FD   0x1000
 
#define MV88E1112_COPPER_STAT_10BT_HD   0x0800
 
#define MV88E1112_COPPER_STAT_100BT2_FD   0x0400
 
#define MV88E1112_COPPER_STAT_100BT2_HD   0x0200
 
#define MV88E1112_COPPER_STAT_EXTENDED_STATUS   0x0100
 
#define MV88E1112_COPPER_STAT_MF_PREAMBLE_SUPPR   0x0040
 
#define MV88E1112_COPPER_STAT_AN_COMPLETE   0x0020
 
#define MV88E1112_COPPER_STAT_REMOTE_FAULT   0x0010
 
#define MV88E1112_COPPER_STAT_AN_CAPABLE   0x0008
 
#define MV88E1112_COPPER_STAT_LINK_STATUS   0x0004
 
#define MV88E1112_COPPER_STAT_JABBER_DETECT   0x0002
 
#define MV88E1112_COPPER_STAT_EXTENDED_CAPABLE   0x0001
 
#define MV88E1112_COPPER_PHYID1_OUI_MSB   0xFFFF
 
#define MV88E1112_COPPER_PHYID1_OUI_MSB_DEFAULT   0x0141
 
#define MV88E1112_COPPER_PHYID2_OUI_LSB   0xFC00
 
#define MV88E1112_COPPER_PHYID2_OUI_LSB_DEFAULT   0x0C00
 
#define MV88E1112_COPPER_PHYID2_MODEL_NUM   0x03F0
 
#define MV88E1112_COPPER_PHYID2_MODEL_NUM_DEFAULT   0x0090
 
#define MV88E1112_COPPER_PHYID2_REVISION_NUM   0x000F
 
#define MV88E1112_COPPER_ANAR_NEXT_PAGE   0x8000
 
#define MV88E1112_COPPER_ANAR_ACK   0x4000
 
#define MV88E1112_COPPER_ANAR_REMOTE_FAULT   0x2000
 
#define MV88E1112_COPPER_ANAR_ASYM_PAUSE   0x0800
 
#define MV88E1112_COPPER_ANAR_PAUSE   0x0400
 
#define MV88E1112_COPPER_ANAR_100BT4   0x0200
 
#define MV88E1112_COPPER_ANAR_100BTX_FD   0x0100
 
#define MV88E1112_COPPER_ANAR_100BTX_HD   0x0080
 
#define MV88E1112_COPPER_ANAR_10BT_FD   0x0040
 
#define MV88E1112_COPPER_ANAR_10BT_HD   0x0020
 
#define MV88E1112_COPPER_ANAR_SELECTOR   0x001F
 
#define MV88E1112_COPPER_ANAR_SELECTOR_DEFAULT   0x0001
 
#define MV88E1112_COPPER_ANLPAR_NEXT_PAGE   0x8000
 
#define MV88E1112_COPPER_ANLPAR_ACK   0x4000
 
#define MV88E1112_COPPER_ANLPAR_REMOTE_FAULT   0x2000
 
#define MV88E1112_COPPER_ANLPAR_TECH_ABLE   0x1000
 
#define MV88E1112_COPPER_ANLPAR_ASYM_PAUSE   0x0800
 
#define MV88E1112_COPPER_ANLPAR_PAUSE   0x0400
 
#define MV88E1112_COPPER_ANLPAR_100BT4   0x0200
 
#define MV88E1112_COPPER_ANLPAR_100BTX_FD   0x0100
 
#define MV88E1112_COPPER_ANLPAR_100BTX_HD   0x0080
 
#define MV88E1112_COPPER_ANLPAR_10BT_FD   0x0040
 
#define MV88E1112_COPPER_ANLPAR_10BT_HD   0x0020
 
#define MV88E1112_COPPER_ANLPAR_SELECTOR   0x001F
 
#define MV88E1112_COPPER_ANLPAR_SELECTOR_DEFAULT   0x0001
 
#define MV88E1112_COPPER_ANER_PAR_DETECT_FAULT   0x0010
 
#define MV88E1112_COPPER_ANER_LP_NEXT_PAGE_ABLE   0x0008
 
#define MV88E1112_COPPER_ANER_NEXT_PAGE_ABLE   0x0004
 
#define MV88E1112_COPPER_ANER_PAGE_RECEIVED   0x0002
 
#define MV88E1112_COPPER_ANER_LP_AN_ABLE   0x0001
 
#define MV88E1112_COPPER_ANNPTR_NEXT_PAGE   0x8000
 
#define MV88E1112_COPPER_ANNPTR_MSG_PAGE   0x2000
 
#define MV88E1112_COPPER_ANNPTR_ACK2   0x1000
 
#define MV88E1112_COPPER_ANNPTR_TOGGLE   0x0800
 
#define MV88E1112_COPPER_ANNPTR_MESSAGE   0x07FF
 
#define MV88E1112_COPPER_ANLPNPR_NEXT_PAGE   0x8000
 
#define MV88E1112_COPPER_ANLPNPR_ACK   0x4000
 
#define MV88E1112_COPPER_ANLPNPR_MSG_PAGE   0x2000
 
#define MV88E1112_COPPER_ANLPNPR_ACK2   0x1000
 
#define MV88E1112_COPPER_ANLPNPR_TOGGLE   0x0800
 
#define MV88E1112_COPPER_ANLPNPR_MESSAGE   0x07FF
 
#define MV88E1112_GBCR_TEST_MODE   0xE000
 
#define MV88E1112_GBCR_MS_MAN_CONF_EN   0x1000
 
#define MV88E1112_GBCR_MS_MAN_CONF_VAL   0x0800
 
#define MV88E1112_GBCR_PORT_TYPE   0x0400
 
#define MV88E1112_GBCR_1000BT_FD   0x0200
 
#define MV88E1112_GBCR_1000BT_HD   0x0100
 
#define MV88E1112_GBSR_MS_CONF_FAULT   0x8000
 
#define MV88E1112_GBSR_MS_CONF_RES   0x4000
 
#define MV88E1112_GBSR_LOCAL_RECEIVER_STATUS   0x2000
 
#define MV88E1112_GBSR_REMOTE_RECEIVER_STATUS   0x1000
 
#define MV88E1112_GBSR_LP_1000BT_FD   0x0800
 
#define MV88E1112_GBSR_LP_1000BT_HD   0x0400
 
#define MV88E1112_GBSR_IDLE_ERR_COUNT   0x00FF
 
#define MV88E1112_GBESR_1000BX_FD   0x8000
 
#define MV88E1112_GBESR_1000BX_HD   0x4000
 
#define MV88E1112_GBESR_1000BT_FD   0x2000
 
#define MV88E1112_GBESR_1000BT_HD   0x1000
 
#define MV88E1112_COPPER_CTRL1_LINK_PULSE_DIS   0x8000
 
#define MV88E1112_COPPER_CTRL1_DOWNSHIFT_COUNTER   0x7000
 
#define MV88E1112_COPPER_CTRL1_DOWNSHIFT_EN   0x0800
 
#define MV88E1112_COPPER_CTRL1_FORCE_LINK_GOOD   0x0400
 
#define MV88E1112_COPPER_CTRL1_ENERGY_DETECT   0x0300
 
#define MV88E1112_COPPER_CTRL1_EXTENDED_DIST_EN   0x0080
 
#define MV88E1112_COPPER_CTRL1_MDI_CROSSOVER_MODE   0x0060
 
#define MV88E1112_COPPER_CTRL1_MDI_CROSSOVER_MODE_MANUAL_MDI   0x0000
 
#define MV88E1112_COPPER_CTRL1_MDI_CROSSOVER_MODE_MANUAL_MDIX   0x0020
 
#define MV88E1112_COPPER_CTRL1_MDI_CROSSOVER_MODE_AUTO   0x0060
 
#define MV88E1112_COPPER_CTRL1_TX_DIS   0x0008
 
#define MV88E1112_COPPER_CTRL1_POLARITY_REVERSAL_DIS   0x0002
 
#define MV88E1112_COPPER_CTRL1_JABBER_DIS   0x0001
 
#define MV88E1112_COPPER_STAT1_SPEED   0xC000
 
#define MV88E1112_COPPER_STAT1_SPEED_10MBPS   0x0000
 
#define MV88E1112_COPPER_STAT1_SPEED_100MBPS   0x4000
 
#define MV88E1112_COPPER_STAT1_SPEED_1000MBPS   0x8000
 
#define MV88E1112_COPPER_STAT1_DUPLEX   0x2000
 
#define MV88E1112_COPPER_STAT1_PAGE_RECEIVED   0x1000
 
#define MV88E1112_COPPER_STAT1_SPEED_DUPLEX_RESOLVED   0x0800
 
#define MV88E1112_COPPER_STAT1_LINK   0x0400
 
#define MV88E1112_COPPER_STAT1_TX_PAUSE_EN   0x0200
 
#define MV88E1112_COPPER_STAT1_RX_PAUSE_EN   0x0100
 
#define MV88E1112_COPPER_STAT1_FIBER_COPPER_RESOLUTION   0x0080
 
#define MV88E1112_COPPER_STAT1_MDI_CROSSOVER_STATUS   0x0040
 
#define MV88E1112_COPPER_STAT1_DOWNSHIFT_STATUS   0x0020
 
#define MV88E1112_COPPER_STAT1_ENERGY_DETECT_STATUS   0x0010
 
#define MV88E1112_COPPER_STAT1_GLOBAL_LINK_STATUS   0x0008
 
#define MV88E1112_COPPER_STAT1_DTE_POWER_STATUS   0x0004
 
#define MV88E1112_COPPER_STAT1_POLARITY   0x0002
 
#define MV88E1112_COPPER_STAT1_JABBER   0x0001
 
#define MV88E1112_COPPER_INT_EN_AN_ERROR   0x8000
 
#define MV88E1112_COPPER_INT_EN_SPEED_CHANGED   0x4000
 
#define MV88E1112_COPPER_INT_EN_DUPLEX_CHANGED   0x2000
 
#define MV88E1112_COPPER_INT_EN_PAGE_RECEIVED   0x1000
 
#define MV88E1112_COPPER_INT_EN_AN_COMPLETE   0x0800
 
#define MV88E1112_COPPER_INT_EN_LINK_STATUS_CHANGED   0x0400
 
#define MV88E1112_COPPER_INT_EN_SYMBOL_ERROR   0x0200
 
#define MV88E1112_COPPER_INT_EN_FALSE_CARRIER   0x0100
 
#define MV88E1112_COPPER_INT_EN_MDI_CROSSOVER_CHANGED   0x0040
 
#define MV88E1112_COPPER_INT_EN_DOWNSHIFT   0x0020
 
#define MV88E1112_COPPER_INT_EN_ENERGY_DETECT   0x0010
 
#define MV88E1112_COPPER_INT_EN_DTE_POWER_DET_STATUS_CHANGED   0x0004
 
#define MV88E1112_COPPER_INT_EN_POLARITY_CHANGED   0x0002
 
#define MV88E1112_COPPER_INT_EN_JABBER   0x0001
 
#define MV88E1112_COPPER_STAT2_AN_ERROR   0x8000
 
#define MV88E1112_COPPER_STAT2_SPEED_CHANGED   0x4000
 
#define MV88E1112_COPPER_STAT2_DUPLEX_CHANGED   0x2000
 
#define MV88E1112_COPPER_STAT2_PAGE_RECEIVED   0x1000
 
#define MV88E1112_COPPER_STAT2_AN_COMPLETE   0x0800
 
#define MV88E1112_COPPER_STAT2_LINK_STATUS_CHANGED   0x0400
 
#define MV88E1112_COPPER_STAT2_SYMBOL_ERROR   0x0200
 
#define MV88E1112_COPPER_STAT2_FALSE_CARRIER   0x0100
 
#define MV88E1112_COPPER_STAT2_MDI_CROSSOVER_CHANGED   0x0040
 
#define MV88E1112_COPPER_STAT2_DOWNSHIFT   0x0020
 
#define MV88E1112_COPPER_STAT2_ENERGY_DETECT   0x0010
 
#define MV88E1112_COPPER_STAT2_DTE_POWER_DET_STATUS_CHANGED   0x0004
 
#define MV88E1112_COPPER_STAT2_POLARITY_CHANGED   0x0002
 
#define MV88E1112_COPPER_STAT2_JABBER   0x0001
 
#define MV88E1112_PAGE_ADDR_AUTO_MEDIUM_REG_SEL   0x8000
 
#define MV88E1112_PAGE_ADDR_PAGE_SEL   0x00FF
 
#define MV88E1112_COPPER_CTRL2_TRANSMITTER_TYPE   0x8000
 
#define MV88E1112_COPPER_CTRL2_TRANSMITTER_TYPE_CLASS_B   0x0000
 
#define MV88E1112_COPPER_CTRL2_TRANSMITTER_TYPE_CLASS_A   0x8000
 
#define MV88E1112_COPPER_CTRL2_DTE_DETECT_EN   0x0100
 
#define MV88E1112_COPPER_CTRL2_DTE_DETECT_STATUS_DROP_HYST   0x00F0
 
#define MV88E1112_COPPER_CTRL2_DTE_DETECT_STATUS_DROP_HYST_DEFAULT   0x0040
 
#define MV88E1112_COPPER_CTRL2_100MB_TEST_SEL   0x000C
 
#define MV88E1112_COPPER_CTRL2_100MB_TEST_SEL_NORMAL   0x0000
 
#define MV88E1112_COPPER_CTRL2_100MB_TEST_SEL_112NS_SEQ   0x0008
 
#define MV88E1112_COPPER_CTRL2_100MB_TEST_SEL_16NS_SEQ   0x000C
 
#define MV88E1112_COPPER_CTRL2_10BT_POL_FORCE   0x0002
 
#define MV88E1112_FIBER_CTRL_RESET   0x8000
 
#define MV88E1112_FIBER_CTRL_LOOPBACK   0x4000
 
#define MV88E1112_FIBER_CTRL_SPEED_SEL_LSB   0x2000
 
#define MV88E1112_FIBER_CTRL_AN_EN   0x1000
 
#define MV88E1112_FIBER_CTRL_POWER_DOWN   0x0800
 
#define MV88E1112_FIBER_CTRL_ISOLATE   0x0400
 
#define MV88E1112_FIBER_CTRL_RESTART_AN   0x0200
 
#define MV88E1112_FIBER_CTRL_DUPLEX_MODE   0x0100
 
#define MV88E1112_FIBER_CTRL_COL_TEST   0x0080
 
#define MV88E1112_FIBER_CTRL_SPEED_SEL_MSB   0x0040
 
#define MV88E1112_FIBER_STAT_100BT4   0x8000
 
#define MV88E1112_FIBER_STAT_100BTX_FD   0x4000
 
#define MV88E1112_FIBER_STAT_100BTX_HD   0x2000
 
#define MV88E1112_FIBER_STAT_10BT_FD   0x1000
 
#define MV88E1112_FIBER_STAT_10BT_HD   0x0800
 
#define MV88E1112_FIBER_STAT_100BT2_FD   0x0400
 
#define MV88E1112_FIBER_STAT_100BT2_HD   0x0200
 
#define MV88E1112_FIBER_STAT_EXTENDED_STATUS   0x0100
 
#define MV88E1112_FIBER_STAT_MF_PREAMBLE_SUPPR   0x0040
 
#define MV88E1112_FIBER_STAT_AN_COMPLETE   0x0020
 
#define MV88E1112_FIBER_STAT_REMOTE_FAULT   0x0010
 
#define MV88E1112_FIBER_STAT_AN_CAPABLE   0x0008
 
#define MV88E1112_FIBER_STAT_LINK_STATUS   0x0004
 
#define MV88E1112_FIBER_STAT_EXTENDED_CAPABLE   0x0001
 
#define MV88E1112_FIBER_ANAR_NEXT_PAGE   0x8000
 
#define MV88E1112_FIBER_ANAR_REMOTE_FAULT   0x3000
 
#define MV88E1112_FIBER_ANAR_REMOTE_FAULT_NO_ERROR   0x0000
 
#define MV88E1112_FIBER_ANAR_REMOTE_FAULT_LINK_FAILURE   0x1000
 
#define MV88E1112_FIBER_ANAR_REMOTE_FAULT_OFFLINE   0x2000
 
#define MV88E1112_FIBER_ANAR_REMOTE_FAULT_AN_ERROR   0x3000
 
#define MV88E1112_FIBER_ANAR_PAUSE   0x0180
 
#define MV88E1112_FIBER_ANAR_1000BX_HD   0x0040
 
#define MV88E1112_FIBER_ANAR_1000BX_FD   0x0020
 
#define MV88E1112_FIBER_ANLPAR_NEXT_PAGE   0x8000
 
#define MV88E1112_FIBER_ANLPAR_ACK   0x4000
 
#define MV88E1112_FIBER_ANLPAR_REMOTE_FAULT   0x3000
 
#define MV88E1112_FIBER_ANLPAR_REMOTE_FAULT_NO_ERROR   0x0000
 
#define MV88E1112_FIBER_ANLPAR_REMOTE_FAULT_LINK_FAILURE   0x1000
 
#define MV88E1112_FIBER_ANLPAR_REMOTE_FAULT_OFFLINE   0x2000
 
#define MV88E1112_FIBER_ANLPAR_REMOTE_FAULT_AN_ERROR   0x3000
 
#define MV88E1112_FIBER_ANLPAR_ASYM_PAUSE   0x0180
 
#define MV88E1112_FIBER_ANLPAR_1000BX_HD   0x0040
 
#define MV88E1112_FIBER_ANLPAR_1000BX_FD   0x0020
 
#define MV88E1112_FIBER_ANER_LP_NEXT_PAGE_ABLE   0x0008
 
#define MV88E1112_FIBER_ANER_NEXT_PAGE_ABLE   0x0004
 
#define MV88E1112_FIBER_ANER_PAGE_RECEIVED   0x0002
 
#define MV88E1112_FIBER_ANER_LP_AN_ABLE   0x0001
 
#define MV88E1112_FIBER_ANNPTR_NEXT_PAGE   0x8000
 
#define MV88E1112_FIBER_ANNPTR_MSG_PAGE   0x2000
 
#define MV88E1112_FIBER_ANNPTR_ACK2   0x1000
 
#define MV88E1112_FIBER_ANNPTR_TOGGLE   0x0800
 
#define MV88E1112_FIBER_ANNPTR_MESSAGE   0x07FF
 
#define MV88E1112_FIBER_ANLPNPR_NEXT_PAGE   0x8000
 
#define MV88E1112_FIBER_ANLPNPR_ACK   0x4000
 
#define MV88E1112_FIBER_ANLPNPR_MSG_PAGE   0x2000
 
#define MV88E1112_FIBER_ANLPNPR_ACK2   0x1000
 
#define MV88E1112_FIBER_ANLPNPR_TOGGLE   0x0800
 
#define MV88E1112_FIBER_ANLPNPR_MESSAGE   0x07FF
 
#define MV88E1112_FIBER_CTRL1_FEFI_EN   0x0800
 
#define MV88E1112_FIBER_CTRL1_FORCE_LINK_GOOD   0x0400
 
#define MV88E1112_FIBER_CTRL1_SIGDET_POL   0x0200
 
#define MV88E1112_FIBER_CTRL1_TX_DIS   0x0008
 
#define MV88E1112_FIBER_STAT1_SPEED   0xC000
 
#define MV88E1112_FIBER_STAT1_SPEED_100MBPS   0x4000
 
#define MV88E1112_FIBER_STAT1_DUPLEX   0x2000
 
#define MV88E1112_FIBER_STAT1_PAGE_RECEIVED   0x1000
 
#define MV88E1112_FIBER_STAT1_SPEED_DUPLEX_RESOLVED   0x0800
 
#define MV88E1112_FIBER_STAT1_LINK   0x0400
 
#define MV88E1112_FIBER_STAT1_TX_PAUSE_EN   0x0200
 
#define MV88E1112_FIBER_STAT1_RX_PAUSE_EN   0x0100
 
#define MV88E1112_FIBER_STAT1_FIBER_COPPER_RESOLUTION   0x0080
 
#define MV88E1112_FIBER_STAT1_AN_BYPASS_STATUS   0x0020
 
#define MV88E1112_FIBER_STAT1_AUTOSEL_FIBER_ED_STATUS   0x0010
 
#define MV88E1112_FIBER_STAT1_GLOBAL_LINK_STATUS   0x0008
 
#define MV88E1112_FIBER_INT_EN_DUPLEX_CHANGED   0x2000
 
#define MV88E1112_FIBER_INT_EN_PAGE_RECEIVED   0x1000
 
#define MV88E1112_FIBER_INT_EN_AN_COMPLETE   0x0800
 
#define MV88E1112_FIBER_INT_EN_LINK_STATUS_CHANGED   0x0400
 
#define MV88E1112_FIBER_INT_EN_SYMBOL_ERROR   0x0200
 
#define MV88E1112_FIBER_INT_EN_FALSE_CARRIER   0x0100
 
#define MV88E1112_FIBER_INT_EN_ENERGY_DETECT   0x0010
 
#define MV88E1112_FIBER_STAT2_DUPLEX_CHANGED   0x2000
 
#define MV88E1112_FIBER_STAT2_PAGE_RECEIVED   0x1000
 
#define MV88E1112_FIBER_STAT2_AN_COMPLETE   0x0800
 
#define MV88E1112_FIBER_STAT2_LINK_STATUS_CHANGED   0x0400
 
#define MV88E1112_FIBER_STAT2_SYMBOL_ERROR   0x0200
 
#define MV88E1112_FIBER_STAT2_FALSE_CARRIER   0x0100
 
#define MV88E1112_FIBER_STAT2_ENERGY_DETECT   0x0010
 
#define MV88E1112_FIBER_CTRL2_AN_BYPASS_EN   0x8000
 
#define MV88E1112_FIBER_CTRL2_SGMII_AN_TIMER   0x6000
 
#define MV88E1112_FIBER_CTRL2_SGMII_AN_TIMER_1_6MS_TO_2_0MS   0x0000
 
#define MV88E1112_FIBER_CTRL2_SGMII_AN_TIMER_0_5US_TO_0_6US   0x2000
 
#define MV88E1112_FIBER_CTRL2_SGMII_AN_TIMER_0_98US_TO_1_2US   0x4000
 
#define MV88E1112_FIBER_CTRL2_SGMII_AN_TIMER_2_1US_TO_2_3US   0x6000
 
#define MV88E1112_FIBER_CTRL2_EXT_FIBER_SIG_DETECT_IN_EN   0x0080
 
#define MV88E1112_FIBER_CTRL2_OUT_AMPLITUDE   0x0007
 
#define MV88E1112_FIBER_CTRL2_OUT_AMPLITUDE_0_50V   0x0000
 
#define MV88E1112_FIBER_CTRL2_OUT_AMPLITUDE_0_60V   0x0001
 
#define MV88E1112_FIBER_CTRL2_OUT_AMPLITUDE_0_70V   0x0002
 
#define MV88E1112_FIBER_CTRL2_OUT_AMPLITUDE_0_80V   0x0003
 
#define MV88E1112_FIBER_CTRL2_OUT_AMPLITUDE_0_90V   0x0004
 
#define MV88E1112_FIBER_CTRL2_OUT_AMPLITUDE_1_00V   0x0005
 
#define MV88E1112_FIBER_CTRL2_OUT_AMPLITUDE_1_10V   0x0006
 
#define MV88E1112_FIBER_CTRL2_OUT_AMPLITUDE_1_20V   0x0007
 
#define MV88E1112_MAC_CTRL_RESET   0x8000
 
#define MV88E1112_MAC_CTRL_LOOPBACK   0x4000
 
#define MV88E1112_MAC_CTRL_SPEED_SEL_LSB   0x2000
 
#define MV88E1112_MAC_CTRL_AN_EN   0x1000
 
#define MV88E1112_MAC_CTRL_POWER_DOWN   0x0800
 
#define MV88E1112_MAC_CTRL_SPEED_SEL_MSB   0x0040
 
#define MV88E1112_MAC_CTRL1_TX_FIFO_DEPTH   0xC000
 
#define MV88E1112_MAC_CTRL1_RX_FIFO_DEPTH   0x3000
 
#define MV88E1112_MAC_CTRL1_AUTOSEL_PREF_MEDIA   0x0C00
 
#define MV88E1112_MAC_CTRL1_MODE_SELECT   0x0380
 
#define MV88E1112_MAC_CTRL1_MODE_SELECT_100FX   0x0000
 
#define MV88E1112_MAC_CTRL1_MODE_SELECT_COPPER_GBIC   0x0080
 
#define MV88E1112_MAC_CTRL1_MODE_SELECT_AUTO_COPPER_SGMII   0x0100
 
#define MV88E1112_MAC_CTRL1_MODE_SELECT_AUTO_COPPER_1000BX   0x0180
 
#define MV88E1112_MAC_CTRL1_MODE_SELECT_COPPER_ONLY   0x0280
 
#define MV88E1112_MAC_CTRL1_MODE_SELECT_SGMII_ONLY   0x0300
 
#define MV88E1112_MAC_CTRL1_MODE_SELECT_1000BX_ONLY   0x0380
 
#define MV88E1112_MAC_CTRL1_SGMII_MAC_POWER_DOWN   0x0008
 
#define MV88E1112_MAC_CTRL1_ENHANCED_SGMII   0x0004
 
#define MV88E1112_MAC_STAT1_AN_BYPASS_STATUS   0x0020
 
#define MV88E1112_MAC_INT_EN_FIFO_OVER_UNDERFLOW   0x0080
 
#define MV88E1112_MAC_STAT2_FIFO_OVER_UNDERFLOW   0x0080
 
#define MV88E1112_MAC_CTRL2_AN_BYPASS_EN   0x8000
 
#define MV88E1112_MAC_CTRL2_SGMII_MAC_AN_TIMER   0x6000
 
#define MV88E1112_MAC_CTRL2_SGMII_MAC_AN_TIMER_1_6MS_TO_2_0MS   0x0000
 
#define MV88E1112_MAC_CTRL2_SGMII_MAC_AN_TIMER_0_5US_TO_0_6US   0x2000
 
#define MV88E1112_MAC_CTRL2_SGMII_MAC_AN_TIMER_0_98US_TO_1_2US   0x4000
 
#define MV88E1112_MAC_CTRL2_SGMII_MAC_AN_TIMER_2_1US_TO_2_3US   0x6000
 
#define MV88E1112_MAC_CTRL2_FORCE_FIBER_LINK_DOWN   0x0080
 
#define MV88E1112_MAC_CTRL2_SGMII_MAC_CLK_EN   0x0010
 
#define MV88E1112_MAC_CTRL2_OUT_AMPLITUDE   0x0007
 
#define MV88E1112_MAC_CTRL2_OUT_AMPLITUDE_0_50V   0x0000
 
#define MV88E1112_MAC_CTRL2_OUT_AMPLITUDE_0_60V   0x0001
 
#define MV88E1112_MAC_CTRL2_OUT_AMPLITUDE_0_70V   0x0002
 
#define MV88E1112_MAC_CTRL2_OUT_AMPLITUDE_0_80V   0x0003
 
#define MV88E1112_MAC_CTRL2_OUT_AMPLITUDE_0_90V   0x0004
 
#define MV88E1112_MAC_CTRL2_OUT_AMPLITUDE_1_00V   0x0005
 
#define MV88E1112_MAC_CTRL2_OUT_AMPLITUDE_1_10V   0x0006
 
#define MV88E1112_MAC_CTRL2_OUT_AMPLITUDE_1_20V   0x0007
 
#define MV88E1112_LED_FUNC_CTRL_LOS_CTRL   0xF000
 
#define MV88E1112_LED_FUNC_CTRL_LOS_CTRL_NORMAL   0x0000
 
#define MV88E1112_LED_FUNC_CTRL_LOS_CTRL_LINK_ACT   0x1000
 
#define MV88E1112_LED_FUNC_CTRL_LOS_CTRL_LINK_RX   0x2000
 
#define MV88E1112_LED_FUNC_CTRL_LOS_CTRL_ACT   0x3000
 
#define MV88E1112_LED_FUNC_CTRL_LOS_CTRL_ACT_BLINK   0x4000
 
#define MV88E1112_LED_FUNC_CTRL_LOS_CTRL_TX   0x5000
 
#define MV88E1112_LED_FUNC_CTRL_LOS_CTRL_SPEED_10_1000   0x6000
 
#define MV88E1112_LED_FUNC_CTRL_LOS_CTRL_LINK_FIBER   0x7000
 
#define MV88E1112_LED_FUNC_CTRL_LOS_CTRL_FORCE_OFF   0x8000
 
#define MV88E1112_LED_FUNC_CTRL_LOS_CTRL_FORCE_ON   0x9000
 
#define MV88E1112_LED_FUNC_CTRL_LOS_CTRL_FORCE_HIZ   0xA000
 
#define MV88E1112_LED_FUNC_CTRL_LOS_CTRL_FORCE_BLINK   0xB000
 
#define MV88E1112_LED_FUNC_CTRL_INIT_CTRL   0x0F00
 
#define MV88E1112_LED_FUNC_CTRL_INIT_CTRL_LINK   0x0000
 
#define MV88E1112_LED_FUNC_CTRL_INIT_CTRL_LINK_ACT   0x0100
 
#define MV88E1112_LED_FUNC_CTRL_INIT_CTRL_NORMAL   0x0200
 
#define MV88E1112_LED_FUNC_CTRL_INIT_CTRL_ACT   0x0300
 
#define MV88E1112_LED_FUNC_CTRL_INIT_CTRL_ACT_BLINK   0x0400
 
#define MV88E1112_LED_FUNC_CTRL_INIT_CTRL_TX   0x0500
 
#define MV88E1112_LED_FUNC_CTRL_INIT_CTRL_SPEED_10_1000   0x0600
 
#define MV88E1112_LED_FUNC_CTRL_INIT_CTRL_SPEED_10   0x0700
 
#define MV88E1112_LED_FUNC_CTRL_INIT_CTRL_FORCE_OFF   0x0800
 
#define MV88E1112_LED_FUNC_CTRL_INIT_CTRL_FORCE_ON   0x0900
 
#define MV88E1112_LED_FUNC_CTRL_INIT_CTRL_FORCE_HIZ   0x0A00
 
#define MV88E1112_LED_FUNC_CTRL_INIT_CTRL_FORCE_BLINK   0x0B00
 
#define MV88E1112_LED_FUNC_CTRL_INIT_CTRL_MODE1   0x0C00
 
#define MV88E1112_LED_FUNC_CTRL_INIT_CTRL_MODE2   0x0D00
 
#define MV88E1112_LED_FUNC_CTRL_INIT_CTRL_INT   0x0E00
 
#define MV88E1112_LED_FUNC_CTRL_STATUS1_CTRL   0x00F0
 
#define MV88E1112_LED_FUNC_CTRL_STATUS1_CTRL_COPPER_LINK   0x0000
 
#define MV88E1112_LED_FUNC_CTRL_STATUS1_CTRL_LINK_ACT   0x0010
 
#define MV88E1112_LED_FUNC_CTRL_STATUS1_CTRL_LINK_RX   0x00A0
 
#define MV88E1112_LED_FUNC_CTRL_STATUS1_CTRL_LINK   0x00B0
 
#define MV88E1112_LED_FUNC_CTRL_STATUS1_CTRL_LINK_BLINK   0x0640
 
#define MV88E1112_LED_FUNC_CTRL_STATUS1_CTRL_SPEED_100_FIBER   0x0650
 
#define MV88E1112_LED_FUNC_CTRL_STATUS1_CTRL_SPEED_100_1000   0x06E0
 
#define MV88E1112_LED_FUNC_CTRL_STATUS1_CTRL_SPEED_100   0x06F0
 
#define MV88E1112_LED_FUNC_CTRL_STATUS1_CTRL_FORCE_OFF   0x3E80
 
#define MV88E1112_LED_FUNC_CTRL_STATUS1_CTRL_FORCE_ON   0x3E90
 
#define MV88E1112_LED_FUNC_CTRL_STATUS1_CTRL_FORCE_HIZ   0x3F20
 
#define MV88E1112_LED_FUNC_CTRL_STATUS1_CTRL_FORCE_BLINK   0x3F30
 
#define MV88E1112_LED_FUNC_CTRL_STATUS0_CTRL   0x000F
 
#define MV88E1112_LED_FUNC_CTRL_STATUS0_CTRL_LINK   0x0000
 
#define MV88E1112_LED_FUNC_CTRL_STATUS0_CTRL_LINK_ACT   0x0001
 
#define MV88E1112_LED_FUNC_CTRL_STATUS0_CTRL_SPEED_BLINK   0x0002
 
#define MV88E1112_LED_FUNC_CTRL_STATUS0_CTRL_ACT   0x0003
 
#define MV88E1112_LED_FUNC_CTRL_STATUS0_CTRL_ACT_BLINK   0x0004
 
#define MV88E1112_LED_FUNC_CTRL_STATUS0_CTRL_TX   0x0005
 
#define MV88E1112_LED_FUNC_CTRL_STATUS0_CTRL_COPPER_LINK   0x0006
 
#define MV88E1112_LED_FUNC_CTRL_STATUS0_CTRL_SPEED_1000   0x0007
 
#define MV88E1112_LED_FUNC_CTRL_STATUS0_CTRL_FORCE_OFF   0x0008
 
#define MV88E1112_LED_FUNC_CTRL_STATUS0_CTRL_FORCE_ON   0x0009
 
#define MV88E1112_LED_FUNC_CTRL_STATUS0_CTRL_FORCE_HIZ   0x000A
 
#define MV88E1112_LED_FUNC_CTRL_STATUS0_CTRL_FORCE_BLINK   0x000B
 
#define MV88E1112_LED_FUNC_CTRL_STATUS0_CTRL_MODE1   0x000C
 
#define MV88E1112_LED_FUNC_CTRL_STATUS0_CTRL_MODE2   0x000D
 
#define MV88E1112_LED_FUNC_CTRL_STATUS0_CTRL_MODE3   0x000E
 
#define MV88E1112_LED_FUNC_CTRL_STATUS0_CTRL_MODE4   0x000F
 
#define MV88E1112_LED_POL_CTRL_LOS_STATUS1_MIX   0xF000
 
#define MV88E1112_LED_POL_CTRL_LOS_STATUS1_MIX_0   0x0000
 
#define MV88E1112_LED_POL_CTRL_LOS_STATUS1_MIX_12_5   0x0000
 
#define MV88E1112_LED_POL_CTRL_LOS_STATUS1_MIX_87_5   0x7000
 
#define MV88E1112_LED_POL_CTRL_LOS_STATUS1_MIX_100   0x8000
 
#define MV88E1112_LED_POL_CTRL_INIT_STATUS0_MIX   0x0F00
 
#define MV88E1112_LED_POL_CTRL_INIT_STATUS0_MIX_0   0x0000
 
#define MV88E1112_LED_POL_CTRL_INIT_STATUS0_MIX_12_5   0x0000
 
#define MV88E1112_LED_POL_CTRL_INIT_STATUS0_MIX_87_5   0x0700
 
#define MV88E1112_LED_POL_CTRL_INIT_STATUS0_MIX_100   0x0800
 
#define MV88E1112_LED_POL_CTRL_LOS_POL   0x00C0
 
#define MV88E1112_LED_POL_CTRL_LOS_POL_ON_LOW_OFF_HIGH   0x0000
 
#define MV88E1112_LED_POL_CTRL_LOS_POL_ON_LOW_OFF_TRIS   0x0080
 
#define MV88E1112_LED_POL_CTRL_LOS_POL_ON_HIGH_OFF_TRIS   0x00C0
 
#define MV88E1112_LED_POL_CTRL_INIT_POL   0x0030
 
#define MV88E1112_LED_POL_CTRL_INIT_POL_ON_LOW_OFF_HIGH   0x0000
 
#define MV88E1112_LED_POL_CTRL_INIT_POL_ON_HIGH_OFF_LOW   0x0010
 
#define MV88E1112_LED_POL_CTRL_INIT_POL_ON_LOW_OFF_TRIS   0x0020
 
#define MV88E1112_LED_POL_CTRL_INIT_POL_ON_HIGH_OFF_TRIS   0x0030
 
#define MV88E1112_LED_POL_CTRL_STATUS1_POL   0x000C
 
#define MV88E1112_LED_POL_CTRL_STATUS1_POL_ON_LOW_OFF_HIGH   0x0000
 
#define MV88E1112_LED_POL_CTRL_STATUS1_POL_ON_HIGH_OFF_LOW   0x0004
 
#define MV88E1112_LED_POL_CTRL_STATUS1_POL_ON_LOW_OFF_TRIS   0x0008
 
#define MV88E1112_LED_POL_CTRL_STATUS1_POL_ON_HIGH_OFF_TRIS   0x000C
 
#define MV88E1112_LED_POL_CTRL_STATUS0_POL   0x0003
 
#define MV88E1112_LED_POL_CTRL_STATUS0_POL_ON_LOW_OFF_HIGH   0x0000
 
#define MV88E1112_LED_POL_CTRL_STATUS0_POL_ON_HIGH_OFF_LOW   0x0001
 
#define MV88E1112_LED_POL_CTRL_STATUS0_POL_ON_LOW_OFF_TRIS   0x0002
 
#define MV88E1112_LED_POL_CTRL_STATUS0_POL_ON_HIGH_OFF_TRIS   0x0003
 
#define MV88E1112_LED_TIMER_CTRL_PULSE_STRETCH   0x7000
 
#define MV88E1112_LED_TIMER_CTRL_PULSE_STRETCH_NO   0x0000
 
#define MV88E1112_LED_TIMER_CTRL_PULSE_STRETCH_21MS_TO_42MS   0x1000
 
#define MV88E1112_LED_TIMER_CTRL_PULSE_STRETCH_42MS_TO_84MS   0x2000
 
#define MV88E1112_LED_TIMER_CTRL_PULSE_STRETCH_84MS_TO_170MS   0x3000
 
#define MV88E1112_LED_TIMER_CTRL_PULSE_STRETCH_170MS_TO_340MS   0x4000
 
#define MV88E1112_LED_TIMER_CTRL_PULSE_STRETCH_340MS_TO_670MS   0x5000
 
#define MV88E1112_LED_TIMER_CTRL_PULSE_STRETCH_670MS_TO_1_3S   0x6000
 
#define MV88E1112_LED_TIMER_CTRL_PULSE_STRETCH_1_3S_TO_2_7S   0x7000
 
#define MV88E1112_LED_TIMER_CTRL_BLINK_RATE   0x0700
 
#define MV88E1112_LED_TIMER_CTRL_BLINK_RATE_42MS   0x0000
 
#define MV88E1112_LED_TIMER_CTRL_BLINK_RATE_84MS   0x0100
 
#define MV88E1112_LED_TIMER_CTRL_BLINK_RATE_170MS   0x0200
 
#define MV88E1112_LED_TIMER_CTRL_BLINK_RATE_340MS   0x0300
 
#define MV88E1112_LED_TIMER_CTRL_BLINK_RATE_670MS   0x0400
 
#define MV88E1112_LED_TIMER_CTRL_SPEED_OFF_PULSE   0x000C
 
#define MV88E1112_LED_TIMER_CTRL_SPEED_OFF_PULSE_84MS   0x0000
 
#define MV88E1112_LED_TIMER_CTRL_SPEED_OFF_PULSE_170MS   0x0004
 
#define MV88E1112_LED_TIMER_CTRL_SPEED_OFF_PULSE_340MS   0x0008
 
#define MV88E1112_LED_TIMER_CTRL_SPEED_OFF_PULSE_670MS   0x000C
 
#define MV88E1112_LED_TIMER_CTRL_SPEED_ON_PULSE   0x0003
 
#define MV88E1112_LED_TIMER_CTRL_SPEED_ON_PULSE_84MS   0x0000
 
#define MV88E1112_LED_TIMER_CTRL_SPEED_ON_PULSE_170MS   0x0001
 
#define MV88E1112_LED_TIMER_CTRL_SPEED_ON_PULSE_340MS   0x0002
 
#define MV88E1112_LED_TIMER_CTRL_SPEED_ON_PULSE_670MS   0x0003
 
#define MV88E1112_NVM_ADDR_SLAVE_ADDR   0xFE00
 
#define MV88E1112_NVM_ADDR_RD_WR   0x0100
 
#define MV88E1112_NVM_ADDR_BYTE_ADDR   0x00FF
 
#define MV88E1112_NVM_RD_DATA_STAT_RAM_STATUS   0xE000
 
#define MV88E1112_NVM_RD_DATA_STAT_TWI_STATUS   0x0700
 
#define MV88E1112_NVM_RD_DATA_STAT_READ_DATA   0x00FF
 
#define MV88E1112_NVM_WR_DATA_CTRL_EEPROM_WRITE_TIME   0xF000
 
#define MV88E1112_NVM_WR_DATA_CTRL_EEPROM_WRITE_TIME_0MS   0x0000
 
#define MV88E1112_NVM_WR_DATA_CTRL_EEPROM_WRITE_TIME_1_05MS   0x1000
 
#define MV88E1112_NVM_WR_DATA_CTRL_EEPROM_WRITE_TIME_14_68MS   0xE000
 
#define MV88E1112_NVM_WR_DATA_CTRL_EEPROM_WRITE_TIME_15_73MS   0xF000
 
#define MV88E1112_NVM_WR_DATA_CTRL_RELOAD_EEPROM_VALUES   0x0C00
 
#define MV88E1112_NVM_WR_DATA_CTRL_RELOAD_EEPROM_VALUES_NORMAL   0x0000
 
#define MV88E1112_NVM_WR_DATA_CTRL_RELOAD_EEPROM_VALUES_RELOAD   0x0800
 
#define MV88E1112_NVM_WR_DATA_CTRL_RELOAD_EEPROM_VALUES_RELOAD_REINIT   0x0C00
 
#define MV88E1112_NVM_WR_DATA_CTRL_AUTO_RB_AFTER_WR   0x0200
 
#define MV88E1112_NVM_WR_DATA_CTRL_WRITE_DATA   0x00FF
 
#define MV88E1112_RAM_DATA_RAM_DATA   0x00FF
 
#define MV88E1112_RAM_ADDR_RAM_BYTE_ADDR   0x00FF
 
#define MV88E1112_MDI0_VCT_STAT_RUN_VCT_TEST   0x8000
 
#define MV88E1112_MDI0_VCT_STAT_STATUS   0x6000
 
#define MV88E1112_MDI0_VCT_STAT_STATUS_VALID_NORMAL   0x0000
 
#define MV88E1112_MDI0_VCT_STAT_STATUS_VALID_SHORT   0x2000
 
#define MV88E1112_MDI0_VCT_STAT_STATUS_VALID_OPEN   0x4000
 
#define MV88E1112_MDI0_VCT_STAT_STATUS_FAILET   0x6000
 
#define MV88E1112_MDI0_VCT_STAT_AMPLITUDE   0x1F00
 
#define MV88E1112_MDI0_VCT_STAT_AMPLITUDE_MAX_NEG   0x0000
 
#define MV88E1112_MDI0_VCT_STAT_AMPLITUDE_ZERO   0x1000
 
#define MV88E1112_MDI0_VCT_STAT_AMPLITUDE_MAX_POS   0x1F00
 
#define MV88E1112_MDI0_VCT_STAT_DISTANCE   0x00FF
 
#define MV88E1112_MDI1_VCT_STAT_WAITING_PERIOD_DIS   0x8000
 
#define MV88E1112_MDI1_VCT_STAT_STATUS   0x6000
 
#define MV88E1112_MDI1_VCT_STAT_STATUS_VALID_NORMAL   0x0000
 
#define MV88E1112_MDI1_VCT_STAT_STATUS_VALID_SHORT   0x2000
 
#define MV88E1112_MDI1_VCT_STAT_STATUS_VALID_OPEN   0x4000
 
#define MV88E1112_MDI1_VCT_STAT_STATUS_FAILET   0x6000
 
#define MV88E1112_MDI1_VCT_STAT_AMPLITUDE   0x1F00
 
#define MV88E1112_MDI1_VCT_STAT_AMPLITUDE_MAX_NEG   0x0000
 
#define MV88E1112_MDI1_VCT_STAT_AMPLITUDE_ZERO   0x1000
 
#define MV88E1112_MDI1_VCT_STAT_AMPLITUDE_MAX_POS   0x1F00
 
#define MV88E1112_MDI1_VCT_STAT_DISTANCE   0x00FF
 
#define MV88E1112_MDI2_VCT_STAT_STATUS   0x6000
 
#define MV88E1112_MDI2_VCT_STAT_STATUS_VALID_NORMAL   0x0000
 
#define MV88E1112_MDI2_VCT_STAT_STATUS_VALID_SHORT   0x2000
 
#define MV88E1112_MDI2_VCT_STAT_STATUS_VALID_OPEN   0x4000
 
#define MV88E1112_MDI2_VCT_STAT_STATUS_FAILET   0x6000
 
#define MV88E1112_MDI2_VCT_STAT_AMPLITUDE   0x1F00
 
#define MV88E1112_MDI2_VCT_STAT_AMPLITUDE_MAX_NEG   0x0000
 
#define MV88E1112_MDI2_VCT_STAT_AMPLITUDE_ZERO   0x1000
 
#define MV88E1112_MDI2_VCT_STAT_AMPLITUDE_MAX_POS   0x1F00
 
#define MV88E1112_MDI2_VCT_STAT_DISTANCE   0x00FF
 
#define MV88E1112_MDI3_VCT_STAT_STATUS   0x6000
 
#define MV88E1112_MDI3_VCT_STAT_STATUS_VALID_NORMAL   0x0000
 
#define MV88E1112_MDI3_VCT_STAT_STATUS_VALID_SHORT   0x2000
 
#define MV88E1112_MDI3_VCT_STAT_STATUS_VALID_OPEN   0x4000
 
#define MV88E1112_MDI3_VCT_STAT_STATUS_FAILET   0x6000
 
#define MV88E1112_MDI3_VCT_STAT_AMPLITUDE   0x1F00
 
#define MV88E1112_MDI3_VCT_STAT_AMPLITUDE_MAX_NEG   0x0000
 
#define MV88E1112_MDI3_VCT_STAT_AMPLITUDE_ZERO   0x1000
 
#define MV88E1112_MDI3_VCT_STAT_AMPLITUDE_MAX_POS   0x1F00
 
#define MV88E1112_MDI3_VCT_STAT_DISTANCE   0x00FF
 
#define MV88E1112_1000BT_PAIR_SKEW_PAIR_7_8_MDI3   0xF000
 
#define MV88E1112_1000BT_PAIR_SKEW_PAIR_4_5_MDI2   0x0F00
 
#define MV88E1112_1000BT_PAIR_SKEW_PAIR_3_6_MDI1   0x00F0
 
#define MV88E1112_1000BT_PAIR_SKEW_PAIR_3_6_MDI0   0x000F
 
#define MV88E1112_1000BT_PAIR_SWAP_POL_REG_21_4_21_5_VALID   0x0040
 
#define MV88E1112_1000BT_PAIR_SWAP_POL_C_D_CROSSOVER   0x0020
 
#define MV88E1112_1000BT_PAIR_SWAP_POL_A_B_CROSSOVER   0x0010
 
#define MV88E1112_1000BT_PAIR_SWAP_POL_PAIR_7_8_MDI3_POL   0x0008
 
#define MV88E1112_1000BT_PAIR_SWAP_POL_PAIR_4_5_MDI2_POL   0x0004
 
#define MV88E1112_1000BT_PAIR_SWAP_POL_PAIR_3_6_MDI1_POL   0x0002
 
#define MV88E1112_1000BT_PAIR_SWAP_POL_PAIR_1_2_MDI0_POL   0x0001
 
#define MV88E1112_VCT_DSP_DIST_CABLE_LENGTH   0x0007
 
#define MV88E1112_PKT_GEN_STUB_TEST_EN   0x0020
 
#define MV88E1112_PKT_GEN_CRC_CHECKER_EN   0x0010
 
#define MV88E1112_PKT_GEN_PKT_GEN_EN   0x0008
 
#define MV88E1112_PKT_GEN_PAYLOAD   0x0004
 
#define MV88E1112_PKT_GEN_PAYLOAD_PSEUDO_RANDOM   0x0000
 
#define MV88E1112_PKT_GEN_PAYLOAD_5A_A5   0x0004
 
#define MV88E1112_PKT_GEN_LENGTH   0x0002
 
#define MV88E1112_PKT_GEN_LENGTH_64B   0x0000
 
#define MV88E1112_PKT_GEN_LENGTH_1518B   0x0002
 
#define MV88E1112_PKT_GEN_TX_ERR_PKT   0x0001
 
#define MV88E1112_CRC_COUNTERS_CRC_PKT_COUNT   0xFF00
 
#define MV88E1112_CRC_COUNTERS_CRC_ERR_COUNT   0x00FF
 

Functions

error_t mv88e1112Init (NetInterface *interface)
 88E1112 PHY transceiver initialization More...
 
void mv88e1112InitHook (NetInterface *interface)
 88E1112 custom configuration More...
 
void mv88e1112Tick (NetInterface *interface)
 88E1112 timer handler More...
 
void mv88e1112EnableIrq (NetInterface *interface)
 Enable interrupts. More...
 
void mv88e1112DisableIrq (NetInterface *interface)
 Disable interrupts. More...
 
void mv88e1112EventHandler (NetInterface *interface)
 88E1112 event handler More...
 
void mv88e1112WritePhyReg (NetInterface *interface, uint8_t address, uint16_t data)
 Write PHY register. More...
 
uint16_t mv88e1112ReadPhyReg (NetInterface *interface, uint8_t address)
 Read PHY register. More...
 
void mv88e1112DumpPhyReg (NetInterface *interface)
 Dump PHY registers for debugging purpose. More...
 

Variables

const PhyDriver mv88e1112PhyDriver
 88E1112 Ethernet PHY driver More...
 

Detailed Description

88E1112 Gigabit Ethernet PHY 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 mv88e1112_driver.h.

Macro Definition Documentation

◆ MV88E1112_1000BT_PAIR_SKEW

#define MV88E1112_1000BT_PAIR_SKEW   0x14

Definition at line 104 of file mv88e1112_driver.h.

◆ MV88E1112_1000BT_PAIR_SKEW_PAIR_3_6_MDI0

#define MV88E1112_1000BT_PAIR_SKEW_PAIR_3_6_MDI0   0x000F

Definition at line 691 of file mv88e1112_driver.h.

◆ MV88E1112_1000BT_PAIR_SKEW_PAIR_3_6_MDI1

#define MV88E1112_1000BT_PAIR_SKEW_PAIR_3_6_MDI1   0x00F0

Definition at line 690 of file mv88e1112_driver.h.

◆ MV88E1112_1000BT_PAIR_SKEW_PAIR_4_5_MDI2

#define MV88E1112_1000BT_PAIR_SKEW_PAIR_4_5_MDI2   0x0F00

Definition at line 689 of file mv88e1112_driver.h.

◆ MV88E1112_1000BT_PAIR_SKEW_PAIR_7_8_MDI3

#define MV88E1112_1000BT_PAIR_SKEW_PAIR_7_8_MDI3   0xF000

Definition at line 688 of file mv88e1112_driver.h.

◆ MV88E1112_1000BT_PAIR_SWAP_POL

#define MV88E1112_1000BT_PAIR_SWAP_POL   0x15

Definition at line 105 of file mv88e1112_driver.h.

◆ MV88E1112_1000BT_PAIR_SWAP_POL_A_B_CROSSOVER

#define MV88E1112_1000BT_PAIR_SWAP_POL_A_B_CROSSOVER   0x0010

Definition at line 696 of file mv88e1112_driver.h.

◆ MV88E1112_1000BT_PAIR_SWAP_POL_C_D_CROSSOVER

#define MV88E1112_1000BT_PAIR_SWAP_POL_C_D_CROSSOVER   0x0020

Definition at line 695 of file mv88e1112_driver.h.

◆ MV88E1112_1000BT_PAIR_SWAP_POL_PAIR_1_2_MDI0_POL

#define MV88E1112_1000BT_PAIR_SWAP_POL_PAIR_1_2_MDI0_POL   0x0001

Definition at line 700 of file mv88e1112_driver.h.

◆ MV88E1112_1000BT_PAIR_SWAP_POL_PAIR_3_6_MDI1_POL

#define MV88E1112_1000BT_PAIR_SWAP_POL_PAIR_3_6_MDI1_POL   0x0002

Definition at line 699 of file mv88e1112_driver.h.

◆ MV88E1112_1000BT_PAIR_SWAP_POL_PAIR_4_5_MDI2_POL

#define MV88E1112_1000BT_PAIR_SWAP_POL_PAIR_4_5_MDI2_POL   0x0004

Definition at line 698 of file mv88e1112_driver.h.

◆ MV88E1112_1000BT_PAIR_SWAP_POL_PAIR_7_8_MDI3_POL

#define MV88E1112_1000BT_PAIR_SWAP_POL_PAIR_7_8_MDI3_POL   0x0008

Definition at line 697 of file mv88e1112_driver.h.

◆ MV88E1112_1000BT_PAIR_SWAP_POL_REG_21_4_21_5_VALID

#define MV88E1112_1000BT_PAIR_SWAP_POL_REG_21_4_21_5_VALID   0x0040

Definition at line 694 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_ANAR

#define MV88E1112_COPPER_ANAR   0x04

Definition at line 49 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_ANAR_100BT4

#define MV88E1112_COPPER_ANAR_100BT4   0x0200

Definition at line 158 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_ANAR_100BTX_FD

#define MV88E1112_COPPER_ANAR_100BTX_FD   0x0100

Definition at line 159 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_ANAR_100BTX_HD

#define MV88E1112_COPPER_ANAR_100BTX_HD   0x0080

Definition at line 160 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_ANAR_10BT_FD

#define MV88E1112_COPPER_ANAR_10BT_FD   0x0040

Definition at line 161 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_ANAR_10BT_HD

#define MV88E1112_COPPER_ANAR_10BT_HD   0x0020

Definition at line 162 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_ANAR_ACK

#define MV88E1112_COPPER_ANAR_ACK   0x4000

Definition at line 154 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_ANAR_ASYM_PAUSE

#define MV88E1112_COPPER_ANAR_ASYM_PAUSE   0x0800

Definition at line 156 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_ANAR_NEXT_PAGE

#define MV88E1112_COPPER_ANAR_NEXT_PAGE   0x8000

Definition at line 153 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_ANAR_PAUSE

#define MV88E1112_COPPER_ANAR_PAUSE   0x0400

Definition at line 157 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_ANAR_REMOTE_FAULT

#define MV88E1112_COPPER_ANAR_REMOTE_FAULT   0x2000

Definition at line 155 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_ANAR_SELECTOR

#define MV88E1112_COPPER_ANAR_SELECTOR   0x001F

Definition at line 163 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_ANAR_SELECTOR_DEFAULT

#define MV88E1112_COPPER_ANAR_SELECTOR_DEFAULT   0x0001

Definition at line 164 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_ANER

#define MV88E1112_COPPER_ANER   0x06

Definition at line 51 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_ANER_LP_AN_ABLE

#define MV88E1112_COPPER_ANER_LP_AN_ABLE   0x0001

Definition at line 186 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_ANER_LP_NEXT_PAGE_ABLE

#define MV88E1112_COPPER_ANER_LP_NEXT_PAGE_ABLE   0x0008

Definition at line 183 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_ANER_NEXT_PAGE_ABLE

#define MV88E1112_COPPER_ANER_NEXT_PAGE_ABLE   0x0004

Definition at line 184 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_ANER_PAGE_RECEIVED

#define MV88E1112_COPPER_ANER_PAGE_RECEIVED   0x0002

Definition at line 185 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_ANER_PAR_DETECT_FAULT

#define MV88E1112_COPPER_ANER_PAR_DETECT_FAULT   0x0010

Definition at line 182 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_ANLPAR

#define MV88E1112_COPPER_ANLPAR   0x05

Definition at line 50 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_ANLPAR_100BT4

#define MV88E1112_COPPER_ANLPAR_100BT4   0x0200

Definition at line 173 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_ANLPAR_100BTX_FD

#define MV88E1112_COPPER_ANLPAR_100BTX_FD   0x0100

Definition at line 174 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_ANLPAR_100BTX_HD

#define MV88E1112_COPPER_ANLPAR_100BTX_HD   0x0080

Definition at line 175 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_ANLPAR_10BT_FD

#define MV88E1112_COPPER_ANLPAR_10BT_FD   0x0040

Definition at line 176 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_ANLPAR_10BT_HD

#define MV88E1112_COPPER_ANLPAR_10BT_HD   0x0020

Definition at line 177 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_ANLPAR_ACK

#define MV88E1112_COPPER_ANLPAR_ACK   0x4000

Definition at line 168 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_ANLPAR_ASYM_PAUSE

#define MV88E1112_COPPER_ANLPAR_ASYM_PAUSE   0x0800

Definition at line 171 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_ANLPAR_NEXT_PAGE

#define MV88E1112_COPPER_ANLPAR_NEXT_PAGE   0x8000

Definition at line 167 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_ANLPAR_PAUSE

#define MV88E1112_COPPER_ANLPAR_PAUSE   0x0400

Definition at line 172 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_ANLPAR_REMOTE_FAULT

#define MV88E1112_COPPER_ANLPAR_REMOTE_FAULT   0x2000

Definition at line 169 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_ANLPAR_SELECTOR

#define MV88E1112_COPPER_ANLPAR_SELECTOR   0x001F

Definition at line 178 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_ANLPAR_SELECTOR_DEFAULT

#define MV88E1112_COPPER_ANLPAR_SELECTOR_DEFAULT   0x0001

Definition at line 179 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_ANLPAR_TECH_ABLE

#define MV88E1112_COPPER_ANLPAR_TECH_ABLE   0x1000

Definition at line 170 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_ANLPNPR

#define MV88E1112_COPPER_ANLPNPR   0x08

Definition at line 53 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_ANLPNPR_ACK

#define MV88E1112_COPPER_ANLPNPR_ACK   0x4000

Definition at line 197 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_ANLPNPR_ACK2

#define MV88E1112_COPPER_ANLPNPR_ACK2   0x1000

Definition at line 199 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_ANLPNPR_MESSAGE

#define MV88E1112_COPPER_ANLPNPR_MESSAGE   0x07FF

Definition at line 201 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_ANLPNPR_MSG_PAGE

#define MV88E1112_COPPER_ANLPNPR_MSG_PAGE   0x2000

Definition at line 198 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_ANLPNPR_NEXT_PAGE

#define MV88E1112_COPPER_ANLPNPR_NEXT_PAGE   0x8000

Definition at line 196 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_ANLPNPR_TOGGLE

#define MV88E1112_COPPER_ANLPNPR_TOGGLE   0x0800

Definition at line 200 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_ANNPTR

#define MV88E1112_COPPER_ANNPTR   0x07

Definition at line 52 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_ANNPTR_ACK2

#define MV88E1112_COPPER_ANNPTR_ACK2   0x1000

Definition at line 191 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_ANNPTR_MESSAGE

#define MV88E1112_COPPER_ANNPTR_MESSAGE   0x07FF

Definition at line 193 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_ANNPTR_MSG_PAGE

#define MV88E1112_COPPER_ANNPTR_MSG_PAGE   0x2000

Definition at line 190 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_ANNPTR_NEXT_PAGE

#define MV88E1112_COPPER_ANNPTR_NEXT_PAGE   0x8000

Definition at line 189 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_ANNPTR_TOGGLE

#define MV88E1112_COPPER_ANNPTR_TOGGLE   0x0800

Definition at line 192 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_CTRL

#define MV88E1112_COPPER_CTRL   0x00

Definition at line 45 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_CTRL1

#define MV88E1112_COPPER_CTRL1   0x10

Definition at line 57 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_CTRL1_DOWNSHIFT_COUNTER

#define MV88E1112_COPPER_CTRL1_DOWNSHIFT_COUNTER   0x7000

Definition at line 228 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_CTRL1_DOWNSHIFT_EN

#define MV88E1112_COPPER_CTRL1_DOWNSHIFT_EN   0x0800

Definition at line 229 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_CTRL1_ENERGY_DETECT

#define MV88E1112_COPPER_CTRL1_ENERGY_DETECT   0x0300

Definition at line 231 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_CTRL1_EXTENDED_DIST_EN

#define MV88E1112_COPPER_CTRL1_EXTENDED_DIST_EN   0x0080

Definition at line 232 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_CTRL1_FORCE_LINK_GOOD

#define MV88E1112_COPPER_CTRL1_FORCE_LINK_GOOD   0x0400

Definition at line 230 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_CTRL1_JABBER_DIS

#define MV88E1112_COPPER_CTRL1_JABBER_DIS   0x0001

Definition at line 239 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_CTRL1_LINK_PULSE_DIS

#define MV88E1112_COPPER_CTRL1_LINK_PULSE_DIS   0x8000

Definition at line 227 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_CTRL1_MDI_CROSSOVER_MODE

#define MV88E1112_COPPER_CTRL1_MDI_CROSSOVER_MODE   0x0060

Definition at line 233 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_CTRL1_MDI_CROSSOVER_MODE_AUTO

#define MV88E1112_COPPER_CTRL1_MDI_CROSSOVER_MODE_AUTO   0x0060

Definition at line 236 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_CTRL1_MDI_CROSSOVER_MODE_MANUAL_MDI

#define MV88E1112_COPPER_CTRL1_MDI_CROSSOVER_MODE_MANUAL_MDI   0x0000

Definition at line 234 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_CTRL1_MDI_CROSSOVER_MODE_MANUAL_MDIX

#define MV88E1112_COPPER_CTRL1_MDI_CROSSOVER_MODE_MANUAL_MDIX   0x0020

Definition at line 235 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_CTRL1_POLARITY_REVERSAL_DIS

#define MV88E1112_COPPER_CTRL1_POLARITY_REVERSAL_DIS   0x0002

Definition at line 238 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_CTRL1_TX_DIS

#define MV88E1112_COPPER_CTRL1_TX_DIS   0x0008

Definition at line 237 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_CTRL2

#define MV88E1112_COPPER_CTRL2   0x1A

Definition at line 63 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_CTRL2_100MB_TEST_SEL

#define MV88E1112_COPPER_CTRL2_100MB_TEST_SEL   0x000C

Definition at line 304 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_CTRL2_100MB_TEST_SEL_112NS_SEQ

#define MV88E1112_COPPER_CTRL2_100MB_TEST_SEL_112NS_SEQ   0x0008

Definition at line 306 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_CTRL2_100MB_TEST_SEL_16NS_SEQ

#define MV88E1112_COPPER_CTRL2_100MB_TEST_SEL_16NS_SEQ   0x000C

Definition at line 307 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_CTRL2_100MB_TEST_SEL_NORMAL

#define MV88E1112_COPPER_CTRL2_100MB_TEST_SEL_NORMAL   0x0000

Definition at line 305 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_CTRL2_10BT_POL_FORCE

#define MV88E1112_COPPER_CTRL2_10BT_POL_FORCE   0x0002

Definition at line 308 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_CTRL2_DTE_DETECT_EN

#define MV88E1112_COPPER_CTRL2_DTE_DETECT_EN   0x0100

Definition at line 301 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_CTRL2_DTE_DETECT_STATUS_DROP_HYST

#define MV88E1112_COPPER_CTRL2_DTE_DETECT_STATUS_DROP_HYST   0x00F0

Definition at line 302 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_CTRL2_DTE_DETECT_STATUS_DROP_HYST_DEFAULT

#define MV88E1112_COPPER_CTRL2_DTE_DETECT_STATUS_DROP_HYST_DEFAULT   0x0040

Definition at line 303 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_CTRL2_TRANSMITTER_TYPE

#define MV88E1112_COPPER_CTRL2_TRANSMITTER_TYPE   0x8000

Definition at line 298 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_CTRL2_TRANSMITTER_TYPE_CLASS_A

#define MV88E1112_COPPER_CTRL2_TRANSMITTER_TYPE_CLASS_A   0x8000

Definition at line 300 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_CTRL2_TRANSMITTER_TYPE_CLASS_B

#define MV88E1112_COPPER_CTRL2_TRANSMITTER_TYPE_CLASS_B   0x0000

Definition at line 299 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_CTRL_AN_EN

#define MV88E1112_COPPER_CTRL_AN_EN   0x1000

Definition at line 116 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_CTRL_COL_TEST

#define MV88E1112_COPPER_CTRL_COL_TEST   0x0080

Definition at line 121 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_CTRL_DUPLEX_MODE

#define MV88E1112_COPPER_CTRL_DUPLEX_MODE   0x0100

Definition at line 120 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_CTRL_ISOLATE

#define MV88E1112_COPPER_CTRL_ISOLATE   0x0400

Definition at line 118 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_CTRL_LOOPBACK

#define MV88E1112_COPPER_CTRL_LOOPBACK   0x4000

Definition at line 114 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_CTRL_POWER_DOWN

#define MV88E1112_COPPER_CTRL_POWER_DOWN   0x0800

Definition at line 117 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_CTRL_RESET

#define MV88E1112_COPPER_CTRL_RESET   0x8000

Definition at line 113 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_CTRL_RESTART_AN

#define MV88E1112_COPPER_CTRL_RESTART_AN   0x0200

Definition at line 119 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_CTRL_SPEED_SEL_LSB

#define MV88E1112_COPPER_CTRL_SPEED_SEL_LSB   0x2000

Definition at line 115 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_CTRL_SPEED_SEL_MSB

#define MV88E1112_COPPER_CTRL_SPEED_SEL_MSB   0x0040

Definition at line 122 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_INT_EN

#define MV88E1112_COPPER_INT_EN   0x12

Definition at line 59 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_INT_EN_AN_COMPLETE

#define MV88E1112_COPPER_INT_EN_AN_COMPLETE   0x0800

Definition at line 266 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_INT_EN_AN_ERROR

#define MV88E1112_COPPER_INT_EN_AN_ERROR   0x8000

Definition at line 262 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_INT_EN_DOWNSHIFT

#define MV88E1112_COPPER_INT_EN_DOWNSHIFT   0x0020

Definition at line 271 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_INT_EN_DTE_POWER_DET_STATUS_CHANGED

#define MV88E1112_COPPER_INT_EN_DTE_POWER_DET_STATUS_CHANGED   0x0004

Definition at line 273 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_INT_EN_DUPLEX_CHANGED

#define MV88E1112_COPPER_INT_EN_DUPLEX_CHANGED   0x2000

Definition at line 264 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_INT_EN_ENERGY_DETECT

#define MV88E1112_COPPER_INT_EN_ENERGY_DETECT   0x0010

Definition at line 272 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_INT_EN_FALSE_CARRIER

#define MV88E1112_COPPER_INT_EN_FALSE_CARRIER   0x0100

Definition at line 269 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_INT_EN_JABBER

#define MV88E1112_COPPER_INT_EN_JABBER   0x0001

Definition at line 275 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_INT_EN_LINK_STATUS_CHANGED

#define MV88E1112_COPPER_INT_EN_LINK_STATUS_CHANGED   0x0400

Definition at line 267 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_INT_EN_MDI_CROSSOVER_CHANGED

#define MV88E1112_COPPER_INT_EN_MDI_CROSSOVER_CHANGED   0x0040

Definition at line 270 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_INT_EN_PAGE_RECEIVED

#define MV88E1112_COPPER_INT_EN_PAGE_RECEIVED   0x1000

Definition at line 265 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_INT_EN_POLARITY_CHANGED

#define MV88E1112_COPPER_INT_EN_POLARITY_CHANGED   0x0002

Definition at line 274 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_INT_EN_SPEED_CHANGED

#define MV88E1112_COPPER_INT_EN_SPEED_CHANGED   0x4000

Definition at line 263 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_INT_EN_SYMBOL_ERROR

#define MV88E1112_COPPER_INT_EN_SYMBOL_ERROR   0x0200

Definition at line 268 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_PHYID1

#define MV88E1112_COPPER_PHYID1   0x02

Definition at line 47 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_PHYID1_OUI_MSB

#define MV88E1112_COPPER_PHYID1_OUI_MSB   0xFFFF

Definition at line 142 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_PHYID1_OUI_MSB_DEFAULT

#define MV88E1112_COPPER_PHYID1_OUI_MSB_DEFAULT   0x0141

Definition at line 143 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_PHYID2

#define MV88E1112_COPPER_PHYID2   0x03

Definition at line 48 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_PHYID2_MODEL_NUM

#define MV88E1112_COPPER_PHYID2_MODEL_NUM   0x03F0

Definition at line 148 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_PHYID2_MODEL_NUM_DEFAULT

#define MV88E1112_COPPER_PHYID2_MODEL_NUM_DEFAULT   0x0090

Definition at line 149 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_PHYID2_OUI_LSB

#define MV88E1112_COPPER_PHYID2_OUI_LSB   0xFC00

Definition at line 146 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_PHYID2_OUI_LSB_DEFAULT

#define MV88E1112_COPPER_PHYID2_OUI_LSB_DEFAULT   0x0C00

Definition at line 147 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_PHYID2_REVISION_NUM

#define MV88E1112_COPPER_PHYID2_REVISION_NUM   0x000F

Definition at line 150 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_RX_ERR_COUNTER

#define MV88E1112_COPPER_RX_ERR_COUNTER   0x15

Definition at line 61 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_STAT

#define MV88E1112_COPPER_STAT   0x01

Definition at line 46 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_STAT1

#define MV88E1112_COPPER_STAT1   0x11

Definition at line 58 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_STAT1_DOWNSHIFT_STATUS

#define MV88E1112_COPPER_STAT1_DOWNSHIFT_STATUS   0x0020

Definition at line 254 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_STAT1_DTE_POWER_STATUS

#define MV88E1112_COPPER_STAT1_DTE_POWER_STATUS   0x0004

Definition at line 257 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_STAT1_DUPLEX

#define MV88E1112_COPPER_STAT1_DUPLEX   0x2000

Definition at line 246 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_STAT1_ENERGY_DETECT_STATUS

#define MV88E1112_COPPER_STAT1_ENERGY_DETECT_STATUS   0x0010

Definition at line 255 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_STAT1_FIBER_COPPER_RESOLUTION

#define MV88E1112_COPPER_STAT1_FIBER_COPPER_RESOLUTION   0x0080

Definition at line 252 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_STAT1_GLOBAL_LINK_STATUS

#define MV88E1112_COPPER_STAT1_GLOBAL_LINK_STATUS   0x0008

Definition at line 256 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_STAT1_JABBER

#define MV88E1112_COPPER_STAT1_JABBER   0x0001

Definition at line 259 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_STAT1_LINK

#define MV88E1112_COPPER_STAT1_LINK   0x0400

Definition at line 249 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_STAT1_MDI_CROSSOVER_STATUS

#define MV88E1112_COPPER_STAT1_MDI_CROSSOVER_STATUS   0x0040

Definition at line 253 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_STAT1_PAGE_RECEIVED

#define MV88E1112_COPPER_STAT1_PAGE_RECEIVED   0x1000

Definition at line 247 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_STAT1_POLARITY

#define MV88E1112_COPPER_STAT1_POLARITY   0x0002

Definition at line 258 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_STAT1_RX_PAUSE_EN

#define MV88E1112_COPPER_STAT1_RX_PAUSE_EN   0x0100

Definition at line 251 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_STAT1_SPEED

#define MV88E1112_COPPER_STAT1_SPEED   0xC000

Definition at line 242 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_STAT1_SPEED_1000MBPS

#define MV88E1112_COPPER_STAT1_SPEED_1000MBPS   0x8000

Definition at line 245 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_STAT1_SPEED_100MBPS

#define MV88E1112_COPPER_STAT1_SPEED_100MBPS   0x4000

Definition at line 244 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_STAT1_SPEED_10MBPS

#define MV88E1112_COPPER_STAT1_SPEED_10MBPS   0x0000

Definition at line 243 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_STAT1_SPEED_DUPLEX_RESOLVED

#define MV88E1112_COPPER_STAT1_SPEED_DUPLEX_RESOLVED   0x0800

Definition at line 248 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_STAT1_TX_PAUSE_EN

#define MV88E1112_COPPER_STAT1_TX_PAUSE_EN   0x0200

Definition at line 250 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_STAT2

#define MV88E1112_COPPER_STAT2   0x13

Definition at line 60 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_STAT2_AN_COMPLETE

#define MV88E1112_COPPER_STAT2_AN_COMPLETE   0x0800

Definition at line 282 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_STAT2_AN_ERROR

#define MV88E1112_COPPER_STAT2_AN_ERROR   0x8000

Definition at line 278 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_STAT2_DOWNSHIFT

#define MV88E1112_COPPER_STAT2_DOWNSHIFT   0x0020

Definition at line 287 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_STAT2_DTE_POWER_DET_STATUS_CHANGED

#define MV88E1112_COPPER_STAT2_DTE_POWER_DET_STATUS_CHANGED   0x0004

Definition at line 289 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_STAT2_DUPLEX_CHANGED

#define MV88E1112_COPPER_STAT2_DUPLEX_CHANGED   0x2000

Definition at line 280 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_STAT2_ENERGY_DETECT

#define MV88E1112_COPPER_STAT2_ENERGY_DETECT   0x0010

Definition at line 288 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_STAT2_FALSE_CARRIER

#define MV88E1112_COPPER_STAT2_FALSE_CARRIER   0x0100

Definition at line 285 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_STAT2_JABBER

#define MV88E1112_COPPER_STAT2_JABBER   0x0001

Definition at line 291 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_STAT2_LINK_STATUS_CHANGED

#define MV88E1112_COPPER_STAT2_LINK_STATUS_CHANGED   0x0400

Definition at line 283 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_STAT2_MDI_CROSSOVER_CHANGED

#define MV88E1112_COPPER_STAT2_MDI_CROSSOVER_CHANGED   0x0040

Definition at line 286 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_STAT2_PAGE_RECEIVED

#define MV88E1112_COPPER_STAT2_PAGE_RECEIVED   0x1000

Definition at line 281 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_STAT2_POLARITY_CHANGED

#define MV88E1112_COPPER_STAT2_POLARITY_CHANGED   0x0002

Definition at line 290 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_STAT2_SPEED_CHANGED

#define MV88E1112_COPPER_STAT2_SPEED_CHANGED   0x4000

Definition at line 279 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_STAT2_SYMBOL_ERROR

#define MV88E1112_COPPER_STAT2_SYMBOL_ERROR   0x0200

Definition at line 284 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_STAT_100BT2_FD

#define MV88E1112_COPPER_STAT_100BT2_FD   0x0400

Definition at line 130 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_STAT_100BT2_HD

#define MV88E1112_COPPER_STAT_100BT2_HD   0x0200

Definition at line 131 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_STAT_100BT4

#define MV88E1112_COPPER_STAT_100BT4   0x8000

Definition at line 125 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_STAT_100BTX_FD

#define MV88E1112_COPPER_STAT_100BTX_FD   0x4000

Definition at line 126 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_STAT_100BTX_HD

#define MV88E1112_COPPER_STAT_100BTX_HD   0x2000

Definition at line 127 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_STAT_10BT_FD

#define MV88E1112_COPPER_STAT_10BT_FD   0x1000

Definition at line 128 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_STAT_10BT_HD

#define MV88E1112_COPPER_STAT_10BT_HD   0x0800

Definition at line 129 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_STAT_AN_CAPABLE

#define MV88E1112_COPPER_STAT_AN_CAPABLE   0x0008

Definition at line 136 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_STAT_AN_COMPLETE

#define MV88E1112_COPPER_STAT_AN_COMPLETE   0x0020

Definition at line 134 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_STAT_EXTENDED_CAPABLE

#define MV88E1112_COPPER_STAT_EXTENDED_CAPABLE   0x0001

Definition at line 139 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_STAT_EXTENDED_STATUS

#define MV88E1112_COPPER_STAT_EXTENDED_STATUS   0x0100

Definition at line 132 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_STAT_JABBER_DETECT

#define MV88E1112_COPPER_STAT_JABBER_DETECT   0x0002

Definition at line 138 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_STAT_LINK_STATUS

#define MV88E1112_COPPER_STAT_LINK_STATUS   0x0004

Definition at line 137 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_STAT_MF_PREAMBLE_SUPPR

#define MV88E1112_COPPER_STAT_MF_PREAMBLE_SUPPR   0x0040

Definition at line 133 of file mv88e1112_driver.h.

◆ MV88E1112_COPPER_STAT_REMOTE_FAULT

#define MV88E1112_COPPER_STAT_REMOTE_FAULT   0x0010

Definition at line 135 of file mv88e1112_driver.h.

◆ MV88E1112_CRC_COUNTERS

#define MV88E1112_CRC_COUNTERS   0x11

Definition at line 110 of file mv88e1112_driver.h.

◆ MV88E1112_CRC_COUNTERS_CRC_ERR_COUNT

#define MV88E1112_CRC_COUNTERS_CRC_ERR_COUNT   0x00FF

Definition at line 719 of file mv88e1112_driver.h.

◆ MV88E1112_CRC_COUNTERS_CRC_PKT_COUNT

#define MV88E1112_CRC_COUNTERS_CRC_PKT_COUNT   0xFF00

Definition at line 718 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_ANAR

#define MV88E1112_FIBER_ANAR   0x04

Definition at line 68 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_ANAR_1000BX_FD

#define MV88E1112_FIBER_ANAR_1000BX_FD   0x0020

Definition at line 347 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_ANAR_1000BX_HD

#define MV88E1112_FIBER_ANAR_1000BX_HD   0x0040

Definition at line 346 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_ANAR_NEXT_PAGE

#define MV88E1112_FIBER_ANAR_NEXT_PAGE   0x8000

Definition at line 339 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_ANAR_PAUSE

#define MV88E1112_FIBER_ANAR_PAUSE   0x0180

Definition at line 345 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_ANAR_REMOTE_FAULT

#define MV88E1112_FIBER_ANAR_REMOTE_FAULT   0x3000

Definition at line 340 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_ANAR_REMOTE_FAULT_AN_ERROR

#define MV88E1112_FIBER_ANAR_REMOTE_FAULT_AN_ERROR   0x3000

Definition at line 344 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_ANAR_REMOTE_FAULT_LINK_FAILURE

#define MV88E1112_FIBER_ANAR_REMOTE_FAULT_LINK_FAILURE   0x1000

Definition at line 342 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_ANAR_REMOTE_FAULT_NO_ERROR

#define MV88E1112_FIBER_ANAR_REMOTE_FAULT_NO_ERROR   0x0000

Definition at line 341 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_ANAR_REMOTE_FAULT_OFFLINE

#define MV88E1112_FIBER_ANAR_REMOTE_FAULT_OFFLINE   0x2000

Definition at line 343 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_ANER

#define MV88E1112_FIBER_ANER   0x06

Definition at line 70 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_ANER_LP_AN_ABLE

#define MV88E1112_FIBER_ANER_LP_AN_ABLE   0x0001

Definition at line 365 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_ANER_LP_NEXT_PAGE_ABLE

#define MV88E1112_FIBER_ANER_LP_NEXT_PAGE_ABLE   0x0008

Definition at line 362 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_ANER_NEXT_PAGE_ABLE

#define MV88E1112_FIBER_ANER_NEXT_PAGE_ABLE   0x0004

Definition at line 363 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_ANER_PAGE_RECEIVED

#define MV88E1112_FIBER_ANER_PAGE_RECEIVED   0x0002

Definition at line 364 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_ANLPAR

#define MV88E1112_FIBER_ANLPAR   0x05

Definition at line 69 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_ANLPAR_1000BX_FD

#define MV88E1112_FIBER_ANLPAR_1000BX_FD   0x0020

Definition at line 359 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_ANLPAR_1000BX_HD

#define MV88E1112_FIBER_ANLPAR_1000BX_HD   0x0040

Definition at line 358 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_ANLPAR_ACK

#define MV88E1112_FIBER_ANLPAR_ACK   0x4000

Definition at line 351 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_ANLPAR_ASYM_PAUSE

#define MV88E1112_FIBER_ANLPAR_ASYM_PAUSE   0x0180

Definition at line 357 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_ANLPAR_NEXT_PAGE

#define MV88E1112_FIBER_ANLPAR_NEXT_PAGE   0x8000

Definition at line 350 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_ANLPAR_REMOTE_FAULT

#define MV88E1112_FIBER_ANLPAR_REMOTE_FAULT   0x3000

Definition at line 352 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_ANLPAR_REMOTE_FAULT_AN_ERROR

#define MV88E1112_FIBER_ANLPAR_REMOTE_FAULT_AN_ERROR   0x3000

Definition at line 356 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_ANLPAR_REMOTE_FAULT_LINK_FAILURE

#define MV88E1112_FIBER_ANLPAR_REMOTE_FAULT_LINK_FAILURE   0x1000

Definition at line 354 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_ANLPAR_REMOTE_FAULT_NO_ERROR

#define MV88E1112_FIBER_ANLPAR_REMOTE_FAULT_NO_ERROR   0x0000

Definition at line 353 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_ANLPAR_REMOTE_FAULT_OFFLINE

#define MV88E1112_FIBER_ANLPAR_REMOTE_FAULT_OFFLINE   0x2000

Definition at line 355 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_ANLPNPR

#define MV88E1112_FIBER_ANLPNPR   0x08

Definition at line 72 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_ANLPNPR_ACK

#define MV88E1112_FIBER_ANLPNPR_ACK   0x4000

Definition at line 376 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_ANLPNPR_ACK2

#define MV88E1112_FIBER_ANLPNPR_ACK2   0x1000

Definition at line 378 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_ANLPNPR_MESSAGE

#define MV88E1112_FIBER_ANLPNPR_MESSAGE   0x07FF

Definition at line 380 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_ANLPNPR_MSG_PAGE

#define MV88E1112_FIBER_ANLPNPR_MSG_PAGE   0x2000

Definition at line 377 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_ANLPNPR_NEXT_PAGE

#define MV88E1112_FIBER_ANLPNPR_NEXT_PAGE   0x8000

Definition at line 375 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_ANLPNPR_TOGGLE

#define MV88E1112_FIBER_ANLPNPR_TOGGLE   0x0800

Definition at line 379 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_ANNPTR

#define MV88E1112_FIBER_ANNPTR   0x07

Definition at line 71 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_ANNPTR_ACK2

#define MV88E1112_FIBER_ANNPTR_ACK2   0x1000

Definition at line 370 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_ANNPTR_MESSAGE

#define MV88E1112_FIBER_ANNPTR_MESSAGE   0x07FF

Definition at line 372 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_ANNPTR_MSG_PAGE

#define MV88E1112_FIBER_ANNPTR_MSG_PAGE   0x2000

Definition at line 369 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_ANNPTR_NEXT_PAGE

#define MV88E1112_FIBER_ANNPTR_NEXT_PAGE   0x8000

Definition at line 368 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_ANNPTR_TOGGLE

#define MV88E1112_FIBER_ANNPTR_TOGGLE   0x0800

Definition at line 371 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_CTRL

#define MV88E1112_FIBER_CTRL   0x00

Definition at line 66 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_CTRL1

#define MV88E1112_FIBER_CTRL1   0x10

Definition at line 73 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_CTRL1_FEFI_EN

#define MV88E1112_FIBER_CTRL1_FEFI_EN   0x0800

Definition at line 383 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_CTRL1_FORCE_LINK_GOOD

#define MV88E1112_FIBER_CTRL1_FORCE_LINK_GOOD   0x0400

Definition at line 384 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_CTRL1_SIGDET_POL

#define MV88E1112_FIBER_CTRL1_SIGDET_POL   0x0200

Definition at line 385 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_CTRL1_TX_DIS

#define MV88E1112_FIBER_CTRL1_TX_DIS   0x0008

Definition at line 386 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_CTRL2

#define MV88E1112_FIBER_CTRL2   0x1A

Definition at line 77 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_CTRL2_AN_BYPASS_EN

#define MV88E1112_FIBER_CTRL2_AN_BYPASS_EN   0x8000

Definition at line 421 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_CTRL2_EXT_FIBER_SIG_DETECT_IN_EN

#define MV88E1112_FIBER_CTRL2_EXT_FIBER_SIG_DETECT_IN_EN   0x0080

Definition at line 427 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_CTRL2_OUT_AMPLITUDE

#define MV88E1112_FIBER_CTRL2_OUT_AMPLITUDE   0x0007

Definition at line 428 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_CTRL2_OUT_AMPLITUDE_0_50V

#define MV88E1112_FIBER_CTRL2_OUT_AMPLITUDE_0_50V   0x0000

Definition at line 429 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_CTRL2_OUT_AMPLITUDE_0_60V

#define MV88E1112_FIBER_CTRL2_OUT_AMPLITUDE_0_60V   0x0001

Definition at line 430 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_CTRL2_OUT_AMPLITUDE_0_70V

#define MV88E1112_FIBER_CTRL2_OUT_AMPLITUDE_0_70V   0x0002

Definition at line 431 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_CTRL2_OUT_AMPLITUDE_0_80V

#define MV88E1112_FIBER_CTRL2_OUT_AMPLITUDE_0_80V   0x0003

Definition at line 432 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_CTRL2_OUT_AMPLITUDE_0_90V

#define MV88E1112_FIBER_CTRL2_OUT_AMPLITUDE_0_90V   0x0004

Definition at line 433 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_CTRL2_OUT_AMPLITUDE_1_00V

#define MV88E1112_FIBER_CTRL2_OUT_AMPLITUDE_1_00V   0x0005

Definition at line 434 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_CTRL2_OUT_AMPLITUDE_1_10V

#define MV88E1112_FIBER_CTRL2_OUT_AMPLITUDE_1_10V   0x0006

Definition at line 435 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_CTRL2_OUT_AMPLITUDE_1_20V

#define MV88E1112_FIBER_CTRL2_OUT_AMPLITUDE_1_20V   0x0007

Definition at line 436 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_CTRL2_SGMII_AN_TIMER

#define MV88E1112_FIBER_CTRL2_SGMII_AN_TIMER   0x6000

Definition at line 422 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_CTRL2_SGMII_AN_TIMER_0_5US_TO_0_6US

#define MV88E1112_FIBER_CTRL2_SGMII_AN_TIMER_0_5US_TO_0_6US   0x2000

Definition at line 424 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_CTRL2_SGMII_AN_TIMER_0_98US_TO_1_2US

#define MV88E1112_FIBER_CTRL2_SGMII_AN_TIMER_0_98US_TO_1_2US   0x4000

Definition at line 425 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_CTRL2_SGMII_AN_TIMER_1_6MS_TO_2_0MS

#define MV88E1112_FIBER_CTRL2_SGMII_AN_TIMER_1_6MS_TO_2_0MS   0x0000

Definition at line 423 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_CTRL2_SGMII_AN_TIMER_2_1US_TO_2_3US

#define MV88E1112_FIBER_CTRL2_SGMII_AN_TIMER_2_1US_TO_2_3US   0x6000

Definition at line 426 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_CTRL_AN_EN

#define MV88E1112_FIBER_CTRL_AN_EN   0x1000

Definition at line 314 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_CTRL_COL_TEST

#define MV88E1112_FIBER_CTRL_COL_TEST   0x0080

Definition at line 319 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_CTRL_DUPLEX_MODE

#define MV88E1112_FIBER_CTRL_DUPLEX_MODE   0x0100

Definition at line 318 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_CTRL_ISOLATE

#define MV88E1112_FIBER_CTRL_ISOLATE   0x0400

Definition at line 316 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_CTRL_LOOPBACK

#define MV88E1112_FIBER_CTRL_LOOPBACK   0x4000

Definition at line 312 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_CTRL_POWER_DOWN

#define MV88E1112_FIBER_CTRL_POWER_DOWN   0x0800

Definition at line 315 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_CTRL_RESET

#define MV88E1112_FIBER_CTRL_RESET   0x8000

Definition at line 311 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_CTRL_RESTART_AN

#define MV88E1112_FIBER_CTRL_RESTART_AN   0x0200

Definition at line 317 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_CTRL_SPEED_SEL_LSB

#define MV88E1112_FIBER_CTRL_SPEED_SEL_LSB   0x2000

Definition at line 313 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_CTRL_SPEED_SEL_MSB

#define MV88E1112_FIBER_CTRL_SPEED_SEL_MSB   0x0040

Definition at line 320 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_INT_EN

#define MV88E1112_FIBER_INT_EN   0x12

Definition at line 75 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_INT_EN_AN_COMPLETE

#define MV88E1112_FIBER_INT_EN_AN_COMPLETE   0x0800

Definition at line 405 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_INT_EN_DUPLEX_CHANGED

#define MV88E1112_FIBER_INT_EN_DUPLEX_CHANGED   0x2000

Definition at line 403 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_INT_EN_ENERGY_DETECT

#define MV88E1112_FIBER_INT_EN_ENERGY_DETECT   0x0010

Definition at line 409 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_INT_EN_FALSE_CARRIER

#define MV88E1112_FIBER_INT_EN_FALSE_CARRIER   0x0100

Definition at line 408 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_INT_EN_LINK_STATUS_CHANGED

#define MV88E1112_FIBER_INT_EN_LINK_STATUS_CHANGED   0x0400

Definition at line 406 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_INT_EN_PAGE_RECEIVED

#define MV88E1112_FIBER_INT_EN_PAGE_RECEIVED   0x1000

Definition at line 404 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_INT_EN_SYMBOL_ERROR

#define MV88E1112_FIBER_INT_EN_SYMBOL_ERROR   0x0200

Definition at line 407 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_STAT

#define MV88E1112_FIBER_STAT   0x01

Definition at line 67 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_STAT1

#define MV88E1112_FIBER_STAT1   0x11

Definition at line 74 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_STAT1_AN_BYPASS_STATUS

#define MV88E1112_FIBER_STAT1_AN_BYPASS_STATUS   0x0020

Definition at line 398 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_STAT1_AUTOSEL_FIBER_ED_STATUS

#define MV88E1112_FIBER_STAT1_AUTOSEL_FIBER_ED_STATUS   0x0010

Definition at line 399 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_STAT1_DUPLEX

#define MV88E1112_FIBER_STAT1_DUPLEX   0x2000

Definition at line 391 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_STAT1_FIBER_COPPER_RESOLUTION

#define MV88E1112_FIBER_STAT1_FIBER_COPPER_RESOLUTION   0x0080

Definition at line 397 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_STAT1_GLOBAL_LINK_STATUS

#define MV88E1112_FIBER_STAT1_GLOBAL_LINK_STATUS   0x0008

Definition at line 400 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_STAT1_LINK

#define MV88E1112_FIBER_STAT1_LINK   0x0400

Definition at line 394 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_STAT1_PAGE_RECEIVED

#define MV88E1112_FIBER_STAT1_PAGE_RECEIVED   0x1000

Definition at line 392 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_STAT1_RX_PAUSE_EN

#define MV88E1112_FIBER_STAT1_RX_PAUSE_EN   0x0100

Definition at line 396 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_STAT1_SPEED

#define MV88E1112_FIBER_STAT1_SPEED   0xC000

Definition at line 389 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_STAT1_SPEED_100MBPS

#define MV88E1112_FIBER_STAT1_SPEED_100MBPS   0x4000

Definition at line 390 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_STAT1_SPEED_DUPLEX_RESOLVED

#define MV88E1112_FIBER_STAT1_SPEED_DUPLEX_RESOLVED   0x0800

Definition at line 393 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_STAT1_TX_PAUSE_EN

#define MV88E1112_FIBER_STAT1_TX_PAUSE_EN   0x0200

Definition at line 395 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_STAT2

#define MV88E1112_FIBER_STAT2   0x13

Definition at line 76 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_STAT2_AN_COMPLETE

#define MV88E1112_FIBER_STAT2_AN_COMPLETE   0x0800

Definition at line 414 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_STAT2_DUPLEX_CHANGED

#define MV88E1112_FIBER_STAT2_DUPLEX_CHANGED   0x2000

Definition at line 412 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_STAT2_ENERGY_DETECT

#define MV88E1112_FIBER_STAT2_ENERGY_DETECT   0x0010

Definition at line 418 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_STAT2_FALSE_CARRIER

#define MV88E1112_FIBER_STAT2_FALSE_CARRIER   0x0100

Definition at line 417 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_STAT2_LINK_STATUS_CHANGED

#define MV88E1112_FIBER_STAT2_LINK_STATUS_CHANGED   0x0400

Definition at line 415 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_STAT2_PAGE_RECEIVED

#define MV88E1112_FIBER_STAT2_PAGE_RECEIVED   0x1000

Definition at line 413 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_STAT2_SYMBOL_ERROR

#define MV88E1112_FIBER_STAT2_SYMBOL_ERROR   0x0200

Definition at line 416 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_STAT_100BT2_FD

#define MV88E1112_FIBER_STAT_100BT2_FD   0x0400

Definition at line 328 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_STAT_100BT2_HD

#define MV88E1112_FIBER_STAT_100BT2_HD   0x0200

Definition at line 329 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_STAT_100BT4

#define MV88E1112_FIBER_STAT_100BT4   0x8000

Definition at line 323 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_STAT_100BTX_FD

#define MV88E1112_FIBER_STAT_100BTX_FD   0x4000

Definition at line 324 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_STAT_100BTX_HD

#define MV88E1112_FIBER_STAT_100BTX_HD   0x2000

Definition at line 325 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_STAT_10BT_FD

#define MV88E1112_FIBER_STAT_10BT_FD   0x1000

Definition at line 326 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_STAT_10BT_HD

#define MV88E1112_FIBER_STAT_10BT_HD   0x0800

Definition at line 327 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_STAT_AN_CAPABLE

#define MV88E1112_FIBER_STAT_AN_CAPABLE   0x0008

Definition at line 334 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_STAT_AN_COMPLETE

#define MV88E1112_FIBER_STAT_AN_COMPLETE   0x0020

Definition at line 332 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_STAT_EXTENDED_CAPABLE

#define MV88E1112_FIBER_STAT_EXTENDED_CAPABLE   0x0001

Definition at line 336 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_STAT_EXTENDED_STATUS

#define MV88E1112_FIBER_STAT_EXTENDED_STATUS   0x0100

Definition at line 330 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_STAT_LINK_STATUS

#define MV88E1112_FIBER_STAT_LINK_STATUS   0x0004

Definition at line 335 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_STAT_MF_PREAMBLE_SUPPR

#define MV88E1112_FIBER_STAT_MF_PREAMBLE_SUPPR   0x0040

Definition at line 331 of file mv88e1112_driver.h.

◆ MV88E1112_FIBER_STAT_REMOTE_FAULT

#define MV88E1112_FIBER_STAT_REMOTE_FAULT   0x0010

Definition at line 333 of file mv88e1112_driver.h.

◆ MV88E1112_GBCR

#define MV88E1112_GBCR   0x09

Definition at line 54 of file mv88e1112_driver.h.

◆ MV88E1112_GBCR_1000BT_FD

#define MV88E1112_GBCR_1000BT_FD   0x0200

Definition at line 208 of file mv88e1112_driver.h.

◆ MV88E1112_GBCR_1000BT_HD

#define MV88E1112_GBCR_1000BT_HD   0x0100

Definition at line 209 of file mv88e1112_driver.h.

◆ MV88E1112_GBCR_MS_MAN_CONF_EN

#define MV88E1112_GBCR_MS_MAN_CONF_EN   0x1000

Definition at line 205 of file mv88e1112_driver.h.

◆ MV88E1112_GBCR_MS_MAN_CONF_VAL

#define MV88E1112_GBCR_MS_MAN_CONF_VAL   0x0800

Definition at line 206 of file mv88e1112_driver.h.

◆ MV88E1112_GBCR_PORT_TYPE

#define MV88E1112_GBCR_PORT_TYPE   0x0400

Definition at line 207 of file mv88e1112_driver.h.

◆ MV88E1112_GBCR_TEST_MODE

#define MV88E1112_GBCR_TEST_MODE   0xE000

Definition at line 204 of file mv88e1112_driver.h.

◆ MV88E1112_GBESR

#define MV88E1112_GBESR   0x0F

Definition at line 56 of file mv88e1112_driver.h.

◆ MV88E1112_GBESR_1000BT_FD

#define MV88E1112_GBESR_1000BT_FD   0x2000

Definition at line 223 of file mv88e1112_driver.h.

◆ MV88E1112_GBESR_1000BT_HD

#define MV88E1112_GBESR_1000BT_HD   0x1000

Definition at line 224 of file mv88e1112_driver.h.

◆ MV88E1112_GBESR_1000BX_FD

#define MV88E1112_GBESR_1000BX_FD   0x8000

Definition at line 221 of file mv88e1112_driver.h.

◆ MV88E1112_GBESR_1000BX_HD

#define MV88E1112_GBESR_1000BX_HD   0x4000

Definition at line 222 of file mv88e1112_driver.h.

◆ MV88E1112_GBSR

#define MV88E1112_GBSR   0x0A

Definition at line 55 of file mv88e1112_driver.h.

◆ MV88E1112_GBSR_IDLE_ERR_COUNT

#define MV88E1112_GBSR_IDLE_ERR_COUNT   0x00FF

Definition at line 218 of file mv88e1112_driver.h.

◆ MV88E1112_GBSR_LOCAL_RECEIVER_STATUS

#define MV88E1112_GBSR_LOCAL_RECEIVER_STATUS   0x2000

Definition at line 214 of file mv88e1112_driver.h.

◆ MV88E1112_GBSR_LP_1000BT_FD

#define MV88E1112_GBSR_LP_1000BT_FD   0x0800

Definition at line 216 of file mv88e1112_driver.h.

◆ MV88E1112_GBSR_LP_1000BT_HD

#define MV88E1112_GBSR_LP_1000BT_HD   0x0400

Definition at line 217 of file mv88e1112_driver.h.

◆ MV88E1112_GBSR_MS_CONF_FAULT

#define MV88E1112_GBSR_MS_CONF_FAULT   0x8000

Definition at line 212 of file mv88e1112_driver.h.

◆ MV88E1112_GBSR_MS_CONF_RES

#define MV88E1112_GBSR_MS_CONF_RES   0x4000

Definition at line 213 of file mv88e1112_driver.h.

◆ MV88E1112_GBSR_REMOTE_RECEIVER_STATUS

#define MV88E1112_GBSR_REMOTE_RECEIVER_STATUS   0x1000

Definition at line 215 of file mv88e1112_driver.h.

◆ MV88E1112_LED_FUNC_CTRL

#define MV88E1112_LED_FUNC_CTRL   0x10

Definition at line 88 of file mv88e1112_driver.h.

◆ MV88E1112_LED_FUNC_CTRL_INIT_CTRL

#define MV88E1112_LED_FUNC_CTRL_INIT_CTRL   0x0F00

Definition at line 503 of file mv88e1112_driver.h.

◆ MV88E1112_LED_FUNC_CTRL_INIT_CTRL_ACT

#define MV88E1112_LED_FUNC_CTRL_INIT_CTRL_ACT   0x0300

Definition at line 507 of file mv88e1112_driver.h.

◆ MV88E1112_LED_FUNC_CTRL_INIT_CTRL_ACT_BLINK

#define MV88E1112_LED_FUNC_CTRL_INIT_CTRL_ACT_BLINK   0x0400

Definition at line 508 of file mv88e1112_driver.h.

◆ MV88E1112_LED_FUNC_CTRL_INIT_CTRL_FORCE_BLINK

#define MV88E1112_LED_FUNC_CTRL_INIT_CTRL_FORCE_BLINK   0x0B00

Definition at line 515 of file mv88e1112_driver.h.

◆ MV88E1112_LED_FUNC_CTRL_INIT_CTRL_FORCE_HIZ

#define MV88E1112_LED_FUNC_CTRL_INIT_CTRL_FORCE_HIZ   0x0A00

Definition at line 514 of file mv88e1112_driver.h.

◆ MV88E1112_LED_FUNC_CTRL_INIT_CTRL_FORCE_OFF

#define MV88E1112_LED_FUNC_CTRL_INIT_CTRL_FORCE_OFF   0x0800

Definition at line 512 of file mv88e1112_driver.h.

◆ MV88E1112_LED_FUNC_CTRL_INIT_CTRL_FORCE_ON

#define MV88E1112_LED_FUNC_CTRL_INIT_CTRL_FORCE_ON   0x0900

Definition at line 513 of file mv88e1112_driver.h.

◆ MV88E1112_LED_FUNC_CTRL_INIT_CTRL_INT

#define MV88E1112_LED_FUNC_CTRL_INIT_CTRL_INT   0x0E00

Definition at line 518 of file mv88e1112_driver.h.

◆ MV88E1112_LED_FUNC_CTRL_INIT_CTRL_LINK

#define MV88E1112_LED_FUNC_CTRL_INIT_CTRL_LINK   0x0000

Definition at line 504 of file mv88e1112_driver.h.

◆ MV88E1112_LED_FUNC_CTRL_INIT_CTRL_LINK_ACT

#define MV88E1112_LED_FUNC_CTRL_INIT_CTRL_LINK_ACT   0x0100

Definition at line 505 of file mv88e1112_driver.h.

◆ MV88E1112_LED_FUNC_CTRL_INIT_CTRL_MODE1

#define MV88E1112_LED_FUNC_CTRL_INIT_CTRL_MODE1   0x0C00

Definition at line 516 of file mv88e1112_driver.h.

◆ MV88E1112_LED_FUNC_CTRL_INIT_CTRL_MODE2

#define MV88E1112_LED_FUNC_CTRL_INIT_CTRL_MODE2   0x0D00

Definition at line 517 of file mv88e1112_driver.h.

◆ MV88E1112_LED_FUNC_CTRL_INIT_CTRL_NORMAL

#define MV88E1112_LED_FUNC_CTRL_INIT_CTRL_NORMAL   0x0200

Definition at line 506 of file mv88e1112_driver.h.

◆ MV88E1112_LED_FUNC_CTRL_INIT_CTRL_SPEED_10

#define MV88E1112_LED_FUNC_CTRL_INIT_CTRL_SPEED_10   0x0700

Definition at line 511 of file mv88e1112_driver.h.

◆ MV88E1112_LED_FUNC_CTRL_INIT_CTRL_SPEED_10_1000

#define MV88E1112_LED_FUNC_CTRL_INIT_CTRL_SPEED_10_1000   0x0600

Definition at line 510 of file mv88e1112_driver.h.

◆ MV88E1112_LED_FUNC_CTRL_INIT_CTRL_TX

#define MV88E1112_LED_FUNC_CTRL_INIT_CTRL_TX   0x0500

Definition at line 509 of file mv88e1112_driver.h.

◆ MV88E1112_LED_FUNC_CTRL_LOS_CTRL

#define MV88E1112_LED_FUNC_CTRL_LOS_CTRL   0xF000

Definition at line 490 of file mv88e1112_driver.h.

◆ MV88E1112_LED_FUNC_CTRL_LOS_CTRL_ACT

#define MV88E1112_LED_FUNC_CTRL_LOS_CTRL_ACT   0x3000

Definition at line 494 of file mv88e1112_driver.h.

◆ MV88E1112_LED_FUNC_CTRL_LOS_CTRL_ACT_BLINK

#define MV88E1112_LED_FUNC_CTRL_LOS_CTRL_ACT_BLINK   0x4000

Definition at line 495 of file mv88e1112_driver.h.

◆ MV88E1112_LED_FUNC_CTRL_LOS_CTRL_FORCE_BLINK

#define MV88E1112_LED_FUNC_CTRL_LOS_CTRL_FORCE_BLINK   0xB000

Definition at line 502 of file mv88e1112_driver.h.

◆ MV88E1112_LED_FUNC_CTRL_LOS_CTRL_FORCE_HIZ

#define MV88E1112_LED_FUNC_CTRL_LOS_CTRL_FORCE_HIZ   0xA000

Definition at line 501 of file mv88e1112_driver.h.

◆ MV88E1112_LED_FUNC_CTRL_LOS_CTRL_FORCE_OFF

#define MV88E1112_LED_FUNC_CTRL_LOS_CTRL_FORCE_OFF   0x8000

Definition at line 499 of file mv88e1112_driver.h.

◆ MV88E1112_LED_FUNC_CTRL_LOS_CTRL_FORCE_ON

#define MV88E1112_LED_FUNC_CTRL_LOS_CTRL_FORCE_ON   0x9000

Definition at line 500 of file mv88e1112_driver.h.

◆ MV88E1112_LED_FUNC_CTRL_LOS_CTRL_LINK_ACT

#define MV88E1112_LED_FUNC_CTRL_LOS_CTRL_LINK_ACT   0x1000

Definition at line 492 of file mv88e1112_driver.h.

◆ MV88E1112_LED_FUNC_CTRL_LOS_CTRL_LINK_FIBER

#define MV88E1112_LED_FUNC_CTRL_LOS_CTRL_LINK_FIBER   0x7000

Definition at line 498 of file mv88e1112_driver.h.

◆ MV88E1112_LED_FUNC_CTRL_LOS_CTRL_LINK_RX

#define MV88E1112_LED_FUNC_CTRL_LOS_CTRL_LINK_RX   0x2000

Definition at line 493 of file mv88e1112_driver.h.

◆ MV88E1112_LED_FUNC_CTRL_LOS_CTRL_NORMAL

#define MV88E1112_LED_FUNC_CTRL_LOS_CTRL_NORMAL   0x0000

Definition at line 491 of file mv88e1112_driver.h.

◆ MV88E1112_LED_FUNC_CTRL_LOS_CTRL_SPEED_10_1000

#define MV88E1112_LED_FUNC_CTRL_LOS_CTRL_SPEED_10_1000   0x6000

Definition at line 497 of file mv88e1112_driver.h.

◆ MV88E1112_LED_FUNC_CTRL_LOS_CTRL_TX

#define MV88E1112_LED_FUNC_CTRL_LOS_CTRL_TX   0x5000

Definition at line 496 of file mv88e1112_driver.h.

◆ MV88E1112_LED_FUNC_CTRL_STATUS0_CTRL

#define MV88E1112_LED_FUNC_CTRL_STATUS0_CTRL   0x000F

Definition at line 532 of file mv88e1112_driver.h.

◆ MV88E1112_LED_FUNC_CTRL_STATUS0_CTRL_ACT

#define MV88E1112_LED_FUNC_CTRL_STATUS0_CTRL_ACT   0x0003

Definition at line 536 of file mv88e1112_driver.h.

◆ MV88E1112_LED_FUNC_CTRL_STATUS0_CTRL_ACT_BLINK

#define MV88E1112_LED_FUNC_CTRL_STATUS0_CTRL_ACT_BLINK   0x0004

Definition at line 537 of file mv88e1112_driver.h.

◆ MV88E1112_LED_FUNC_CTRL_STATUS0_CTRL_COPPER_LINK

#define MV88E1112_LED_FUNC_CTRL_STATUS0_CTRL_COPPER_LINK   0x0006

Definition at line 539 of file mv88e1112_driver.h.

◆ MV88E1112_LED_FUNC_CTRL_STATUS0_CTRL_FORCE_BLINK

#define MV88E1112_LED_FUNC_CTRL_STATUS0_CTRL_FORCE_BLINK   0x000B

Definition at line 544 of file mv88e1112_driver.h.

◆ MV88E1112_LED_FUNC_CTRL_STATUS0_CTRL_FORCE_HIZ

#define MV88E1112_LED_FUNC_CTRL_STATUS0_CTRL_FORCE_HIZ   0x000A

Definition at line 543 of file mv88e1112_driver.h.

◆ MV88E1112_LED_FUNC_CTRL_STATUS0_CTRL_FORCE_OFF

#define MV88E1112_LED_FUNC_CTRL_STATUS0_CTRL_FORCE_OFF   0x0008

Definition at line 541 of file mv88e1112_driver.h.

◆ MV88E1112_LED_FUNC_CTRL_STATUS0_CTRL_FORCE_ON

#define MV88E1112_LED_FUNC_CTRL_STATUS0_CTRL_FORCE_ON   0x0009

Definition at line 542 of file mv88e1112_driver.h.

◆ MV88E1112_LED_FUNC_CTRL_STATUS0_CTRL_LINK

#define MV88E1112_LED_FUNC_CTRL_STATUS0_CTRL_LINK   0x0000

Definition at line 533 of file mv88e1112_driver.h.

◆ MV88E1112_LED_FUNC_CTRL_STATUS0_CTRL_LINK_ACT

#define MV88E1112_LED_FUNC_CTRL_STATUS0_CTRL_LINK_ACT   0x0001

Definition at line 534 of file mv88e1112_driver.h.

◆ MV88E1112_LED_FUNC_CTRL_STATUS0_CTRL_MODE1

#define MV88E1112_LED_FUNC_CTRL_STATUS0_CTRL_MODE1   0x000C

Definition at line 545 of file mv88e1112_driver.h.

◆ MV88E1112_LED_FUNC_CTRL_STATUS0_CTRL_MODE2

#define MV88E1112_LED_FUNC_CTRL_STATUS0_CTRL_MODE2   0x000D

Definition at line 546 of file mv88e1112_driver.h.

◆ MV88E1112_LED_FUNC_CTRL_STATUS0_CTRL_MODE3

#define MV88E1112_LED_FUNC_CTRL_STATUS0_CTRL_MODE3   0x000E

Definition at line 547 of file mv88e1112_driver.h.

◆ MV88E1112_LED_FUNC_CTRL_STATUS0_CTRL_MODE4

#define MV88E1112_LED_FUNC_CTRL_STATUS0_CTRL_MODE4   0x000F

Definition at line 548 of file mv88e1112_driver.h.

◆ MV88E1112_LED_FUNC_CTRL_STATUS0_CTRL_SPEED_1000

#define MV88E1112_LED_FUNC_CTRL_STATUS0_CTRL_SPEED_1000   0x0007

Definition at line 540 of file mv88e1112_driver.h.

◆ MV88E1112_LED_FUNC_CTRL_STATUS0_CTRL_SPEED_BLINK

#define MV88E1112_LED_FUNC_CTRL_STATUS0_CTRL_SPEED_BLINK   0x0002

Definition at line 535 of file mv88e1112_driver.h.

◆ MV88E1112_LED_FUNC_CTRL_STATUS0_CTRL_TX

#define MV88E1112_LED_FUNC_CTRL_STATUS0_CTRL_TX   0x0005

Definition at line 538 of file mv88e1112_driver.h.

◆ MV88E1112_LED_FUNC_CTRL_STATUS1_CTRL

#define MV88E1112_LED_FUNC_CTRL_STATUS1_CTRL   0x00F0

Definition at line 519 of file mv88e1112_driver.h.

◆ MV88E1112_LED_FUNC_CTRL_STATUS1_CTRL_COPPER_LINK

#define MV88E1112_LED_FUNC_CTRL_STATUS1_CTRL_COPPER_LINK   0x0000

Definition at line 520 of file mv88e1112_driver.h.

◆ MV88E1112_LED_FUNC_CTRL_STATUS1_CTRL_FORCE_BLINK

#define MV88E1112_LED_FUNC_CTRL_STATUS1_CTRL_FORCE_BLINK   0x3F30

Definition at line 531 of file mv88e1112_driver.h.

◆ MV88E1112_LED_FUNC_CTRL_STATUS1_CTRL_FORCE_HIZ

#define MV88E1112_LED_FUNC_CTRL_STATUS1_CTRL_FORCE_HIZ   0x3F20

Definition at line 530 of file mv88e1112_driver.h.

◆ MV88E1112_LED_FUNC_CTRL_STATUS1_CTRL_FORCE_OFF

#define MV88E1112_LED_FUNC_CTRL_STATUS1_CTRL_FORCE_OFF   0x3E80

Definition at line 528 of file mv88e1112_driver.h.

◆ MV88E1112_LED_FUNC_CTRL_STATUS1_CTRL_FORCE_ON

#define MV88E1112_LED_FUNC_CTRL_STATUS1_CTRL_FORCE_ON   0x3E90

Definition at line 529 of file mv88e1112_driver.h.

◆ MV88E1112_LED_FUNC_CTRL_STATUS1_CTRL_LINK

#define MV88E1112_LED_FUNC_CTRL_STATUS1_CTRL_LINK   0x00B0

Definition at line 523 of file mv88e1112_driver.h.

◆ MV88E1112_LED_FUNC_CTRL_STATUS1_CTRL_LINK_ACT

#define MV88E1112_LED_FUNC_CTRL_STATUS1_CTRL_LINK_ACT   0x0010

Definition at line 521 of file mv88e1112_driver.h.

◆ MV88E1112_LED_FUNC_CTRL_STATUS1_CTRL_LINK_BLINK

#define MV88E1112_LED_FUNC_CTRL_STATUS1_CTRL_LINK_BLINK   0x0640

Definition at line 524 of file mv88e1112_driver.h.

◆ MV88E1112_LED_FUNC_CTRL_STATUS1_CTRL_LINK_RX

#define MV88E1112_LED_FUNC_CTRL_STATUS1_CTRL_LINK_RX   0x00A0

Definition at line 522 of file mv88e1112_driver.h.

◆ MV88E1112_LED_FUNC_CTRL_STATUS1_CTRL_SPEED_100

#define MV88E1112_LED_FUNC_CTRL_STATUS1_CTRL_SPEED_100   0x06F0

Definition at line 527 of file mv88e1112_driver.h.

◆ MV88E1112_LED_FUNC_CTRL_STATUS1_CTRL_SPEED_100_1000

#define MV88E1112_LED_FUNC_CTRL_STATUS1_CTRL_SPEED_100_1000   0x06E0

Definition at line 526 of file mv88e1112_driver.h.

◆ MV88E1112_LED_FUNC_CTRL_STATUS1_CTRL_SPEED_100_FIBER

#define MV88E1112_LED_FUNC_CTRL_STATUS1_CTRL_SPEED_100_FIBER   0x0650

Definition at line 525 of file mv88e1112_driver.h.

◆ MV88E1112_LED_POL_CTRL

#define MV88E1112_LED_POL_CTRL   0x11

Definition at line 89 of file mv88e1112_driver.h.

◆ MV88E1112_LED_POL_CTRL_INIT_POL

#define MV88E1112_LED_POL_CTRL_INIT_POL   0x0030

Definition at line 565 of file mv88e1112_driver.h.

◆ MV88E1112_LED_POL_CTRL_INIT_POL_ON_HIGH_OFF_LOW

#define MV88E1112_LED_POL_CTRL_INIT_POL_ON_HIGH_OFF_LOW   0x0010

Definition at line 567 of file mv88e1112_driver.h.

◆ MV88E1112_LED_POL_CTRL_INIT_POL_ON_HIGH_OFF_TRIS

#define MV88E1112_LED_POL_CTRL_INIT_POL_ON_HIGH_OFF_TRIS   0x0030

Definition at line 569 of file mv88e1112_driver.h.

◆ MV88E1112_LED_POL_CTRL_INIT_POL_ON_LOW_OFF_HIGH

#define MV88E1112_LED_POL_CTRL_INIT_POL_ON_LOW_OFF_HIGH   0x0000

Definition at line 566 of file mv88e1112_driver.h.

◆ MV88E1112_LED_POL_CTRL_INIT_POL_ON_LOW_OFF_TRIS

#define MV88E1112_LED_POL_CTRL_INIT_POL_ON_LOW_OFF_TRIS   0x0020

Definition at line 568 of file mv88e1112_driver.h.

◆ MV88E1112_LED_POL_CTRL_INIT_STATUS0_MIX

#define MV88E1112_LED_POL_CTRL_INIT_STATUS0_MIX   0x0F00

Definition at line 556 of file mv88e1112_driver.h.

◆ MV88E1112_LED_POL_CTRL_INIT_STATUS0_MIX_0

#define MV88E1112_LED_POL_CTRL_INIT_STATUS0_MIX_0   0x0000

Definition at line 557 of file mv88e1112_driver.h.

◆ MV88E1112_LED_POL_CTRL_INIT_STATUS0_MIX_100

#define MV88E1112_LED_POL_CTRL_INIT_STATUS0_MIX_100   0x0800

Definition at line 560 of file mv88e1112_driver.h.

◆ MV88E1112_LED_POL_CTRL_INIT_STATUS0_MIX_12_5

#define MV88E1112_LED_POL_CTRL_INIT_STATUS0_MIX_12_5   0x0000

Definition at line 558 of file mv88e1112_driver.h.

◆ MV88E1112_LED_POL_CTRL_INIT_STATUS0_MIX_87_5

#define MV88E1112_LED_POL_CTRL_INIT_STATUS0_MIX_87_5   0x0700

Definition at line 559 of file mv88e1112_driver.h.

◆ MV88E1112_LED_POL_CTRL_LOS_POL

#define MV88E1112_LED_POL_CTRL_LOS_POL   0x00C0

Definition at line 561 of file mv88e1112_driver.h.

◆ MV88E1112_LED_POL_CTRL_LOS_POL_ON_HIGH_OFF_TRIS

#define MV88E1112_LED_POL_CTRL_LOS_POL_ON_HIGH_OFF_TRIS   0x00C0

Definition at line 564 of file mv88e1112_driver.h.

◆ MV88E1112_LED_POL_CTRL_LOS_POL_ON_LOW_OFF_HIGH

#define MV88E1112_LED_POL_CTRL_LOS_POL_ON_LOW_OFF_HIGH   0x0000

Definition at line 562 of file mv88e1112_driver.h.

◆ MV88E1112_LED_POL_CTRL_LOS_POL_ON_LOW_OFF_TRIS

#define MV88E1112_LED_POL_CTRL_LOS_POL_ON_LOW_OFF_TRIS   0x0080

Definition at line 563 of file mv88e1112_driver.h.

◆ MV88E1112_LED_POL_CTRL_LOS_STATUS1_MIX

#define MV88E1112_LED_POL_CTRL_LOS_STATUS1_MIX   0xF000

Definition at line 551 of file mv88e1112_driver.h.

◆ MV88E1112_LED_POL_CTRL_LOS_STATUS1_MIX_0

#define MV88E1112_LED_POL_CTRL_LOS_STATUS1_MIX_0   0x0000

Definition at line 552 of file mv88e1112_driver.h.

◆ MV88E1112_LED_POL_CTRL_LOS_STATUS1_MIX_100

#define MV88E1112_LED_POL_CTRL_LOS_STATUS1_MIX_100   0x8000

Definition at line 555 of file mv88e1112_driver.h.

◆ MV88E1112_LED_POL_CTRL_LOS_STATUS1_MIX_12_5

#define MV88E1112_LED_POL_CTRL_LOS_STATUS1_MIX_12_5   0x0000

Definition at line 553 of file mv88e1112_driver.h.

◆ MV88E1112_LED_POL_CTRL_LOS_STATUS1_MIX_87_5

#define MV88E1112_LED_POL_CTRL_LOS_STATUS1_MIX_87_5   0x7000

Definition at line 554 of file mv88e1112_driver.h.

◆ MV88E1112_LED_POL_CTRL_STATUS0_POL

#define MV88E1112_LED_POL_CTRL_STATUS0_POL   0x0003

Definition at line 575 of file mv88e1112_driver.h.

◆ MV88E1112_LED_POL_CTRL_STATUS0_POL_ON_HIGH_OFF_LOW

#define MV88E1112_LED_POL_CTRL_STATUS0_POL_ON_HIGH_OFF_LOW   0x0001

Definition at line 577 of file mv88e1112_driver.h.

◆ MV88E1112_LED_POL_CTRL_STATUS0_POL_ON_HIGH_OFF_TRIS

#define MV88E1112_LED_POL_CTRL_STATUS0_POL_ON_HIGH_OFF_TRIS   0x0003

Definition at line 579 of file mv88e1112_driver.h.

◆ MV88E1112_LED_POL_CTRL_STATUS0_POL_ON_LOW_OFF_HIGH

#define MV88E1112_LED_POL_CTRL_STATUS0_POL_ON_LOW_OFF_HIGH   0x0000

Definition at line 576 of file mv88e1112_driver.h.

◆ MV88E1112_LED_POL_CTRL_STATUS0_POL_ON_LOW_OFF_TRIS

#define MV88E1112_LED_POL_CTRL_STATUS0_POL_ON_LOW_OFF_TRIS   0x0002

Definition at line 578 of file mv88e1112_driver.h.

◆ MV88E1112_LED_POL_CTRL_STATUS1_POL

#define MV88E1112_LED_POL_CTRL_STATUS1_POL   0x000C

Definition at line 570 of file mv88e1112_driver.h.

◆ MV88E1112_LED_POL_CTRL_STATUS1_POL_ON_HIGH_OFF_LOW

#define MV88E1112_LED_POL_CTRL_STATUS1_POL_ON_HIGH_OFF_LOW   0x0004

Definition at line 572 of file mv88e1112_driver.h.

◆ MV88E1112_LED_POL_CTRL_STATUS1_POL_ON_HIGH_OFF_TRIS

#define MV88E1112_LED_POL_CTRL_STATUS1_POL_ON_HIGH_OFF_TRIS   0x000C

Definition at line 574 of file mv88e1112_driver.h.

◆ MV88E1112_LED_POL_CTRL_STATUS1_POL_ON_LOW_OFF_HIGH

#define MV88E1112_LED_POL_CTRL_STATUS1_POL_ON_LOW_OFF_HIGH   0x0000

Definition at line 571 of file mv88e1112_driver.h.

◆ MV88E1112_LED_POL_CTRL_STATUS1_POL_ON_LOW_OFF_TRIS

#define MV88E1112_LED_POL_CTRL_STATUS1_POL_ON_LOW_OFF_TRIS   0x0008

Definition at line 573 of file mv88e1112_driver.h.

◆ MV88E1112_LED_TIMER_CTRL

#define MV88E1112_LED_TIMER_CTRL   0x12

Definition at line 90 of file mv88e1112_driver.h.

◆ MV88E1112_LED_TIMER_CTRL_BLINK_RATE

#define MV88E1112_LED_TIMER_CTRL_BLINK_RATE   0x0700

Definition at line 591 of file mv88e1112_driver.h.

◆ MV88E1112_LED_TIMER_CTRL_BLINK_RATE_170MS

#define MV88E1112_LED_TIMER_CTRL_BLINK_RATE_170MS   0x0200

Definition at line 594 of file mv88e1112_driver.h.

◆ MV88E1112_LED_TIMER_CTRL_BLINK_RATE_340MS

#define MV88E1112_LED_TIMER_CTRL_BLINK_RATE_340MS   0x0300

Definition at line 595 of file mv88e1112_driver.h.

◆ MV88E1112_LED_TIMER_CTRL_BLINK_RATE_42MS

#define MV88E1112_LED_TIMER_CTRL_BLINK_RATE_42MS   0x0000

Definition at line 592 of file mv88e1112_driver.h.

◆ MV88E1112_LED_TIMER_CTRL_BLINK_RATE_670MS

#define MV88E1112_LED_TIMER_CTRL_BLINK_RATE_670MS   0x0400

Definition at line 596 of file mv88e1112_driver.h.

◆ MV88E1112_LED_TIMER_CTRL_BLINK_RATE_84MS

#define MV88E1112_LED_TIMER_CTRL_BLINK_RATE_84MS   0x0100

Definition at line 593 of file mv88e1112_driver.h.

◆ MV88E1112_LED_TIMER_CTRL_PULSE_STRETCH

#define MV88E1112_LED_TIMER_CTRL_PULSE_STRETCH   0x7000

Definition at line 582 of file mv88e1112_driver.h.

◆ MV88E1112_LED_TIMER_CTRL_PULSE_STRETCH_170MS_TO_340MS

#define MV88E1112_LED_TIMER_CTRL_PULSE_STRETCH_170MS_TO_340MS   0x4000

Definition at line 587 of file mv88e1112_driver.h.

◆ MV88E1112_LED_TIMER_CTRL_PULSE_STRETCH_1_3S_TO_2_7S

#define MV88E1112_LED_TIMER_CTRL_PULSE_STRETCH_1_3S_TO_2_7S   0x7000

Definition at line 590 of file mv88e1112_driver.h.

◆ MV88E1112_LED_TIMER_CTRL_PULSE_STRETCH_21MS_TO_42MS

#define MV88E1112_LED_TIMER_CTRL_PULSE_STRETCH_21MS_TO_42MS   0x1000

Definition at line 584 of file mv88e1112_driver.h.

◆ MV88E1112_LED_TIMER_CTRL_PULSE_STRETCH_340MS_TO_670MS

#define MV88E1112_LED_TIMER_CTRL_PULSE_STRETCH_340MS_TO_670MS   0x5000

Definition at line 588 of file mv88e1112_driver.h.

◆ MV88E1112_LED_TIMER_CTRL_PULSE_STRETCH_42MS_TO_84MS

#define MV88E1112_LED_TIMER_CTRL_PULSE_STRETCH_42MS_TO_84MS   0x2000

Definition at line 585 of file mv88e1112_driver.h.

◆ MV88E1112_LED_TIMER_CTRL_PULSE_STRETCH_670MS_TO_1_3S

#define MV88E1112_LED_TIMER_CTRL_PULSE_STRETCH_670MS_TO_1_3S   0x6000

Definition at line 589 of file mv88e1112_driver.h.

◆ MV88E1112_LED_TIMER_CTRL_PULSE_STRETCH_84MS_TO_170MS

#define MV88E1112_LED_TIMER_CTRL_PULSE_STRETCH_84MS_TO_170MS   0x3000

Definition at line 586 of file mv88e1112_driver.h.

◆ MV88E1112_LED_TIMER_CTRL_PULSE_STRETCH_NO

#define MV88E1112_LED_TIMER_CTRL_PULSE_STRETCH_NO   0x0000

Definition at line 583 of file mv88e1112_driver.h.

◆ MV88E1112_LED_TIMER_CTRL_SPEED_OFF_PULSE

#define MV88E1112_LED_TIMER_CTRL_SPEED_OFF_PULSE   0x000C

Definition at line 597 of file mv88e1112_driver.h.

◆ MV88E1112_LED_TIMER_CTRL_SPEED_OFF_PULSE_170MS

#define MV88E1112_LED_TIMER_CTRL_SPEED_OFF_PULSE_170MS   0x0004

Definition at line 599 of file mv88e1112_driver.h.

◆ MV88E1112_LED_TIMER_CTRL_SPEED_OFF_PULSE_340MS

#define MV88E1112_LED_TIMER_CTRL_SPEED_OFF_PULSE_340MS   0x0008

Definition at line 600 of file mv88e1112_driver.h.

◆ MV88E1112_LED_TIMER_CTRL_SPEED_OFF_PULSE_670MS

#define MV88E1112_LED_TIMER_CTRL_SPEED_OFF_PULSE_670MS   0x000C

Definition at line 601 of file mv88e1112_driver.h.

◆ MV88E1112_LED_TIMER_CTRL_SPEED_OFF_PULSE_84MS

#define MV88E1112_LED_TIMER_CTRL_SPEED_OFF_PULSE_84MS   0x0000

Definition at line 598 of file mv88e1112_driver.h.

◆ MV88E1112_LED_TIMER_CTRL_SPEED_ON_PULSE

#define MV88E1112_LED_TIMER_CTRL_SPEED_ON_PULSE   0x0003

Definition at line 602 of file mv88e1112_driver.h.

◆ MV88E1112_LED_TIMER_CTRL_SPEED_ON_PULSE_170MS

#define MV88E1112_LED_TIMER_CTRL_SPEED_ON_PULSE_170MS   0x0001

Definition at line 604 of file mv88e1112_driver.h.

◆ MV88E1112_LED_TIMER_CTRL_SPEED_ON_PULSE_340MS

#define MV88E1112_LED_TIMER_CTRL_SPEED_ON_PULSE_340MS   0x0002

Definition at line 605 of file mv88e1112_driver.h.

◆ MV88E1112_LED_TIMER_CTRL_SPEED_ON_PULSE_670MS

#define MV88E1112_LED_TIMER_CTRL_SPEED_ON_PULSE_670MS   0x0003

Definition at line 606 of file mv88e1112_driver.h.

◆ MV88E1112_LED_TIMER_CTRL_SPEED_ON_PULSE_84MS

#define MV88E1112_LED_TIMER_CTRL_SPEED_ON_PULSE_84MS   0x0000

Definition at line 603 of file mv88e1112_driver.h.

◆ MV88E1112_MAC_CTRL

#define MV88E1112_MAC_CTRL   0x00

Definition at line 80 of file mv88e1112_driver.h.

◆ MV88E1112_MAC_CTRL1

#define MV88E1112_MAC_CTRL1   0x10

Definition at line 81 of file mv88e1112_driver.h.

◆ MV88E1112_MAC_CTRL1_AUTOSEL_PREF_MEDIA

#define MV88E1112_MAC_CTRL1_AUTOSEL_PREF_MEDIA   0x0C00

Definition at line 449 of file mv88e1112_driver.h.

◆ MV88E1112_MAC_CTRL1_ENHANCED_SGMII

#define MV88E1112_MAC_CTRL1_ENHANCED_SGMII   0x0004

Definition at line 459 of file mv88e1112_driver.h.

◆ MV88E1112_MAC_CTRL1_MODE_SELECT

#define MV88E1112_MAC_CTRL1_MODE_SELECT   0x0380

Definition at line 450 of file mv88e1112_driver.h.

◆ MV88E1112_MAC_CTRL1_MODE_SELECT_1000BX_ONLY

#define MV88E1112_MAC_CTRL1_MODE_SELECT_1000BX_ONLY   0x0380

Definition at line 457 of file mv88e1112_driver.h.

◆ MV88E1112_MAC_CTRL1_MODE_SELECT_100FX

#define MV88E1112_MAC_CTRL1_MODE_SELECT_100FX   0x0000

Definition at line 451 of file mv88e1112_driver.h.

◆ MV88E1112_MAC_CTRL1_MODE_SELECT_AUTO_COPPER_1000BX

#define MV88E1112_MAC_CTRL1_MODE_SELECT_AUTO_COPPER_1000BX   0x0180

Definition at line 454 of file mv88e1112_driver.h.

◆ MV88E1112_MAC_CTRL1_MODE_SELECT_AUTO_COPPER_SGMII

#define MV88E1112_MAC_CTRL1_MODE_SELECT_AUTO_COPPER_SGMII   0x0100

Definition at line 453 of file mv88e1112_driver.h.

◆ MV88E1112_MAC_CTRL1_MODE_SELECT_COPPER_GBIC

#define MV88E1112_MAC_CTRL1_MODE_SELECT_COPPER_GBIC   0x0080

Definition at line 452 of file mv88e1112_driver.h.

◆ MV88E1112_MAC_CTRL1_MODE_SELECT_COPPER_ONLY

#define MV88E1112_MAC_CTRL1_MODE_SELECT_COPPER_ONLY   0x0280

Definition at line 455 of file mv88e1112_driver.h.

◆ MV88E1112_MAC_CTRL1_MODE_SELECT_SGMII_ONLY

#define MV88E1112_MAC_CTRL1_MODE_SELECT_SGMII_ONLY   0x0300

Definition at line 456 of file mv88e1112_driver.h.

◆ MV88E1112_MAC_CTRL1_RX_FIFO_DEPTH

#define MV88E1112_MAC_CTRL1_RX_FIFO_DEPTH   0x3000

Definition at line 448 of file mv88e1112_driver.h.

◆ MV88E1112_MAC_CTRL1_SGMII_MAC_POWER_DOWN

#define MV88E1112_MAC_CTRL1_SGMII_MAC_POWER_DOWN   0x0008

Definition at line 458 of file mv88e1112_driver.h.

◆ MV88E1112_MAC_CTRL1_TX_FIFO_DEPTH

#define MV88E1112_MAC_CTRL1_TX_FIFO_DEPTH   0xC000

Definition at line 447 of file mv88e1112_driver.h.

◆ MV88E1112_MAC_CTRL2

#define MV88E1112_MAC_CTRL2   0x1A

Definition at line 85 of file mv88e1112_driver.h.

◆ MV88E1112_MAC_CTRL2_AN_BYPASS_EN

#define MV88E1112_MAC_CTRL2_AN_BYPASS_EN   0x8000

Definition at line 471 of file mv88e1112_driver.h.

◆ MV88E1112_MAC_CTRL2_FORCE_FIBER_LINK_DOWN

#define MV88E1112_MAC_CTRL2_FORCE_FIBER_LINK_DOWN   0x0080

Definition at line 477 of file mv88e1112_driver.h.

◆ MV88E1112_MAC_CTRL2_OUT_AMPLITUDE

#define MV88E1112_MAC_CTRL2_OUT_AMPLITUDE   0x0007

Definition at line 479 of file mv88e1112_driver.h.

◆ MV88E1112_MAC_CTRL2_OUT_AMPLITUDE_0_50V

#define MV88E1112_MAC_CTRL2_OUT_AMPLITUDE_0_50V   0x0000

Definition at line 480 of file mv88e1112_driver.h.

◆ MV88E1112_MAC_CTRL2_OUT_AMPLITUDE_0_60V

#define MV88E1112_MAC_CTRL2_OUT_AMPLITUDE_0_60V   0x0001

Definition at line 481 of file mv88e1112_driver.h.

◆ MV88E1112_MAC_CTRL2_OUT_AMPLITUDE_0_70V

#define MV88E1112_MAC_CTRL2_OUT_AMPLITUDE_0_70V   0x0002

Definition at line 482 of file mv88e1112_driver.h.

◆ MV88E1112_MAC_CTRL2_OUT_AMPLITUDE_0_80V

#define MV88E1112_MAC_CTRL2_OUT_AMPLITUDE_0_80V   0x0003

Definition at line 483 of file mv88e1112_driver.h.

◆ MV88E1112_MAC_CTRL2_OUT_AMPLITUDE_0_90V

#define MV88E1112_MAC_CTRL2_OUT_AMPLITUDE_0_90V   0x0004

Definition at line 484 of file mv88e1112_driver.h.

◆ MV88E1112_MAC_CTRL2_OUT_AMPLITUDE_1_00V

#define MV88E1112_MAC_CTRL2_OUT_AMPLITUDE_1_00V   0x0005

Definition at line 485 of file mv88e1112_driver.h.

◆ MV88E1112_MAC_CTRL2_OUT_AMPLITUDE_1_10V

#define MV88E1112_MAC_CTRL2_OUT_AMPLITUDE_1_10V   0x0006

Definition at line 486 of file mv88e1112_driver.h.

◆ MV88E1112_MAC_CTRL2_OUT_AMPLITUDE_1_20V

#define MV88E1112_MAC_CTRL2_OUT_AMPLITUDE_1_20V   0x0007

Definition at line 487 of file mv88e1112_driver.h.

◆ MV88E1112_MAC_CTRL2_SGMII_MAC_AN_TIMER

#define MV88E1112_MAC_CTRL2_SGMII_MAC_AN_TIMER   0x6000

Definition at line 472 of file mv88e1112_driver.h.

◆ MV88E1112_MAC_CTRL2_SGMII_MAC_AN_TIMER_0_5US_TO_0_6US

#define MV88E1112_MAC_CTRL2_SGMII_MAC_AN_TIMER_0_5US_TO_0_6US   0x2000

Definition at line 474 of file mv88e1112_driver.h.

◆ MV88E1112_MAC_CTRL2_SGMII_MAC_AN_TIMER_0_98US_TO_1_2US

#define MV88E1112_MAC_CTRL2_SGMII_MAC_AN_TIMER_0_98US_TO_1_2US   0x4000

Definition at line 475 of file mv88e1112_driver.h.

◆ MV88E1112_MAC_CTRL2_SGMII_MAC_AN_TIMER_1_6MS_TO_2_0MS

#define MV88E1112_MAC_CTRL2_SGMII_MAC_AN_TIMER_1_6MS_TO_2_0MS   0x0000

Definition at line 473 of file mv88e1112_driver.h.

◆ MV88E1112_MAC_CTRL2_SGMII_MAC_AN_TIMER_2_1US_TO_2_3US

#define MV88E1112_MAC_CTRL2_SGMII_MAC_AN_TIMER_2_1US_TO_2_3US   0x6000

Definition at line 476 of file mv88e1112_driver.h.

◆ MV88E1112_MAC_CTRL2_SGMII_MAC_CLK_EN

#define MV88E1112_MAC_CTRL2_SGMII_MAC_CLK_EN   0x0010

Definition at line 478 of file mv88e1112_driver.h.

◆ MV88E1112_MAC_CTRL_AN_EN

#define MV88E1112_MAC_CTRL_AN_EN   0x1000

Definition at line 442 of file mv88e1112_driver.h.

◆ MV88E1112_MAC_CTRL_LOOPBACK

#define MV88E1112_MAC_CTRL_LOOPBACK   0x4000

Definition at line 440 of file mv88e1112_driver.h.

◆ MV88E1112_MAC_CTRL_POWER_DOWN

#define MV88E1112_MAC_CTRL_POWER_DOWN   0x0800

Definition at line 443 of file mv88e1112_driver.h.

◆ MV88E1112_MAC_CTRL_RESET

#define MV88E1112_MAC_CTRL_RESET   0x8000

Definition at line 439 of file mv88e1112_driver.h.

◆ MV88E1112_MAC_CTRL_SPEED_SEL_LSB

#define MV88E1112_MAC_CTRL_SPEED_SEL_LSB   0x2000

Definition at line 441 of file mv88e1112_driver.h.

◆ MV88E1112_MAC_CTRL_SPEED_SEL_MSB

#define MV88E1112_MAC_CTRL_SPEED_SEL_MSB   0x0040

Definition at line 444 of file mv88e1112_driver.h.

◆ MV88E1112_MAC_INT_EN

#define MV88E1112_MAC_INT_EN   0x12

Definition at line 83 of file mv88e1112_driver.h.

◆ MV88E1112_MAC_INT_EN_FIFO_OVER_UNDERFLOW

#define MV88E1112_MAC_INT_EN_FIFO_OVER_UNDERFLOW   0x0080

Definition at line 465 of file mv88e1112_driver.h.

◆ MV88E1112_MAC_STAT1

#define MV88E1112_MAC_STAT1   0x11

Definition at line 82 of file mv88e1112_driver.h.

◆ MV88E1112_MAC_STAT1_AN_BYPASS_STATUS

#define MV88E1112_MAC_STAT1_AN_BYPASS_STATUS   0x0020

Definition at line 462 of file mv88e1112_driver.h.

◆ MV88E1112_MAC_STAT2

#define MV88E1112_MAC_STAT2   0x13

Definition at line 84 of file mv88e1112_driver.h.

◆ MV88E1112_MAC_STAT2_FIFO_OVER_UNDERFLOW

#define MV88E1112_MAC_STAT2_FIFO_OVER_UNDERFLOW   0x0080

Definition at line 468 of file mv88e1112_driver.h.

◆ MV88E1112_MDI0_VCT_STAT

#define MV88E1112_MDI0_VCT_STAT   0x10

Definition at line 100 of file mv88e1112_driver.h.

◆ MV88E1112_MDI0_VCT_STAT_AMPLITUDE

#define MV88E1112_MDI0_VCT_STAT_AMPLITUDE   0x1F00

Definition at line 644 of file mv88e1112_driver.h.

◆ MV88E1112_MDI0_VCT_STAT_AMPLITUDE_MAX_NEG

#define MV88E1112_MDI0_VCT_STAT_AMPLITUDE_MAX_NEG   0x0000

Definition at line 645 of file mv88e1112_driver.h.

◆ MV88E1112_MDI0_VCT_STAT_AMPLITUDE_MAX_POS

#define MV88E1112_MDI0_VCT_STAT_AMPLITUDE_MAX_POS   0x1F00

Definition at line 647 of file mv88e1112_driver.h.

◆ MV88E1112_MDI0_VCT_STAT_AMPLITUDE_ZERO

#define MV88E1112_MDI0_VCT_STAT_AMPLITUDE_ZERO   0x1000

Definition at line 646 of file mv88e1112_driver.h.

◆ MV88E1112_MDI0_VCT_STAT_DISTANCE

#define MV88E1112_MDI0_VCT_STAT_DISTANCE   0x00FF

Definition at line 648 of file mv88e1112_driver.h.

◆ MV88E1112_MDI0_VCT_STAT_RUN_VCT_TEST

#define MV88E1112_MDI0_VCT_STAT_RUN_VCT_TEST   0x8000

Definition at line 638 of file mv88e1112_driver.h.

◆ MV88E1112_MDI0_VCT_STAT_STATUS

#define MV88E1112_MDI0_VCT_STAT_STATUS   0x6000

Definition at line 639 of file mv88e1112_driver.h.

◆ MV88E1112_MDI0_VCT_STAT_STATUS_FAILET

#define MV88E1112_MDI0_VCT_STAT_STATUS_FAILET   0x6000

Definition at line 643 of file mv88e1112_driver.h.

◆ MV88E1112_MDI0_VCT_STAT_STATUS_VALID_NORMAL

#define MV88E1112_MDI0_VCT_STAT_STATUS_VALID_NORMAL   0x0000

Definition at line 640 of file mv88e1112_driver.h.

◆ MV88E1112_MDI0_VCT_STAT_STATUS_VALID_OPEN

#define MV88E1112_MDI0_VCT_STAT_STATUS_VALID_OPEN   0x4000

Definition at line 642 of file mv88e1112_driver.h.

◆ MV88E1112_MDI0_VCT_STAT_STATUS_VALID_SHORT

#define MV88E1112_MDI0_VCT_STAT_STATUS_VALID_SHORT   0x2000

Definition at line 641 of file mv88e1112_driver.h.

◆ MV88E1112_MDI1_VCT_STAT

#define MV88E1112_MDI1_VCT_STAT   0x11

Definition at line 101 of file mv88e1112_driver.h.

◆ MV88E1112_MDI1_VCT_STAT_AMPLITUDE

#define MV88E1112_MDI1_VCT_STAT_AMPLITUDE   0x1F00

Definition at line 657 of file mv88e1112_driver.h.

◆ MV88E1112_MDI1_VCT_STAT_AMPLITUDE_MAX_NEG

#define MV88E1112_MDI1_VCT_STAT_AMPLITUDE_MAX_NEG   0x0000

Definition at line 658 of file mv88e1112_driver.h.

◆ MV88E1112_MDI1_VCT_STAT_AMPLITUDE_MAX_POS

#define MV88E1112_MDI1_VCT_STAT_AMPLITUDE_MAX_POS   0x1F00

Definition at line 660 of file mv88e1112_driver.h.

◆ MV88E1112_MDI1_VCT_STAT_AMPLITUDE_ZERO

#define MV88E1112_MDI1_VCT_STAT_AMPLITUDE_ZERO   0x1000

Definition at line 659 of file mv88e1112_driver.h.

◆ MV88E1112_MDI1_VCT_STAT_DISTANCE

#define MV88E1112_MDI1_VCT_STAT_DISTANCE   0x00FF

Definition at line 661 of file mv88e1112_driver.h.

◆ MV88E1112_MDI1_VCT_STAT_STATUS

#define MV88E1112_MDI1_VCT_STAT_STATUS   0x6000

Definition at line 652 of file mv88e1112_driver.h.

◆ MV88E1112_MDI1_VCT_STAT_STATUS_FAILET

#define MV88E1112_MDI1_VCT_STAT_STATUS_FAILET   0x6000

Definition at line 656 of file mv88e1112_driver.h.

◆ MV88E1112_MDI1_VCT_STAT_STATUS_VALID_NORMAL

#define MV88E1112_MDI1_VCT_STAT_STATUS_VALID_NORMAL   0x0000

Definition at line 653 of file mv88e1112_driver.h.

◆ MV88E1112_MDI1_VCT_STAT_STATUS_VALID_OPEN

#define MV88E1112_MDI1_VCT_STAT_STATUS_VALID_OPEN   0x4000

Definition at line 655 of file mv88e1112_driver.h.

◆ MV88E1112_MDI1_VCT_STAT_STATUS_VALID_SHORT

#define MV88E1112_MDI1_VCT_STAT_STATUS_VALID_SHORT   0x2000

Definition at line 654 of file mv88e1112_driver.h.

◆ MV88E1112_MDI1_VCT_STAT_WAITING_PERIOD_DIS

#define MV88E1112_MDI1_VCT_STAT_WAITING_PERIOD_DIS   0x8000

Definition at line 651 of file mv88e1112_driver.h.

◆ MV88E1112_MDI2_VCT_STAT

#define MV88E1112_MDI2_VCT_STAT   0x12

Definition at line 102 of file mv88e1112_driver.h.

◆ MV88E1112_MDI2_VCT_STAT_AMPLITUDE

#define MV88E1112_MDI2_VCT_STAT_AMPLITUDE   0x1F00

Definition at line 669 of file mv88e1112_driver.h.

◆ MV88E1112_MDI2_VCT_STAT_AMPLITUDE_MAX_NEG

#define MV88E1112_MDI2_VCT_STAT_AMPLITUDE_MAX_NEG   0x0000

Definition at line 670 of file mv88e1112_driver.h.

◆ MV88E1112_MDI2_VCT_STAT_AMPLITUDE_MAX_POS

#define MV88E1112_MDI2_VCT_STAT_AMPLITUDE_MAX_POS   0x1F00

Definition at line 672 of file mv88e1112_driver.h.

◆ MV88E1112_MDI2_VCT_STAT_AMPLITUDE_ZERO

#define MV88E1112_MDI2_VCT_STAT_AMPLITUDE_ZERO   0x1000

Definition at line 671 of file mv88e1112_driver.h.

◆ MV88E1112_MDI2_VCT_STAT_DISTANCE

#define MV88E1112_MDI2_VCT_STAT_DISTANCE   0x00FF

Definition at line 673 of file mv88e1112_driver.h.

◆ MV88E1112_MDI2_VCT_STAT_STATUS

#define MV88E1112_MDI2_VCT_STAT_STATUS   0x6000

Definition at line 664 of file mv88e1112_driver.h.

◆ MV88E1112_MDI2_VCT_STAT_STATUS_FAILET

#define MV88E1112_MDI2_VCT_STAT_STATUS_FAILET   0x6000

Definition at line 668 of file mv88e1112_driver.h.

◆ MV88E1112_MDI2_VCT_STAT_STATUS_VALID_NORMAL

#define MV88E1112_MDI2_VCT_STAT_STATUS_VALID_NORMAL   0x0000

Definition at line 665 of file mv88e1112_driver.h.

◆ MV88E1112_MDI2_VCT_STAT_STATUS_VALID_OPEN

#define MV88E1112_MDI2_VCT_STAT_STATUS_VALID_OPEN   0x4000

Definition at line 667 of file mv88e1112_driver.h.

◆ MV88E1112_MDI2_VCT_STAT_STATUS_VALID_SHORT

#define MV88E1112_MDI2_VCT_STAT_STATUS_VALID_SHORT   0x2000

Definition at line 666 of file mv88e1112_driver.h.

◆ MV88E1112_MDI3_VCT_STAT

#define MV88E1112_MDI3_VCT_STAT   0x13

Definition at line 103 of file mv88e1112_driver.h.

◆ MV88E1112_MDI3_VCT_STAT_AMPLITUDE

#define MV88E1112_MDI3_VCT_STAT_AMPLITUDE   0x1F00

Definition at line 681 of file mv88e1112_driver.h.

◆ MV88E1112_MDI3_VCT_STAT_AMPLITUDE_MAX_NEG

#define MV88E1112_MDI3_VCT_STAT_AMPLITUDE_MAX_NEG   0x0000

Definition at line 682 of file mv88e1112_driver.h.

◆ MV88E1112_MDI3_VCT_STAT_AMPLITUDE_MAX_POS

#define MV88E1112_MDI3_VCT_STAT_AMPLITUDE_MAX_POS   0x1F00

Definition at line 684 of file mv88e1112_driver.h.

◆ MV88E1112_MDI3_VCT_STAT_AMPLITUDE_ZERO

#define MV88E1112_MDI3_VCT_STAT_AMPLITUDE_ZERO   0x1000

Definition at line 683 of file mv88e1112_driver.h.

◆ MV88E1112_MDI3_VCT_STAT_DISTANCE

#define MV88E1112_MDI3_VCT_STAT_DISTANCE   0x00FF

Definition at line 685 of file mv88e1112_driver.h.

◆ MV88E1112_MDI3_VCT_STAT_STATUS

#define MV88E1112_MDI3_VCT_STAT_STATUS   0x6000

Definition at line 676 of file mv88e1112_driver.h.

◆ MV88E1112_MDI3_VCT_STAT_STATUS_FAILET

#define MV88E1112_MDI3_VCT_STAT_STATUS_FAILET   0x6000

Definition at line 680 of file mv88e1112_driver.h.

◆ MV88E1112_MDI3_VCT_STAT_STATUS_VALID_NORMAL

#define MV88E1112_MDI3_VCT_STAT_STATUS_VALID_NORMAL   0x0000

Definition at line 677 of file mv88e1112_driver.h.

◆ MV88E1112_MDI3_VCT_STAT_STATUS_VALID_OPEN

#define MV88E1112_MDI3_VCT_STAT_STATUS_VALID_OPEN   0x4000

Definition at line 679 of file mv88e1112_driver.h.

◆ MV88E1112_MDI3_VCT_STAT_STATUS_VALID_SHORT

#define MV88E1112_MDI3_VCT_STAT_STATUS_VALID_SHORT   0x2000

Definition at line 678 of file mv88e1112_driver.h.

◆ MV88E1112_NVM_ADDR

#define MV88E1112_NVM_ADDR   0x10

Definition at line 93 of file mv88e1112_driver.h.

◆ MV88E1112_NVM_ADDR_BYTE_ADDR

#define MV88E1112_NVM_ADDR_BYTE_ADDR   0x00FF

Definition at line 611 of file mv88e1112_driver.h.

◆ MV88E1112_NVM_ADDR_RD_WR

#define MV88E1112_NVM_ADDR_RD_WR   0x0100

Definition at line 610 of file mv88e1112_driver.h.

◆ MV88E1112_NVM_ADDR_SLAVE_ADDR

#define MV88E1112_NVM_ADDR_SLAVE_ADDR   0xFE00

Definition at line 609 of file mv88e1112_driver.h.

◆ MV88E1112_NVM_RD_DATA_STAT

#define MV88E1112_NVM_RD_DATA_STAT   0x11

Definition at line 94 of file mv88e1112_driver.h.

◆ MV88E1112_NVM_RD_DATA_STAT_RAM_STATUS

#define MV88E1112_NVM_RD_DATA_STAT_RAM_STATUS   0xE000

Definition at line 614 of file mv88e1112_driver.h.

◆ MV88E1112_NVM_RD_DATA_STAT_READ_DATA

#define MV88E1112_NVM_RD_DATA_STAT_READ_DATA   0x00FF

Definition at line 616 of file mv88e1112_driver.h.

◆ MV88E1112_NVM_RD_DATA_STAT_TWI_STATUS

#define MV88E1112_NVM_RD_DATA_STAT_TWI_STATUS   0x0700

Definition at line 615 of file mv88e1112_driver.h.

◆ MV88E1112_NVM_WR_DATA_CTRL

#define MV88E1112_NVM_WR_DATA_CTRL   0x12

Definition at line 95 of file mv88e1112_driver.h.

◆ MV88E1112_NVM_WR_DATA_CTRL_AUTO_RB_AFTER_WR

#define MV88E1112_NVM_WR_DATA_CTRL_AUTO_RB_AFTER_WR   0x0200

Definition at line 628 of file mv88e1112_driver.h.

◆ MV88E1112_NVM_WR_DATA_CTRL_EEPROM_WRITE_TIME

#define MV88E1112_NVM_WR_DATA_CTRL_EEPROM_WRITE_TIME   0xF000

Definition at line 619 of file mv88e1112_driver.h.

◆ MV88E1112_NVM_WR_DATA_CTRL_EEPROM_WRITE_TIME_0MS

#define MV88E1112_NVM_WR_DATA_CTRL_EEPROM_WRITE_TIME_0MS   0x0000

Definition at line 620 of file mv88e1112_driver.h.

◆ MV88E1112_NVM_WR_DATA_CTRL_EEPROM_WRITE_TIME_14_68MS

#define MV88E1112_NVM_WR_DATA_CTRL_EEPROM_WRITE_TIME_14_68MS   0xE000

Definition at line 622 of file mv88e1112_driver.h.

◆ MV88E1112_NVM_WR_DATA_CTRL_EEPROM_WRITE_TIME_15_73MS

#define MV88E1112_NVM_WR_DATA_CTRL_EEPROM_WRITE_TIME_15_73MS   0xF000

Definition at line 623 of file mv88e1112_driver.h.

◆ MV88E1112_NVM_WR_DATA_CTRL_EEPROM_WRITE_TIME_1_05MS

#define MV88E1112_NVM_WR_DATA_CTRL_EEPROM_WRITE_TIME_1_05MS   0x1000

Definition at line 621 of file mv88e1112_driver.h.

◆ MV88E1112_NVM_WR_DATA_CTRL_RELOAD_EEPROM_VALUES

#define MV88E1112_NVM_WR_DATA_CTRL_RELOAD_EEPROM_VALUES   0x0C00

Definition at line 624 of file mv88e1112_driver.h.

◆ MV88E1112_NVM_WR_DATA_CTRL_RELOAD_EEPROM_VALUES_NORMAL

#define MV88E1112_NVM_WR_DATA_CTRL_RELOAD_EEPROM_VALUES_NORMAL   0x0000

Definition at line 625 of file mv88e1112_driver.h.

◆ MV88E1112_NVM_WR_DATA_CTRL_RELOAD_EEPROM_VALUES_RELOAD

#define MV88E1112_NVM_WR_DATA_CTRL_RELOAD_EEPROM_VALUES_RELOAD   0x0800

Definition at line 626 of file mv88e1112_driver.h.

◆ MV88E1112_NVM_WR_DATA_CTRL_RELOAD_EEPROM_VALUES_RELOAD_REINIT

#define MV88E1112_NVM_WR_DATA_CTRL_RELOAD_EEPROM_VALUES_RELOAD_REINIT   0x0C00

Definition at line 627 of file mv88e1112_driver.h.

◆ MV88E1112_NVM_WR_DATA_CTRL_WRITE_DATA

#define MV88E1112_NVM_WR_DATA_CTRL_WRITE_DATA   0x00FF

Definition at line 629 of file mv88e1112_driver.h.

◆ MV88E1112_PAGE_ADDR

#define MV88E1112_PAGE_ADDR   0x16

Definition at line 62 of file mv88e1112_driver.h.

◆ MV88E1112_PAGE_ADDR_AUTO_MEDIUM_REG_SEL

#define MV88E1112_PAGE_ADDR_AUTO_MEDIUM_REG_SEL   0x8000

Definition at line 294 of file mv88e1112_driver.h.

◆ MV88E1112_PAGE_ADDR_PAGE_SEL

#define MV88E1112_PAGE_ADDR_PAGE_SEL   0x00FF

Definition at line 295 of file mv88e1112_driver.h.

◆ MV88E1112_PHY_ADDR

#define MV88E1112_PHY_ADDR   0

Definition at line 39 of file mv88e1112_driver.h.

◆ MV88E1112_PKT_GEN

#define MV88E1112_PKT_GEN   0x10

Definition at line 109 of file mv88e1112_driver.h.

◆ MV88E1112_PKT_GEN_CRC_CHECKER_EN

#define MV88E1112_PKT_GEN_CRC_CHECKER_EN   0x0010

Definition at line 707 of file mv88e1112_driver.h.

◆ MV88E1112_PKT_GEN_LENGTH

#define MV88E1112_PKT_GEN_LENGTH   0x0002

Definition at line 712 of file mv88e1112_driver.h.

◆ MV88E1112_PKT_GEN_LENGTH_1518B

#define MV88E1112_PKT_GEN_LENGTH_1518B   0x0002

Definition at line 714 of file mv88e1112_driver.h.

◆ MV88E1112_PKT_GEN_LENGTH_64B

#define MV88E1112_PKT_GEN_LENGTH_64B   0x0000

Definition at line 713 of file mv88e1112_driver.h.

◆ MV88E1112_PKT_GEN_PAYLOAD

#define MV88E1112_PKT_GEN_PAYLOAD   0x0004

Definition at line 709 of file mv88e1112_driver.h.

◆ MV88E1112_PKT_GEN_PAYLOAD_5A_A5

#define MV88E1112_PKT_GEN_PAYLOAD_5A_A5   0x0004

Definition at line 711 of file mv88e1112_driver.h.

◆ MV88E1112_PKT_GEN_PAYLOAD_PSEUDO_RANDOM

#define MV88E1112_PKT_GEN_PAYLOAD_PSEUDO_RANDOM   0x0000

Definition at line 710 of file mv88e1112_driver.h.

◆ MV88E1112_PKT_GEN_PKT_GEN_EN

#define MV88E1112_PKT_GEN_PKT_GEN_EN   0x0008

Definition at line 708 of file mv88e1112_driver.h.

◆ MV88E1112_PKT_GEN_STUB_TEST_EN

#define MV88E1112_PKT_GEN_STUB_TEST_EN   0x0020

Definition at line 706 of file mv88e1112_driver.h.

◆ MV88E1112_PKT_GEN_TX_ERR_PKT

#define MV88E1112_PKT_GEN_TX_ERR_PKT   0x0001

Definition at line 715 of file mv88e1112_driver.h.

◆ MV88E1112_RAM_ADDR

#define MV88E1112_RAM_ADDR   0x14

Definition at line 97 of file mv88e1112_driver.h.

◆ MV88E1112_RAM_ADDR_RAM_BYTE_ADDR

#define MV88E1112_RAM_ADDR_RAM_BYTE_ADDR   0x00FF

Definition at line 635 of file mv88e1112_driver.h.

◆ MV88E1112_RAM_DATA

#define MV88E1112_RAM_DATA   0x13

Definition at line 96 of file mv88e1112_driver.h.

◆ MV88E1112_RAM_DATA_RAM_DATA

#define MV88E1112_RAM_DATA_RAM_DATA   0x00FF

Definition at line 632 of file mv88e1112_driver.h.

◆ MV88E1112_VCT_DSP_DIST

#define MV88E1112_VCT_DSP_DIST   0x1A

Definition at line 106 of file mv88e1112_driver.h.

◆ MV88E1112_VCT_DSP_DIST_CABLE_LENGTH

#define MV88E1112_VCT_DSP_DIST_CABLE_LENGTH   0x0007

Definition at line 703 of file mv88e1112_driver.h.

Function Documentation

◆ mv88e1112DisableIrq()

void mv88e1112DisableIrq ( NetInterface interface)

Disable interrupts.

Parameters
[in]interfaceUnderlying network interface

Definition at line 163 of file mv88e1112_driver.c.

◆ mv88e1112DumpPhyReg()

void mv88e1112DumpPhyReg ( NetInterface interface)

Dump PHY registers for debugging purpose.

Parameters
[in]interfaceUnderlying network interface

Definition at line 289 of file mv88e1112_driver.c.

◆ mv88e1112EnableIrq()

void mv88e1112EnableIrq ( NetInterface interface)

Enable interrupts.

Parameters
[in]interfaceUnderlying network interface

Definition at line 153 of file mv88e1112_driver.c.

◆ mv88e1112EventHandler()

void mv88e1112EventHandler ( NetInterface interface)

88E1112 event handler

Parameters
[in]interfaceUnderlying network interface

Definition at line 173 of file mv88e1112_driver.c.

◆ mv88e1112Init()

error_t mv88e1112Init ( NetInterface interface)

88E1112 PHY transceiver initialization

Parameters
[in]interfaceUnderlying network interface
Returns
Error code

Definition at line 60 of file mv88e1112_driver.c.

◆ mv88e1112InitHook()

void mv88e1112InitHook ( NetInterface interface)

88E1112 custom configuration

Parameters
[in]interfaceUnderlying network interface

Definition at line 109 of file mv88e1112_driver.c.

◆ mv88e1112ReadPhyReg()

uint16_t mv88e1112ReadPhyReg ( NetInterface interface,
uint8_t  address 
)

Read PHY register.

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

Definition at line 263 of file mv88e1112_driver.c.

◆ mv88e1112Tick()

void mv88e1112Tick ( NetInterface interface)

88E1112 timer handler

Parameters
[in]interfaceUnderlying network interface

Definition at line 119 of file mv88e1112_driver.c.

◆ mv88e1112WritePhyReg()

void mv88e1112WritePhyReg ( NetInterface interface,
uint8_t  address,
uint16_t  data 
)

Write PHY register.

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

Definition at line 239 of file mv88e1112_driver.c.

Variable Documentation

◆ mv88e1112PhyDriver

const PhyDriver mv88e1112PhyDriver
extern

88E1112 Ethernet PHY driver

Definition at line 44 of file mv88e1112_driver.c.