mv88e1512_driver.h File Reference

88E1512 Gigabit Ethernet PHY driver More...

#include "core/nic.h"

Go to the source code of this file.

Macros

#define MV88E1512_PHY_ADDR   0
 
#define MV88E1512_COPPER_CTRL   0x00
 
#define MV88E1512_COPPER_STAT   0x01
 
#define MV88E1512_COPPER_PHYID1   0x02
 
#define MV88E1512_COPPER_PHYID2   0x03
 
#define MV88E1512_COPPER_ANAR   0x04
 
#define MV88E1512_COPPER_ANLPAR   0x05
 
#define MV88E1512_COPPER_ANER   0x06
 
#define MV88E1512_COPPER_ANNPTR   0x07
 
#define MV88E1512_COPPER_ANLPNPR   0x08
 
#define MV88E1512_GBCR   0x09
 
#define MV88E1512_GBSR   0x0A
 
#define MV88E1512_GBESR   0x0F
 
#define MV88E1512_COPPER_CTRL1   0x10
 
#define MV88E1512_COPPER_STAT1   0x11
 
#define MV88E1512_COPPER_INT_EN   0x12
 
#define MV88E1512_COPPER_INT_STAT   0x13
 
#define MV88E1512_COPPER_CTRL2   0x14
 
#define MV88E1512_COPPER_RX_ERR_COUNTER   0x15
 
#define MV88E1512_PAGSR   0x16
 
#define MV88E1512_GISR   0x17
 
#define MV88E1512_FIBER_CTRL   0x00
 
#define MV88E1512_FIBER_STAT   0x01
 
#define MV88E1512_FIBER_PHYID1   0x02
 
#define MV88E1512_FIBER_PHYID2   0x03
 
#define MV88E1512_FIBER_ANAR   0x04
 
#define MV88E1512_FIBER_ANLPAR   0x05
 
#define MV88E1512_FIBER_ANER   0x06
 
#define MV88E1512_FIBER_ANNPTR   0x07
 
#define MV88E1512_FIBER_ANLPNPR   0x08
 
#define MV88E1512_EXTENDED_STATUS   0x0F
 
#define MV88E1512_FIBER_CTRL1   0x10
 
#define MV88E1512_FIBER_STAT1   0x11
 
#define MV88E1512_FIBER_INT_EN   0x12
 
#define MV88E1512_FIBER_INT_STAT   0x13
 
#define MV88E1512_PRBS_CTRL   0x17
 
#define MV88E1512_PRBS_ERR_COUNTER_LSB   0x18
 
#define MV88E1512_PRBS_ERR_COUNTER_MSB   0x19
 
#define MV88E1512_FIBER_CTRL2   0x1A
 
#define MV88E1512_MAC_CTRL1   0x10
 
#define MV88E1512_MAC_INT_EN   0x12
 
#define MV88E1512_MAC_INT_STAT   0x13
 
#define MV88E1512_MAC_CTRL2   0x15
 
#define MV88E1512_RGMII_OUT_IMP_CAL   0x18
 
#define MV88E1512_LED_FUNC_CTRL   0x10
 
#define MV88E1512_LED_POL_CTRL   0x11
 
#define MV88E1512_LED_TIMER_CTRL   0x12
 
#define MV88E1512_1000BT_PAIR_SKEW   0x14
 
#define MV88E1512_1000BT_PAIR_SWAP_POL   0x15
 
#define MV88E1512_COPPER_PKT_GEN   0x10
 
#define MV88E1512_COPPER_CRC_COUNTERS   0x11
 
#define MV88E1512_CHECKER_CTRL   0x12
 
#define MV88E1512_COPPER_PKT_GEN_IPG_CTRL   0x13
 
#define MV88E1512_LATE_COL_COUNTERS_1_2   0x17
 
#define MV88E1512_LATE_COL_COUNTERS_3_4   0x18
 
#define MV88E1512_LATE_COL_WIN_ADJ_LINK_DISCONNECT   0x19
 
#define MV88E1512_MISC_TEST   0x1A
 
#define MV88E1512_TEMP_SENSOR   0x1B
 
#define MV88E1512_COPPER_CTRL_RESET   0x8000
 
#define MV88E1512_COPPER_CTRL_LOOPBACK   0x4000
 
#define MV88E1512_COPPER_CTRL_SPEED_SEL_LSB   0x2000
 
#define MV88E1512_COPPER_CTRL_AN_EN   0x1000
 
#define MV88E1512_COPPER_CTRL_POWER_DOWN   0x0800
 
#define MV88E1512_COPPER_CTRL_ISOLATE   0x0400
 
#define MV88E1512_COPPER_CTRL_RESTART_AN   0x0200
 
#define MV88E1512_COPPER_CTRL_DUPLEX_MODE   0x0100
 
#define MV88E1512_COPPER_CTRL_COL_TEST   0x0080
 
#define MV88E1512_COPPER_CTRL_SPEED_SEL_MSB   0x0040
 
#define MV88E1512_COPPER_STAT_100BT4   0x8000
 
#define MV88E1512_COPPER_STAT_100BTX_FD   0x4000
 
#define MV88E1512_COPPER_STAT_100BTX_HD   0x2000
 
#define MV88E1512_COPPER_STAT_10BT_FD   0x1000
 
#define MV88E1512_COPPER_STAT_10BT_HD   0x0800
 
#define MV88E1512_COPPER_STAT_100BT2_FD   0x0400
 
#define MV88E1512_COPPER_STAT_100BT2_HD   0x0200
 
#define MV88E1512_COPPER_STAT_EXTENDED_STATUS   0x0100
 
#define MV88E1512_COPPER_STAT_MF_PREAMBLE_SUPPR   0x0040
 
#define MV88E1512_COPPER_STAT_AN_COMPLETE   0x0020
 
#define MV88E1512_COPPER_STAT_REMOTE_FAULT   0x0010
 
#define MV88E1512_COPPER_STAT_AN_CAPABLE   0x0008
 
#define MV88E1512_COPPER_STAT_LINK_STATUS   0x0004
 
#define MV88E1512_COPPER_STAT_JABBER_DETECT   0x0002
 
#define MV88E1512_COPPER_STAT_EXTENDED_CAPABLE   0x0001
 
#define MV88E1512_COPPER_PHYID1_OUI_MSB   0xFFFF
 
#define MV88E1512_COPPER_PHYID1_OUI_MSB_DEFAULT   0x0141
 
#define MV88E1512_COPPER_PHYID2_OUI_LSB   0xFC00
 
#define MV88E1512_COPPER_PHYID2_OUI_LSB_DEFAULT   0x0C00
 
#define MV88E1512_COPPER_PHYID2_MODEL_NUM   0x03F0
 
#define MV88E1512_COPPER_PHYID2_MODEL_NUM_DEFAULT   0x01D0
 
#define MV88E1512_COPPER_PHYID2_REVISION_NUM   0x000F
 
#define MV88E1512_COPPER_ANAR_NEXT_PAGE   0x8000
 
#define MV88E1512_COPPER_ANAR_ACK   0x4000
 
#define MV88E1512_COPPER_ANAR_REMOTE_FAULT   0x2000
 
#define MV88E1512_COPPER_ANAR_ASYM_PAUSE   0x0800
 
#define MV88E1512_COPPER_ANAR_PAUSE   0x0400
 
#define MV88E1512_COPPER_ANAR_100BT4   0x0200
 
#define MV88E1512_COPPER_ANAR_100BTX_FD   0x0100
 
#define MV88E1512_COPPER_ANAR_100BTX_HD   0x0080
 
#define MV88E1512_COPPER_ANAR_10BT_FD   0x0040
 
#define MV88E1512_COPPER_ANAR_10BT_HD   0x0020
 
#define MV88E1512_COPPER_ANAR_SELECTOR   0x001F
 
#define MV88E1512_COPPER_ANAR_SELECTOR_DEFAULT   0x0001
 
#define MV88E1512_COPPER_ANLPAR_NEXT_PAGE   0x8000
 
#define MV88E1512_COPPER_ANLPAR_ACK   0x4000
 
#define MV88E1512_COPPER_ANLPAR_REMOTE_FAULT   0x2000
 
#define MV88E1512_COPPER_ANLPAR_TECH_ABLE   0x1000
 
#define MV88E1512_COPPER_ANLPAR_ASYM_PAUSE   0x0800
 
#define MV88E1512_COPPER_ANLPAR_PAUSE   0x0400
 
#define MV88E1512_COPPER_ANLPAR_100BT4   0x0200
 
#define MV88E1512_COPPER_ANLPAR_100BTX_FD   0x0100
 
#define MV88E1512_COPPER_ANLPAR_100BTX_HD   0x0080
 
#define MV88E1512_COPPER_ANLPAR_10BT_FD   0x0040
 
#define MV88E1512_COPPER_ANLPAR_10BT_HD   0x0020
 
#define MV88E1512_COPPER_ANLPAR_SELECTOR   0x001F
 
#define MV88E1512_COPPER_ANLPAR_SELECTOR_DEFAULT   0x0001
 
#define MV88E1512_COPPER_ANER_PAR_DETECT_FAULT   0x0010
 
#define MV88E1512_COPPER_ANER_LP_NEXT_PAGE_ABLE   0x0008
 
#define MV88E1512_COPPER_ANER_NEXT_PAGE_ABLE   0x0004
 
#define MV88E1512_COPPER_ANER_PAGE_RECEIVED   0x0002
 
#define MV88E1512_COPPER_ANER_LP_AN_ABLE   0x0001
 
#define MV88E1512_COPPER_ANNPTR_NEXT_PAGE   0x8000
 
#define MV88E1512_COPPER_ANNPTR_MSG_PAGE   0x2000
 
#define MV88E1512_COPPER_ANNPTR_ACK2   0x1000
 
#define MV88E1512_COPPER_ANNPTR_TOGGLE   0x0800
 
#define MV88E1512_COPPER_ANNPTR_MESSAGE   0x07FF
 
#define MV88E1512_COPPER_ANLPNPR_NEXT_PAGE   0x8000
 
#define MV88E1512_COPPER_ANLPNPR_ACK   0x4000
 
#define MV88E1512_COPPER_ANLPNPR_MSG_PAGE   0x2000
 
#define MV88E1512_COPPER_ANLPNPR_ACK2   0x1000
 
#define MV88E1512_COPPER_ANLPNPR_TOGGLE   0x0800
 
#define MV88E1512_COPPER_ANLPNPR_MESSAGE   0x07FF
 
#define MV88E1512_GBCR_TEST_MODE   0xE000
 
#define MV88E1512_GBCR_MS_MAN_CONF_EN   0x1000
 
#define MV88E1512_GBCR_MS_MAN_CONF_VAL   0x0800
 
#define MV88E1512_GBCR_PORT_TYPE   0x0400
 
#define MV88E1512_GBCR_1000BT_FD   0x0200
 
#define MV88E1512_GBCR_1000BT_HD   0x0100
 
#define MV88E1512_GBSR_MS_CONF_FAULT   0x8000
 
#define MV88E1512_GBSR_MS_CONF_RES   0x4000
 
#define MV88E1512_GBSR_LOCAL_RECEIVER_STATUS   0x2000
 
#define MV88E1512_GBSR_REMOTE_RECEIVER_STATUS   0x1000
 
#define MV88E1512_GBSR_LP_1000BT_FD   0x0800
 
#define MV88E1512_GBSR_LP_1000BT_HD   0x0400
 
#define MV88E1512_GBSR_IDLE_ERR_COUNT   0x00FF
 
#define MV88E1512_GBESR_1000BX_FD   0x8000
 
#define MV88E1512_GBESR_1000BX_HD   0x4000
 
#define MV88E1512_GBESR_1000BT_FD   0x2000
 
#define MV88E1512_GBESR_1000BT_HD   0x1000
 
#define MV88E1512_COPPER_CTRL1_LINK_PULSE_DIS   0x8000
 
#define MV88E1512_COPPER_CTRL1_FORCE_LINK_GOOD   0x0400
 
#define MV88E1512_COPPER_CTRL1_ENERGY_DETECT   0x0300
 
#define MV88E1512_COPPER_CTRL1_MDI_CROSSOVER_MODE   0x0060
 
#define MV88E1512_COPPER_CTRL1_MDI_CROSSOVER_MODE_MANUAL_MDI   0x0000
 
#define MV88E1512_COPPER_CTRL1_MDI_CROSSOVER_MODE_MANUAL_MDIX   0x0020
 
#define MV88E1512_COPPER_CTRL1_MDI_CROSSOVER_MODE_AUTO   0x0060
 
#define MV88E1512_COPPER_CTRL1_TX_DIS   0x0008
 
#define MV88E1512_COPPER_CTRL1_POWER_DOWN   0x0004
 
#define MV88E1512_COPPER_CTRL1_POLARITY_REVERSAL_DIS   0x0002
 
#define MV88E1512_COPPER_CTRL1_JABBER_DIS   0x0001
 
#define MV88E1512_COPPER_STAT1_SPEED   0xC000
 
#define MV88E1512_COPPER_STAT1_SPEED_10MBPS   0x0000
 
#define MV88E1512_COPPER_STAT1_SPEED_100MBPS   0x4000
 
#define MV88E1512_COPPER_STAT1_SPEED_1000MBPS   0x8000
 
#define MV88E1512_COPPER_STAT1_DUPLEX   0x2000
 
#define MV88E1512_COPPER_STAT1_PAGE_RECEIVED   0x1000
 
#define MV88E1512_COPPER_STAT1_SPEED_DUPLEX_RESOLVED   0x0800
 
#define MV88E1512_COPPER_STAT1_LINK   0x0400
 
#define MV88E1512_COPPER_STAT1_TX_PAUSE_EN   0x0200
 
#define MV88E1512_COPPER_STAT1_RX_PAUSE_EN   0x0100
 
#define MV88E1512_COPPER_STAT1_MDI_CROSSOVER_STATUS   0x0040
 
#define MV88E1512_COPPER_STAT1_ENERGY_DETECT_STATUS   0x0010
 
#define MV88E1512_COPPER_STAT1_GLOBAL_LINK_STATUS   0x0008
 
#define MV88E1512_COPPER_STAT1_POLARITY   0x0002
 
#define MV88E1512_COPPER_STAT1_JABBER   0x0001
 
#define MV88E1512_COPPER_INT_EN_AN_ERROR   0x8000
 
#define MV88E1512_COPPER_INT_EN_SPEED_CHANGED   0x4000
 
#define MV88E1512_COPPER_INT_EN_DUPLEX_CHANGED   0x2000
 
#define MV88E1512_COPPER_INT_EN_PAGE_RECEIVED   0x1000
 
#define MV88E1512_COPPER_INT_EN_AN_COMPLETE   0x0800
 
#define MV88E1512_COPPER_INT_EN_LINK_STATUS_CHANGED   0x0400
 
#define MV88E1512_COPPER_INT_EN_SYMBOL_ERROR   0x0200
 
#define MV88E1512_COPPER_INT_EN_FALSE_CARRIER   0x0100
 
#define MV88E1512_COPPER_INT_EN_MDI_CROSSOVER_CHANGED   0x0040
 
#define MV88E1512_COPPER_INT_EN_ENERGY_DETECT   0x0010
 
#define MV88E1512_COPPER_INT_EN_FLP_COMPLETE   0x0008
 
#define MV88E1512_COPPER_INT_EN_POLARITY_CHANGED   0x0002
 
#define MV88E1512_COPPER_INT_EN_JABBER   0x0001
 
#define MV88E1512_COPPER_INT_STAT_AN_ERROR   0x8000
 
#define MV88E1512_COPPER_INT_STAT_SPEED_CHANGED   0x4000
 
