VSC8662 Gigabit Ethernet PHY driver. More...
#include "core/nic.h"
Go to the source code of this file.
Functions | |
error_t | vsc8662Init (NetInterface *interface) |
VSC8662 PHY transceiver initialization. More... | |
void | vsc8662InitHook (NetInterface *interface) |
VSC8662 custom configuration. More... | |
void | vsc8662Tick (NetInterface *interface) |
VSC8662 timer handler. More... | |
void | vsc8662EnableIrq (NetInterface *interface) |
Enable interrupts. More... | |
void | vsc8662DisableIrq (NetInterface *interface) |
Disable interrupts. More... | |
void | vsc8662EventHandler (NetInterface *interface) |
VSC8662 event handler. More... | |
void | vsc8662WritePhyReg (NetInterface *interface, uint8_t address, uint16_t data) |
Write PHY register. More... | |
uint16_t | vsc8662ReadPhyReg (NetInterface *interface, uint8_t address) |
Read PHY register. More... | |
void | vsc8662DumpPhyReg (NetInterface *interface) |
Dump PHY registers for debugging purpose. More... | |
Variables | |
const PhyDriver | vsc8662PhyDriver |
VSC8662 Ethernet PHY driver. More... | |
Detailed Description
VSC8662 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.
- Version
- 2.4.4
Definition in file vsc8662_driver.h.
Macro Definition Documentation
◆ VSC8662_1000BT_CTRL
#define VSC8662_1000BT_CTRL 0x09 |
Definition at line 54 of file vsc8662_driver.h.
◆ VSC8662_1000BT_CTRL_1000BT_FD
#define VSC8662_1000BT_CTRL_1000BT_FD 0x0200 |
Definition at line 196 of file vsc8662_driver.h.
◆ VSC8662_1000BT_CTRL_1000BT_HD
#define VSC8662_1000BT_CTRL_1000BT_HD 0x0100 |
Definition at line 197 of file vsc8662_driver.h.
◆ VSC8662_1000BT_CTRL_MS_MAN_CONF_EN
#define VSC8662_1000BT_CTRL_MS_MAN_CONF_EN 0x1000 |
Definition at line 193 of file vsc8662_driver.h.
◆ VSC8662_1000BT_CTRL_MS_MAN_CONF_VAL
#define VSC8662_1000BT_CTRL_MS_MAN_CONF_VAL 0x0800 |
Definition at line 194 of file vsc8662_driver.h.
◆ VSC8662_1000BT_CTRL_PORT_TYPE
#define VSC8662_1000BT_CTRL_PORT_TYPE 0x0400 |
Definition at line 195 of file vsc8662_driver.h.
◆ VSC8662_1000BT_CTRL_TEST_MODE
#define VSC8662_1000BT_CTRL_TEST_MODE 0xE000 |
Definition at line 192 of file vsc8662_driver.h.
◆ VSC8662_1000BT_EXT_STAT1
#define VSC8662_1000BT_EXT_STAT1 0x0F |
Definition at line 56 of file vsc8662_driver.h.
◆ VSC8662_1000BT_EXT_STAT1_1000BT_FD
#define VSC8662_1000BT_EXT_STAT1_1000BT_FD 0x2000 |
Definition at line 211 of file vsc8662_driver.h.
◆ VSC8662_1000BT_EXT_STAT1_1000BT_HD
#define VSC8662_1000BT_EXT_STAT1_1000BT_HD 0x1000 |
Definition at line 212 of file vsc8662_driver.h.
◆ VSC8662_1000BT_EXT_STAT1_1000BX_FD
#define VSC8662_1000BT_EXT_STAT1_1000BX_FD 0x8000 |
Definition at line 209 of file vsc8662_driver.h.
◆ VSC8662_1000BT_EXT_STAT1_1000BX_HD
#define VSC8662_1000BT_EXT_STAT1_1000BX_HD 0x4000 |
Definition at line 210 of file vsc8662_driver.h.
◆ VSC8662_1000BT_EXT_STAT2
#define VSC8662_1000BT_EXT_STAT2 0x11 |
Definition at line 60 of file vsc8662_driver.h.
◆ VSC8662_1000BT_EXT_STAT2_CARRIER_EXT_ERROR
#define VSC8662_1000BT_EXT_STAT2_CARRIER_EXT_ERROR 0x0080 |
Definition at line 233 of file vsc8662_driver.h.
◆ VSC8662_1000BT_EXT_STAT2_DESCRAMBLER
#define VSC8662_1000BT_EXT_STAT2_DESCRAMBLER 0x8000 |
Definition at line 225 of file vsc8662_driver.h.
◆ VSC8662_1000BT_EXT_STAT2_DISCONNECT_STATE
#define VSC8662_1000BT_EXT_STAT2_DISCONNECT_STATE 0x2000 |
Definition at line 227 of file vsc8662_driver.h.
◆ VSC8662_1000BT_EXT_STAT2_ESD_ERROR
#define VSC8662_1000BT_EXT_STAT2_ESD_ERROR 0x0100 |
Definition at line 232 of file vsc8662_driver.h.
◆ VSC8662_1000BT_EXT_STAT2_LINK_STATUS
#define VSC8662_1000BT_EXT_STAT2_LINK_STATUS 0x1000 |
Definition at line 228 of file vsc8662_driver.h.
◆ VSC8662_1000BT_EXT_STAT2_LOCK_ERROR
#define VSC8662_1000BT_EXT_STAT2_LOCK_ERROR 0x4000 |
Definition at line 226 of file vsc8662_driver.h.
◆ VSC8662_1000BT_EXT_STAT2_MDI_CROSSOVER_ERROR
#define VSC8662_1000BT_EXT_STAT2_MDI_CROSSOVER_ERROR 0x0020 |
Definition at line 235 of file vsc8662_driver.h.
◆ VSC8662_1000BT_EXT_STAT2_NON_COMP_BCM5400_DETECT
#define VSC8662_1000BT_EXT_STAT2_NON_COMP_BCM5400_DETECT 0x0040 |
Definition at line 234 of file vsc8662_driver.h.
◆ VSC8662_1000BT_EXT_STAT2_RECEIVE_ERROR
#define VSC8662_1000BT_EXT_STAT2_RECEIVE_ERROR 0x0800 |
Definition at line 229 of file vsc8662_driver.h.
◆ VSC8662_1000BT_EXT_STAT2_SSD_ERROR
#define VSC8662_1000BT_EXT_STAT2_SSD_ERROR 0x0200 |
Definition at line 231 of file vsc8662_driver.h.
◆ VSC8662_1000BT_EXT_STAT2_TRANSMIT_ERROR
#define VSC8662_1000BT_EXT_STAT2_TRANSMIT_ERROR 0x0400 |
Definition at line 230 of file vsc8662_driver.h.
◆ VSC8662_1000BT_STAT
#define VSC8662_1000BT_STAT 0x0A |
Definition at line 55 of file vsc8662_driver.h.
◆ VSC8662_1000BT_STAT_IDLE_ERR_COUNT
#define VSC8662_1000BT_STAT_IDLE_ERR_COUNT 0x00FF |
Definition at line 206 of file vsc8662_driver.h.
◆ VSC8662_1000BT_STAT_LOCAL_RECEIVER_STATUS
#define VSC8662_1000BT_STAT_LOCAL_RECEIVER_STATUS 0x2000 |
Definition at line 202 of file vsc8662_driver.h.
◆ VSC8662_1000BT_STAT_LP_1000BT_FD
#define VSC8662_1000BT_STAT_LP_1000BT_FD 0x0800 |
Definition at line 204 of file vsc8662_driver.h.
◆ VSC8662_1000BT_STAT_LP_1000BT_HD
#define VSC8662_1000BT_STAT_LP_1000BT_HD 0x0400 |
Definition at line 205 of file vsc8662_driver.h.
◆ VSC8662_1000BT_STAT_MS_CONF_FAULT
#define VSC8662_1000BT_STAT_MS_CONF_FAULT 0x8000 |
Definition at line 200 of file vsc8662_driver.h.
◆ VSC8662_1000BT_STAT_MS_CONF_RES
#define VSC8662_1000BT_STAT_MS_CONF_RES 0x4000 |
Definition at line 201 of file vsc8662_driver.h.
◆ VSC8662_1000BT_STAT_REMOTE_RECEIVER_STATUS
#define VSC8662_1000BT_STAT_REMOTE_RECEIVER_STATUS 0x1000 |
Definition at line 203 of file vsc8662_driver.h.
◆ VSC8662_100BTX_EXT_STAT
#define VSC8662_100BTX_EXT_STAT 0x10 |
Definition at line 59 of file vsc8662_driver.h.
◆ VSC8662_100BTX_EXT_STAT_DESCRAMBLER
#define VSC8662_100BTX_EXT_STAT_DESCRAMBLER 0x8000 |
Definition at line 215 of file vsc8662_driver.h.
◆ VSC8662_100BTX_EXT_STAT_DISCONNECT_STATE
#define VSC8662_100BTX_EXT_STAT_DISCONNECT_STATE 0x2000 |
Definition at line 217 of file vsc8662_driver.h.
◆ VSC8662_100BTX_EXT_STAT_ESD_ERROR
#define VSC8662_100BTX_EXT_STAT_ESD_ERROR 0x0100 |
Definition at line 222 of file vsc8662_driver.h.
◆ VSC8662_100BTX_EXT_STAT_LINK_STATUS
#define VSC8662_100BTX_EXT_STAT_LINK_STATUS 0x1000 |
Definition at line 218 of file vsc8662_driver.h.
◆ VSC8662_100BTX_EXT_STAT_LOCK_ERROR
#define VSC8662_100BTX_EXT_STAT_LOCK_ERROR 0x4000 |
Definition at line 216 of file vsc8662_driver.h.
◆ VSC8662_100BTX_EXT_STAT_RECEIVE_ERROR
#define VSC8662_100BTX_EXT_STAT_RECEIVE_ERROR 0x0800 |
Definition at line 219 of file vsc8662_driver.h.
◆ VSC8662_100BTX_EXT_STAT_SSD_ERROR
#define VSC8662_100BTX_EXT_STAT_SSD_ERROR 0x0200 |
Definition at line 221 of file vsc8662_driver.h.
◆ VSC8662_100BTX_EXT_STAT_TRANSMIT_ERROR
#define VSC8662_100BTX_EXT_STAT_TRANSMIT_ERROR 0x0400 |
Definition at line 220 of file vsc8662_driver.h.
◆ VSC8662_ANAR
#define VSC8662_ANAR 0x04 |
Definition at line 49 of file vsc8662_driver.h.
◆ VSC8662_ANAR_100BT4
#define VSC8662_ANAR_100BT4 0x0200 |
Definition at line 147 of file vsc8662_driver.h.
◆ VSC8662_ANAR_100BTX_FD
#define VSC8662_ANAR_100BTX_FD 0x0100 |
Definition at line 148 of file vsc8662_driver.h.
◆ VSC8662_ANAR_100BTX_HD
#define VSC8662_ANAR_100BTX_HD 0x0080 |
Definition at line 149 of file vsc8662_driver.h.
◆ VSC8662_ANAR_10BT_FD
#define VSC8662_ANAR_10BT_FD 0x0040 |
Definition at line 150 of file vsc8662_driver.h.
◆ VSC8662_ANAR_10BT_HD
#define VSC8662_ANAR_10BT_HD 0x0020 |
Definition at line 151 of file vsc8662_driver.h.
◆ VSC8662_ANAR_ASYM_PAUSE
#define VSC8662_ANAR_ASYM_PAUSE 0x0800 |
Definition at line 145 of file vsc8662_driver.h.
◆ VSC8662_ANAR_NEXT_PAGE
#define VSC8662_ANAR_NEXT_PAGE 0x8000 |
Definition at line 143 of file vsc8662_driver.h.
◆ VSC8662_ANAR_REMOTE_FAULT
#define VSC8662_ANAR_REMOTE_FAULT 0x2000 |
Definition at line 144 of file vsc8662_driver.h.
◆ VSC8662_ANAR_SELECTOR
#define VSC8662_ANAR_SELECTOR 0x001F |
Definition at line 152 of file vsc8662_driver.h.
◆ VSC8662_ANAR_SELECTOR_DEFAULT
#define VSC8662_ANAR_SELECTOR_DEFAULT 0x0001 |
Definition at line 153 of file vsc8662_driver.h.
◆ VSC8662_ANAR_SYM_PAUSE
#define VSC8662_ANAR_SYM_PAUSE 0x0400 |
Definition at line 146 of file vsc8662_driver.h.
◆ VSC8662_ANER
#define VSC8662_ANER 0x06 |
Definition at line 51 of file vsc8662_driver.h.
◆ VSC8662_ANER_LP_AN_ABLE
#define VSC8662_ANER_LP_AN_ABLE 0x0001 |
Definition at line 174 of file vsc8662_driver.h.
◆ VSC8662_ANER_LP_NEXT_PAGE_ABLE
#define VSC8662_ANER_LP_NEXT_PAGE_ABLE 0x0008 |
Definition at line 171 of file vsc8662_driver.h.
◆ VSC8662_ANER_NEXT_PAGE_ABLE
#define VSC8662_ANER_NEXT_PAGE_ABLE 0x0004 |
Definition at line 172 of file vsc8662_driver.h.
◆ VSC8662_ANER_PAGE_RECEIVED
#define VSC8662_ANER_PAGE_RECEIVED 0x0002 |
Definition at line 173 of file vsc8662_driver.h.
◆ VSC8662_ANER_PAR_DETECT_FAULT
#define VSC8662_ANER_PAR_DETECT_FAULT 0x0010 |
Definition at line 170 of file vsc8662_driver.h.
◆ VSC8662_ANLPAR
#define VSC8662_ANLPAR 0x05 |
Definition at line 50 of file vsc8662_driver.h.
◆ VSC8662_ANLPAR_100BT4
#define VSC8662_ANLPAR_100BT4 0x0200 |
Definition at line 161 of file vsc8662_driver.h.
◆ VSC8662_ANLPAR_100BTX_FD
#define VSC8662_ANLPAR_100BTX_FD 0x0100 |
Definition at line 162 of file vsc8662_driver.h.
◆ VSC8662_ANLPAR_100BTX_HD
#define VSC8662_ANLPAR_100BTX_HD 0x0080 |
Definition at line 163 of file vsc8662_driver.h.
◆ VSC8662_ANLPAR_10BT_FD
#define VSC8662_ANLPAR_10BT_FD 0x0040 |
Definition at line 164 of file vsc8662_driver.h.
◆ VSC8662_ANLPAR_10BT_HD
#define VSC8662_ANLPAR_10BT_HD 0x0020 |
Definition at line 165 of file vsc8662_driver.h.
◆ VSC8662_ANLPAR_ACK
#define VSC8662_ANLPAR_ACK 0x4000 |
Definition at line 157 of file vsc8662_driver.h.
◆ VSC8662_ANLPAR_ASYM_PAUSE
#define VSC8662_ANLPAR_ASYM_PAUSE 0x0800 |
Definition at line 159 of file vsc8662_driver.h.
◆ VSC8662_ANLPAR_NEXT_PAGE
#define VSC8662_ANLPAR_NEXT_PAGE 0x8000 |
Definition at line 156 of file vsc8662_driver.h.
◆ VSC8662_ANLPAR_REMOTE_FAULT
#define VSC8662_ANLPAR_REMOTE_FAULT 0x2000 |
Definition at line 158 of file vsc8662_driver.h.
◆ VSC8662_ANLPAR_SELECTOR
#define VSC8662_ANLPAR_SELECTOR 0x001F |
Definition at line 166 of file vsc8662_driver.h.
◆ VSC8662_ANLPAR_SELECTOR_DEFAULT
#define VSC8662_ANLPAR_SELECTOR_DEFAULT 0x0001 |
Definition at line 167 of file vsc8662_driver.h.
◆ VSC8662_ANLPAR_SYM_PAUSE
#define VSC8662_ANLPAR_SYM_PAUSE 0x0400 |
Definition at line 160 of file vsc8662_driver.h.
◆ VSC8662_ANLPNPR
#define VSC8662_ANLPNPR 0x08 |
Definition at line 53 of file vsc8662_driver.h.
◆ VSC8662_ANLPNPR_ACK
#define VSC8662_ANLPNPR_ACK 0x4000 |
Definition at line 185 of file vsc8662_driver.h.
◆ VSC8662_ANLPNPR_ACK2
#define VSC8662_ANLPNPR_ACK2 0x1000 |
Definition at line 187 of file vsc8662_driver.h.
◆ VSC8662_ANLPNPR_MESSAGE
#define VSC8662_ANLPNPR_MESSAGE 0x07FF |
Definition at line 189 of file vsc8662_driver.h.
◆ VSC8662_ANLPNPR_MSG_PAGE
#define VSC8662_ANLPNPR_MSG_PAGE 0x2000 |
Definition at line 186 of file vsc8662_driver.h.
◆ VSC8662_ANLPNPR_NEXT_PAGE
#define VSC8662_ANLPNPR_NEXT_PAGE 0x8000 |
Definition at line 184 of file vsc8662_driver.h.
◆ VSC8662_ANLPNPR_TOGGLE
#define VSC8662_ANLPNPR_TOGGLE 0x0800 |
Definition at line 188 of file vsc8662_driver.h.
◆ VSC8662_ANNPTR
#define VSC8662_ANNPTR 0x07 |
Definition at line 52 of file vsc8662_driver.h.
◆ VSC8662_ANNPTR_ACK2
#define VSC8662_ANNPTR_ACK2 0x1000 |
Definition at line 179 of file vsc8662_driver.h.
◆ VSC8662_ANNPTR_MESSAGE
#define VSC8662_ANNPTR_MESSAGE 0x07FF |
Definition at line 181 of file vsc8662_driver.h.
◆ VSC8662_ANNPTR_MSG_PAGE
#define VSC8662_ANNPTR_MSG_PAGE 0x2000 |
Definition at line 178 of file vsc8662_driver.h.
◆ VSC8662_ANNPTR_NEXT_PAGE
#define VSC8662_ANNPTR_NEXT_PAGE 0x8000 |
Definition at line 177 of file vsc8662_driver.h.
◆ VSC8662_ANNPTR_TOGGLE
#define VSC8662_ANNPTR_TOGGLE 0x0800 |
Definition at line 180 of file vsc8662_driver.h.
◆ VSC8662_AUX_CTRL_STAT
#define VSC8662_AUX_CTRL_STAT 0x1C |
Definition at line 71 of file vsc8662_driver.h.
◆ VSC8662_AUX_CTRL_STAT_A_POLARITY_INVERSION
#define VSC8662_AUX_CTRL_STAT_A_POLARITY_INVERSION 0x0800 |
Definition at line 351 of file vsc8662_driver.h.
◆ VSC8662_AUX_CTRL_STAT_ACTIPHY_LINK_STAT_TMO_LSB
#define VSC8662_AUX_CTRL_STAT_ACTIPHY_LINK_STAT_TMO_LSB 0x0004 |
Definition at line 362 of file vsc8662_driver.h.
◆ VSC8662_AUX_CTRL_STAT_ACTIPHY_LINK_STAT_TMO_MSB
#define VSC8662_AUX_CTRL_STAT_ACTIPHY_LINK_STAT_TMO_MSB 0x0080 |
Definition at line 355 of file vsc8662_driver.h.
◆ VSC8662_AUX_CTRL_STAT_ACTIPHY_MODE_EN
#define VSC8662_AUX_CTRL_STAT_ACTIPHY_MODE_EN 0x0040 |
Definition at line 356 of file vsc8662_driver.h.
◆ VSC8662_AUX_CTRL_STAT_AN_COMPLETE
#define VSC8662_AUX_CTRL_STAT_AN_COMPLETE 0x8000 |
Definition at line 347 of file vsc8662_driver.h.
◆ VSC8662_AUX_CTRL_STAT_AN_DIS
#define VSC8662_AUX_CTRL_STAT_AN_DIS 0x4000 |
Definition at line 348 of file vsc8662_driver.h.
◆ VSC8662_AUX_CTRL_STAT_B_POLARITY_INVERSION
#define VSC8662_AUX_CTRL_STAT_B_POLARITY_INVERSION 0x0400 |
Definition at line 352 of file vsc8662_driver.h.
◆ VSC8662_AUX_CTRL_STAT_C_POLARITY_INVERSION
#define VSC8662_AUX_CTRL_STAT_C_POLARITY_INVERSION 0x0200 |
Definition at line 353 of file vsc8662_driver.h.
◆ VSC8662_AUX_CTRL_STAT_CD_PAIR_SWAP
#define VSC8662_AUX_CTRL_STAT_CD_PAIR_SWAP 0x1000 |
Definition at line 350 of file vsc8662_driver.h.
◆ VSC8662_AUX_CTRL_STAT_D_POLARITY_INVERSION
#define VSC8662_AUX_CTRL_STAT_D_POLARITY_INVERSION 0x0100 |
Definition at line 354 of file vsc8662_driver.h.
◆ VSC8662_AUX_CTRL_STAT_FDX_STATUS
#define VSC8662_AUX_CTRL_STAT_FDX_STATUS 0x0020 |
Definition at line 357 of file vsc8662_driver.h.
◆ VSC8662_AUX_CTRL_STAT_MDI_MDIX_IND
#define VSC8662_AUX_CTRL_STAT_MDI_MDIX_IND 0x2000 |
Definition at line 349 of file vsc8662_driver.h.
◆ VSC8662_AUX_CTRL_STAT_MEDIA_MODE_STATUS
#define VSC8662_AUX_CTRL_STAT_MEDIA_MODE_STATUS 0x0003 |
Definition at line 363 of file vsc8662_driver.h.
◆ VSC8662_AUX_CTRL_STAT_SPEED_STATUS
#define VSC8662_AUX_CTRL_STAT_SPEED_STATUS 0x0018 |
Definition at line 358 of file vsc8662_driver.h.
◆ VSC8662_AUX_CTRL_STAT_SPEED_STATUS_10
#define VSC8662_AUX_CTRL_STAT_SPEED_STATUS_10 0x0000 |
Definition at line 359 of file vsc8662_driver.h.
◆ VSC8662_AUX_CTRL_STAT_SPEED_STATUS_100
#define VSC8662_AUX_CTRL_STAT_SPEED_STATUS_100 0x0008 |
Definition at line 360 of file vsc8662_driver.h.
◆ VSC8662_AUX_CTRL_STAT_SPEED_STATUS_1000
#define VSC8662_AUX_CTRL_STAT_SPEED_STATUS_1000 0x0010 |
Definition at line 361 of file vsc8662_driver.h.
◆ VSC8662_BMCR
#define VSC8662_BMCR 0x00 |
Definition at line 45 of file vsc8662_driver.h.
◆ VSC8662_BMCR_AN_EN
#define VSC8662_BMCR_AN_EN 0x1000 |
Definition at line 104 of file vsc8662_driver.h.
◆ VSC8662_BMCR_COL_TEST
#define VSC8662_BMCR_COL_TEST 0x0080 |
Definition at line 109 of file vsc8662_driver.h.
◆ VSC8662_BMCR_DUPLEX_MODE
#define VSC8662_BMCR_DUPLEX_MODE 0x0100 |
Definition at line 108 of file vsc8662_driver.h.
◆ VSC8662_BMCR_ISOLATE
#define VSC8662_BMCR_ISOLATE 0x0400 |
Definition at line 106 of file vsc8662_driver.h.
◆ VSC8662_BMCR_LOOPBACK
#define VSC8662_BMCR_LOOPBACK 0x4000 |
Definition at line 102 of file vsc8662_driver.h.
◆ VSC8662_BMCR_POWER_DOWN
#define VSC8662_BMCR_POWER_DOWN 0x0800 |
Definition at line 105 of file vsc8662_driver.h.
◆ VSC8662_BMCR_RESET
#define VSC8662_BMCR_RESET 0x8000 |
Definition at line 101 of file vsc8662_driver.h.
◆ VSC8662_BMCR_RESTART_AN
#define VSC8662_BMCR_RESTART_AN 0x0200 |
Definition at line 107 of file vsc8662_driver.h.
◆ VSC8662_BMCR_SPEED_SEL_LSB
#define VSC8662_BMCR_SPEED_SEL_LSB 0x2000 |
Definition at line 103 of file vsc8662_driver.h.
◆ VSC8662_BMCR_SPEED_SEL_MSB
#define VSC8662_BMCR_SPEED_SEL_MSB 0x0040 |
Definition at line 110 of file vsc8662_driver.h.
◆ VSC8662_BMCR_UNIDIRECTIONAL_EN
#define VSC8662_BMCR_UNIDIRECTIONAL_EN 0x0020 |
Definition at line 111 of file vsc8662_driver.h.
◆ VSC8662_BMSR
#define VSC8662_BMSR 0x01 |
Definition at line 46 of file vsc8662_driver.h.
◆ VSC8662_BMSR_100BT2_FD
#define VSC8662_BMSR_100BT2_FD 0x0400 |
Definition at line 119 of file vsc8662_driver.h.
◆ VSC8662_BMSR_100BT2_HD
#define VSC8662_BMSR_100BT2_HD 0x0200 |
Definition at line 120 of file vsc8662_driver.h.
◆ VSC8662_BMSR_100BT4
#define VSC8662_BMSR_100BT4 0x8000 |
Definition at line 114 of file vsc8662_driver.h.
◆ VSC8662_BMSR_100BTX_FD
#define VSC8662_BMSR_100BTX_FD 0x4000 |
Definition at line 115 of file vsc8662_driver.h.
◆ VSC8662_BMSR_100BTX_HD
#define VSC8662_BMSR_100BTX_HD 0x2000 |
Definition at line 116 of file vsc8662_driver.h.
◆ VSC8662_BMSR_10BT_FD
#define VSC8662_BMSR_10BT_FD 0x1000 |
Definition at line 117 of file vsc8662_driver.h.
◆ VSC8662_BMSR_10BT_HD
#define VSC8662_BMSR_10BT_HD 0x0800 |
Definition at line 118 of file vsc8662_driver.h.
◆ VSC8662_BMSR_AN_CAPABLE
#define VSC8662_BMSR_AN_CAPABLE 0x0008 |
Definition at line 126 of file vsc8662_driver.h.
◆ VSC8662_BMSR_AN_COMPLETE
#define VSC8662_BMSR_AN_COMPLETE 0x0020 |
Definition at line 124 of file vsc8662_driver.h.
◆ VSC8662_BMSR_EXTENDED_CAPABLE
#define VSC8662_BMSR_EXTENDED_CAPABLE 0x0001 |
Definition at line 129 of file vsc8662_driver.h.
◆ VSC8662_BMSR_EXTENDED_STATUS
#define VSC8662_BMSR_EXTENDED_STATUS 0x0100 |
Definition at line 121 of file vsc8662_driver.h.
◆ VSC8662_BMSR_JABBER_DETECT
#define VSC8662_BMSR_JABBER_DETECT 0x0002 |
Definition at line 128 of file vsc8662_driver.h.
◆ VSC8662_BMSR_LINK_STATUS
#define VSC8662_BMSR_LINK_STATUS 0x0004 |
Definition at line 127 of file vsc8662_driver.h.
◆ VSC8662_BMSR_PREAMBLE_SUPPR
#define VSC8662_BMSR_PREAMBLE_SUPPR 0x0040 |
Definition at line 123 of file vsc8662_driver.h.
◆ VSC8662_BMSR_REMOTE_FAULT
#define VSC8662_BMSR_REMOTE_FAULT 0x0010 |
Definition at line 125 of file vsc8662_driver.h.
◆ VSC8662_BMSR_UNIDIRECTIONAL_ABLE
#define VSC8662_BMSR_UNIDIRECTIONAL_ABLE 0x0080 |
Definition at line 122 of file vsc8662_driver.h.
◆ VSC8662_BYPASS_CTRL
#define VSC8662_BYPASS_CTRL 0x12 |
Definition at line 61 of file vsc8662_driver.h.
◆ VSC8662_BYPASS_CTRL_4B5B_ENC_DEC
#define VSC8662_BYPASS_CTRL_4B5B_ENC_DEC 0x4000 |
Definition at line 239 of file vsc8662_driver.h.
◆ VSC8662_BYPASS_CTRL_AUTO_1000BT_NP_DIS
#define VSC8662_BYPASS_CTRL_AUTO_1000BT_NP_DIS 0x0002 |
Definition at line 251 of file vsc8662_driver.h.
◆ VSC8662_BYPASS_CTRL_AUTO_MDX_10_100
#define VSC8662_BYPASS_CTRL_AUTO_MDX_10_100 0x0080 |
Definition at line 245 of file vsc8662_driver.h.
◆ VSC8662_BYPASS_CTRL_CLKOUT_OUTPUT_EN
#define VSC8662_BYPASS_CTRL_CLKOUT_OUTPUT_EN 0x0001 |
Definition at line 252 of file vsc8662_driver.h.
◆ VSC8662_BYPASS_CTRL_DESCRAMBLER
#define VSC8662_BYPASS_CTRL_DESCRAMBLER 0x1000 |
Definition at line 241 of file vsc8662_driver.h.
◆ VSC8662_BYPASS_CTRL_LFI_TIMER
#define VSC8662_BYPASS_CTRL_LFI_TIMER 0x0200 |
Definition at line 244 of file vsc8662_driver.h.
◆ VSC8662_BYPASS_CTRL_NON_COMP_BCM5400_DETECT_DIS
#define VSC8662_BYPASS_CTRL_NON_COMP_BCM5400_DETECT_DIS 0x0040 |
Definition at line 246 of file vsc8662_driver.h.
◆ VSC8662_BYPASS_CTRL_PAIR_SWAP_CORR_DIS
#define VSC8662_BYPASS_CTRL_PAIR_SWAP_CORR_DIS 0x0020 |
Definition at line 247 of file vsc8662_driver.h.
◆ VSC8662_BYPASS_CTRL_PAR_DETECT_CONTROL
#define VSC8662_BYPASS_CTRL_PAR_DETECT_CONTROL 0x0008 |
Definition at line 249 of file vsc8662_driver.h.
◆ VSC8662_BYPASS_CTRL_PCS_RECEIVE
#define VSC8662_BYPASS_CTRL_PCS_RECEIVE 0x0800 |
Definition at line 242 of file vsc8662_driver.h.
◆ VSC8662_BYPASS_CTRL_PCS_TRANSMIT
#define VSC8662_BYPASS_CTRL_PCS_TRANSMIT 0x0400 |
Definition at line 243 of file vsc8662_driver.h.
◆ VSC8662_BYPASS_CTRL_POL_CORR_DIS
#define VSC8662_BYPASS_CTRL_POL_CORR_DIS 0x0010 |
Definition at line 248 of file vsc8662_driver.h.
◆ VSC8662_BYPASS_CTRL_PULSE_SHAPING_FILTER
#define VSC8662_BYPASS_CTRL_PULSE_SHAPING_FILTER 0x0004 |
Definition at line 250 of file vsc8662_driver.h.
◆ VSC8662_BYPASS_CTRL_SCRAMBLER
#define VSC8662_BYPASS_CTRL_SCRAMBLER 0x2000 |
Definition at line 240 of file vsc8662_driver.h.
◆ VSC8662_BYPASS_CTRL_TRANSMIT_DIS
#define VSC8662_BYPASS_CTRL_TRANSMIT_DIS 0x8000 |
Definition at line 238 of file vsc8662_driver.h.
◆ VSC8662_CRC_GOOD_CNT
#define VSC8662_CRC_GOOD_CNT 0x12 |
Definition at line 79 of file vsc8662_driver.h.
◆ VSC8662_CRC_GOOD_CNT_CONTENTS
#define VSC8662_CRC_GOOD_CNT_CONTENTS 0x3FFF |
Definition at line 409 of file vsc8662_driver.h.
◆ VSC8662_CRC_GOOD_CNT_PKT_SINCE_LAST_READ
#define VSC8662_CRC_GOOD_CNT_PKT_SINCE_LAST_READ 0x8000 |
Definition at line 408 of file vsc8662_driver.h.
◆ VSC8662_EPG_CTRL1
#define VSC8662_EPG_CTRL1 0x1D |
Definition at line 84 of file vsc8662_driver.h.
◆ VSC8662_EPG_CTRL1_BAD_FCS_GENERATION
#define VSC8662_EPG_CTRL1_BAD_FCS_GENERATION 0x0001 |
Definition at line 462 of file vsc8662_driver.h.
◆ VSC8662_EPG_CTRL1_DEST_ADDR
#define VSC8662_EPG_CTRL1_DEST_ADDR 0x03C0 |
Definition at line 459 of file vsc8662_driver.h.
◆ VSC8662_EPG_CTRL1_EPG_EN
#define VSC8662_EPG_CTRL1_EPG_EN 0x8000 |
Definition at line 454 of file vsc8662_driver.h.
◆ VSC8662_EPG_CTRL1_EPG_RUN_STOP
#define VSC8662_EPG_CTRL1_EPG_RUN_STOP 0x4000 |
Definition at line 455 of file vsc8662_driver.h.
◆ VSC8662_EPG_CTRL1_INTER_PACKET_GAP
#define VSC8662_EPG_CTRL1_INTER_PACKET_GAP 0x0400 |
Definition at line 458 of file vsc8662_driver.h.
◆ VSC8662_EPG_CTRL1_PACKET_LENGTH
#define VSC8662_EPG_CTRL1_PACKET_LENGTH 0x1800 |
Definition at line 457 of file vsc8662_driver.h.
◆ VSC8662_EPG_CTRL1_PAYLOAD_TYPE
#define VSC8662_EPG_CTRL1_PAYLOAD_TYPE 0x0002 |
Definition at line 461 of file vsc8662_driver.h.
◆ VSC8662_EPG_CTRL1_SOURCE_ADDR
#define VSC8662_EPG_CTRL1_SOURCE_ADDR 0x003C |
Definition at line 460 of file vsc8662_driver.h.
◆ VSC8662_EPG_CTRL1_TRANSMISSION_DURATION
#define VSC8662_EPG_CTRL1_TRANSMISSION_DURATION 0x2000 |
Definition at line 456 of file vsc8662_driver.h.
◆ VSC8662_EPG_CTRL2
#define VSC8662_EPG_CTRL2 0x1E |
Definition at line 85 of file vsc8662_driver.h.
◆ VSC8662_EPG_CTRL2_EPG_PACKET_PAYLOAD
#define VSC8662_EPG_CTRL2_EPG_PACKET_PAYLOAD 0xFFFF |
Definition at line 465 of file vsc8662_driver.h.
◆ VSC8662_ERR_CNT1
#define VSC8662_ERR_CNT1 0x13 |
Definition at line 62 of file vsc8662_driver.h.
◆ VSC8662_ERR_CNT1_VALUE
#define VSC8662_ERR_CNT1_VALUE 0x00FF |
Definition at line 255 of file vsc8662_driver.h.
◆ VSC8662_ERR_CNT2
#define VSC8662_ERR_CNT2 0x14 |
Definition at line 63 of file vsc8662_driver.h.
◆ VSC8662_ERR_CNT2_VALUE
#define VSC8662_ERR_CNT2_VALUE 0x00FF |
Definition at line 258 of file vsc8662_driver.h.
◆ VSC8662_ERR_CNT3
#define VSC8662_ERR_CNT3 0x15 |
Definition at line 64 of file vsc8662_driver.h.
◆ VSC8662_ERR_CNT3_VALUE
#define VSC8662_ERR_CNT3_VALUE 0x00FF |
Definition at line 261 of file vsc8662_driver.h.
◆ VSC8662_EXT_CTRL_STAT
#define VSC8662_EXT_CTRL_STAT 0x16 |
Definition at line 65 of file vsc8662_driver.h.
◆ VSC8662_EXT_CTRL_STAT_10BT_DISCONNECT_STATE
#define VSC8662_EXT_CTRL_STAT_10BT_DISCONNECT_STATE 0x0080 |
Definition at line 271 of file vsc8662_driver.h.
◆ VSC8662_EXT_CTRL_STAT_10BT_ECHO_DIS
#define VSC8662_EXT_CTRL_STAT_10BT_ECHO_DIS 0x2000 |
Definition at line 266 of file vsc8662_driver.h.
◆ VSC8662_EXT_CTRL_STAT_10BT_LINK_STATUS
#define VSC8662_EXT_CTRL_STAT_10BT_LINK_STATUS 0x0040 |
Definition at line 272 of file vsc8662_driver.h.
◆ VSC8662_EXT_CTRL_STAT_10BT_SQUELCH_CONTROL
#define VSC8662_EXT_CTRL_STAT_10BT_SQUELCH_CONTROL 0x0C00 |
Definition at line 268 of file vsc8662_driver.h.
◆ VSC8662_EXT_CTRL_STAT_CRS_CONTROL
#define VSC8662_EXT_CTRL_STAT_CRS_CONTROL 0x0006 |
Definition at line 273 of file vsc8662_driver.h.
◆ VSC8662_EXT_CTRL_STAT_EOF_ERROR
#define VSC8662_EXT_CTRL_STAT_EOF_ERROR 0x0100 |
Definition at line 270 of file vsc8662_driver.h.
◆ VSC8662_EXT_CTRL_STAT_FORCE_10BT_LINK
#define VSC8662_EXT_CTRL_STAT_FORCE_10BT_LINK 0x8000 |
Definition at line 264 of file vsc8662_driver.h.
◆ VSC8662_EXT_CTRL_STAT_JABBER_DETECT_DIS
#define VSC8662_EXT_CTRL_STAT_JABBER_DETECT_DIS 0x4000 |
Definition at line 265 of file vsc8662_driver.h.
◆ VSC8662_EXT_CTRL_STAT_SMI_BROADCAST_WRITE
#define VSC8662_EXT_CTRL_STAT_SMI_BROADCAST_WRITE 0x0001 |
Definition at line 274 of file vsc8662_driver.h.
◆ VSC8662_EXT_CTRL_STAT_SQE_MODE_DIS
#define VSC8662_EXT_CTRL_STAT_SQE_MODE_DIS 0x1000 |
Definition at line 267 of file vsc8662_driver.h.
◆ VSC8662_EXT_CTRL_STAT_STICKY_RESET_EN
#define VSC8662_EXT_CTRL_STAT_STICKY_RESET_EN 0x0200 |
Definition at line 269 of file vsc8662_driver.h.
◆ VSC8662_EXT_PAGE_ACCESS
#define VSC8662_EXT_PAGE_ACCESS 0x1F |
Definition at line 74 of file vsc8662_driver.h.
◆ VSC8662_EXT_PAGE_ACCESS_EXTENDED
#define VSC8662_EXT_PAGE_ACCESS_EXTENDED 0x0001 |
Definition at line 387 of file vsc8662_driver.h.
◆ VSC8662_EXT_PAGE_ACCESS_GPIO
#define VSC8662_EXT_PAGE_ACCESS_GPIO 0x0010 |
Definition at line 388 of file vsc8662_driver.h.
◆ VSC8662_EXT_PAGE_ACCESS_MAIN
#define VSC8662_EXT_PAGE_ACCESS_MAIN 0x0000 |
Definition at line 386 of file vsc8662_driver.h.
◆ VSC8662_EXT_PHY_CTRL1
#define VSC8662_EXT_PHY_CTRL1 0x17 |
Definition at line 66 of file vsc8662_driver.h.
◆ VSC8662_EXT_PHY_CTRL1_AMS_PREFERENCE
#define VSC8662_EXT_PHY_CTRL1_AMS_PREFERENCE 0x0800 |
Definition at line 279 of file vsc8662_driver.h.
◆ VSC8662_EXT_PHY_CTRL1_FAR_END_LOOPBACK
#define VSC8662_EXT_PHY_CTRL1_FAR_END_LOOPBACK 0x0008 |
Definition at line 282 of file vsc8662_driver.h.
◆ VSC8662_EXT_PHY_CTRL1_FORCE_AMS_OVERRIDE
#define VSC8662_EXT_PHY_CTRL1_FORCE_AMS_OVERRIDE 0x00C0 |
Definition at line 281 of file vsc8662_driver.h.
◆ VSC8662_EXT_PHY_CTRL1_MAC_AN
#define VSC8662_EXT_PHY_CTRL1_MAC_AN 0x2000 |
Definition at line 277 of file vsc8662_driver.h.
◆ VSC8662_EXT_PHY_CTRL1_MAC_MODE
#define VSC8662_EXT_PHY_CTRL1_MAC_MODE 0x1000 |
Definition at line 278 of file vsc8662_driver.h.
◆ VSC8662_EXT_PHY_CTRL1_MEDIA_OP_MODE
#define VSC8662_EXT_PHY_CTRL1_MEDIA_OP_MODE 0x0700 |
Definition at line 280 of file vsc8662_driver.h.
◆ VSC8662_EXT_PHY_CTRL1_SGMII_ALIGN_ERROR_STATUS
#define VSC8662_EXT_PHY_CTRL1_SGMII_ALIGN_ERROR_STATUS 0x0002 |
Definition at line 283 of file vsc8662_driver.h.
◆ VSC8662_EXT_PHY_CTRL2
#define VSC8662_EXT_PHY_CTRL2 0x18 |
Definition at line 67 of file vsc8662_driver.h.
◆ VSC8662_EXT_PHY_CTRL2_1000BT_CONNECTOR_LOOPBACK
#define VSC8662_EXT_PHY_CTRL2_1000BT_CONNECTOR_LOOPBACK 0x0001 |
Definition at line 292 of file vsc8662_driver.h.
◆ VSC8662_EXT_PHY_CTRL2_100BTX_EDGE_RATE_CONTROL
#define VSC8662_EXT_PHY_CTRL2_100BTX_EDGE_RATE_CONTROL 0xE000 |
Definition at line 286 of file vsc8662_driver.h.
◆ VSC8662_EXT_PHY_CTRL2_100BTX_TX_AMPLITUDE_CONTROL
#define VSC8662_EXT_PHY_CTRL2_100BTX_TX_AMPLITUDE_CONTROL 0x000E |
Definition at line 291 of file vsc8662_driver.h.
◆ VSC8662_EXT_PHY_CTRL2_JUMBO_PACKET_MODE
#define VSC8662_EXT_PHY_CTRL2_JUMBO_PACKET_MODE 0x0030 |
Definition at line 290 of file vsc8662_driver.h.
◆ VSC8662_EXT_PHY_CTRL2_PICMG_2_16_REDUCED_PWR_MODE
#define VSC8662_EXT_PHY_CTRL2_PICMG_2_16_REDUCED_PWR_MODE 0x1000 |
Definition at line 287 of file vsc8662_driver.h.
◆ VSC8662_EXT_PHY_CTRL2_SGMII_INPUT_PREAMBLE
#define VSC8662_EXT_PHY_CTRL2_SGMII_INPUT_PREAMBLE 0x0180 |
Definition at line 288 of file vsc8662_driver.h.
◆ VSC8662_EXT_PHY_CTRL2_SGMII_OUTPUT_PREAMBLE
#define VSC8662_EXT_PHY_CTRL2_SGMII_OUTPUT_PREAMBLE 0x0040 |
Definition at line 289 of file vsc8662_driver.h.
◆ VSC8662_EXT_PHY_CTRL3
#define VSC8662_EXT_PHY_CTRL3 0x14 |
Definition at line 81 of file vsc8662_driver.h.
◆ VSC8662_EXT_PHY_CTRL3_10BT_NO_PREAMBLE_MODE_EN
#define VSC8662_EXT_PHY_CTRL3_10BT_NO_PREAMBLE_MODE_EN 0x0020 |
Definition at line 432 of file vsc8662_driver.h.
◆ VSC8662_EXT_PHY_CTRL3_ACTIPHY_SLEEP_TIMER
#define VSC8662_EXT_PHY_CTRL3_ACTIPHY_SLEEP_TIMER 0x6000 |
Definition at line 427 of file vsc8662_driver.h.
◆ VSC8662_EXT_PHY_CTRL3_ACTIPHY_WAKE_UP_TIMER
#define VSC8662_EXT_PHY_CTRL3_ACTIPHY_WAKE_UP_TIMER 0x1800 |
Definition at line 428 of file vsc8662_driver.h.
◆ VSC8662_EXT_PHY_CTRL3_CARRIER_EXT_DIS
#define VSC8662_EXT_PHY_CTRL3_CARRIER_EXT_DIS 0x8000 |
Definition at line 426 of file vsc8662_driver.h.
◆ VSC8662_EXT_PHY_CTRL3_CLKOUT_FREQ
#define VSC8662_EXT_PHY_CTRL3_CLKOUT_FREQ 0x0100 |
Definition at line 430 of file vsc8662_driver.h.
◆ VSC8662_EXT_PHY_CTRL3_LINK_SPEED_AUTODOWNSHIFT_CTRL
#define VSC8662_EXT_PHY_CTRL3_LINK_SPEED_AUTODOWNSHIFT_CTRL 0x000C |
Definition at line 434 of file vsc8662_driver.h.
◆ VSC8662_EXT_PHY_CTRL3_LINK_SPEED_AUTODOWNSHIFT_EN
#define VSC8662_EXT_PHY_CTRL3_LINK_SPEED_AUTODOWNSHIFT_EN 0x0010 |
Definition at line 433 of file vsc8662_driver.h.
◆ VSC8662_EXT_PHY_CTRL3_LINK_SPEED_AUTODOWNSHIFT_STAT
#define VSC8662_EXT_PHY_CTRL3_LINK_SPEED_AUTODOWNSHIFT_STAT 0x0002 |
Definition at line 435 of file vsc8662_driver.h.
◆ VSC8662_EXT_PHY_CTRL3_MEDIA_MODE_STATUS
#define VSC8662_EXT_PHY_CTRL3_MEDIA_MODE_STATUS 0x00C0 |
Definition at line 431 of file vsc8662_driver.h.
◆ VSC8662_EXT_PHY_CTRL3_PHY_ADDR_REVERSAL
#define VSC8662_EXT_PHY_CTRL3_PHY_ADDR_REVERSAL 0x0200 |
Definition at line 429 of file vsc8662_driver.h.
◆ VSC8662_EXT_PHY_CTRL4
#define VSC8662_EXT_PHY_CTRL4 0x17 |
Definition at line 82 of file vsc8662_driver.h.
◆ VSC8662_EXT_PHY_CTRL4_CRC_ERROR_CNT
#define VSC8662_EXT_PHY_CTRL4_CRC_ERROR_CNT 0x00FF |
Definition at line 441 of file vsc8662_driver.h.
◆ VSC8662_EXT_PHY_CTRL4_INLINE_PWR_DEVICE_DETECT
#define VSC8662_EXT_PHY_CTRL4_INLINE_PWR_DEVICE_DETECT 0x0400 |
Definition at line 439 of file vsc8662_driver.h.
◆ VSC8662_EXT_PHY_CTRL4_INLINE_PWR_DEVICE_DETECT_STAT
#define VSC8662_EXT_PHY_CTRL4_INLINE_PWR_DEVICE_DETECT_STAT 0x0300 |
Definition at line 440 of file vsc8662_driver.h.
◆ VSC8662_EXT_PHY_CTRL4_PHY_ADDR
#define VSC8662_EXT_PHY_CTRL4_PHY_ADDR 0xF800 |
Definition at line 438 of file vsc8662_driver.h.
◆ VSC8662_FAST_LINK_FAIL_CTRL
#define VSC8662_FAST_LINK_FAIL_CTRL 0x13 |
Definition at line 92 of file vsc8662_driver.h.
◆ VSC8662_FAST_LINK_FAIL_CTRL_PORT
#define VSC8662_FAST_LINK_FAIL_CTRL_PORT 0x0001 |
Definition at line 472 of file vsc8662_driver.h.
◆ VSC8662_GPIO_INPUT
#define VSC8662_GPIO_INPUT 0x0F |
Definition at line 89 of file vsc8662_driver.h.
◆ VSC8662_GPIO_OUTPUT
#define VSC8662_GPIO_OUTPUT 0x10 |
Definition at line 90 of file vsc8662_driver.h.
◆ VSC8662_GPIO_OUTPUT_EN
#define VSC8662_GPIO_OUTPUT_EN 0x11 |
Definition at line 91 of file vsc8662_driver.h.
◆ VSC8662_I2C_MUX_CTRL1
#define VSC8662_I2C_MUX_CTRL1 0x14 |
Definition at line 93 of file vsc8662_driver.h.
◆ VSC8662_I2C_MUX_CTRL1_DEV_ADDR
#define VSC8662_I2C_MUX_CTRL1_DEV_ADDR 0xFE00 |
Definition at line 475 of file vsc8662_driver.h.
◆ VSC8662_I2C_MUX_CTRL1_MUX_PORT_0_EN
#define VSC8662_I2C_MUX_CTRL1_MUX_PORT_0_EN 0x0001 |
Definition at line 478 of file vsc8662_driver.h.
◆ VSC8662_I2C_MUX_CTRL1_MUX_PORT_1_EN
#define VSC8662_I2C_MUX_CTRL1_MUX_PORT_1_EN 0x0002 |
Definition at line 477 of file vsc8662_driver.h.
◆ VSC8662_I2C_MUX_CTRL1_SCL_CLOCK_FREQ
#define VSC8662_I2C_MUX_CTRL1_SCL_CLOCK_FREQ 0x0030 |
Definition at line 476 of file vsc8662_driver.h.
◆ VSC8662_I2C_MUX_CTRL2
#define VSC8662_I2C_MUX_CTRL2 0x15 |
Definition at line 94 of file vsc8662_driver.h.
◆ VSC8662_I2C_MUX_CTRL2_MUX_ACCESS_EN
#define VSC8662_I2C_MUX_CTRL2_MUX_ACCESS_EN 0x0200 |
Definition at line 483 of file vsc8662_driver.h.
◆ VSC8662_I2C_MUX_CTRL2_MUX_ADDR
#define VSC8662_I2C_MUX_CTRL2_MUX_ADDR 0x00FF |
Definition at line 485 of file vsc8662_driver.h.
◆ VSC8662_I2C_MUX_CTRL2_MUX_READ_WRITE
#define VSC8662_I2C_MUX_CTRL2_MUX_READ_WRITE 0x0100 |
Definition at line 484 of file vsc8662_driver.h.
◆ VSC8662_I2C_MUX_CTRL2_MUX_READY
#define VSC8662_I2C_MUX_CTRL2_MUX_READY 0x8000 |
Definition at line 481 of file vsc8662_driver.h.
◆ VSC8662_I2C_MUX_CTRL2_PHY_PORT_ADDR
#define VSC8662_I2C_MUX_CTRL2_PHY_PORT_ADDR 0x0400 |
Definition at line 482 of file vsc8662_driver.h.
◆ VSC8662_I2C_MUX_DATA_RW
#define VSC8662_I2C_MUX_DATA_RW 0x16 |
Definition at line 95 of file vsc8662_driver.h.
◆ VSC8662_I2C_MUX_DATA_RW_MUX_READ_DATA
#define VSC8662_I2C_MUX_DATA_RW_MUX_READ_DATA 0xFF00 |
Definition at line 488 of file vsc8662_driver.h.
◆ VSC8662_I2C_MUX_DATA_RW_MUX_WRITE_DATA
#define VSC8662_I2C_MUX_DATA_RW_MUX_WRITE_DATA 0x00FF |
Definition at line 489 of file vsc8662_driver.h.
◆ VSC8662_INT_MASK
#define VSC8662_INT_MASK 0x19 |
Definition at line 68 of file vsc8662_driver.h.
◆ VSC8662_INT_MASK_AMS_MEDIA_CHANGE
#define VSC8662_INT_MASK_AMS_MEDIA_CHANGE 0x0010 |
Definition at line 306 of file vsc8662_driver.h.
◆ VSC8662_INT_MASK_AN_COMPLETE
#define VSC8662_INT_MASK_AN_COMPLETE 0x0400 |
Definition at line 300 of file vsc8662_driver.h.
◆ VSC8662_INT_MASK_AN_ERROR
#define VSC8662_INT_MASK_AN_ERROR 0x0800 |
Definition at line 299 of file vsc8662_driver.h.
◆ VSC8662_INT_MASK_FALSE_CARRIER
#define VSC8662_INT_MASK_FALSE_CARRIER 0x0008 |
Definition at line 307 of file vsc8662_driver.h.
◆ VSC8662_INT_MASK_FAST_LINK_FAILURE
#define VSC8662_INT_MASK_FAST_LINK_FAILURE 0x0080 |
Definition at line 303 of file vsc8662_driver.h.
◆ VSC8662_INT_MASK_FDX_CHANGE
#define VSC8662_INT_MASK_FDX_CHANGE 0x1000 |
Definition at line 298 of file vsc8662_driver.h.
◆ VSC8662_INT_MASK_LINK_CHANGE
#define VSC8662_INT_MASK_LINK_CHANGE 0x2000 |
Definition at line 297 of file vsc8662_driver.h.
◆ VSC8662_INT_MASK_LINK_SPEED_DOWNSHIFT
#define VSC8662_INT_MASK_LINK_SPEED_DOWNSHIFT 0x0004 |
Definition at line 308 of file vsc8662_driver.h.
◆ VSC8662_INT_MASK_MDINT
#define VSC8662_INT_MASK_MDINT 0x8000 |
Definition at line 295 of file vsc8662_driver.h.
◆ VSC8662_INT_MASK_MS_RESOLUTION_ERROR
#define VSC8662_INT_MASK_MS_RESOLUTION_ERROR 0x0002 |
Definition at line 309 of file vsc8662_driver.h.
◆ VSC8662_INT_MASK_POE_DETECT
#define VSC8662_INT_MASK_POE_DETECT 0x0200 |
Definition at line 301 of file vsc8662_driver.h.
◆ VSC8662_INT_MASK_RX_ER
#define VSC8662_INT_MASK_RX_ER 0x0001 |
Definition at line 310 of file vsc8662_driver.h.
◆ VSC8662_INT_MASK_RX_FIFO_OVER_UNDERFLOW
#define VSC8662_INT_MASK_RX_FIFO_OVER_UNDERFLOW 0x0020 |
Definition at line 305 of file vsc8662_driver.h.
◆ VSC8662_INT_MASK_SPEED_CHANGE
#define VSC8662_INT_MASK_SPEED_CHANGE 0x4000 |
Definition at line 296 of file vsc8662_driver.h.
◆ VSC8662_INT_MASK_SYMBOL_ERROR
#define VSC8662_INT_MASK_SYMBOL_ERROR 0x0100 |
Definition at line 302 of file vsc8662_driver.h.
◆ VSC8662_INT_MASK_TX_FIFO_OVER_UNDERFLOW
#define VSC8662_INT_MASK_TX_FIFO_OVER_UNDERFLOW 0x0040 |
Definition at line 304 of file vsc8662_driver.h.
◆ VSC8662_INT_STATUS
#define VSC8662_INT_STATUS 0x1A |
Definition at line 69 of file vsc8662_driver.h.
◆ VSC8662_INT_STATUS_AMS_MEDIA_CHANGE
#define VSC8662_INT_STATUS_AMS_MEDIA_CHANGE 0x0010 |
Definition at line 324 of file vsc8662_driver.h.
◆ VSC8662_INT_STATUS_AN_COMPLETE
#define VSC8662_INT_STATUS_AN_COMPLETE 0x0400 |
Definition at line 318 of file vsc8662_driver.h.
◆ VSC8662_INT_STATUS_AN_ERROR
#define VSC8662_INT_STATUS_AN_ERROR 0x0800 |
Definition at line 317 of file vsc8662_driver.h.
◆ VSC8662_INT_STATUS_FALSE_CARRIER
#define VSC8662_INT_STATUS_FALSE_CARRIER 0x0008 |
Definition at line 325 of file vsc8662_driver.h.
◆ VSC8662_INT_STATUS_FAST_LINK_FAILURE
#define VSC8662_INT_STATUS_FAST_LINK_FAILURE 0x0080 |
Definition at line 321 of file vsc8662_driver.h.
◆ VSC8662_INT_STATUS_FDX_CHANGE
#define VSC8662_INT_STATUS_FDX_CHANGE 0x1000 |
Definition at line 316 of file vsc8662_driver.h.
◆ VSC8662_INT_STATUS_LINK_CHANGE
#define VSC8662_INT_STATUS_LINK_CHANGE 0x2000 |
Definition at line 315 of file vsc8662_driver.h.
◆ VSC8662_INT_STATUS_LINK_SPEED_DOWNSHIFT
#define VSC8662_INT_STATUS_LINK_SPEED_DOWNSHIFT 0x0004 |
Definition at line 326 of file vsc8662_driver.h.
◆ VSC8662_INT_STATUS_MDINT
#define VSC8662_INT_STATUS_MDINT 0x8000 |
Definition at line 313 of file vsc8662_driver.h.
◆ VSC8662_INT_STATUS_MS_RESOLUTION_ERROR
#define VSC8662_INT_STATUS_MS_RESOLUTION_ERROR 0x0002 |
Definition at line 327 of file vsc8662_driver.h.
◆ VSC8662_INT_STATUS_POE_DETECT
#define VSC8662_INT_STATUS_POE_DETECT 0x0200 |
Definition at line 319 of file vsc8662_driver.h.
◆ VSC8662_INT_STATUS_RX_ER
#define VSC8662_INT_STATUS_RX_ER 0x0001 |
Definition at line 328 of file vsc8662_driver.h.
◆ VSC8662_INT_STATUS_RX_FIFO_OVER_UNDERFLOW
#define VSC8662_INT_STATUS_RX_FIFO_OVER_UNDERFLOW 0x0020 |
Definition at line 323 of file vsc8662_driver.h.
◆ VSC8662_INT_STATUS_SPEED_CHANGE
#define VSC8662_INT_STATUS_SPEED_CHANGE 0x4000 |
Definition at line 314 of file vsc8662_driver.h.
◆ VSC8662_INT_STATUS_SYMBOL_ERROR
#define VSC8662_INT_STATUS_SYMBOL_ERROR 0x0100 |
Definition at line 320 of file vsc8662_driver.h.
◆ VSC8662_INT_STATUS_TX_FIFO_OVER_UNDERFLOW
#define VSC8662_INT_STATUS_TX_FIFO_OVER_UNDERFLOW 0x0040 |
Definition at line 322 of file vsc8662_driver.h.
◆ VSC8662_LED_BEHAVIOR
#define VSC8662_LED_BEHAVIOR 0x1E |
Definition at line 73 of file vsc8662_driver.h.
◆ VSC8662_LED_BEHAVIOR_ACTIVITY_OUTPUT_SEL
#define VSC8662_LED_BEHAVIOR_ACTIVITY_OUTPUT_SEL 0x4000 |
Definition at line 373 of file vsc8662_driver.h.
◆ VSC8662_LED_BEHAVIOR_COPPER_FIBER_LED_COMBINE_DIS
#define VSC8662_LED_BEHAVIOR_COPPER_FIBER_LED_COMBINE_DIS 0x8000 |
Definition at line 372 of file vsc8662_driver.h.
◆ VSC8662_LED_BEHAVIOR_LED0_COMBINE_FEATURE_DIS
#define VSC8662_LED_BEHAVIOR_LED0_COMBINE_FEATURE_DIS 0x0001 |
Definition at line 383 of file vsc8662_driver.h.
◆ VSC8662_LED_BEHAVIOR_LED0_PULSE_STRETCH_BLINK_SEL
#define VSC8662_LED_BEHAVIOR_LED0_PULSE_STRETCH_BLINK_SEL 0x0020 |
Definition at line 379 of file vsc8662_driver.h.
◆ VSC8662_LED_BEHAVIOR_LED1_COMBINE_FEATURE_DIS
#define VSC8662_LED_BEHAVIOR_LED1_COMBINE_FEATURE_DIS 0x0002 |
Definition at line 382 of file vsc8662_driver.h.
◆ VSC8662_LED_BEHAVIOR_LED1_PULSE_STRETCH_BLINK_SEL
#define VSC8662_LED_BEHAVIOR_LED1_PULSE_STRETCH_BLINK_SEL 0x0040 |
Definition at line 378 of file vsc8662_driver.h.
◆ VSC8662_LED_BEHAVIOR_LED2_COMBINE_FEATURE_DIS
#define VSC8662_LED_BEHAVIOR_LED2_COMBINE_FEATURE_DIS 0x0004 |
Definition at line 381 of file vsc8662_driver.h.
◆ VSC8662_LED_BEHAVIOR_LED2_PULSE_STRETCH_BLINK_SEL
#define VSC8662_LED_BEHAVIOR_LED2_PULSE_STRETCH_BLINK_SEL 0x0080 |
Definition at line 377 of file vsc8662_driver.h.
◆ VSC8662_LED_BEHAVIOR_LED3_COMBINE_FEATURE_DIS
#define VSC8662_LED_BEHAVIOR_LED3_COMBINE_FEATURE_DIS 0x0008 |
Definition at line 380 of file vsc8662_driver.h.
◆ VSC8662_LED_BEHAVIOR_LED3_PULSE_STRETCH_BLINK_SEL
#define VSC8662_LED_BEHAVIOR_LED3_PULSE_STRETCH_BLINK_SEL 0x0100 |
Definition at line 376 of file vsc8662_driver.h.
◆ VSC8662_LED_BEHAVIOR_LED_BLINK_PULSE_STRETCH_RATE
#define VSC8662_LED_BEHAVIOR_LED_BLINK_PULSE_STRETCH_RATE 0x0C00 |
Definition at line 375 of file vsc8662_driver.h.
◆ VSC8662_LED_BEHAVIOR_LED_PULSING_EN
#define VSC8662_LED_BEHAVIOR_LED_PULSING_EN 0x1000 |
Definition at line 374 of file vsc8662_driver.h.
◆ VSC8662_LED_MODE_SEL
#define VSC8662_LED_MODE_SEL 0x1D |
Definition at line 72 of file vsc8662_driver.h.
◆ VSC8662_LED_MODE_SEL_LED0
#define VSC8662_LED_MODE_SEL_LED0 0x000F |
Definition at line 369 of file vsc8662_driver.h.
◆ VSC8662_LED_MODE_SEL_LED1
#define VSC8662_LED_MODE_SEL_LED1 0x00F0 |
Definition at line 368 of file vsc8662_driver.h.
◆ VSC8662_LED_MODE_SEL_LED2
#define VSC8662_LED_MODE_SEL_LED2 0x0F00 |
Definition at line 367 of file vsc8662_driver.h.
◆ VSC8662_LED_MODE_SEL_LED3
#define VSC8662_LED_MODE_SEL_LED3 0xF000 |
Definition at line 366 of file vsc8662_driver.h.
◆ VSC8662_LED_PORT_SWAPPING
#define VSC8662_LED_PORT_SWAPPING 0x19 |
Definition at line 98 of file vsc8662_driver.h.
◆ VSC8662_LED_PORT_SWAPPING_LED_PORT_SWAPPING
#define VSC8662_LED_PORT_SWAPPING_LED_PORT_SWAPPING 0x0001 |
Definition at line 506 of file vsc8662_driver.h.
◆ VSC8662_MAC_AN_CTRL_STAT
#define VSC8662_MAC_AN_CTRL_STAT 0x1B |
Definition at line 70 of file vsc8662_driver.h.
◆ VSC8662_MAC_AN_CTRL_STAT_AN_ABLE
#define VSC8662_MAC_AN_CTRL_STAT_AN_ABLE 0x0008 |
Definition at line 341 of file vsc8662_driver.h.
◆ VSC8662_MAC_AN_CTRL_STAT_AN_AUTO_SENSE
#define VSC8662_MAC_AN_CTRL_STAT_AN_AUTO_SENSE 0x2000 |
Definition at line 333 of file vsc8662_driver.h.
◆ VSC8662_MAC_AN_CTRL_STAT_AN_COMPLETE
#define VSC8662_MAC_AN_CTRL_STAT_AN_COMPLETE 0x0002 |
Definition at line 343 of file vsc8662_driver.h.
◆ VSC8662_MAC_AN_CTRL_STAT_AN_RESTART
#define VSC8662_MAC_AN_CTRL_STAT_AN_RESTART 0x1000 |
Definition at line 334 of file vsc8662_driver.h.
◆ VSC8662_MAC_AN_CTRL_STAT_ASYM_PAUSE_ADV
#define VSC8662_MAC_AN_CTRL_STAT_ASYM_PAUSE_ADV 0x0080 |
Definition at line 337 of file vsc8662_driver.h.
◆ VSC8662_MAC_AN_CTRL_STAT_FD_ADV
#define VSC8662_MAC_AN_CTRL_STAT_FD_ADV 0x0020 |
Definition at line 339 of file vsc8662_driver.h.
◆ VSC8662_MAC_AN_CTRL_STAT_HD_ADV
#define VSC8662_MAC_AN_CTRL_STAT_HD_ADV 0x0010 |
Definition at line 340 of file vsc8662_driver.h.
◆ VSC8662_MAC_AN_CTRL_STAT_LINK_STATUS
#define VSC8662_MAC_AN_CTRL_STAT_LINK_STATUS 0x0004 |
Definition at line 342 of file vsc8662_driver.h.
◆ VSC8662_MAC_AN_CTRL_STAT_LP_RESTART_REQ
#define VSC8662_MAC_AN_CTRL_STAT_LP_RESTART_REQ 0x0800 |
Definition at line 335 of file vsc8662_driver.h.
◆ VSC8662_MAC_AN_CTRL_STAT_MAC_MEDIA_INTERLOCK
#define VSC8662_MAC_AN_CTRL_STAT_MAC_MEDIA_INTERLOCK 0x8000 |
Definition at line 331 of file vsc8662_driver.h.
◆ VSC8662_MAC_AN_CTRL_STAT_REMOTE_FAULT
#define VSC8662_MAC_AN_CTRL_STAT_REMOTE_FAULT 0x0300 |
Definition at line 336 of file vsc8662_driver.h.
◆ VSC8662_MAC_AN_CTRL_STAT_RESTART_AN_INTERLOCK
#define VSC8662_MAC_AN_CTRL_STAT_RESTART_AN_INTERLOCK 0x4000 |
Definition at line 332 of file vsc8662_driver.h.
◆ VSC8662_MAC_AN_CTRL_STAT_SIGNAL_DETECT
#define VSC8662_MAC_AN_CTRL_STAT_SIGNAL_DETECT 0x0001 |
Definition at line 344 of file vsc8662_driver.h.
◆ VSC8662_MAC_AN_CTRL_STAT_SYM_PAUSE_ADV
#define VSC8662_MAC_AN_CTRL_STAT_SYM_PAUSE_ADV 0x0040 |
Definition at line 338 of file vsc8662_driver.h.
◆ VSC8662_PHY_ADDR
#define VSC8662_PHY_ADDR 0 |
Definition at line 39 of file vsc8662_driver.h.
◆ VSC8662_PHYID1
#define VSC8662_PHYID1 0x02 |
Definition at line 47 of file vsc8662_driver.h.
◆ VSC8662_PHYID1_OUI_MSB
#define VSC8662_PHYID1_OUI_MSB 0xFFFF |
Definition at line 132 of file vsc8662_driver.h.
◆ VSC8662_PHYID1_OUI_MSB_DEFAULT
#define VSC8662_PHYID1_OUI_MSB_DEFAULT 0x0007 |
Definition at line 133 of file vsc8662_driver.h.
◆ VSC8662_PHYID2
#define VSC8662_PHYID2 0x03 |
Definition at line 48 of file vsc8662_driver.h.
◆ VSC8662_PHYID2_MODEL_NUM
#define VSC8662_PHYID2_MODEL_NUM 0x03F0 |
Definition at line 138 of file vsc8662_driver.h.
◆ VSC8662_PHYID2_MODEL_NUM_DEFAULT
#define VSC8662_PHYID2_MODEL_NUM_DEFAULT 0x0260 |
Definition at line 139 of file vsc8662_driver.h.
◆ VSC8662_PHYID2_OUI_LSB
#define VSC8662_PHYID2_OUI_LSB 0xFC00 |
Definition at line 136 of file vsc8662_driver.h.
◆ VSC8662_PHYID2_OUI_LSB_DEFAULT
#define VSC8662_PHYID2_OUI_LSB_DEFAULT 0x0400 |
Definition at line 137 of file vsc8662_driver.h.
◆ VSC8662_PHYID2_REVISION_NUM
#define VSC8662_PHYID2_REVISION_NUM 0x000F |
Definition at line 140 of file vsc8662_driver.h.
◆ VSC8662_RECOVERED_CLOCK1
#define VSC8662_RECOVERED_CLOCK1 0x17 |
Definition at line 96 of file vsc8662_driver.h.
◆ VSC8662_RECOVERED_CLOCK1_CLOCK_FREQ
#define VSC8662_RECOVERED_CLOCK1_CLOCK_FREQ 0x0100 |
Definition at line 494 of file vsc8662_driver.h.
◆ VSC8662_RECOVERED_CLOCK1_CLOCK_SEL
#define VSC8662_RECOVERED_CLOCK1_CLOCK_SEL 0x0003 |
Definition at line 496 of file vsc8662_driver.h.
◆ VSC8662_RECOVERED_CLOCK1_CLOCK_SQUELCH
#define VSC8662_RECOVERED_CLOCK1_CLOCK_SQUELCH 0x0030 |
Definition at line 495 of file vsc8662_driver.h.
◆ VSC8662_RECOVERED_CLOCK1_PHY_CLOCKOUT_SEL
#define VSC8662_RECOVERED_CLOCK1_PHY_CLOCKOUT_SEL 0x1000 |
Definition at line 493 of file vsc8662_driver.h.
◆ VSC8662_RECOVERED_CLOCK1_RCVRD_CLK1_EN
#define VSC8662_RECOVERED_CLOCK1_RCVRD_CLK1_EN 0x8000 |
Definition at line 492 of file vsc8662_driver.h.
◆ VSC8662_RECOVERED_CLOCK2
#define VSC8662_RECOVERED_CLOCK2 0x18 |
Definition at line 97 of file vsc8662_driver.h.
◆ VSC8662_RECOVERED_CLOCK2_CLOCK_FREQ
#define VSC8662_RECOVERED_CLOCK2_CLOCK_FREQ 0x0100 |
Definition at line 501 of file vsc8662_driver.h.
◆ VSC8662_RECOVERED_CLOCK2_CLOCK_SEL
#define VSC8662_RECOVERED_CLOCK2_CLOCK_SEL 0x0003 |
Definition at line 503 of file vsc8662_driver.h.
◆ VSC8662_RECOVERED_CLOCK2_CLOCK_SQUELCH
#define VSC8662_RECOVERED_CLOCK2_CLOCK_SQUELCH 0x0030 |
Definition at line 502 of file vsc8662_driver.h.
◆ VSC8662_RECOVERED_CLOCK2_PHY_CLOCKOUT_SEL
#define VSC8662_RECOVERED_CLOCK2_PHY_CLOCKOUT_SEL 0x1000 |
Definition at line 500 of file vsc8662_driver.h.
◆ VSC8662_RECOVERED_CLOCK2_RCVRD_CLK2_EN
#define VSC8662_RECOVERED_CLOCK2_RCVRD_CLK2_EN 0x8000 |
Definition at line 499 of file vsc8662_driver.h.
◆ VSC8662_SERDES_LOOPBACK_SIGDET_CTRL
#define VSC8662_SERDES_LOOPBACK_SIGDET_CTRL 0x13 |
Definition at line 80 of file vsc8662_driver.h.
◆ VSC8662_SERDES_LOOPBACK_SIGDET_CTRL_FAST_LINK_FAILURE_IND
#define VSC8662_SERDES_LOOPBACK_SIGDET_CTRL_FAST_LINK_FAILURE_IND 0x0010 |
Definition at line 421 of file vsc8662_driver.h.
◆ VSC8662_SERDES_LOOPBACK_SIGDET_CTRL_FORCE_MDI_CROSSOVER
#define VSC8662_SERDES_LOOPBACK_SIGDET_CTRL_FORCE_MDI_CROSSOVER 0x000C |
Definition at line 422 of file vsc8662_driver.h.
◆ VSC8662_SERDES_LOOPBACK_SIGDET_CTRL_LED0_EXT_MODE
#define VSC8662_SERDES_LOOPBACK_SIGDET_CTRL_LED0_EXT_MODE 0x1000 |
Definition at line 415 of file vsc8662_driver.h.
◆ VSC8662_SERDES_LOOPBACK_SIGDET_CTRL_LED1_EXT_MODE
#define VSC8662_SERDES_LOOPBACK_SIGDET_CTRL_LED1_EXT_MODE 0x2000 |
Definition at line 414 of file vsc8662_driver.h.
◆ VSC8662_SERDES_LOOPBACK_SIGDET_CTRL_LED2_EXT_MODE
#define VSC8662_SERDES_LOOPBACK_SIGDET_CTRL_LED2_EXT_MODE 0x4000 |
Definition at line 413 of file vsc8662_driver.h.
◆ VSC8662_SERDES_LOOPBACK_SIGDET_CTRL_LED3_EXT_MODE
#define VSC8662_SERDES_LOOPBACK_SIGDET_CTRL_LED3_EXT_MODE 0x8000 |
Definition at line 412 of file vsc8662_driver.h.
◆ VSC8662_SERDES_LOOPBACK_SIGDET_CTRL_LED_RESET_BLINK_SUPPR
#define VSC8662_SERDES_LOOPBACK_SIGDET_CTRL_LED_RESET_BLINK_SUPPR 0x0800 |
Definition at line 416 of file vsc8662_driver.h.
◆ VSC8662_SERDES_LOOPBACK_SIGDET_CTRL_SERDES_MAC_LOOPBACK_EN
#define VSC8662_SERDES_LOOPBACK_SIGDET_CTRL_SERDES_MAC_LOOPBACK_EN 0x0080 |
Definition at line 419 of file vsc8662_driver.h.
◆ VSC8662_SERDES_LOOPBACK_SIGDET_CTRL_SERDES_MAC_LOOPBACK_MODE
#define VSC8662_SERDES_LOOPBACK_SIGDET_CTRL_SERDES_MAC_LOOPBACK_MODE 0x0060 |
Definition at line 420 of file vsc8662_driver.h.
◆ VSC8662_SERDES_LOOPBACK_SIGDET_CTRL_SERDES_MEDIA_LOOPBACK_EN
#define VSC8662_SERDES_LOOPBACK_SIGDET_CTRL_SERDES_MEDIA_LOOPBACK_EN 0x0400 |
Definition at line 417 of file vsc8662_driver.h.
◆ VSC8662_SERDES_LOOPBACK_SIGDET_CTRL_SERDES_MEDIA_LOOPBACK_MODE
#define VSC8662_SERDES_LOOPBACK_SIGDET_CTRL_SERDES_MEDIA_LOOPBACK_MODE 0x0300 |
Definition at line 418 of file vsc8662_driver.h.
◆ VSC8662_SERDES_LOOPBACK_SIGDET_CTRL_SIGDET_POLARITY
#define VSC8662_SERDES_LOOPBACK_SIGDET_CTRL_SIGDET_POLARITY 0x0001 |
Definition at line 423 of file vsc8662_driver.h.
◆ VSC8662_SERDES_MAC_MEDIA_CTRL
#define VSC8662_SERDES_MAC_MEDIA_CTRL 0x11 |
Definition at line 78 of file vsc8662_driver.h.
◆ VSC8662_SERDES_MAC_MEDIA_CTRL_SERDES_MAC_HYSTERESIS
#define VSC8662_SERDES_MAC_MEDIA_CTRL_SERDES_MAC_HYSTERESIS 0x0002 |
Definition at line 404 of file vsc8662_driver.h.
◆ VSC8662_SERDES_MAC_MEDIA_CTRL_SERDES_MAC_OUT_SWING
#define VSC8662_SERDES_MAC_MEDIA_CTRL_SERDES_MAC_OUT_SWING 0x001C |
Definition at line 403 of file vsc8662_driver.h.
◆ VSC8662_SERDES_MAC_MEDIA_CTRL_SERDES_MEDIA_HYSTERESIS
#define VSC8662_SERDES_MAC_MEDIA_CTRL_SERDES_MEDIA_HYSTERESIS 0x0001 |
Definition at line 405 of file vsc8662_driver.h.
◆ VSC8662_SERDES_MAC_MEDIA_CTRL_SERDES_MEDIA_OUT_SWING
#define VSC8662_SERDES_MAC_MEDIA_CTRL_SERDES_MEDIA_OUT_SWING 0x00E0 |
Definition at line 402 of file vsc8662_driver.h.
◆ VSC8662_SERDES_MAC_MEDIA_CTRL_SERDES_MEDIA_RX_EQUAL
#define VSC8662_SERDES_MAC_MEDIA_CTRL_SERDES_MEDIA_RX_EQUAL 0x0200 |
Definition at line 401 of file vsc8662_driver.h.
◆ VSC8662_SERDES_MAC_MEDIA_STAT
#define VSC8662_SERDES_MAC_MEDIA_STAT 0x1C |
Definition at line 83 of file vsc8662_driver.h.
◆ VSC8662_SERDES_MAC_MEDIA_STAT_MAC_CGBAD
#define VSC8662_SERDES_MAC_MEDIA_STAT_MAC_CGBAD 0x0400 |
Definition at line 445 of file vsc8662_driver.h.
◆ VSC8662_SERDES_MAC_MEDIA_STAT_MAC_PHASE_LOCK_LOSS
#define VSC8662_SERDES_MAC_MEDIA_STAT_MAC_PHASE_LOCK_LOSS 0x0200 |
Definition at line 446 of file vsc8662_driver.h.
◆ VSC8662_SERDES_MAC_MEDIA_STAT_MAC_RX_PLL_LOCK_LOSS
#define VSC8662_SERDES_MAC_MEDIA_STAT_MAC_RX_PLL_LOCK_LOSS 0x0100 |
Definition at line 447 of file vsc8662_driver.h.
◆ VSC8662_SERDES_MAC_MEDIA_STAT_MAC_SYNC_STATUS_FAIL
#define VSC8662_SERDES_MAC_MEDIA_STAT_MAC_SYNC_STATUS_FAIL 0x0800 |
Definition at line 444 of file vsc8662_driver.h.
◆ VSC8662_SERDES_MAC_MEDIA_STAT_SERDES_MEDIA_CGBAD
#define VSC8662_SERDES_MAC_MEDIA_STAT_SERDES_MEDIA_CGBAD 0x0004 |
Definition at line 449 of file vsc8662_driver.h.
◆ VSC8662_SERDES_MAC_MEDIA_STAT_SERDES_MEDIA_PHASE_LOCK_LOSS
#define VSC8662_SERDES_MAC_MEDIA_STAT_SERDES_MEDIA_PHASE_LOCK_LOSS 0x0002 |
Definition at line 450 of file vsc8662_driver.h.
◆ VSC8662_SERDES_MAC_MEDIA_STAT_SERDES_MEDIA_RX_PLL_LOCK_LOSS
#define VSC8662_SERDES_MAC_MEDIA_STAT_SERDES_MEDIA_RX_PLL_LOCK_LOSS 0x0001 |
Definition at line 451 of file vsc8662_driver.h.
◆ VSC8662_SERDES_MAC_MEDIA_STAT_SERDES_MEDIA_SYNC_STATUS_FAIL
#define VSC8662_SERDES_MAC_MEDIA_STAT_SERDES_MEDIA_SYNC_STATUS_FAIL 0x0008 |
Definition at line 448 of file vsc8662_driver.h.
◆ VSC8662_SERDES_MEDIA_CTRL
#define VSC8662_SERDES_MEDIA_CTRL 0x10 |
Definition at line 77 of file vsc8662_driver.h.
◆ VSC8662_SERDES_MEDIA_CTRL_ALLOW_1000BX_LINK_UP
#define VSC8662_SERDES_MEDIA_CTRL_ALLOW_1000BX_LINK_UP 0x0200 |
Definition at line 395 of file vsc8662_driver.h.
◆ VSC8662_SERDES_MEDIA_CTRL_ALLOW_100BX_LINK_UP
#define VSC8662_SERDES_MEDIA_CTRL_ALLOW_100BX_LINK_UP 0x0100 |
Definition at line 396 of file vsc8662_driver.h.
◆ VSC8662_SERDES_MEDIA_CTRL_FAR_END_FAULT_DETECT_100BFX
#define VSC8662_SERDES_MEDIA_CTRL_FAR_END_FAULT_DETECT_100BFX 0x0040 |
Definition at line 398 of file vsc8662_driver.h.
◆ VSC8662_SERDES_MEDIA_CTRL_LP_REMOTE_FAULT
#define VSC8662_SERDES_MEDIA_CTRL_LP_REMOTE_FAULT 0x3000 |
Definition at line 392 of file vsc8662_driver.h.
◆ VSC8662_SERDES_MEDIA_CTRL_PARALLEL_DETECT
#define VSC8662_SERDES_MEDIA_CTRL_PARALLEL_DETECT 0x0800 |
Definition at line 393 of file vsc8662_driver.h.
◆ VSC8662_SERDES_MEDIA_CTRL_SERDES_MEDIA_LP_RESTART_REQ
#define VSC8662_SERDES_MEDIA_CTRL_SERDES_MEDIA_LP_RESTART_REQ 0x0080 |
Definition at line 397 of file vsc8662_driver.h.
◆ VSC8662_SERDES_MEDIA_CTRL_SERDES_MEDIA_SIGNAL_DETECT
#define VSC8662_SERDES_MEDIA_CTRL_SERDES_MEDIA_SIGNAL_DETECT 0x0400 |
Definition at line 394 of file vsc8662_driver.h.
◆ VSC8662_SERDES_MEDIA_CTRL_TRANSMIT_REMOTE_FAULT
#define VSC8662_SERDES_MEDIA_CTRL_TRANSMIT_REMOTE_FAULT 0xC000 |
Definition at line 391 of file vsc8662_driver.h.
◆ VSC8662_SIGDET_GPIO_CTRL
#define VSC8662_SIGDET_GPIO_CTRL 0x0D |
Definition at line 88 of file vsc8662_driver.h.
◆ VSC8662_SIGDET_GPIO_CTRL_SIGDET0
#define VSC8662_SIGDET_GPIO_CTRL_SIGDET0 0x0003 |
Definition at line 469 of file vsc8662_driver.h.
◆ VSC8662_SIGDET_GPIO_CTRL_SIGDET1
#define VSC8662_SIGDET_GPIO_CTRL_SIGDET1 0x000C |
Definition at line 468 of file vsc8662_driver.h.
Function Documentation
◆ vsc8662DisableIrq()
void vsc8662DisableIrq | ( | NetInterface * | interface | ) |
Disable interrupts.
- Parameters
-
[in] interface Underlying network interface
Definition at line 161 of file vsc8662_driver.c.
◆ vsc8662DumpPhyReg()
void vsc8662DumpPhyReg | ( | NetInterface * | interface | ) |
Dump PHY registers for debugging purpose.
- Parameters
-
[in] interface Underlying network interface
Definition at line 290 of file vsc8662_driver.c.
◆ vsc8662EnableIrq()
void vsc8662EnableIrq | ( | NetInterface * | interface | ) |
Enable interrupts.
- Parameters
-
[in] interface Underlying network interface
Definition at line 151 of file vsc8662_driver.c.
◆ vsc8662EventHandler()
void vsc8662EventHandler | ( | NetInterface * | interface | ) |
VSC8662 event handler.
- Parameters
-
[in] interface Underlying network interface
Definition at line 171 of file vsc8662_driver.c.
◆ vsc8662Init()
error_t vsc8662Init | ( | NetInterface * | interface | ) |
VSC8662 PHY transceiver initialization.
- Parameters
-
[in] interface Underlying network interface
- Returns
- Error code
Definition at line 60 of file vsc8662_driver.c.
◆ vsc8662InitHook()
void vsc8662InitHook | ( | NetInterface * | interface | ) |
VSC8662 custom configuration.
- Parameters
-
[in] interface Underlying network interface
Definition at line 107 of file vsc8662_driver.c.
◆ vsc8662ReadPhyReg()
uint16_t vsc8662ReadPhyReg | ( | NetInterface * | interface, |
uint8_t | address | ||
) |
Read PHY register.
- Parameters
-
[in] interface Underlying network interface [in] address PHY register address
- Returns
- Register value
Definition at line 264 of file vsc8662_driver.c.
◆ vsc8662Tick()
void vsc8662Tick | ( | NetInterface * | interface | ) |
VSC8662 timer handler.
- Parameters
-
[in] interface Underlying network interface
Definition at line 117 of file vsc8662_driver.c.
◆ vsc8662WritePhyReg()
void vsc8662WritePhyReg | ( | NetInterface * | interface, |
uint8_t | address, | ||
uint16_t | data | ||
) |
Write PHY register.
- Parameters
-
[in] interface Underlying network interface [in] address PHY register address [in] data Register value
Definition at line 240 of file vsc8662_driver.c.
Variable Documentation
◆ vsc8662PhyDriver
|
extern |
VSC8662 Ethernet PHY driver.
Definition at line 44 of file vsc8662_driver.c.