#define MV88E1512_COPPER_INT_STAT_DUPLEX_CHANGED   0x2000
 
#define MV88E1512_COPPER_INT_STAT_PAGE_RECEIVED   0x1000
 
#define MV88E1512_COPPER_INT_STAT_AN_COMPLETE   0x0800
 
#define MV88E1512_COPPER_INT_STAT_LINK_STATUS_CHANGED   0x0400
 
#define MV88E1512_COPPER_INT_STAT_SYMBOL_ERROR   0x0200
 
#define MV88E1512_COPPER_INT_STAT_FALSE_CARRIER   0x0100
 
#define MV88E1512_COPPER_INT_STAT_MDI_CROSSOVER_CHANGED   0x0040
 
#define MV88E1512_COPPER_INT_STAT_ENERGY_DETECT   0x0010
 
#define MV88E1512_COPPER_INT_STAT_FLP_COMPLETE   0x0008
 
#define MV88E1512_COPPER_INT_STAT_POLARITY_CHANGED   0x0002
 
#define MV88E1512_COPPER_INT_STAT_JABBER   0x0001
 
#define MV88E1512_COPPER_CTRL2_BREAK_LINK_ON_INSUF_IPG   0x0040
 
#define MV88E1512_COPPER_CTRL2_REVERSE_MDIPN3_TX_POL   0x0008
 
#define MV88E1512_COPPER_CTRL2_REVERSE_MDIPN2_TX_POL   0x0004
 
#define MV88E1512_COPPER_CTRL2_REVERSE_MDIPN1_TX_POL   0x0002
 
#define MV88E1512_COPPER_CTRL2_REVERSE_MDIPN0_TX_POL   0x0001
 
#define MV88E1512_PAGSR_PAGE_SEL   0x00FF
 
#define MV88E1512_GISR_INTERRUPT   0x0001
 
#define MV88E1512_FIBER_CTRL_RESET   0x8000
 
#define MV88E1512_FIBER_CTRL_LOOPBACK   0x4000
 
#define MV88E1512_FIBER_CTRL_SPEED_SEL_LSB   0x2000
 
#define MV88E1512_FIBER_CTRL_AN_EN   0x1000
 
#define MV88E1512_FIBER_CTRL_POWER_DOWN   0x0800
 
#define MV88E1512_FIBER_CTRL_ISOLATE   0x0400
 
#define MV88E1512_FIBER_CTRL_RESTART_AN   0x0200
 
#define MV88E1512_FIBER_CTRL_DUPLEX_MODE   0x0100
 
#define MV88E1512_FIBER_CTRL_COL_TEST   0x0080
 
#define MV88E1512_FIBER_CTRL_SPEED_SEL_MSB   0x0040
 
#define MV88E1512_FIBER_STAT_100BT4   0x8000
 
#define MV88E1512_FIBER_STAT_100BTX_FD   0x4000
 
#define MV88E1512_FIBER_STAT_100BTX_HD   0x2000
 
#define MV88E1512_FIBER_STAT_10BT_FD   0x1000
 
#define MV88E1512_FIBER_STAT_10BT_HD   0x0800
 
#define MV88E1512_FIBER_STAT_100BT2_FD   0x0400
 
#define MV88E1512_FIBER_STAT_100BT2_HD   0x0200
 
#define MV88E1512_FIBER_STAT_EXTENDED_STATUS   0x0100
 
#define MV88E1512_FIBER_STAT_MF_PREAMBLE_SUPPR   0x0040
 
#define MV88E1512_FIBER_STAT_AN_COMPLETE   0x0020
 
#define MV88E1512_FIBER_STAT_REMOTE_FAULT   0x0010
 
#define MV88E1512_FIBER_STAT_AN_CAPABLE   0x0008
 
#define MV88E1512_FIBER_STAT_LINK_STATUS   0x0004
 
#define MV88E1512_FIBER_STAT_EXTENDED_CAPABLE   0x0001
 
#define MV88E1512_FIBER_PHYID1_OUI_MSB   0xFFFF
 
#define MV88E1512_FIBER_PHYID1_OUI_MSB_DEFAULT   0x0141
 
#define MV88E1512_FIBER_PHYID2_OUI_LSB   0xFC00
 
#define MV88E1512_FIBER_PHYID2_OUI_LSB_DEFAULT   0x0C00
 
#define MV88E1512_FIBER_PHYID2_MODEL_NUM   0x03F0
 
#define MV88E1512_FIBER_PHYID2_MODEL_NUM_DEFAULT   0x01D0
 
#define MV88E1512_FIBER_PHYID2_REVISION_NUM   0x000F
 
#define MV88E1512_FIBER_ANAR_NEXT_PAGE   0x8000
 
#define MV88E1512_FIBER_ANAR_REMOTE_FAULT   0x3000
 
#define MV88E1512_FIBER_ANAR_REMOTE_FAULT_NO_ERROR   0x0000
 
#define MV88E1512_FIBER_ANAR_REMOTE_FAULT_LINK_FAILURE   0x1000
 
#define MV88E1512_FIBER_ANAR_REMOTE_FAULT_OFFLINE   0x2000
 
#define MV88E1512_FIBER_ANAR_REMOTE_FAULT_AN_ERROR   0x3000
 
#define MV88E1512_FIBER_ANAR_PAUSE   0x0180
 
#define MV88E1512_FIBER_ANAR_1000BX_HD   0x0040
 
#define MV88E1512_FIBER_ANAR_1000BX_FD   0x0020
 
#define MV88E1512_FIBER_ANLPAR_NEXT_PAGE   0x8000
 
#define MV88E1512_FIBER_ANLPAR_ACK   0x4000
 
#define MV88E1512_FIBER_ANLPAR_REMOTE_FAULT   0x3000
 
#define MV88E1512_FIBER_ANLPAR_REMOTE_FAULT_NO_ERROR   0x0000
 
#define MV88E1512_FIBER_ANLPAR_REMOTE_FAULT_LINK_FAILURE   0x1000
 
#define MV88E1512_FIBER_ANLPAR_REMOTE_FAULT_OFFLINE   0x2000
 
#define MV88E1512_FIBER_ANLPAR_REMOTE_FAULT_AN_ERROR   0x3000
 
#define MV88E1512_FIBER_ANLPAR_ASYM_PAUSE   0x0180
 
#define MV88E1512_FIBER_ANLPAR_1000BX_HD   0x0040
 
#define MV88E1512_FIBER_ANLPAR_1000BX_FD   0x0020
 
#define MV88E1512_FIBER_ANER_LP_NEXT_PAGE_ABLE   0x0008
 
#define MV88E1512_FIBER_ANER_NEXT_PAGE_ABLE   0x0004
 
#define MV88E1512_FIBER_ANER_PAGE_RECEIVED   0x0002
 
#define MV88E1512_FIBER_ANER_LP_AN_ABLE   0x0001
 
#define MV88E1512_FIBER_ANNPTR_NEXT_PAGE   0x8000
 
#define MV88E1512_FIBER_ANNPTR_MSG_PAGE   0x2000
 
#define MV88E1512_FIBER_ANNPTR_ACK2   0x1000
 
#define MV88E1512_FIBER_ANNPTR_TOGGLE   0x0800
 
#define MV88E1512_FIBER_ANNPTR_MESSAGE   0x07FF
 
#define MV88E1512_FIBER_ANLPNPR_NEXT_PAGE   0x8000
 
#define MV88E1512_FIBER_ANLPNPR_ACK   0x4000
 
#define MV88E1512_FIBER_ANLPNPR_MSG_PAGE   0x2000
 
#define MV88E1512_FIBER_ANLPNPR_ACK2   0x1000
 
#define MV88E1512_FIBER_ANLPNPR_TOGGLE   0x0800
 
#define MV88E1512_FIBER_ANLPNPR_MESSAGE   0x07FF
 
#define MV88E1512_EXTENDED_STATUS_1000BX_FD   0x8000
 
#define MV88E1512_EXTENDED_STATUS_1000BX_HD   0x4000
 
#define MV88E1512_EXTENDED_STATUS_1000BT_FD   0x2000
 
#define MV88E1512_EXTENDED_STATUS_1000BT_HD   0x1000
 
#define MV88E1512_FIBER_CTRL1_BLOCK_CARRIER_EXTENSION   0x2000
 
#define MV88E1512_FIBER_CTRL1_ASSERT_CRS_TX   0x0800
 
#define MV88E1512_FIBER_CTRL1_FORCE_LINK_GOOD   0x0400
 
#define MV88E1512_FIBER_CTRL1_SERDES_LOOPBACK_TYPE   0x0100
 
#define MV88E1512_FIBER_CTRL1_MARVELL_REMOTE_FAULT_IND   0x0020
 
#define MV88E1512_FIBER_CTRL1_IEEE_REMOTE_FAULT_IND   0x0010
 
#define MV88E1512_FIBER_CTRL1_INT_POL   0x0004
 
#define MV88E1512_FIBER_CTRL1_MODE   0x0003
 
#define MV88E1512_FIBER_STAT1_SPEED   0xC000
 
#define MV88E1512_FIBER_STAT1_SPEED_10MBPS   0x0000
 
#define MV88E1512_FIBER_STAT1_SPEED_100MBPS   0x4000
 
#define MV88E1512_FIBER_STAT1_SPEED_1000MBPS   0x8000
 
#define MV88E1512_FIBER_STAT1_DUPLEX   0x2000
 
#define MV88E1512_FIBER_STAT1_PAGE_RECEIVED   0x1000
 
#define MV88E1512_FIBER_STAT1_SPEED_DUPLEX_RESOLVED   0x0800
 
#define MV88E1512_FIBER_STAT1_LINK   0x0400
 
#define MV88E1512_FIBER_STAT1_REMOTE_FAULT_RECEIVED   0x00C0
 
#define MV88E1512_FIBER_STAT1_SYNC_STATUS   0x0020
 
#define MV88E1512_FIBER_STAT1_ENERGY_DETECT_STATUS   0x0010
 
#define MV88E1512_FIBER_STAT1_TX_PAUSE_EN   0x0008
 
#define MV88E1512_FIBER_STAT1_RX_PAUSE_EN   0x0004
 
#define MV88E1512_FIBER_INT_EN_SPEED_CHANGED   0x4000
 
#define MV88E1512_FIBER_INT_EN_DUPLEX_CHANGED   0x2000
 
#define MV88E1512_FIBER_INT_EN_PAGE_RECEIVED   0x1000
 
#define MV88E1512_FIBER_INT_EN_AN_COMPLETE   0x0800
 
#define MV88E1512_FIBER_INT_EN_LINK_STATUS_CHANGED   0x0400
 
#define MV88E1512_FIBER_INT_EN_SYMBOL_ERROR   0x0200
 
#define MV88E1512_FIBER_INT_EN_FALSE_CARRIER   0x0100
 
#define MV88E1512_FIBER_INT_EN_FIFO_OVER_UNDERFLOW   0x0080
 
#define MV88E1512_FIBER_INT_EN_REMOTE_FAULT_RECEIVE   0x0020
 
#define MV88E1512_FIBER_INT_EN_ENERGY_DETECT   0x0010
 
#define MV88E1512_FIBER_INT_STAT_SPEED_CHANGED   0x4000
 
#define MV88E1512_FIBER_INT_STAT_DUPLEX_CHANGED   0x2000
 
#define MV88E1512_FIBER_INT_STAT_PAGE_RECEIVED   0x1000
 
#define MV88E1512_FIBER_INT_STAT_AN_COMPLETE   0x0800
 
#define MV88E1512_FIBER_INT_STAT_LINK_STATUS_CHANGED   0x0400
 
#define MV88E1512_FIBER_INT_STAT_SYMBOL_ERROR   0x0200
 
#define MV88E1512_FIBER_INT_STAT_FALSE_CARRIER   0x0100
 
#define MV88E1512_FIBER_INT_STAT_FIFO_OVER_UNDERFLOW   0x0080
 
#define MV88E1512_FIBER_INT_STAT_REMOTE_FAULT_RECEIVE   0x0020
 
#define MV88E1512_FIBER_INT_STAT_ENERGY_DETECT   0x0010
 
#define MV88E1512_PRBS_CTRL_INVERT_CHECK_POL   0x0080
 
#define MV88E1512_PRBS_CTRL_INVERT_GEN_POL   0x0040
 
#define MV88E1512_PRBS_CTRL_PRBS_LOCK   0x0020
 
#define MV88E1512_PRBS_CTRL_CLEAR_COUNTER   0x0010
 
#define MV88E1512_PRBS_CTRL_PATTERN_SEL   0x000C
 
#define MV88E1512_PRBS_CTRL_PRBS_CHECK_EN   0x0002
 
#define MV88E1512_PRBS_CTRL_PRBS_GEN_EN   0x0001
 
#define MV88E1512_FIBER_CTRL2_FORCE_INT   0x8000
 
#define MV88E1512_FIBER_CTRL2_1000BX_NOISE_FILT   0x4000
 
#define MV88E1512_FIBER_CTRL2_FEFI_EN   0x0200
 
#define MV88E1512_FIBER_CTRL2_SERIAL_IF_AN_BYPASS_EN   0x0040
 
#define MV88E1512_FIBER_CTRL2_SERIAL_IF_AN_BYPASS_STATUS   0x0020
 
#define MV88E1512_FIBER_CTRL2_FIBER_TX_DIS   0x0008
 
#define MV88E1512_FIBER_CTRL2_SGMII_FIBER_OUT_AMPL   0x0007
 
#define MV88E1512_MAC_CTRL1_PASS_ODD_NIBBLE_PREAMBLES   0x0040
 
#define MV88E1512_MAC_CTRL1_RGMII_IF_POWER_DOWN   0x0008
 
#define MV88E1512_MAC_INT_EN_FIFO_OVER_UNDERFLOW   0x0080
 
#define MV88E1512_MAC_INT_EN_FIFO_IDLE_INSERTED   0x0008
 
#define MV88E1512_MAC_INT_EN_FIFO_IDLE_DELETED   0x0004
 
#define MV88E1512_MAC_INT_STAT_FIFO_OVER_UNDERFLOW   0x0080
 
#define MV88E1512_MAC_INT_STAT_FIFO_IDLE_INSERTED   0x0008
 
#define MV88E1512_MAC_INT_STAT_FIFO_IDLE_DELETED   0x0004
 
#define MV88E1512_MAC_CTRL2_COPPER_LINE_LOOPBACK   0x4000
 
#define MV88E1512_MAC_CTRL2_DEFAULT_MAC_IF_SPEED_LSB   0x2000
 
#define MV88E1512_MAC_CTRL2_DEFAULT_MAC_IF_SPEED_MSB   0x0040
 
#define MV88E1512_MAC_CTRL2_RGMII_RX_TIMING_CTRL   0x0020
 
#define MV88E1512_MAC_CTRL2_RGMII_TX_TIMING_CTRL   0x0010
 
#define MV88E1512_MAC_CTRL2_BLOCK_CARRIER_EXTENSION   0x0008
 
#define MV88E1512_RGMII_OUT_IMP_CAL_VDDO_LEVEL   0x2000
 
#define MV88E1512_RGMII_OUT_IMP_CAL_1V8_VDDO_USED   0x1000
 
#define MV88E1512_LED_FUNC_CTRL_LED2_CTRL   0x0F00
 
#define MV88E1512_LED_FUNC_CTRL_LED2_CTRL_LINK   0x0000
 
#define MV88E1512_LED_FUNC_CTRL_LED2_CTRL_LINK_ACT   0x0100
 
#define MV88E1512_LED_FUNC_CTRL_LED2_CTRL_DUPLEX_COL   0x0200
 
#define MV88E1512_LED_FUNC_CTRL_LED2_CTRL_ACT   0x0300
 
#define MV88E1512_LED_FUNC_CTRL_LED2_CTRL_ACT_BLINK   0x0400
 
#define MV88E1512_LED_FUNC_CTRL_LED2_CTRL_TX   0x0500
 
#define MV88E1512_LED_FUNC_CTRL_LED2_CTRL_SPEED_10_1000   0x0600
 
#define MV88E1512_LED_FUNC_CTRL_LED2_CTRL_SPEED_10   0x0700
 
#define MV88E1512_LED_FUNC_CTRL_LED2_CTRL_FORCE_OFF   0x0800
 
#define MV88E1512_LED_FUNC_CTRL_LED2_CTRL_FORCE_ON   0x0900
 
#define MV88E1512_LED_FUNC_CTRL_LED2_CTRL_FORCE_HIZ   0x0A00
 
#define MV88E1512_LED_FUNC_CTRL_LED2_CTRL_FORCE_BLINK   0x0B00
 
#define MV88E1512_LED_FUNC_CTRL_LED1_CTRL   0x00F0
 
#define MV88E1512_LED_FUNC_CTRL_LED1_CTRL_LINK   0x0000
 
#define MV88E1512_LED_FUNC_CTRL_LED1_CTRL_LINK_ACT   0x0010
 
#define MV88E1512_LED_FUNC_CTRL_LED1_CTRL_DUPLEX_COL   0x0020
 
#define MV88E1512_LED_FUNC_CTRL_LED1_CTRL_ACT   0x0030
 
#define MV88E1512_LED_FUNC_CTRL_LED1_CTRL_ACT_BLINK   0x0040
 
#define MV88E1512_LED_FUNC_CTRL_LED1_CTRL_TX   0x0050
 
#define MV88E1512_LED_FUNC_CTRL_LED1_CTRL_SPEED_10_1000   0x0060
 
#define MV88E1512_LED_FUNC_CTRL_LED1_CTRL_SPEED_10   0x0070
 
#define MV88E1512_LED_FUNC_CTRL_LED1_CTRL_FORCE_OFF   0x0080
 
#define MV88E1512_LED_FUNC_CTRL_LED1_CTRL_FORCE_ON   0x0090
 
#define MV88E1512_LED_FUNC_CTRL_LED1_CTRL_FORCE_HIZ   0x00A0
 
#define MV88E1512_LED_FUNC_CTRL_LED1_CTRL_FORCE_BLINK   0x00B0
 
#define MV88E1512_LED_FUNC_CTRL_LED0_CTRL   0x000F
 
#define MV88E1512_LED_FUNC_CTRL_LED0_CTRL_LINK   0x0000
 
#define MV88E1512_LED_FUNC_CTRL_LED0_CTRL_LINK_ACT   0x0001
 
#define MV88E1512_LED_FUNC_CTRL_LED0_CTRL_DUPLEX_COL   0x0002
 
#define MV88E1512_LED_FUNC_CTRL_LED0_CTRL_ACT   0x0003
 
#define MV88E1512_LED_FUNC_CTRL_LED0_CTRL_ACT_BLINK   0x0004
 
#define MV88E1512_LED_FUNC_CTRL_LED0_CTRL_TX   0x0005
 
#define MV88E1512_LED_FUNC_CTRL_LED0_CTRL_SPEED_10_1000   0x0006
 
#define MV88E1512_LED_FUNC_CTRL_LED0_CTRL_SPEED_10   0x0007
 
#define MV88E1512_LED_FUNC_CTRL_LED0_CTRL_FORCE_OFF   0x0008
 
#define MV88E1512_LED_FUNC_CTRL_LED0_CTRL_FORCE_ON   0x0009
 
#define MV88E1512_LED_FUNC_CTRL_LED0_CTRL_FORCE_HIZ   0x000A
 
#define MV88E1512_LED_FUNC_CTRL_LED0_CTRL_FORCE_BLINK   0x000B
 
#define MV88E1512_LED_POL_CTRL_LED1_MIX_PERCENT   0xF000
 
#define MV88E1512_LED_POL_CTRL_LED0_MIX_PERCENT   0x0F00
 
#define MV88E1512_LED_POL_CTRL_LED2_POL   0x0030
 
#define MV88E1512_LED_POL_CTRL_LED2_POL_ON_LOW_OFF_HIGH   0x0000
 
#define MV88E1512_LED_POL_CTRL_LED2_POL_ON_HIGH_OFF_LOW   0x0010
 
#define MV88E1512_LED_POL_CTRL_LED2_POL_ON_LOW_OFF_TRISTATE   0x0020
 
#define MV88E1512_LED_POL_CTRL_LED2_POL_ON_HIGH_OFF_TRISTATE   0x0030
 
#define MV88E1512_LED_POL_CTRL_LED1_POL   0x000C
 
#define MV88E1512_LED_POL_CTRL_LED1_POL_ON_LOW_OFF_HIGH   0x0000
 
#define MV88E1512_LED_POL_CTRL_LED1_POL_ON_HIGH_OFF_LOW   0x0004
 
#define MV88E1512_LED_POL_CTRL_LED1_POL_ON_LOW_OFF_TRISTATE   0x0008
 
#define MV88E1512_LED_POL_CTRL_LED1_POL_ON_HIGH_OFF_TRISTATE   0x000C
 
#define MV88E1512_LED_POL_CTRL_LED0_POL   0x0003
 
#define MV88E1512_LED_POL_CTRL_LED0_POL_ON_LOW_OFF_HIGH   0x0000
 
#define MV88E1512_LED_POL_CTRL_LED0_POL_ON_HIGH_OFF_LOW   0x0001
 
#define MV88E1512_LED_POL_CTRL_LED0_POL_ON_LOW_OFF_TRISTATE   0x0002
 
#define MV88E1512_LED_POL_CTRL_LED0_POL_ON_HIGH_OFF_TRISTATE   0x0003
 
#define MV88E1512_LED_TIMER_CTRL_FORCE_INT   0x8000
 
#define MV88E1512_LED_TIMER_CTRL_PULSE_STRETCH   0x7000
 
#define MV88E1512_LED_TIMER_CTRL_PULSE_STRETCH_NO   0x0000
 
#define MV88E1512_LED_TIMER_CTRL_PULSE_STRETCH_21MS_TO_42MS   0x1000
 
#define MV88E1512_LED_TIMER_CTRL_PULSE_STRETCH_42MS_TO_84MS   0x2000
 
#define MV88E1512_LED_TIMER_CTRL_PULSE_STRETCH_84MS_TO_170MS   0x3000
 
#define MV88E1512_LED_TIMER_CTRL_PULSE_STRETCH_170MS_TO_340MS   0x4000
 
#define MV88E1512_LED_TIMER_CTRL_PULSE_STRETCH_340MS_TO_670MS   0x5000
 
#define MV88E1512_LED_TIMER_CTRL_PULSE_STRETCH_670MS_TO_1_3S   0x6000
 
#define MV88E1512_LED_TIMER_CTRL_PULSE_STRETCH_1_3S_TO_2_7S   0x7000
 
#define MV88E1512_LED_TIMER_CTRL_INT_POL   0x0800
 
#define MV88E1512_LED_TIMER_CTRL_BLINK_RATE   0x0700
 
#define MV88E1512_LED_TIMER_CTRL_BLINK_RATE_42MS   0x0000
 
#define MV88E1512_LED_TIMER_CTRL_BLINK_RATE_84MS   0x0100
 
#define MV88E1512_LED_TIMER_CTRL_BLINK_RATE_170MS   0x0200
 
#define MV88E1512_LED_TIMER_CTRL_BLINK_RATE_340MS   0x0300
 
#define MV88E1512_LED_TIMER_CTRL_BLINK_RATE_670MS   0x0400
 
#define MV88E1512_LED_TIMER_CTRL_INT_EN   0x0080
 
#define MV88E1512_LED_TIMER_CTRL_SPEED_OFF_PULSE   0x000C
 
#define MV88E1512_LED_TIMER_CTRL_SPEED_OFF_PULSE_84MS   0x0000
 
#define MV88E1512_LED_TIMER_CTRL_SPEED_OFF_PULSE_170MS   0x0004
 
#define MV88E1512_LED_TIMER_CTRL_SPEED_OFF_PULSE_340MS   0x0008
 
#define MV88E1512_LED_TIMER_CTRL_SPEED_OFF_PULSE_670MS   0x000C
 
#define MV88E1512_LED_TIMER_CTRL_SPEED_ON_PULSE   0x0003
 
#define MV88E1512_LED_TIMER_CTRL_SPEED_ON_PULSE_84MS   0x0000
 
#define MV88E1512_LED_TIMER_CTRL_SPEED_ON_PULSE_170MS   0x0001
 
#define MV88E1512_LED_TIMER_CTRL_SPEED_ON_PULSE_340MS   0x0002
 
#define MV88E1512_LED_TIMER_CTRL_SPEED_ON_PULSE_670MS   0x0003
 
#define MV88E1512_1000BT_PAIR_SKEW_PAIR_7_8_MDI3   0xF000
 
#define MV88E1512_1000BT_PAIR_SKEW_PAIR_4_5_MDI2   0x0F00
 
#define MV88E1512_1000BT_PAIR_SKEW_PAIR_3_6_MDI1   0x00F0
 
#define MV88E1512_1000BT_PAIR_SKEW_PAIR_1_2_MDI0   0x000F
 
#define MV88E1512_1000BT_PAIR_SWAP_POL_REG_20_5_21_5_VALID   0x0040
 
#define MV88E1512_1000BT_PAIR_SWAP_POL_C_D_CROSSOVER   0x0020
 
#define MV88E1512_1000BT_PAIR_SWAP_POL_A_B_CROSSOVER   0x0010
 
#define MV88E1512_1000BT_PAIR_SWAP_POL_PAIR_7_8_POL   0x0008
 
#define MV88E1512_1000BT_PAIR_SWAP_POL_PAIR_4_5_POL   0x0004
 
#define MV88E1512_1000BT_PAIR_SWAP_POL_PAIR_3_6_POL   0x0002
 
#define MV88E1512_1000BT_PAIR_SWAP_POL_PAIR_1_2_POL   0x0001
 

Functions

error_t mv88e1512Init (NetInterface *interface)
 88E1512 PHY transceiver initialization More...
 
void mv88e1512InitHook (NetInterface *interface)
 88E1512 custom configuration More...
 
void mv88e1512Tick (NetInterface *interface)
 88E1512 timer handler More...
 
void mv88e1512EnableIrq (NetInterface *interface)
 Enable interrupts. More...
 
void mv88e1512DisableIrq (NetInterface *interface)
 Disable interrupts. More...
 
void mv88e1512EventHandler (NetInterface *interface)
 88E1512 event handler More...
 
void mv88e1512WritePhyReg (NetInterface *interface, uint8_t address, uint16_t data)
 Write PHY register. More...
 
uint16_t mv88e1512ReadPhyReg (NetInterface *interface, uint8_t address)
 Read PHY register. More...
 
void mv88e1512DumpPhyReg (NetInterface *interface)
 Dump PHY registers for debugging purpose. More...
 

Variables

const PhyDriver mv88e1512PhyDriver
 88E1512 Ethernet PHY driver More...
 

Detailed Description

88E1512 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 mv88e1512_driver.h.

Macro Definition Documentation

◆ MV88E1512_1000BT_PAIR_SKEW

#define MV88E1512_1000BT_PAIR_SKEW   0x14

Definition at line 99 of file mv88e1512_driver.h.

◆ MV88E1512_1000BT_PAIR_SKEW_PAIR_1_2_MDI0

#define MV88E1512_1000BT_PAIR_SKEW_PAIR_1_2_MDI0   0x000F

Definition at line 576 of file mv88e1512_driver.h.

◆ MV88E1512_1000BT_PAIR_SKEW_PAIR_3_6_MDI1

#define MV88E1512_1000BT_PAIR_SKEW_PAIR_3_6_MDI1   0x00F0

Definition at line 575 of file mv88e1512_driver.h.

◆ MV88E1512_1000BT_PAIR_SKEW_PAIR_4_5_MDI2

#define MV88E1512_1000BT_PAIR_SKEW_PAIR_4_5_MDI2   0x0F00

Definition at line 574 of file mv88e1512_driver.h.

◆ MV88E1512_1000BT_PAIR_SKEW_PAIR_7_8_MDI3

#define MV88E1512_1000BT_PAIR_SKEW_PAIR_7_8_MDI3   0xF000

Definition at line 573 of file mv88e1512_driver.h.

◆ MV88E1512_1000BT_PAIR_SWAP_POL

#define MV88E1512_1000BT_PAIR_SWAP_POL   0x15

Definition at line 100 of file mv88e1512_driver.h.

◆ MV88E1512_1000BT_PAIR_SWAP_POL_A_B_CROSSOVER

#define MV88E1512_1000BT_PAIR_SWAP_POL_A_B_CROSSOVER   0x0010

Definition at line 581 of file mv88e1512_driver.h.

◆ MV88E1512_1000BT_PAIR_SWAP_POL_C_D_CROSSOVER

#define MV88E1512_1000BT_PAIR_SWAP_POL_C_D_CROSSOVER   0x0020

Definition at line 580 of file mv88e1512_driver.h.

◆ MV88E1512_1000BT_PAIR_SWAP_POL_PAIR_1_2_POL

#define MV88E1512_1000BT_PAIR_SWAP_POL_PAIR_1_2_POL   0x0001

Definition at line 585 of file mv88e1512_driver.h.

◆ MV88E1512_1000BT_PAIR_SWAP_POL_PAIR_3_6_POL

#define MV88E1512_1000BT_PAIR_SWAP_POL_PAIR_3_6_POL   0x0002

Definition at line 584 of file mv88e1512_driver.h.

◆ MV88E1512_1000BT_PAIR_SWAP_POL_PAIR_4_5_POL

#define MV88E1512_1000BT_PAIR_SWAP_POL_PAIR_4_5_POL   0x0004

Definition at line 583 of file mv88e1512_driver.h.

◆ MV88E1512_1000BT_PAIR_SWAP_POL_PAIR_7_8_POL

#define MV88E1512_1000BT_PAIR_SWAP_POL_PAIR_7_8_POL   0x0008

Definition at line 582 of file mv88e1512_driver.h.

◆ MV88E1512_1000BT_PAIR_SWAP_POL_REG_20_5_21_5_VALID

#define MV88E1512_1000BT_PAIR_SWAP_POL_REG_20_5_21_5_VALID   0x0040

Definition at line 579 of file mv88e1512_driver.h.

◆ MV88E1512_CHECKER_CTRL

#define MV88E1512_CHECKER_CTRL   0x12

Definition at line 105 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_ANAR

#define MV88E1512_COPPER_ANAR   0x04

Definition at line 49 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_ANAR_100BT4

#define MV88E1512_COPPER_ANAR_100BT4   0x0200

Definition at line 159 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_ANAR_100BTX_FD

#define MV88E1512_COPPER_ANAR_100BTX_FD   0x0100

Definition at line 160 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_ANAR_100BTX_HD

#define MV88E1512_COPPER_ANAR_100BTX_HD   0x0080

Definition at line 161 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_ANAR_10BT_FD

#define MV88E1512_COPPER_ANAR_10BT_FD   0x0040

Definition at line 162 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_ANAR_10BT_HD

#define MV88E1512_COPPER_ANAR_10BT_HD   0x0020

Definition at line 163 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_ANAR_ACK

#define MV88E1512_COPPER_ANAR_ACK   0x4000

Definition at line 155 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_ANAR_ASYM_PAUSE

#define MV88E1512_COPPER_ANAR_ASYM_PAUSE   0x0800

Definition at line 157 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_ANAR_NEXT_PAGE

#define MV88E1512_COPPER_ANAR_NEXT_PAGE   0x8000

Definition at line 154 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_ANAR_PAUSE

#define MV88E1512_COPPER_ANAR_PAUSE   0x0400

Definition at line 158 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_ANAR_REMOTE_FAULT

#define MV88E1512_COPPER_ANAR_REMOTE_FAULT   0x2000

Definition at line 156 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_ANAR_SELECTOR

#define MV88E1512_COPPER_ANAR_SELECTOR   0x001F

Definition at line 164 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_ANAR_SELECTOR_DEFAULT

#define MV88E1512_COPPER_ANAR_SELECTOR_DEFAULT   0x0001

Definition at line 165 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_ANER

#define MV88E1512_COPPER_ANER   0x06

Definition at line 51 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_ANER_LP_AN_ABLE

#define MV88E1512_COPPER_ANER_LP_AN_ABLE   0x0001

Definition at line 187 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_ANER_LP_NEXT_PAGE_ABLE

#define MV88E1512_COPPER_ANER_LP_NEXT_PAGE_ABLE   0x0008

Definition at line 184 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_ANER_NEXT_PAGE_ABLE

#define MV88E1512_COPPER_ANER_NEXT_PAGE_ABLE   0x0004

Definition at line 185 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_ANER_PAGE_RECEIVED

#define MV88E1512_COPPER_ANER_PAGE_RECEIVED   0x0002

Definition at line 186 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_ANER_PAR_DETECT_FAULT

#define MV88E1512_COPPER_ANER_PAR_DETECT_FAULT   0x0010

Definition at line 183 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_ANLPAR

#define MV88E1512_COPPER_ANLPAR   0x05

Definition at line 50 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_ANLPAR_100BT4

#define MV88E1512_COPPER_ANLPAR_100BT4   0x0200

Definition at line 174 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_ANLPAR_100BTX_FD

#define MV88E1512_COPPER_ANLPAR_100BTX_FD   0x0100

Definition at line 175 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_ANLPAR_100BTX_HD

#define MV88E1512_COPPER_ANLPAR_100BTX_HD   0x0080

Definition at line 176 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_ANLPAR_10BT_FD

#define MV88E1512_COPPER_ANLPAR_10BT_FD   0x0040

Definition at line 177 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_ANLPAR_10BT_HD

#define MV88E1512_COPPER_ANLPAR_10BT_HD   0x0020

Definition at line 178 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_ANLPAR_ACK

#define MV88E1512_COPPER_ANLPAR_ACK   0x4000

Definition at line 169 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_ANLPAR_ASYM_PAUSE

#define MV88E1512_COPPER_ANLPAR_ASYM_PAUSE   0x0800

Definition at line 172 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_ANLPAR_NEXT_PAGE

#define MV88E1512_COPPER_ANLPAR_NEXT_PAGE   0x8000

Definition at line 168 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_ANLPAR_PAUSE

#define MV88E1512_COPPER_ANLPAR_PAUSE   0x0400

Definition at line 173 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_ANLPAR_REMOTE_FAULT

#define MV88E1512_COPPER_ANLPAR_REMOTE_FAULT   0x2000

Definition at line 170 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_ANLPAR_SELECTOR

#define MV88E1512_COPPER_ANLPAR_SELECTOR   0x001F

Definition at line 179 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_ANLPAR_SELECTOR_DEFAULT

#define MV88E1512_COPPER_ANLPAR_SELECTOR_DEFAULT   0x0001

Definition at line 180 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_ANLPAR_TECH_ABLE

#define MV88E1512_COPPER_ANLPAR_TECH_ABLE   0x1000

Definition at line 171 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_ANLPNPR

#define MV88E1512_COPPER_ANLPNPR   0x08

Definition at line 53 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_ANLPNPR_ACK

#define MV88E1512_COPPER_ANLPNPR_ACK   0x4000

Definition at line 198 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_ANLPNPR_ACK2

#define MV88E1512_COPPER_ANLPNPR_ACK2   0x1000

Definition at line 200 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_ANLPNPR_MESSAGE

#define MV88E1512_COPPER_ANLPNPR_MESSAGE   0x07FF

Definition at line 202 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_ANLPNPR_MSG_PAGE

#define MV88E1512_COPPER_ANLPNPR_MSG_PAGE   0x2000

Definition at line 199 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_ANLPNPR_NEXT_PAGE

#define MV88E1512_COPPER_ANLPNPR_NEXT_PAGE   0x8000

Definition at line 197 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_ANLPNPR_TOGGLE

#define MV88E1512_COPPER_ANLPNPR_TOGGLE   0x0800

Definition at line 201 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_ANNPTR

#define MV88E1512_COPPER_ANNPTR   0x07

Definition at line 52 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_ANNPTR_ACK2

#define MV88E1512_COPPER_ANNPTR_ACK2   0x1000

Definition at line 192 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_ANNPTR_MESSAGE

#define MV88E1512_COPPER_ANNPTR_MESSAGE   0x07FF

Definition at line 194 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_ANNPTR_MSG_PAGE

#define MV88E1512_COPPER_ANNPTR_MSG_PAGE   0x2000

Definition at line 191 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_ANNPTR_NEXT_PAGE

#define MV88E1512_COPPER_ANNPTR_NEXT_PAGE   0x8000

Definition at line 190 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_ANNPTR_TOGGLE

#define MV88E1512_COPPER_ANNPTR_TOGGLE   0x0800

Definition at line 193 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_CRC_COUNTERS

#define MV88E1512_COPPER_CRC_COUNTERS   0x11

Definition at line 104 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_CTRL

#define MV88E1512_COPPER_CTRL   0x00

Definition at line 45 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_CTRL1

#define MV88E1512_COPPER_CTRL1   0x10

Definition at line 57 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_CTRL1_ENERGY_DETECT

#define MV88E1512_COPPER_CTRL1_ENERGY_DETECT   0x0300

Definition at line 230 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_CTRL1_FORCE_LINK_GOOD

#define MV88E1512_COPPER_CTRL1_FORCE_LINK_GOOD   0x0400

Definition at line 229 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_CTRL1_JABBER_DIS

#define MV88E1512_COPPER_CTRL1_JABBER_DIS   0x0001

Definition at line 238 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_CTRL1_LINK_PULSE_DIS

#define MV88E1512_COPPER_CTRL1_LINK_PULSE_DIS   0x8000

Definition at line 228 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_CTRL1_MDI_CROSSOVER_MODE

#define MV88E1512_COPPER_CTRL1_MDI_CROSSOVER_MODE   0x0060

Definition at line 231 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_CTRL1_MDI_CROSSOVER_MODE_AUTO

#define MV88E1512_COPPER_CTRL1_MDI_CROSSOVER_MODE_AUTO   0x0060

Definition at line 234 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_CTRL1_MDI_CROSSOVER_MODE_MANUAL_MDI

#define MV88E1512_COPPER_CTRL1_MDI_CROSSOVER_MODE_MANUAL_MDI   0x0000

Definition at line 232 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_CTRL1_MDI_CROSSOVER_MODE_MANUAL_MDIX

#define MV88E1512_COPPER_CTRL1_MDI_CROSSOVER_MODE_MANUAL_MDIX   0x0020

Definition at line 233 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_CTRL1_POLARITY_REVERSAL_DIS

#define MV88E1512_COPPER_CTRL1_POLARITY_REVERSAL_DIS   0x0002

Definition at line 237 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_CTRL1_POWER_DOWN

#define MV88E1512_COPPER_CTRL1_POWER_DOWN   0x0004

Definition at line 236 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_CTRL1_TX_DIS

#define MV88E1512_COPPER_CTRL1_TX_DIS   0x0008

Definition at line 235 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_CTRL2

#define MV88E1512_COPPER_CTRL2   0x14

Definition at line 61 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_CTRL2_BREAK_LINK_ON_INSUF_IPG

#define MV88E1512_COPPER_CTRL2_BREAK_LINK_ON_INSUF_IPG   0x0040

Definition at line 288 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_CTRL2_REVERSE_MDIPN0_TX_POL

#define MV88E1512_COPPER_CTRL2_REVERSE_MDIPN0_TX_POL   0x0001

Definition at line 292 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_CTRL2_REVERSE_MDIPN1_TX_POL

#define MV88E1512_COPPER_CTRL2_REVERSE_MDIPN1_TX_POL   0x0002

Definition at line 291 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_CTRL2_REVERSE_MDIPN2_TX_POL

#define MV88E1512_COPPER_CTRL2_REVERSE_MDIPN2_TX_POL   0x0004

Definition at line 290 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_CTRL2_REVERSE_MDIPN3_TX_POL

#define MV88E1512_COPPER_CTRL2_REVERSE_MDIPN3_TX_POL   0x0008

Definition at line 289 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_CTRL_AN_EN

#define MV88E1512_COPPER_CTRL_AN_EN   0x1000

Definition at line 117 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_CTRL_COL_TEST

#define MV88E1512_COPPER_CTRL_COL_TEST   0x0080

Definition at line 122 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_CTRL_DUPLEX_MODE

#define MV88E1512_COPPER_CTRL_DUPLEX_MODE   0x0100

Definition at line 121 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_CTRL_ISOLATE

#define MV88E1512_COPPER_CTRL_ISOLATE   0x0400

Definition at line 119 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_CTRL_LOOPBACK

#define MV88E1512_COPPER_CTRL_LOOPBACK   0x4000

Definition at line 115 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_CTRL_POWER_DOWN

#define MV88E1512_COPPER_CTRL_POWER_DOWN   0x0800

Definition at line 118 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_CTRL_RESET

#define MV88E1512_COPPER_CTRL_RESET   0x8000

Definition at line 114 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_CTRL_RESTART_AN

#define MV88E1512_COPPER_CTRL_RESTART_AN   0x0200

Definition at line 120 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_CTRL_SPEED_SEL_LSB

#define MV88E1512_COPPER_CTRL_SPEED_SEL_LSB   0x2000

Definition at line 116 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_CTRL_SPEED_SEL_MSB

#define MV88E1512_COPPER_CTRL_SPEED_SEL_MSB   0x0040

Definition at line 123 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_INT_EN

#define MV88E1512_COPPER_INT_EN   0x12

Definition at line 59 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_INT_EN_AN_COMPLETE

#define MV88E1512_COPPER_INT_EN_AN_COMPLETE   0x0800

Definition at line 262 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_INT_EN_AN_ERROR

#define MV88E1512_COPPER_INT_EN_AN_ERROR   0x8000

Definition at line 258 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_INT_EN_DUPLEX_CHANGED

#define MV88E1512_COPPER_INT_EN_DUPLEX_CHANGED   0x2000

Definition at line 260 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_INT_EN_ENERGY_DETECT

#define MV88E1512_COPPER_INT_EN_ENERGY_DETECT   0x0010

Definition at line 267 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_INT_EN_FALSE_CARRIER

#define MV88E1512_COPPER_INT_EN_FALSE_CARRIER   0x0100

Definition at line 265 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_INT_EN_FLP_COMPLETE

#define MV88E1512_COPPER_INT_EN_FLP_COMPLETE   0x0008

Definition at line 268 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_INT_EN_JABBER

#define MV88E1512_COPPER_INT_EN_JABBER   0x0001

Definition at line 270 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_INT_EN_LINK_STATUS_CHANGED

#define MV88E1512_COPPER_INT_EN_LINK_STATUS_CHANGED   0x0400

Definition at line 263 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_INT_EN_MDI_CROSSOVER_CHANGED

#define MV88E1512_COPPER_INT_EN_MDI_CROSSOVER_CHANGED   0x0040

Definition at line 266 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_INT_EN_PAGE_RECEIVED

#define MV88E1512_COPPER_INT_EN_PAGE_RECEIVED   0x1000

Definition at line 261 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_INT_EN_POLARITY_CHANGED

#define MV88E1512_COPPER_INT_EN_POLARITY_CHANGED   0x0002

Definition at line 269 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_INT_EN_SPEED_CHANGED

#define MV88E1512_COPPER_INT_EN_SPEED_CHANGED   0x4000

Definition at line 259 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_INT_EN_SYMBOL_ERROR

#define MV88E1512_COPPER_INT_EN_SYMBOL_ERROR   0x0200

Definition at line 264 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_INT_STAT

#define MV88E1512_COPPER_INT_STAT   0x13

Definition at line 60 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_INT_STAT_AN_COMPLETE

#define MV88E1512_COPPER_INT_STAT_AN_COMPLETE   0x0800

Definition at line 277 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_INT_STAT_AN_ERROR

#define MV88E1512_COPPER_INT_STAT_AN_ERROR   0x8000

Definition at line 273 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_INT_STAT_DUPLEX_CHANGED

#define MV88E1512_COPPER_INT_STAT_DUPLEX_CHANGED   0x2000

Definition at line 275 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_INT_STAT_ENERGY_DETECT

#define MV88E1512_COPPER_INT_STAT_ENERGY_DETECT   0x0010

Definition at line 282 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_INT_STAT_FALSE_CARRIER

#define MV88E1512_COPPER_INT_STAT_FALSE_CARRIER   0x0100

Definition at line 280 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_INT_STAT_FLP_COMPLETE

#define MV88E1512_COPPER_INT_STAT_FLP_COMPLETE   0x0008

Definition at line 283 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_INT_STAT_JABBER

#define MV88E1512_COPPER_INT_STAT_JABBER   0x0001

Definition at line 285 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_INT_STAT_LINK_STATUS_CHANGED

#define MV88E1512_COPPER_INT_STAT_LINK_STATUS_CHANGED   0x0400

Definition at line 278 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_INT_STAT_MDI_CROSSOVER_CHANGED

#define MV88E1512_COPPER_INT_STAT_MDI_CROSSOVER_CHANGED   0x0040

Definition at line 281 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_INT_STAT_PAGE_RECEIVED

#define MV88E1512_COPPER_INT_STAT_PAGE_RECEIVED   0x1000

Definition at line 276 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_INT_STAT_POLARITY_CHANGED

#define MV88E1512_COPPER_INT_STAT_POLARITY_CHANGED   0x0002

Definition at line 284 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_INT_STAT_SPEED_CHANGED

#define MV88E1512_COPPER_INT_STAT_SPEED_CHANGED   0x4000

Definition at line 274 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_INT_STAT_SYMBOL_ERROR

#define MV88E1512_COPPER_INT_STAT_SYMBOL_ERROR   0x0200

Definition at line 279 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_PHYID1

#define MV88E1512_COPPER_PHYID1   0x02

Definition at line 47 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_PHYID1_OUI_MSB

#define MV88E1512_COPPER_PHYID1_OUI_MSB   0xFFFF

Definition at line 143 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_PHYID1_OUI_MSB_DEFAULT

#define MV88E1512_COPPER_PHYID1_OUI_MSB_DEFAULT   0x0141

Definition at line 144 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_PHYID2

#define MV88E1512_COPPER_PHYID2   0x03

Definition at line 48 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_PHYID2_MODEL_NUM

#define MV88E1512_COPPER_PHYID2_MODEL_NUM   0x03F0

Definition at line 149 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_PHYID2_MODEL_NUM_DEFAULT

#define MV88E1512_COPPER_PHYID2_MODEL_NUM_DEFAULT   0x01D0

Definition at line 150 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_PHYID2_OUI_LSB

#define MV88E1512_COPPER_PHYID2_OUI_LSB   0xFC00

Definition at line 147 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_PHYID2_OUI_LSB_DEFAULT

#define MV88E1512_COPPER_PHYID2_OUI_LSB_DEFAULT   0x0C00

Definition at line 148 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_PHYID2_REVISION_NUM

#define MV88E1512_COPPER_PHYID2_REVISION_NUM   0x000F

Definition at line 151 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_PKT_GEN

#define MV88E1512_COPPER_PKT_GEN   0x10

Definition at line 103 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_PKT_GEN_IPG_CTRL

#define MV88E1512_COPPER_PKT_GEN_IPG_CTRL   0x13

Definition at line 106 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_RX_ERR_COUNTER

#define MV88E1512_COPPER_RX_ERR_COUNTER   0x15

Definition at line 62 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_STAT

#define MV88E1512_COPPER_STAT   0x01

Definition at line 46 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_STAT1

#define MV88E1512_COPPER_STAT1   0x11

Definition at line 58 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_STAT1_DUPLEX

#define MV88E1512_COPPER_STAT1_DUPLEX   0x2000

Definition at line 245 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_STAT1_ENERGY_DETECT_STATUS

#define MV88E1512_COPPER_STAT1_ENERGY_DETECT_STATUS   0x0010

Definition at line 252 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_STAT1_GLOBAL_LINK_STATUS

#define MV88E1512_COPPER_STAT1_GLOBAL_LINK_STATUS   0x0008

Definition at line 253 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_STAT1_JABBER

#define MV88E1512_COPPER_STAT1_JABBER   0x0001

Definition at line 255 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_STAT1_LINK

#define MV88E1512_COPPER_STAT1_LINK   0x0400

Definition at line 248 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_STAT1_MDI_CROSSOVER_STATUS

#define MV88E1512_COPPER_STAT1_MDI_CROSSOVER_STATUS   0x0040

Definition at line 251 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_STAT1_PAGE_RECEIVED

#define MV88E1512_COPPER_STAT1_PAGE_RECEIVED   0x1000

Definition at line 246 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_STAT1_POLARITY

#define MV88E1512_COPPER_STAT1_POLARITY   0x0002

Definition at line 254 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_STAT1_RX_PAUSE_EN

#define MV88E1512_COPPER_STAT1_RX_PAUSE_EN   0x0100

Definition at line 250 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_STAT1_SPEED

#define MV88E1512_COPPER_STAT1_SPEED   0xC000

Definition at line 241 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_STAT1_SPEED_1000MBPS

#define MV88E1512_COPPER_STAT1_SPEED_1000MBPS   0x8000

Definition at line 244 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_STAT1_SPEED_100MBPS

#define MV88E1512_COPPER_STAT1_SPEED_100MBPS   0x4000

Definition at line 243 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_STAT1_SPEED_10MBPS

#define MV88E1512_COPPER_STAT1_SPEED_10MBPS   0x0000

Definition at line 242 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_STAT1_SPEED_DUPLEX_RESOLVED

#define MV88E1512_COPPER_STAT1_SPEED_DUPLEX_RESOLVED   0x0800

Definition at line 247 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_STAT1_TX_PAUSE_EN

#define MV88E1512_COPPER_STAT1_TX_PAUSE_EN   0x0200

Definition at line 249 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_STAT_100BT2_FD

#define MV88E1512_COPPER_STAT_100BT2_FD   0x0400

Definition at line 131 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_STAT_100BT2_HD

#define MV88E1512_COPPER_STAT_100BT2_HD   0x0200

Definition at line 132 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_STAT_100BT4

#define MV88E1512_COPPER_STAT_100BT4   0x8000

Definition at line 126 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_STAT_100BTX_FD

#define MV88E1512_COPPER_STAT_100BTX_FD   0x4000

Definition at line 127 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_STAT_100BTX_HD

#define MV88E1512_COPPER_STAT_100BTX_HD   0x2000

Definition at line 128 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_STAT_10BT_FD

#define MV88E1512_COPPER_STAT_10BT_FD   0x1000

Definition at line 129 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_STAT_10BT_HD

#define MV88E1512_COPPER_STAT_10BT_HD   0x0800

Definition at line 130 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_STAT_AN_CAPABLE

#define MV88E1512_COPPER_STAT_AN_CAPABLE   0x0008

Definition at line 137 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_STAT_AN_COMPLETE

#define MV88E1512_COPPER_STAT_AN_COMPLETE   0x0020

Definition at line 135 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_STAT_EXTENDED_CAPABLE

#define MV88E1512_COPPER_STAT_EXTENDED_CAPABLE   0x0001

Definition at line 140 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_STAT_EXTENDED_STATUS

#define MV88E1512_COPPER_STAT_EXTENDED_STATUS   0x0100

Definition at line 133 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_STAT_JABBER_DETECT

#define MV88E1512_COPPER_STAT_JABBER_DETECT   0x0002

Definition at line 139 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_STAT_LINK_STATUS

#define MV88E1512_COPPER_STAT_LINK_STATUS   0x0004

Definition at line 138 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_STAT_MF_PREAMBLE_SUPPR

#define MV88E1512_COPPER_STAT_MF_PREAMBLE_SUPPR   0x0040

Definition at line 134 of file mv88e1512_driver.h.

◆ MV88E1512_COPPER_STAT_REMOTE_FAULT

#define MV88E1512_COPPER_STAT_REMOTE_FAULT   0x0010

Definition at line 136 of file mv88e1512_driver.h.

◆ MV88E1512_EXTENDED_STATUS

#define MV88E1512_EXTENDED_STATUS   0x0F

Definition at line 76 of file mv88e1512_driver.h.

◆ MV88E1512_EXTENDED_STATUS_1000BT_FD

#define MV88E1512_EXTENDED_STATUS_1000BT_FD   0x2000

Definition at line 386 of file mv88e1512_driver.h.

◆ MV88E1512_EXTENDED_STATUS_1000BT_HD

#define MV88E1512_EXTENDED_STATUS_1000BT_HD   0x1000

Definition at line 387 of file mv88e1512_driver.h.

◆ MV88E1512_EXTENDED_STATUS_1000BX_FD

#define MV88E1512_EXTENDED_STATUS_1000BX_FD   0x8000

Definition at line 384 of file mv88e1512_driver.h.

◆ MV88E1512_EXTENDED_STATUS_1000BX_HD

#define MV88E1512_EXTENDED_STATUS_1000BX_HD   0x4000

Definition at line 385 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_ANAR

#define MV88E1512_FIBER_ANAR   0x04

Definition at line 71 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_ANAR_1000BX_FD

#define MV88E1512_FIBER_ANAR_1000BX_FD   0x0020

Definition at line 348 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_ANAR_1000BX_HD

#define MV88E1512_FIBER_ANAR_1000BX_HD   0x0040

Definition at line 347 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_ANAR_NEXT_PAGE

#define MV88E1512_FIBER_ANAR_NEXT_PAGE   0x8000

Definition at line 340 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_ANAR_PAUSE

#define MV88E1512_FIBER_ANAR_PAUSE   0x0180

Definition at line 346 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_ANAR_REMOTE_FAULT

#define MV88E1512_FIBER_ANAR_REMOTE_FAULT   0x3000

Definition at line 341 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_ANAR_REMOTE_FAULT_AN_ERROR

#define MV88E1512_FIBER_ANAR_REMOTE_FAULT_AN_ERROR   0x3000

Definition at line 345 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_ANAR_REMOTE_FAULT_LINK_FAILURE

#define MV88E1512_FIBER_ANAR_REMOTE_FAULT_LINK_FAILURE   0x1000

Definition at line 343 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_ANAR_REMOTE_FAULT_NO_ERROR

#define MV88E1512_FIBER_ANAR_REMOTE_FAULT_NO_ERROR   0x0000

Definition at line 342 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_ANAR_REMOTE_FAULT_OFFLINE

#define MV88E1512_FIBER_ANAR_REMOTE_FAULT_OFFLINE   0x2000

Definition at line 344 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_ANER

#define MV88E1512_FIBER_ANER   0x06

Definition at line 73 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_ANER_LP_AN_ABLE

#define MV88E1512_FIBER_ANER_LP_AN_ABLE   0x0001

Definition at line 366 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_ANER_LP_NEXT_PAGE_ABLE

#define MV88E1512_FIBER_ANER_LP_NEXT_PAGE_ABLE   0x0008

Definition at line 363 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_ANER_NEXT_PAGE_ABLE

#define MV88E1512_FIBER_ANER_NEXT_PAGE_ABLE   0x0004

Definition at line 364 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_ANER_PAGE_RECEIVED

#define MV88E1512_FIBER_ANER_PAGE_RECEIVED   0x0002

Definition at line 365 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_ANLPAR

#define MV88E1512_FIBER_ANLPAR   0x05

Definition at line 72 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_ANLPAR_1000BX_FD

#define MV88E1512_FIBER_ANLPAR_1000BX_FD   0x0020

Definition at line 360 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_ANLPAR_1000BX_HD

#define MV88E1512_FIBER_ANLPAR_1000BX_HD   0x0040

Definition at line 359 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_ANLPAR_ACK

#define MV88E1512_FIBER_ANLPAR_ACK   0x4000

Definition at line 352 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_ANLPAR_ASYM_PAUSE

#define MV88E1512_FIBER_ANLPAR_ASYM_PAUSE   0x0180

Definition at line 358 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_ANLPAR_NEXT_PAGE

#define MV88E1512_FIBER_ANLPAR_NEXT_PAGE   0x8000

Definition at line 351 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_ANLPAR_REMOTE_FAULT

#define MV88E1512_FIBER_ANLPAR_REMOTE_FAULT   0x3000

Definition at line 353 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_ANLPAR_REMOTE_FAULT_AN_ERROR

#define MV88E1512_FIBER_ANLPAR_REMOTE_FAULT_AN_ERROR   0x3000

Definition at line 357 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_ANLPAR_REMOTE_FAULT_LINK_FAILURE

#define MV88E1512_FIBER_ANLPAR_REMOTE_FAULT_LINK_FAILURE   0x1000

Definition at line 355 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_ANLPAR_REMOTE_FAULT_NO_ERROR

#define MV88E1512_FIBER_ANLPAR_REMOTE_FAULT_NO_ERROR   0x0000

Definition at line 354 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_ANLPAR_REMOTE_FAULT_OFFLINE

#define MV88E1512_FIBER_ANLPAR_REMOTE_FAULT_OFFLINE   0x2000

Definition at line 356 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_ANLPNPR

#define MV88E1512_FIBER_ANLPNPR   0x08

Definition at line 75 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_ANLPNPR_ACK

#define MV88E1512_FIBER_ANLPNPR_ACK   0x4000

Definition at line 377 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_ANLPNPR_ACK2

#define MV88E1512_FIBER_ANLPNPR_ACK2   0x1000

Definition at line 379 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_ANLPNPR_MESSAGE

#define MV88E1512_FIBER_ANLPNPR_MESSAGE   0x07FF

Definition at line 381 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_ANLPNPR_MSG_PAGE

#define MV88E1512_FIBER_ANLPNPR_MSG_PAGE   0x2000

Definition at line 378 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_ANLPNPR_NEXT_PAGE

#define MV88E1512_FIBER_ANLPNPR_NEXT_PAGE   0x8000

Definition at line 376 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_ANLPNPR_TOGGLE

#define MV88E1512_FIBER_ANLPNPR_TOGGLE   0x0800

Definition at line 380 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_ANNPTR

#define MV88E1512_FIBER_ANNPTR   0x07

Definition at line 74 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_ANNPTR_ACK2

#define MV88E1512_FIBER_ANNPTR_ACK2   0x1000

Definition at line 371 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_ANNPTR_MESSAGE

#define MV88E1512_FIBER_ANNPTR_MESSAGE   0x07FF

Definition at line 373 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_ANNPTR_MSG_PAGE

#define MV88E1512_FIBER_ANNPTR_MSG_PAGE   0x2000

Definition at line 370 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_ANNPTR_NEXT_PAGE

#define MV88E1512_FIBER_ANNPTR_NEXT_PAGE   0x8000

Definition at line 369 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_ANNPTR_TOGGLE

#define MV88E1512_FIBER_ANNPTR_TOGGLE   0x0800

Definition at line 372 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_CTRL

#define MV88E1512_FIBER_CTRL   0x00

Definition at line 67 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_CTRL1

#define MV88E1512_FIBER_CTRL1   0x10

Definition at line 77 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_CTRL1_ASSERT_CRS_TX

#define MV88E1512_FIBER_CTRL1_ASSERT_CRS_TX   0x0800

Definition at line 391 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_CTRL1_BLOCK_CARRIER_EXTENSION

#define MV88E1512_FIBER_CTRL1_BLOCK_CARRIER_EXTENSION   0x2000

Definition at line 390 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_CTRL1_FORCE_LINK_GOOD

#define MV88E1512_FIBER_CTRL1_FORCE_LINK_GOOD   0x0400

Definition at line 392 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_CTRL1_IEEE_REMOTE_FAULT_IND

#define MV88E1512_FIBER_CTRL1_IEEE_REMOTE_FAULT_IND   0x0010

Definition at line 395 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_CTRL1_INT_POL

#define MV88E1512_FIBER_CTRL1_INT_POL   0x0004

Definition at line 396 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_CTRL1_MARVELL_REMOTE_FAULT_IND

#define MV88E1512_FIBER_CTRL1_MARVELL_REMOTE_FAULT_IND   0x0020

Definition at line 394 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_CTRL1_MODE

#define MV88E1512_FIBER_CTRL1_MODE   0x0003

Definition at line 397 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_CTRL1_SERDES_LOOPBACK_TYPE

#define MV88E1512_FIBER_CTRL1_SERDES_LOOPBACK_TYPE   0x0100

Definition at line 393 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_CTRL2

#define MV88E1512_FIBER_CTRL2   0x1A

Definition at line 84 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_CTRL2_1000BX_NOISE_FILT

#define MV88E1512_FIBER_CTRL2_1000BX_NOISE_FILT   0x4000

Definition at line 449 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_CTRL2_FEFI_EN

#define MV88E1512_FIBER_CTRL2_FEFI_EN   0x0200

Definition at line 450 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_CTRL2_FIBER_TX_DIS

#define MV88E1512_FIBER_CTRL2_FIBER_TX_DIS   0x0008

Definition at line 453 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_CTRL2_FORCE_INT

#define MV88E1512_FIBER_CTRL2_FORCE_INT   0x8000

Definition at line 448 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_CTRL2_SERIAL_IF_AN_BYPASS_EN

#define MV88E1512_FIBER_CTRL2_SERIAL_IF_AN_BYPASS_EN   0x0040

Definition at line 451 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_CTRL2_SERIAL_IF_AN_BYPASS_STATUS

#define MV88E1512_FIBER_CTRL2_SERIAL_IF_AN_BYPASS_STATUS   0x0020

Definition at line 452 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_CTRL2_SGMII_FIBER_OUT_AMPL

#define MV88E1512_FIBER_CTRL2_SGMII_FIBER_OUT_AMPL   0x0007

Definition at line 454 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_CTRL_AN_EN

#define MV88E1512_FIBER_CTRL_AN_EN   0x1000

Definition at line 304 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_CTRL_COL_TEST

#define MV88E1512_FIBER_CTRL_COL_TEST   0x0080

Definition at line 309 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_CTRL_DUPLEX_MODE

#define MV88E1512_FIBER_CTRL_DUPLEX_MODE   0x0100

Definition at line 308 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_CTRL_ISOLATE

#define MV88E1512_FIBER_CTRL_ISOLATE   0x0400

Definition at line 306 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_CTRL_LOOPBACK

#define MV88E1512_FIBER_CTRL_LOOPBACK   0x4000

Definition at line 302 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_CTRL_POWER_DOWN

#define MV88E1512_FIBER_CTRL_POWER_DOWN   0x0800

Definition at line 305 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_CTRL_RESET

#define MV88E1512_FIBER_CTRL_RESET   0x8000

Definition at line 301 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_CTRL_RESTART_AN

#define MV88E1512_FIBER_CTRL_RESTART_AN   0x0200

Definition at line 307 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_CTRL_SPEED_SEL_LSB

#define MV88E1512_FIBER_CTRL_SPEED_SEL_LSB   0x2000

Definition at line 303 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_CTRL_SPEED_SEL_MSB

#define MV88E1512_FIBER_CTRL_SPEED_SEL_MSB   0x0040

Definition at line 310 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_INT_EN

#define MV88E1512_FIBER_INT_EN   0x12

Definition at line 79 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_INT_EN_AN_COMPLETE

#define MV88E1512_FIBER_INT_EN_AN_COMPLETE   0x0800

Definition at line 418 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_INT_EN_DUPLEX_CHANGED

#define MV88E1512_FIBER_INT_EN_DUPLEX_CHANGED   0x2000

Definition at line 416 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_INT_EN_ENERGY_DETECT

#define MV88E1512_FIBER_INT_EN_ENERGY_DETECT   0x0010

Definition at line 424 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_INT_EN_FALSE_CARRIER

#define MV88E1512_FIBER_INT_EN_FALSE_CARRIER   0x0100

Definition at line 421 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_INT_EN_FIFO_OVER_UNDERFLOW

#define MV88E1512_FIBER_INT_EN_FIFO_OVER_UNDERFLOW   0x0080

Definition at line 422 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_INT_EN_LINK_STATUS_CHANGED

#define MV88E1512_FIBER_INT_EN_LINK_STATUS_CHANGED   0x0400

Definition at line 419 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_INT_EN_PAGE_RECEIVED

#define MV88E1512_FIBER_INT_EN_PAGE_RECEIVED   0x1000

Definition at line 417 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_INT_EN_REMOTE_FAULT_RECEIVE

#define MV88E1512_FIBER_INT_EN_REMOTE_FAULT_RECEIVE   0x0020

Definition at line 423 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_INT_EN_SPEED_CHANGED

#define MV88E1512_FIBER_INT_EN_SPEED_CHANGED   0x4000

Definition at line 415 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_INT_EN_SYMBOL_ERROR

#define MV88E1512_FIBER_INT_EN_SYMBOL_ERROR   0x0200

Definition at line 420 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_INT_STAT

#define MV88E1512_FIBER_INT_STAT   0x13

Definition at line 80 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_INT_STAT_AN_COMPLETE

#define MV88E1512_FIBER_INT_STAT_AN_COMPLETE   0x0800

Definition at line 430 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_INT_STAT_DUPLEX_CHANGED

#define MV88E1512_FIBER_INT_STAT_DUPLEX_CHANGED   0x2000

Definition at line 428 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_INT_STAT_ENERGY_DETECT

#define MV88E1512_FIBER_INT_STAT_ENERGY_DETECT   0x0010

Definition at line 436 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_INT_STAT_FALSE_CARRIER

#define MV88E1512_FIBER_INT_STAT_FALSE_CARRIER   0x0100

Definition at line 433 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_INT_STAT_FIFO_OVER_UNDERFLOW

#define MV88E1512_FIBER_INT_STAT_FIFO_OVER_UNDERFLOW   0x0080

Definition at line 434 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_INT_STAT_LINK_STATUS_CHANGED

#define MV88E1512_FIBER_INT_STAT_LINK_STATUS_CHANGED   0x0400

Definition at line 431 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_INT_STAT_PAGE_RECEIVED

#define MV88E1512_FIBER_INT_STAT_PAGE_RECEIVED   0x1000

Definition at line 429 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_INT_STAT_REMOTE_FAULT_RECEIVE

#define MV88E1512_FIBER_INT_STAT_REMOTE_FAULT_RECEIVE   0x0020

Definition at line 435 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_INT_STAT_SPEED_CHANGED

#define MV88E1512_FIBER_INT_STAT_SPEED_CHANGED   0x4000

Definition at line 427 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_INT_STAT_SYMBOL_ERROR

#define MV88E1512_FIBER_INT_STAT_SYMBOL_ERROR   0x0200

Definition at line 432 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_PHYID1

#define MV88E1512_FIBER_PHYID1   0x02

Definition at line 69 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_PHYID1_OUI_MSB

#define MV88E1512_FIBER_PHYID1_OUI_MSB   0xFFFF

Definition at line 329 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_PHYID1_OUI_MSB_DEFAULT

#define MV88E1512_FIBER_PHYID1_OUI_MSB_DEFAULT   0x0141

Definition at line 330 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_PHYID2

#define MV88E1512_FIBER_PHYID2   0x03

Definition at line 70 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_PHYID2_MODEL_NUM

#define MV88E1512_FIBER_PHYID2_MODEL_NUM   0x03F0

Definition at line 335 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_PHYID2_MODEL_NUM_DEFAULT

#define MV88E1512_FIBER_PHYID2_MODEL_NUM_DEFAULT   0x01D0

Definition at line 336 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_PHYID2_OUI_LSB

#define MV88E1512_FIBER_PHYID2_OUI_LSB   0xFC00

Definition at line 333 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_PHYID2_OUI_LSB_DEFAULT

#define MV88E1512_FIBER_PHYID2_OUI_LSB_DEFAULT   0x0C00

Definition at line 334 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_PHYID2_REVISION_NUM

#define MV88E1512_FIBER_PHYID2_REVISION_NUM   0x000F

Definition at line 337 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_STAT

#define MV88E1512_FIBER_STAT   0x01

Definition at line 68 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_STAT1

#define MV88E1512_FIBER_STAT1   0x11

Definition at line 78 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_STAT1_DUPLEX

#define MV88E1512_FIBER_STAT1_DUPLEX   0x2000

Definition at line 404 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_STAT1_ENERGY_DETECT_STATUS

#define MV88E1512_FIBER_STAT1_ENERGY_DETECT_STATUS   0x0010

Definition at line 410 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_STAT1_LINK

#define MV88E1512_FIBER_STAT1_LINK   0x0400

Definition at line 407 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_STAT1_PAGE_RECEIVED

#define MV88E1512_FIBER_STAT1_PAGE_RECEIVED   0x1000

Definition at line 405 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_STAT1_REMOTE_FAULT_RECEIVED

#define MV88E1512_FIBER_STAT1_REMOTE_FAULT_RECEIVED   0x00C0

Definition at line 408 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_STAT1_RX_PAUSE_EN

#define MV88E1512_FIBER_STAT1_RX_PAUSE_EN   0x0004

Definition at line 412 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_STAT1_SPEED

#define MV88E1512_FIBER_STAT1_SPEED   0xC000

Definition at line 400 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_STAT1_SPEED_1000MBPS

#define MV88E1512_FIBER_STAT1_SPEED_1000MBPS   0x8000

Definition at line 403 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_STAT1_SPEED_100MBPS

#define MV88E1512_FIBER_STAT1_SPEED_100MBPS   0x4000

Definition at line 402 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_STAT1_SPEED_10MBPS

#define MV88E1512_FIBER_STAT1_SPEED_10MBPS   0x0000

Definition at line 401 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_STAT1_SPEED_DUPLEX_RESOLVED

#define MV88E1512_FIBER_STAT1_SPEED_DUPLEX_RESOLVED   0x0800

Definition at line 406 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_STAT1_SYNC_STATUS

#define MV88E1512_FIBER_STAT1_SYNC_STATUS   0x0020

Definition at line 409 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_STAT1_TX_PAUSE_EN

#define MV88E1512_FIBER_STAT1_TX_PAUSE_EN   0x0008

Definition at line 411 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_STAT_100BT2_FD

#define MV88E1512_FIBER_STAT_100BT2_FD   0x0400

Definition at line 318 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_STAT_100BT2_HD

#define MV88E1512_FIBER_STAT_100BT2_HD   0x0200

Definition at line 319 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_STAT_100BT4

#define MV88E1512_FIBER_STAT_100BT4   0x8000

Definition at line 313 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_STAT_100BTX_FD

#define MV88E1512_FIBER_STAT_100BTX_FD   0x4000

Definition at line 314 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_STAT_100BTX_HD

#define MV88E1512_FIBER_STAT_100BTX_HD   0x2000

Definition at line 315 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_STAT_10BT_FD

#define MV88E1512_FIBER_STAT_10BT_FD   0x1000

Definition at line 316 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_STAT_10BT_HD

#define MV88E1512_FIBER_STAT_10BT_HD   0x0800

Definition at line 317 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_STAT_AN_CAPABLE

#define MV88E1512_FIBER_STAT_AN_CAPABLE   0x0008

Definition at line 324 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_STAT_AN_COMPLETE

#define MV88E1512_FIBER_STAT_AN_COMPLETE   0x0020

Definition at line 322 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_STAT_EXTENDED_CAPABLE

#define MV88E1512_FIBER_STAT_EXTENDED_CAPABLE   0x0001

Definition at line 326 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_STAT_EXTENDED_STATUS

#define MV88E1512_FIBER_STAT_EXTENDED_STATUS   0x0100

Definition at line 320 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_STAT_LINK_STATUS

#define MV88E1512_FIBER_STAT_LINK_STATUS   0x0004

Definition at line 325 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_STAT_MF_PREAMBLE_SUPPR

#define MV88E1512_FIBER_STAT_MF_PREAMBLE_SUPPR   0x0040

Definition at line 321 of file mv88e1512_driver.h.

◆ MV88E1512_FIBER_STAT_REMOTE_FAULT

#define MV88E1512_FIBER_STAT_REMOTE_FAULT   0x0010

Definition at line 323 of file mv88e1512_driver.h.

◆ MV88E1512_GBCR

#define MV88E1512_GBCR   0x09

Definition at line 54 of file mv88e1512_driver.h.

◆ MV88E1512_GBCR_1000BT_FD

#define MV88E1512_GBCR_1000BT_FD   0x0200

Definition at line 209 of file mv88e1512_driver.h.

◆ MV88E1512_GBCR_1000BT_HD

#define MV88E1512_GBCR_1000BT_HD   0x0100

Definition at line 210 of file mv88e1512_driver.h.

◆ MV88E1512_GBCR_MS_MAN_CONF_EN

#define MV88E1512_GBCR_MS_MAN_CONF_EN   0x1000

Definition at line 206 of file mv88e1512_driver.h.

◆ MV88E1512_GBCR_MS_MAN_CONF_VAL

#define MV88E1512_GBCR_MS_MAN_CONF_VAL   0x0800

Definition at line 207 of file mv88e1512_driver.h.

◆ MV88E1512_GBCR_PORT_TYPE

#define MV88E1512_GBCR_PORT_TYPE   0x0400

Definition at line 208 of file mv88e1512_driver.h.

◆ MV88E1512_GBCR_TEST_MODE

#define MV88E1512_GBCR_TEST_MODE   0xE000

Definition at line 205 of file mv88e1512_driver.h.

◆ MV88E1512_GBESR

#define MV88E1512_GBESR   0x0F

Definition at line 56 of file mv88e1512_driver.h.

◆ MV88E1512_GBESR_1000BT_FD

#define MV88E1512_GBESR_1000BT_FD   0x2000

Definition at line 224 of file mv88e1512_driver.h.

◆ MV88E1512_GBESR_1000BT_HD

#define MV88E1512_GBESR_1000BT_HD   0x1000

Definition at line 225 of file mv88e1512_driver.h.

◆ MV88E1512_GBESR_1000BX_FD

#define MV88E1512_GBESR_1000BX_FD   0x8000

Definition at line 222 of file mv88e1512_driver.h.

◆ MV88E1512_GBESR_1000BX_HD

#define MV88E1512_GBESR_1000BX_HD   0x4000

Definition at line 223 of file mv88e1512_driver.h.

◆ MV88E1512_GBSR

#define MV88E1512_GBSR   0x0A

Definition at line 55 of file mv88e1512_driver.h.

◆ MV88E1512_GBSR_IDLE_ERR_COUNT

#define MV88E1512_GBSR_IDLE_ERR_COUNT   0x00FF

Definition at line 219 of file mv88e1512_driver.h.

◆ MV88E1512_GBSR_LOCAL_RECEIVER_STATUS

#define MV88E1512_GBSR_LOCAL_RECEIVER_STATUS   0x2000

Definition at line 215 of file mv88e1512_driver.h.

◆ MV88E1512_GBSR_LP_1000BT_FD

#define MV88E1512_GBSR_LP_1000BT_FD   0x0800

Definition at line 217 of file mv88e1512_driver.h.

◆ MV88E1512_GBSR_LP_1000BT_HD

#define MV88E1512_GBSR_LP_1000BT_HD   0x0400

Definition at line 218 of file mv88e1512_driver.h.

◆ MV88E1512_GBSR_MS_CONF_FAULT

#define MV88E1512_GBSR_MS_CONF_FAULT   0x8000

Definition at line 213 of file mv88e1512_driver.h.

◆ MV88E1512_GBSR_MS_CONF_RES

#define MV88E1512_GBSR_MS_CONF_RES   0x4000

Definition at line 214 of file mv88e1512_driver.h.

◆ MV88E1512_GBSR_REMOTE_RECEIVER_STATUS

#define MV88E1512_GBSR_REMOTE_RECEIVER_STATUS   0x1000

Definition at line 216 of file mv88e1512_driver.h.

◆ MV88E1512_GISR

#define MV88E1512_GISR   0x17

Definition at line 64 of file mv88e1512_driver.h.

◆ MV88E1512_GISR_INTERRUPT

#define MV88E1512_GISR_INTERRUPT   0x0001

Definition at line 298 of file mv88e1512_driver.h.

◆ MV88E1512_LATE_COL_COUNTERS_1_2

#define MV88E1512_LATE_COL_COUNTERS_1_2   0x17

Definition at line 107 of file mv88e1512_driver.h.

◆ MV88E1512_LATE_COL_COUNTERS_3_4

#define MV88E1512_LATE_COL_COUNTERS_3_4   0x18

Definition at line 108 of file mv88e1512_driver.h.

◆ MV88E1512_LATE_COL_WIN_ADJ_LINK_DISCONNECT

#define MV88E1512_LATE_COL_WIN_ADJ_LINK_DISCONNECT   0x19

Definition at line 109 of file mv88e1512_driver.h.

◆ MV88E1512_LED_FUNC_CTRL

#define MV88E1512_LED_FUNC_CTRL   0x10

Definition at line 94 of file mv88e1512_driver.h.

◆ MV88E1512_LED_FUNC_CTRL_LED0_CTRL

#define MV88E1512_LED_FUNC_CTRL_LED0_CTRL   0x000F

Definition at line 509 of file mv88e1512_driver.h.

◆ MV88E1512_LED_FUNC_CTRL_LED0_CTRL_ACT

#define MV88E1512_LED_FUNC_CTRL_LED0_CTRL_ACT   0x0003

Definition at line 513 of file mv88e1512_driver.h.

◆ MV88E1512_LED_FUNC_CTRL_LED0_CTRL_ACT_BLINK

#define MV88E1512_LED_FUNC_CTRL_LED0_CTRL_ACT_BLINK   0x0004

Definition at line 514 of file mv88e1512_driver.h.

◆ MV88E1512_LED_FUNC_CTRL_LED0_CTRL_DUPLEX_COL

#define MV88E1512_LED_FUNC_CTRL_LED0_CTRL_DUPLEX_COL   0x0002

Definition at line 512 of file mv88e1512_driver.h.

◆ MV88E1512_LED_FUNC_CTRL_LED0_CTRL_FORCE_BLINK

#define MV88E1512_LED_FUNC_CTRL_LED0_CTRL_FORCE_BLINK   0x000B

Definition at line 521 of file mv88e1512_driver.h.

◆ MV88E1512_LED_FUNC_CTRL_LED0_CTRL_FORCE_HIZ

#define MV88E1512_LED_FUNC_CTRL_LED0_CTRL_FORCE_HIZ   0x000A

Definition at line 520 of file mv88e1512_driver.h.

◆ MV88E1512_LED_FUNC_CTRL_LED0_CTRL_FORCE_OFF

#define MV88E1512_LED_FUNC_CTRL_LED0_CTRL_FORCE_OFF   0x0008

Definition at line 518 of file mv88e1512_driver.h.

◆ MV88E1512_LED_FUNC_CTRL_LED0_CTRL_FORCE_ON

#define MV88E1512_LED_FUNC_CTRL_LED0_CTRL_FORCE_ON   0x0009

Definition at line 519 of file mv88e1512_driver.h.

◆ MV88E1512_LED_FUNC_CTRL_LED0_CTRL_LINK

#define MV88E1512_LED_FUNC_CTRL_LED0_CTRL_LINK   0x0000

Definition at line 510 of file mv88e1512_driver.h.

◆ MV88E1512_LED_FUNC_CTRL_LED0_CTRL_LINK_ACT

#define MV88E1512_LED_FUNC_CTRL_LED0_CTRL_LINK_ACT   0x0001

Definition at line 511 of file mv88e1512_driver.h.

◆ MV88E1512_LED_FUNC_CTRL_LED0_CTRL_SPEED_10

#define MV88E1512_LED_FUNC_CTRL_LED0_CTRL_SPEED_10   0x0007

Definition at line 517 of file mv88e1512_driver.h.

◆ MV88E1512_LED_FUNC_CTRL_LED0_CTRL_SPEED_10_1000

#define MV88E1512_LED_FUNC_CTRL_LED0_CTRL_SPEED_10_1000   0x0006

Definition at line 516 of file mv88e1512_driver.h.

◆ MV88E1512_LED_FUNC_CTRL_LED0_CTRL_TX

#define MV88E1512_LED_FUNC_CTRL_LED0_CTRL_TX   0x0005

Definition at line 515 of file mv88e1512_driver.h.

◆ MV88E1512_LED_FUNC_CTRL_LED1_CTRL

#define MV88E1512_LED_FUNC_CTRL_LED1_CTRL   0x00F0

Definition at line 496 of file mv88e1512_driver.h.

◆ MV88E1512_LED_FUNC_CTRL_LED1_CTRL_ACT

#define MV88E1512_LED_FUNC_CTRL_LED1_CTRL_ACT   0x0030

Definition at line 500 of file mv88e1512_driver.h.

◆ MV88E1512_LED_FUNC_CTRL_LED1_CTRL_ACT_BLINK

#define MV88E1512_LED_FUNC_CTRL_LED1_CTRL_ACT_BLINK   0x0040

Definition at line 501 of file mv88e1512_driver.h.

◆ MV88E1512_LED_FUNC_CTRL_LED1_CTRL_DUPLEX_COL

#define MV88E1512_LED_FUNC_CTRL_LED1_CTRL_DUPLEX_COL   0x0020

Definition at line 499 of file mv88e1512_driver.h.

◆ MV88E1512_LED_FUNC_CTRL_LED1_CTRL_FORCE_BLINK

#define MV88E1512_LED_FUNC_CTRL_LED1_CTRL_FORCE_BLINK   0x00B0

Definition at line 508 of file mv88e1512_driver.h.

◆ MV88E1512_LED_FUNC_CTRL_LED1_CTRL_FORCE_HIZ

#define MV88E1512_LED_FUNC_CTRL_LED1_CTRL_FORCE_HIZ   0x00A0

Definition at line 507 of file mv88e1512_driver.h.

◆ MV88E1512_LED_FUNC_CTRL_LED1_CTRL_FORCE_OFF

#define MV88E1512_LED_FUNC_CTRL_LED1_CTRL_FORCE_OFF   0x0080

Definition at line 505 of file mv88e1512_driver.h.

◆ MV88E1512_LED_FUNC_CTRL_LED1_CTRL_FORCE_ON

#define MV88E1512_LED_FUNC_CTRL_LED1_CTRL_FORCE_ON   0x0090

Definition at line 506 of file mv88e1512_driver.h.

◆ MV88E1512_LED_FUNC_CTRL_LED1_CTRL_LINK

#define MV88E1512_LED_FUNC_CTRL_LED1_CTRL_LINK   0x0000

Definition at line 497 of file mv88e1512_driver.h.

◆ MV88E1512_LED_FUNC_CTRL_LED1_CTRL_LINK_ACT

#define MV88E1512_LED_FUNC_CTRL_LED1_CTRL_LINK_ACT   0x0010

Definition at line 498 of file mv88e1512_driver.h.

◆ MV88E1512_LED_FUNC_CTRL_LED1_CTRL_SPEED_10

#define MV88E1512_LED_FUNC_CTRL_LED1_CTRL_SPEED_10   0x0070

Definition at line 504 of file mv88e1512_driver.h.

◆ MV88E1512_LED_FUNC_CTRL_LED1_CTRL_SPEED_10_1000

#define MV88E1512_LED_FUNC_CTRL_LED1_CTRL_SPEED_10_1000   0x0060

Definition at line 503 of file mv88e1512_driver.h.

◆ MV88E1512_LED_FUNC_CTRL_LED1_CTRL_TX

#define MV88E1512_LED_FUNC_CTRL_LED1_CTRL_TX   0x0050

Definition at line 502 of file mv88e1512_driver.h.

◆ MV88E1512_LED_FUNC_CTRL_LED2_CTRL

#define MV88E1512_LED_FUNC_CTRL_LED2_CTRL   0x0F00

Definition at line 483 of file mv88e1512_driver.h.

◆ MV88E1512_LED_FUNC_CTRL_LED2_CTRL_ACT

#define MV88E1512_LED_FUNC_CTRL_LED2_CTRL_ACT   0x0300

Definition at line 487 of file mv88e1512_driver.h.

◆ MV88E1512_LED_FUNC_CTRL_LED2_CTRL_ACT_BLINK

#define MV88E1512_LED_FUNC_CTRL_LED2_CTRL_ACT_BLINK   0x0400

Definition at line 488 of file mv88e1512_driver.h.

◆ MV88E1512_LED_FUNC_CTRL_LED2_CTRL_DUPLEX_COL

#define MV88E1512_LED_FUNC_CTRL_LED2_CTRL_DUPLEX_COL   0x0200

Definition at line 486 of file mv88e1512_driver.h.

◆ MV88E1512_LED_FUNC_CTRL_LED2_CTRL_FORCE_BLINK

#define MV88E1512_LED_FUNC_CTRL_LED2_CTRL_FORCE_BLINK   0x0B00

Definition at line 495 of file mv88e1512_driver.h.

◆ MV88E1512_LED_FUNC_CTRL_LED2_CTRL_FORCE_HIZ

#define MV88E1512_LED_FUNC_CTRL_LED2_CTRL_FORCE_HIZ   0x0A00

Definition at line 494 of file mv88e1512_driver.h.

◆ MV88E1512_LED_FUNC_CTRL_LED2_CTRL_FORCE_OFF

#define MV88E1512_LED_FUNC_CTRL_LED2_CTRL_FORCE_OFF   0x0800

Definition at line 492 of file mv88e1512_driver.h.

◆ MV88E1512_LED_FUNC_CTRL_LED2_CTRL_FORCE_ON

#define MV88E1512_LED_FUNC_CTRL_LED2_CTRL_FORCE_ON   0x0900

Definition at line 493 of file mv88e1512_driver.h.

◆ MV88E1512_LED_FUNC_CTRL_LED2_CTRL_LINK

#define MV88E1512_LED_FUNC_CTRL_LED2_CTRL_LINK   0x0000

Definition at line 484 of file mv88e1512_driver.h.

◆ MV88E1512_LED_FUNC_CTRL_LED2_CTRL_LINK_ACT

#define MV88E1512_LED_FUNC_CTRL_LED2_CTRL_LINK_ACT   0x0100

Definition at line 485 of file mv88e1512_driver.h.

◆ MV88E1512_LED_FUNC_CTRL_LED2_CTRL_SPEED_10

#define MV88E1512_LED_FUNC_CTRL_LED2_CTRL_SPEED_10   0x0700

Definition at line 491 of file mv88e1512_driver.h.

◆ MV88E1512_LED_FUNC_CTRL_LED2_CTRL_SPEED_10_1000

#define MV88E1512_LED_FUNC_CTRL_LED2_CTRL_SPEED_10_1000   0x0600

Definition at line 490 of file mv88e1512_driver.h.

◆ MV88E1512_LED_FUNC_CTRL_LED2_CTRL_TX

#define MV88E1512_LED_FUNC_CTRL_LED2_CTRL_TX   0x0500

Definition at line 489 of file mv88e1512_driver.h.

◆ MV88E1512_LED_POL_CTRL

#define MV88E1512_LED_POL_CTRL   0x11

Definition at line 95 of file mv88e1512_driver.h.

◆ MV88E1512_LED_POL_CTRL_LED0_MIX_PERCENT

#define MV88E1512_LED_POL_CTRL_LED0_MIX_PERCENT   0x0F00

Definition at line 525 of file mv88e1512_driver.h.

◆ MV88E1512_LED_POL_CTRL_LED0_POL

#define MV88E1512_LED_POL_CTRL_LED0_POL   0x0003

Definition at line 536 of file mv88e1512_driver.h.

◆ MV88E1512_LED_POL_CTRL_LED0_POL_ON_HIGH_OFF_LOW

#define MV88E1512_LED_POL_CTRL_LED0_POL_ON_HIGH_OFF_LOW   0x0001

Definition at line 538 of file mv88e1512_driver.h.

◆ MV88E1512_LED_POL_CTRL_LED0_POL_ON_HIGH_OFF_TRISTATE

#define MV88E1512_LED_POL_CTRL_LED0_POL_ON_HIGH_OFF_TRISTATE   0x0003

Definition at line 540 of file mv88e1512_driver.h.

◆ MV88E1512_LED_POL_CTRL_LED0_POL_ON_LOW_OFF_HIGH

#define MV88E1512_LED_POL_CTRL_LED0_POL_ON_LOW_OFF_HIGH   0x0000

Definition at line 537 of file mv88e1512_driver.h.

◆ MV88E1512_LED_POL_CTRL_LED0_POL_ON_LOW_OFF_TRISTATE

#define MV88E1512_LED_POL_CTRL_LED0_POL_ON_LOW_OFF_TRISTATE   0x0002

Definition at line 539 of file mv88e1512_driver.h.

◆ MV88E1512_LED_POL_CTRL_LED1_MIX_PERCENT

#define MV88E1512_LED_POL_CTRL_LED1_MIX_PERCENT   0xF000

Definition at line 524 of file mv88e1512_driver.h.

◆ MV88E1512_LED_POL_CTRL_LED1_POL

#define MV88E1512_LED_POL_CTRL_LED1_POL   0x000C

Definition at line 531 of file mv88e1512_driver.h.

◆ MV88E1512_LED_POL_CTRL_LED1_POL_ON_HIGH_OFF_LOW

#define MV88E1512_LED_POL_CTRL_LED1_POL_ON_HIGH_OFF_LOW   0x0004

Definition at line 533 of file mv88e1512_driver.h.

◆ MV88E1512_LED_POL_CTRL_LED1_POL_ON_HIGH_OFF_TRISTATE

#define MV88E1512_LED_POL_CTRL_LED1_POL_ON_HIGH_OFF_TRISTATE   0x000C

Definition at line 535 of file mv88e1512_driver.h.

◆ MV88E1512_LED_POL_CTRL_LED1_POL_ON_LOW_OFF_HIGH

#define MV88E1512_LED_POL_CTRL_LED1_POL_ON_LOW_OFF_HIGH   0x0000

Definition at line 532 of file mv88e1512_driver.h.

◆ MV88E1512_LED_POL_CTRL_LED1_POL_ON_LOW_OFF_TRISTATE

#define MV88E1512_LED_POL_CTRL_LED1_POL_ON_LOW_OFF_TRISTATE   0x0008

Definition at line 534 of file mv88e1512_driver.h.

◆ MV88E1512_LED_POL_CTRL_LED2_POL

#define MV88E1512_LED_POL_CTRL_LED2_POL   0x0030

Definition at line 526 of file mv88e1512_driver.h.

◆ MV88E1512_LED_POL_CTRL_LED2_POL_ON_HIGH_OFF_LOW

#define MV88E1512_LED_POL_CTRL_LED2_POL_ON_HIGH_OFF_LOW   0x0010

Definition at line 528 of file mv88e1512_driver.h.

◆ MV88E1512_LED_POL_CTRL_LED2_POL_ON_HIGH_OFF_TRISTATE

#define MV88E1512_LED_POL_CTRL_LED2_POL_ON_HIGH_OFF_TRISTATE   0x0030

Definition at line 530 of file mv88e1512_driver.h.

◆ MV88E1512_LED_POL_CTRL_LED2_POL_ON_LOW_OFF_HIGH

#define MV88E1512_LED_POL_CTRL_LED2_POL_ON_LOW_OFF_HIGH   0x0000

Definition at line 527 of file mv88e1512_driver.h.

◆ MV88E1512_LED_POL_CTRL_LED2_POL_ON_LOW_OFF_TRISTATE

#define MV88E1512_LED_POL_CTRL_LED2_POL_ON_LOW_OFF_TRISTATE   0x0020

Definition at line 529 of file mv88e1512_driver.h.

◆ MV88E1512_LED_TIMER_CTRL

#define MV88E1512_LED_TIMER_CTRL   0x12

Definition at line 96 of file mv88e1512_driver.h.

◆ MV88E1512_LED_TIMER_CTRL_BLINK_RATE

#define MV88E1512_LED_TIMER_CTRL_BLINK_RATE   0x0700

Definition at line 554 of file mv88e1512_driver.h.

◆ MV88E1512_LED_TIMER_CTRL_BLINK_RATE_170MS

#define MV88E1512_LED_TIMER_CTRL_BLINK_RATE_170MS   0x0200

Definition at line 557 of file mv88e1512_driver.h.

◆ MV88E1512_LED_TIMER_CTRL_BLINK_RATE_340MS

#define MV88E1512_LED_TIMER_CTRL_BLINK_RATE_340MS   0x0300

Definition at line 558 of file mv88e1512_driver.h.

◆ MV88E1512_LED_TIMER_CTRL_BLINK_RATE_42MS

#define MV88E1512_LED_TIMER_CTRL_BLINK_RATE_42MS   0x0000

Definition at line 555 of file mv88e1512_driver.h.

◆ MV88E1512_LED_TIMER_CTRL_BLINK_RATE_670MS

#define MV88E1512_LED_TIMER_CTRL_BLINK_RATE_670MS   0x0400

Definition at line 559 of file mv88e1512_driver.h.

◆ MV88E1512_LED_TIMER_CTRL_BLINK_RATE_84MS

#define MV88E1512_LED_TIMER_CTRL_BLINK_RATE_84MS   0x0100

Definition at line 556 of file mv88e1512_driver.h.

◆ MV88E1512_LED_TIMER_CTRL_FORCE_INT

#define MV88E1512_LED_TIMER_CTRL_FORCE_INT   0x8000

Definition at line 543 of file mv88e1512_driver.h.

◆ MV88E1512_LED_TIMER_CTRL_INT_EN

#define MV88E1512_LED_TIMER_CTRL_INT_EN   0x0080

Definition at line 560 of file mv88e1512_driver.h.

◆ MV88E1512_LED_TIMER_CTRL_INT_POL

#define MV88E1512_LED_TIMER_CTRL_INT_POL   0x0800

Definition at line 553 of file mv88e1512_driver.h.

◆ MV88E1512_LED_TIMER_CTRL_PULSE_STRETCH

#define MV88E1512_LED_TIMER_CTRL_PULSE_STRETCH   0x7000

Definition at line 544 of file mv88e1512_driver.h.

◆ MV88E1512_LED_TIMER_CTRL_PULSE_STRETCH_170MS_TO_340MS

#define MV88E1512_LED_TIMER_CTRL_PULSE_STRETCH_170MS_TO_340MS   0x4000

Definition at line 549 of file mv88e1512_driver.h.

◆ MV88E1512_LED_TIMER_CTRL_PULSE_STRETCH_1_3S_TO_2_7S

#define MV88E1512_LED_TIMER_CTRL_PULSE_STRETCH_1_3S_TO_2_7S   0x7000

Definition at line 552 of file mv88e1512_driver.h.

◆ MV88E1512_LED_TIMER_CTRL_PULSE_STRETCH_21MS_TO_42MS

#define MV88E1512_LED_TIMER_CTRL_PULSE_STRETCH_21MS_TO_42MS   0x1000

Definition at line 546 of file mv88e1512_driver.h.

◆ MV88E1512_LED_TIMER_CTRL_PULSE_STRETCH_340MS_TO_670MS

#define MV88E1512_LED_TIMER_CTRL_PULSE_STRETCH_340MS_TO_670MS   0x5000

Definition at line 550 of file mv88e1512_driver.h.

◆ MV88E1512_LED_TIMER_CTRL_PULSE_STRETCH_42MS_TO_84MS

#define MV88E1512_LED_TIMER_CTRL_PULSE_STRETCH_42MS_TO_84MS   0x2000

Definition at line 547 of file mv88e1512_driver.h.

◆ MV88E1512_LED_TIMER_CTRL_PULSE_STRETCH_670MS_TO_1_3S

#define MV88E1512_LED_TIMER_CTRL_PULSE_STRETCH_670MS_TO_1_3S   0x6000

Definition at line 551 of file mv88e1512_driver.h.

◆ MV88E1512_LED_TIMER_CTRL_PULSE_STRETCH_84MS_TO_170MS

#define MV88E1512_LED_TIMER_CTRL_PULSE_STRETCH_84MS_TO_170MS   0x3000

Definition at line 548 of file mv88e1512_driver.h.

◆ MV88E1512_LED_TIMER_CTRL_PULSE_STRETCH_NO

#define MV88E1512_LED_TIMER_CTRL_PULSE_STRETCH_NO   0x0000

Definition at line 545 of file mv88e1512_driver.h.

◆ MV88E1512_LED_TIMER_CTRL_SPEED_OFF_PULSE

#define MV88E1512_LED_TIMER_CTRL_SPEED_OFF_PULSE   0x000C

Definition at line 561 of file mv88e1512_driver.h.

◆ MV88E1512_LED_TIMER_CTRL_SPEED_OFF_PULSE_170MS

#define MV88E1512_LED_TIMER_CTRL_SPEED_OFF_PULSE_170MS   0x0004

Definition at line 563 of file mv88e1512_driver.h.

◆ MV88E1512_LED_TIMER_CTRL_SPEED_OFF_PULSE_340MS

#define MV88E1512_LED_TIMER_CTRL_SPEED_OFF_PULSE_340MS   0x0008

Definition at line 564 of file mv88e1512_driver.h.

◆ MV88E1512_LED_TIMER_CTRL_SPEED_OFF_PULSE_670MS

#define MV88E1512_LED_TIMER_CTRL_SPEED_OFF_PULSE_670MS   0x000C

Definition at line 565 of file mv88e1512_driver.h.

◆ MV88E1512_LED_TIMER_CTRL_SPEED_OFF_PULSE_84MS

#define MV88E1512_LED_TIMER_CTRL_SPEED_OFF_PULSE_84MS   0x0000

Definition at line 562 of file mv88e1512_driver.h.

◆ MV88E1512_LED_TIMER_CTRL_SPEED_ON_PULSE

#define MV88E1512_LED_TIMER_CTRL_SPEED_ON_PULSE   0x0003

Definition at line 566 of file mv88e1512_driver.h.

◆ MV88E1512_LED_TIMER_CTRL_SPEED_ON_PULSE_170MS

#define MV88E1512_LED_TIMER_CTRL_SPEED_ON_PULSE_170MS   0x0001

Definition at line 568 of file mv88e1512_driver.h.

◆ MV88E1512_LED_TIMER_CTRL_SPEED_ON_PULSE_340MS

#define MV88E1512_LED_TIMER_CTRL_SPEED_ON_PULSE_340MS   0x0002

Definition at line 569 of file mv88e1512_driver.h.

◆ MV88E1512_LED_TIMER_CTRL_SPEED_ON_PULSE_670MS

#define MV88E1512_LED_TIMER_CTRL_SPEED_ON_PULSE_670MS   0x0003

Definition at line 570 of file mv88e1512_driver.h.

◆ MV88E1512_LED_TIMER_CTRL_SPEED_ON_PULSE_84MS

#define MV88E1512_LED_TIMER_CTRL_SPEED_ON_PULSE_84MS   0x0000

Definition at line 567 of file mv88e1512_driver.h.

◆ MV88E1512_MAC_CTRL1

#define MV88E1512_MAC_CTRL1   0x10

Definition at line 87 of file mv88e1512_driver.h.

◆ MV88E1512_MAC_CTRL1_PASS_ODD_NIBBLE_PREAMBLES

#define MV88E1512_MAC_CTRL1_PASS_ODD_NIBBLE_PREAMBLES   0x0040

Definition at line 457 of file mv88e1512_driver.h.

◆ MV88E1512_MAC_CTRL1_RGMII_IF_POWER_DOWN

#define MV88E1512_MAC_CTRL1_RGMII_IF_POWER_DOWN   0x0008

Definition at line 458 of file mv88e1512_driver.h.

◆ MV88E1512_MAC_CTRL2

#define MV88E1512_MAC_CTRL2   0x15

Definition at line 90 of file mv88e1512_driver.h.

◆ MV88E1512_MAC_CTRL2_BLOCK_CARRIER_EXTENSION

#define MV88E1512_MAC_CTRL2_BLOCK_CARRIER_EXTENSION   0x0008

Definition at line 476 of file mv88e1512_driver.h.

◆ MV88E1512_MAC_CTRL2_COPPER_LINE_LOOPBACK

#define MV88E1512_MAC_CTRL2_COPPER_LINE_LOOPBACK   0x4000

Definition at line 471 of file mv88e1512_driver.h.

◆ MV88E1512_MAC_CTRL2_DEFAULT_MAC_IF_SPEED_LSB

#define MV88E1512_MAC_CTRL2_DEFAULT_MAC_IF_SPEED_LSB   0x2000

Definition at line 472 of file mv88e1512_driver.h.

◆ MV88E1512_MAC_CTRL2_DEFAULT_MAC_IF_SPEED_MSB

#define MV88E1512_MAC_CTRL2_DEFAULT_MAC_IF_SPEED_MSB   0x0040

Definition at line 473 of file mv88e1512_driver.h.

◆ MV88E1512_MAC_CTRL2_RGMII_RX_TIMING_CTRL

#define MV88E1512_MAC_CTRL2_RGMII_RX_TIMING_CTRL   0x0020

Definition at line 474 of file mv88e1512_driver.h.

◆ MV88E1512_MAC_CTRL2_RGMII_TX_TIMING_CTRL

#define MV88E1512_MAC_CTRL2_RGMII_TX_TIMING_CTRL   0x0010

Definition at line 475 of file mv88e1512_driver.h.

◆ MV88E1512_MAC_INT_EN

#define MV88E1512_MAC_INT_EN   0x12

Definition at line 88 of file mv88e1512_driver.h.

◆ MV88E1512_MAC_INT_EN_FIFO_IDLE_DELETED

#define MV88E1512_MAC_INT_EN_FIFO_IDLE_DELETED   0x0004

Definition at line 463 of file mv88e1512_driver.h.

◆ MV88E1512_MAC_INT_EN_FIFO_IDLE_INSERTED

#define MV88E1512_MAC_INT_EN_FIFO_IDLE_INSERTED   0x0008

Definition at line 462 of file mv88e1512_driver.h.

◆ MV88E1512_MAC_INT_EN_FIFO_OVER_UNDERFLOW

#define MV88E1512_MAC_INT_EN_FIFO_OVER_UNDERFLOW   0x0080

Definition at line 461 of file mv88e1512_driver.h.

◆ MV88E1512_MAC_INT_STAT

#define MV88E1512_MAC_INT_STAT   0x13

Definition at line 89 of file mv88e1512_driver.h.

◆ MV88E1512_MAC_INT_STAT_FIFO_IDLE_DELETED

#define MV88E1512_MAC_INT_STAT_FIFO_IDLE_DELETED   0x0004

Definition at line 468 of file mv88e1512_driver.h.

◆ MV88E1512_MAC_INT_STAT_FIFO_IDLE_INSERTED

#define MV88E1512_MAC_INT_STAT_FIFO_IDLE_INSERTED   0x0008

Definition at line 467 of file mv88e1512_driver.h.

◆ MV88E1512_MAC_INT_STAT_FIFO_OVER_UNDERFLOW

#define MV88E1512_MAC_INT_STAT_FIFO_OVER_UNDERFLOW   0x0080

Definition at line 466 of file mv88e1512_driver.h.

◆ MV88E1512_MISC_TEST

#define MV88E1512_MISC_TEST   0x1A

Definition at line 110 of file mv88e1512_driver.h.

◆ MV88E1512_PAGSR

#define MV88E1512_PAGSR   0x16

Definition at line 63 of file mv88e1512_driver.h.

◆ MV88E1512_PAGSR_PAGE_SEL

#define MV88E1512_PAGSR_PAGE_SEL   0x00FF

Definition at line 295 of file mv88e1512_driver.h.

◆ MV88E1512_PHY_ADDR

#define MV88E1512_PHY_ADDR   0

Definition at line 39 of file mv88e1512_driver.h.

◆ MV88E1512_PRBS_CTRL

#define MV88E1512_PRBS_CTRL   0x17

Definition at line 81 of file mv88e1512_driver.h.

◆ MV88E1512_PRBS_CTRL_CLEAR_COUNTER

#define MV88E1512_PRBS_CTRL_CLEAR_COUNTER   0x0010

Definition at line 442 of file mv88e1512_driver.h.

◆ MV88E1512_PRBS_CTRL_INVERT_CHECK_POL

#define MV88E1512_PRBS_CTRL_INVERT_CHECK_POL   0x0080

Definition at line 439 of file mv88e1512_driver.h.

◆ MV88E1512_PRBS_CTRL_INVERT_GEN_POL

#define MV88E1512_PRBS_CTRL_INVERT_GEN_POL   0x0040

Definition at line 440 of file mv88e1512_driver.h.

◆ MV88E1512_PRBS_CTRL_PATTERN_SEL

#define MV88E1512_PRBS_CTRL_PATTERN_SEL   0x000C

Definition at line 443 of file mv88e1512_driver.h.

◆ MV88E1512_PRBS_CTRL_PRBS_CHECK_EN

#define MV88E1512_PRBS_CTRL_PRBS_CHECK_EN   0x0002

Definition at line 444 of file mv88e1512_driver.h.

◆ MV88E1512_PRBS_CTRL_PRBS_GEN_EN

#define MV88E1512_PRBS_CTRL_PRBS_GEN_EN   0x0001

Definition at line 445 of file mv88e1512_driver.h.

◆ MV88E1512_PRBS_CTRL_PRBS_LOCK

#define MV88E1512_PRBS_CTRL_PRBS_LOCK   0x0020

Definition at line 441 of file mv88e1512_driver.h.

◆ MV88E1512_PRBS_ERR_COUNTER_LSB

#define MV88E1512_PRBS_ERR_COUNTER_LSB   0x18

Definition at line 82 of file mv88e1512_driver.h.

◆ MV88E1512_PRBS_ERR_COUNTER_MSB

#define MV88E1512_PRBS_ERR_COUNTER_MSB   0x19

Definition at line 83 of file mv88e1512_driver.h.

◆ MV88E1512_RGMII_OUT_IMP_CAL

#define MV88E1512_RGMII_OUT_IMP_CAL   0x18

Definition at line 91 of file mv88e1512_driver.h.

◆ MV88E1512_RGMII_OUT_IMP_CAL_1V8_VDDO_USED

#define MV88E1512_RGMII_OUT_IMP_CAL_1V8_VDDO_USED   0x1000

Definition at line 480 of file mv88e1512_driver.h.

◆ MV88E1512_RGMII_OUT_IMP_CAL_VDDO_LEVEL

#define MV88E1512_RGMII_OUT_IMP_CAL_VDDO_LEVEL   0x2000

Definition at line 479 of file mv88e1512_driver.h.

◆ MV88E1512_TEMP_SENSOR

#define MV88E1512_TEMP_SENSOR   0x1B

Definition at line 111 of file mv88e1512_driver.h.

Function Documentation

◆ mv88e1512DisableIrq()

void mv88e1512DisableIrq ( NetInterface interface)

Disable interrupts.

Parameters
[in]interfaceUnderlying network interface

Definition at line 163 of file mv88e1512_driver.c.

◆ mv88e1512DumpPhyReg()

void mv88e1512DumpPhyReg ( NetInterface interface)

Dump PHY registers for debugging purpose.

Parameters
[in]interfaceUnderlying network interface

Definition at line 289 of file mv88e1512_driver.c.

◆ mv88e1512EnableIrq()

void mv88e1512EnableIrq ( NetInterface interface)

Enable interrupts.

Parameters
[in]interfaceUnderlying network interface

Definition at line 153 of file mv88e1512_driver.c.

◆ mv88e1512EventHandler()

void mv88e1512EventHandler ( NetInterface interface)

88E1512 event handler

Parameters
[in]interfaceUnderlying network interface

Definition at line 173 of file mv88e1512_driver.c.

◆ mv88e1512Init()

error_t mv88e1512Init ( NetInterface interface)

88E1512 PHY transceiver initialization

Parameters
[in]interfaceUnderlying network interface
Returns
Error code

Definition at line 60 of file mv88e1512_driver.c.

◆ mv88e1512InitHook()

void mv88e1512InitHook ( NetInterface interface)

88E1512 custom configuration

Parameters
[in]interfaceUnderlying network interface

Definition at line 109 of file mv88e1512_driver.c.

◆ mv88e1512ReadPhyReg()

uint16_t mv88e1512ReadPhyReg ( 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 mv88e1512_driver.c.

◆ mv88e1512Tick()

void mv88e1512Tick ( NetInterface interface)

88E1512 timer handler

Parameters
[in]interfaceUnderlying network interface

Definition at line 119 of file mv88e1512_driver.c.

◆ mv88e1512WritePhyReg()

void mv88e1512WritePhyReg ( 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 mv88e1512_driver.c.

Variable Documentation

◆ mv88e1512PhyDriver

const PhyDriver mv88e1512PhyDriver
extern

88E1512 Ethernet PHY driver

Definition at line 44 of file mv88e1512_driver.c.