LAN9303 3-port Ethernet switch driver. More...
#include "core/nic.h"
Go to the source code of this file.
Functions | |
error_t | lan9303Init (NetInterface *interface) |
LAN9303 Ethernet switch initialization. More... | |
void | lan9303InitHook (NetInterface *interface) |
LAN9303 custom configuration. More... | |
void | lan9303Tick (NetInterface *interface) |
LAN9303 timer handler. More... | |
void | lan9303EnableIrq (NetInterface *interface) |
Enable interrupts. More... | |
void | lan9303DisableIrq (NetInterface *interface) |
Disable interrupts. More... | |
void | lan9303EventHandler (NetInterface *interface) |
LAN9303 event handler. More... | |
error_t | lan9303TagFrame (NetInterface *interface, NetBuffer *buffer, size_t *offset, NetTxAncillary *ancillary) |
Add special VLAN tag to Ethernet frame. More... | |
error_t | lan9303UntagFrame (NetInterface *interface, uint8_t **frame, size_t *length, NetRxAncillary *ancillary) |
Decode special VLAN tag from incoming Ethernet frame. More... | |
bool_t | lan9303GetLinkState (NetInterface *interface, uint8_t port) |
Get link state. More... | |
uint32_t | lan9303GetLinkSpeed (NetInterface *interface, uint8_t port) |
Get link speed. More... | |
NicDuplexMode | lan9303GetDuplexMode (NetInterface *interface, uint8_t port) |
Get duplex mode. More... | |
void | lan9303SetPortState (NetInterface *interface, uint8_t port, SwitchPortState state) |
Set port state. More... | |
SwitchPortState | lan9303GetPortState (NetInterface *interface, uint8_t port) |
Get port state. More... | |
void | lan9303SetAgingTime (NetInterface *interface, uint32_t agingTime) |
Set aging time for dynamic filtering entries. More... | |
void | lan9303EnableIgmpSnooping (NetInterface *interface, bool_t enable) |
Enable IGMP snooping. More... | |
void | lan9303EnableMldSnooping (NetInterface *interface, bool_t enable) |
Enable MLD snooping. More... | |
void | lan9303EnableRsvdMcastTable (NetInterface *interface, bool_t enable) |
Enable reserved multicast table. More... | |
error_t | lan9303AddStaticFdbEntry (NetInterface *interface, const SwitchFdbEntry *entry) |
Add a new entry to the static MAC table. More... | |
error_t | lan9303DeleteStaticFdbEntry (NetInterface *interface, const SwitchFdbEntry *entry) |
Remove an entry from the static MAC table. More... | |
error_t | lan9303GetStaticFdbEntry (NetInterface *interface, uint_t index, SwitchFdbEntry *entry) |
Read an entry from the static MAC table. More... | |
void | lan9303FlushStaticFdbTable (NetInterface *interface) |
Flush static MAC table. More... | |
error_t | lan9303GetDynamicFdbEntry (NetInterface *interface, uint_t index, SwitchFdbEntry *entry) |
Read an entry from the dynamic MAC table. More... | |
void | lan9303FlushDynamicFdbTable (NetInterface *interface, uint8_t port) |
Flush dynamic MAC table. More... | |
void | lan9303SetUnknownMcastFwdPorts (NetInterface *interface, bool_t enable, uint32_t forwardPorts) |
Set forward ports for unknown multicast packets. More... | |
void | lan9303WritePhyReg (NetInterface *interface, uint8_t port, uint8_t address, uint16_t data) |
Write PHY register. More... | |
uint16_t | lan9303ReadPhyReg (NetInterface *interface, uint8_t port, uint8_t address) |
Read PHY register. More... | |
void | lan9303DumpPhyReg (NetInterface *interface, uint8_t port) |
Dump PHY registers for debugging purpose. More... | |
void | lan9303WriteSysReg (NetInterface *interface, uint16_t address, uint32_t data) |
Write system CSR register. More... | |
uint32_t | lan9303ReadSysReg (NetInterface *interface, uint16_t address) |
Read system CSR register. More... | |
void | lan9303DumpSysReg (NetInterface *interface) |
Dump system CSR registers for debugging purpose. More... | |
void | lan9303WriteSwitchReg (NetInterface *interface, uint16_t address, uint32_t data) |
Write switch fabric CSR register. More... | |
uint32_t | lan9303ReadSwitchReg (NetInterface *interface, uint16_t address) |
Read switch fabric CSR register. More... | |
Variables | |
const SwitchDriver | lan9303SwitchDriver |
LAN9303 Ethernet switch driver. More... | |
Detailed Description
LAN9303 3-port Ethernet switch driver.
License
SPDX-License-Identifier: GPL-2.0-or-later
Copyright (C) 2010-2024 Oryx Embedded SARL. All rights reserved.
This file is part of CycloneTCP Open.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- Version
- 2.4.4
Definition in file lan9303_driver.h.
Macro Definition Documentation
◆ LAN9303_ALR_TABLE_SIZE
#define LAN9303_ALR_TABLE_SIZE 512 |
Definition at line 53 of file lan9303_driver.h.
◆ LAN9303_ANAR
#define LAN9303_ANAR 0x04 |
Definition at line 78 of file lan9303_driver.h.
◆ LAN9303_ANAR_100BTX_FD
#define LAN9303_ANAR_100BTX_FD 0x0100 |
Definition at line 415 of file lan9303_driver.h.
◆ LAN9303_ANAR_100BTX_HD
#define LAN9303_ANAR_100BTX_HD 0x0080 |
Definition at line 416 of file lan9303_driver.h.
◆ LAN9303_ANAR_10BT_FD
#define LAN9303_ANAR_10BT_FD 0x0040 |
Definition at line 417 of file lan9303_driver.h.
◆ LAN9303_ANAR_10BT_HD
#define LAN9303_ANAR_10BT_HD 0x0020 |
Definition at line 418 of file lan9303_driver.h.
◆ LAN9303_ANAR_ASYM_PAUSE
#define LAN9303_ANAR_ASYM_PAUSE 0x0800 |
Definition at line 413 of file lan9303_driver.h.
◆ LAN9303_ANAR_REMOTE_FAULT
#define LAN9303_ANAR_REMOTE_FAULT 0x2000 |
Definition at line 412 of file lan9303_driver.h.
◆ LAN9303_ANAR_SELECTOR
#define LAN9303_ANAR_SELECTOR 0x001F |
Definition at line 419 of file lan9303_driver.h.
◆ LAN9303_ANAR_SELECTOR_DEFAULT
#define LAN9303_ANAR_SELECTOR_DEFAULT 0x0001 |
Definition at line 420 of file lan9303_driver.h.
◆ LAN9303_ANAR_SYM_PAUSE
#define LAN9303_ANAR_SYM_PAUSE 0x0400 |
Definition at line 414 of file lan9303_driver.h.
◆ LAN9303_ANER
#define LAN9303_ANER 0x06 |
Definition at line 80 of file lan9303_driver.h.
◆ LAN9303_ANER_LP_AN_ABLE
#define LAN9303_ANER_LP_AN_ABLE 0x0001 |
Definition at line 441 of file lan9303_driver.h.
◆ LAN9303_ANER_LP_NEXT_PAGE_ABLE
#define LAN9303_ANER_LP_NEXT_PAGE_ABLE 0x0008 |
Definition at line 438 of file lan9303_driver.h.
◆ LAN9303_ANER_NEXT_PAGE_ABLE
#define LAN9303_ANER_NEXT_PAGE_ABLE 0x0004 |
Definition at line 439 of file lan9303_driver.h.
◆ LAN9303_ANER_PAGE_RECEIVED
#define LAN9303_ANER_PAGE_RECEIVED 0x0002 |
Definition at line 440 of file lan9303_driver.h.
◆ LAN9303_ANER_PAR_DETECT_FAULT
#define LAN9303_ANER_PAR_DETECT_FAULT 0x0010 |
Definition at line 437 of file lan9303_driver.h.
◆ LAN9303_ANLPAR
#define LAN9303_ANLPAR 0x05 |
Definition at line 79 of file lan9303_driver.h.
◆ LAN9303_ANLPAR_100BT4
#define LAN9303_ANLPAR_100BT4 0x0200 |
Definition at line 428 of file lan9303_driver.h.
◆ LAN9303_ANLPAR_100BTX_FD
#define LAN9303_ANLPAR_100BTX_FD 0x0100 |
Definition at line 429 of file lan9303_driver.h.
◆ LAN9303_ANLPAR_100BTX_HD
#define LAN9303_ANLPAR_100BTX_HD 0x0080 |
Definition at line 430 of file lan9303_driver.h.
◆ LAN9303_ANLPAR_10BT_FD
#define LAN9303_ANLPAR_10BT_FD 0x0040 |
Definition at line 431 of file lan9303_driver.h.
◆ LAN9303_ANLPAR_10BT_HD
#define LAN9303_ANLPAR_10BT_HD 0x0020 |
Definition at line 432 of file lan9303_driver.h.
◆ LAN9303_ANLPAR_ACK
#define LAN9303_ANLPAR_ACK 0x4000 |
Definition at line 424 of file lan9303_driver.h.
◆ LAN9303_ANLPAR_ASYM_PAUSE
#define LAN9303_ANLPAR_ASYM_PAUSE 0x0800 |
Definition at line 426 of file lan9303_driver.h.
◆ LAN9303_ANLPAR_NEXT_PAGE
#define LAN9303_ANLPAR_NEXT_PAGE 0x8000 |
Definition at line 423 of file lan9303_driver.h.
◆ LAN9303_ANLPAR_REMOTE_FAULT
#define LAN9303_ANLPAR_REMOTE_FAULT 0x2000 |
Definition at line 425 of file lan9303_driver.h.
◆ LAN9303_ANLPAR_SELECTOR
#define LAN9303_ANLPAR_SELECTOR 0x001F |
Definition at line 433 of file lan9303_driver.h.
◆ LAN9303_ANLPAR_SELECTOR_DEFAULT
#define LAN9303_ANLPAR_SELECTOR_DEFAULT 0x0001 |
Definition at line 434 of file lan9303_driver.h.
◆ LAN9303_ANLPAR_SYM_PAUSE
#define LAN9303_ANLPAR_SYM_PAUSE 0x0400 |
Definition at line 427 of file lan9303_driver.h.
◆ LAN9303_BM_BCST_LVL
#define LAN9303_BM_BCST_LVL 0x1C04 |
Definition at line 305 of file lan9303_driver.h.
◆ LAN9303_BM_CFG
#define LAN9303_BM_CFG 0x1C00 |
Definition at line 301 of file lan9303_driver.h.
◆ LAN9303_BM_DROP_LVL
#define LAN9303_BM_DROP_LVL 0x1C01 |
Definition at line 302 of file lan9303_driver.h.
◆ LAN9303_BM_DRP_CNT_SRC_0
#define LAN9303_BM_DRP_CNT_SRC_0 0x1C05 |
Definition at line 306 of file lan9303_driver.h.
◆ LAN9303_BM_DRP_CNT_SRC_1
#define LAN9303_BM_DRP_CNT_SRC_1 0x1C06 |
Definition at line 307 of file lan9303_driver.h.
◆ LAN9303_BM_DRP_CNT_SRC_2
#define LAN9303_BM_DRP_CNT_SRC_2 0x1C07 |
Definition at line 308 of file lan9303_driver.h.
◆ LAN9303_BM_EGRSS_PORT_TYPE
#define LAN9303_BM_EGRSS_PORT_TYPE 0x1C0C |
Definition at line 313 of file lan9303_driver.h.
◆ LAN9303_BM_EGRSS_PORT_TYPE_CHANGE_PRIO_PORT0
#define LAN9303_BM_EGRSS_PORT_TYPE_CHANGE_PRIO_PORT0 0x00000008 |
Definition at line 987 of file lan9303_driver.h.
◆ LAN9303_BM_EGRSS_PORT_TYPE_CHANGE_PRIO_PORT1
#define LAN9303_BM_EGRSS_PORT_TYPE_CHANGE_PRIO_PORT1 0x00000800 |
Definition at line 977 of file lan9303_driver.h.
◆ LAN9303_BM_EGRSS_PORT_TYPE_CHANGE_PRIO_PORT2
#define LAN9303_BM_EGRSS_PORT_TYPE_CHANGE_PRIO_PORT2 0x00080000 |
Definition at line 967 of file lan9303_driver.h.
◆ LAN9303_BM_EGRSS_PORT_TYPE_CHANGE_TAG_PORT0
#define LAN9303_BM_EGRSS_PORT_TYPE_CHANGE_TAG_PORT0 0x00000004 |
Definition at line 988 of file lan9303_driver.h.
◆ LAN9303_BM_EGRSS_PORT_TYPE_CHANGE_TAG_PORT1
#define LAN9303_BM_EGRSS_PORT_TYPE_CHANGE_TAG_PORT1 0x00000400 |
Definition at line 978 of file lan9303_driver.h.
◆ LAN9303_BM_EGRSS_PORT_TYPE_CHANGE_TAG_PORT2
#define LAN9303_BM_EGRSS_PORT_TYPE_CHANGE_TAG_PORT2 0x00040000 |
Definition at line 968 of file lan9303_driver.h.
◆ LAN9303_BM_EGRSS_PORT_TYPE_CHANGE_VID_PORT0
#define LAN9303_BM_EGRSS_PORT_TYPE_CHANGE_VID_PORT0 0x00000010 |
Definition at line 986 of file lan9303_driver.h.
◆ LAN9303_BM_EGRSS_PORT_TYPE_CHANGE_VID_PORT1
#define LAN9303_BM_EGRSS_PORT_TYPE_CHANGE_VID_PORT1 0x00001000 |
Definition at line 976 of file lan9303_driver.h.
◆ LAN9303_BM_EGRSS_PORT_TYPE_CHANGE_VID_PORT2
#define LAN9303_BM_EGRSS_PORT_TYPE_CHANGE_VID_PORT2 0x00100000 |
Definition at line 966 of file lan9303_driver.h.
◆ LAN9303_BM_EGRSS_PORT_TYPE_INSERT_TAG_PORT0
#define LAN9303_BM_EGRSS_PORT_TYPE_INSERT_TAG_PORT0 0x00000020 |
Definition at line 985 of file lan9303_driver.h.
◆ LAN9303_BM_EGRSS_PORT_TYPE_INSERT_TAG_PORT1
#define LAN9303_BM_EGRSS_PORT_TYPE_INSERT_TAG_PORT1 0x00002000 |
Definition at line 975 of file lan9303_driver.h.
◆ LAN9303_BM_EGRSS_PORT_TYPE_INSERT_TAG_PORT2
#define LAN9303_BM_EGRSS_PORT_TYPE_INSERT_TAG_PORT2 0x00200000 |
Definition at line 965 of file lan9303_driver.h.
◆ LAN9303_BM_EGRSS_PORT_TYPE_PORT0_TYPE
#define LAN9303_BM_EGRSS_PORT_TYPE_PORT0_TYPE 0x00000003 |
Definition at line 989 of file lan9303_driver.h.
◆ LAN9303_BM_EGRSS_PORT_TYPE_PORT0_TYPE_ACCESS
#define LAN9303_BM_EGRSS_PORT_TYPE_PORT0_TYPE_ACCESS 0x00000001 |
Definition at line 991 of file lan9303_driver.h.
◆ LAN9303_BM_EGRSS_PORT_TYPE_PORT0_TYPE_CPU
#define LAN9303_BM_EGRSS_PORT_TYPE_PORT0_TYPE_CPU 0x00000003 |
Definition at line 993 of file lan9303_driver.h.
◆ LAN9303_BM_EGRSS_PORT_TYPE_PORT0_TYPE_DUMB
#define LAN9303_BM_EGRSS_PORT_TYPE_PORT0_TYPE_DUMB 0x00000000 |
Definition at line 990 of file lan9303_driver.h.
◆ LAN9303_BM_EGRSS_PORT_TYPE_PORT0_TYPE_HYBRID
#define LAN9303_BM_EGRSS_PORT_TYPE_PORT0_TYPE_HYBRID 0x00000002 |
Definition at line 992 of file lan9303_driver.h.
◆ LAN9303_BM_EGRSS_PORT_TYPE_PORT1_TYPE
#define LAN9303_BM_EGRSS_PORT_TYPE_PORT1_TYPE 0x00000300 |
Definition at line 979 of file lan9303_driver.h.
◆ LAN9303_BM_EGRSS_PORT_TYPE_PORT1_TYPE_ACCESS
#define LAN9303_BM_EGRSS_PORT_TYPE_PORT1_TYPE_ACCESS 0x00000100 |
Definition at line 981 of file lan9303_driver.h.
◆ LAN9303_BM_EGRSS_PORT_TYPE_PORT1_TYPE_CPU
#define LAN9303_BM_EGRSS_PORT_TYPE_PORT1_TYPE_CPU 0x00000300 |
Definition at line 983 of file lan9303_driver.h.
◆ LAN9303_BM_EGRSS_PORT_TYPE_PORT1_TYPE_DUMB
#define LAN9303_BM_EGRSS_PORT_TYPE_PORT1_TYPE_DUMB 0x00000000 |
Definition at line 980 of file lan9303_driver.h.
◆ LAN9303_BM_EGRSS_PORT_TYPE_PORT1_TYPE_HYBRID
#define LAN9303_BM_EGRSS_PORT_TYPE_PORT1_TYPE_HYBRID 0x00000200 |
Definition at line 982 of file lan9303_driver.h.
◆ LAN9303_BM_EGRSS_PORT_TYPE_PORT2_TYPE
#define LAN9303_BM_EGRSS_PORT_TYPE_PORT2_TYPE 0x00030000 |
Definition at line 969 of file lan9303_driver.h.
◆ LAN9303_BM_EGRSS_PORT_TYPE_PORT2_TYPE_ACCESS
#define LAN9303_BM_EGRSS_PORT_TYPE_PORT2_TYPE_ACCESS 0x00010000 |
Definition at line 971 of file lan9303_driver.h.
◆ LAN9303_BM_EGRSS_PORT_TYPE_PORT2_TYPE_CPU
#define LAN9303_BM_EGRSS_PORT_TYPE_PORT2_TYPE_CPU 0x00030000 |
Definition at line 973 of file lan9303_driver.h.
◆ LAN9303_BM_EGRSS_PORT_TYPE_PORT2_TYPE_DUMB
#define LAN9303_BM_EGRSS_PORT_TYPE_PORT2_TYPE_DUMB 0x00000000 |
Definition at line 970 of file lan9303_driver.h.
◆ LAN9303_BM_EGRSS_PORT_TYPE_PORT2_TYPE_HYBRID
#define LAN9303_BM_EGRSS_PORT_TYPE_PORT2_TYPE_HYBRID 0x00020000 |
Definition at line 972 of file lan9303_driver.h.
◆ LAN9303_BM_EGRSS_PORT_TYPE_VID_SEL_PORT0
#define LAN9303_BM_EGRSS_PORT_TYPE_VID_SEL_PORT0 0x00000040 |
Definition at line 984 of file lan9303_driver.h.
◆ LAN9303_BM_EGRSS_PORT_TYPE_VID_SEL_PORT1
#define LAN9303_BM_EGRSS_PORT_TYPE_VID_SEL_PORT1 0x00004000 |
Definition at line 974 of file lan9303_driver.h.
◆ LAN9303_BM_EGRSS_PORT_TYPE_VID_SEL_PORT2
#define LAN9303_BM_EGRSS_PORT_TYPE_VID_SEL_PORT2 0x00400000 |
Definition at line 964 of file lan9303_driver.h.
◆ LAN9303_BM_EGRSS_RATE_00_01
#define LAN9303_BM_EGRSS_RATE_00_01 0x1C0D |
Definition at line 314 of file lan9303_driver.h.
◆ LAN9303_BM_EGRSS_RATE_02_03
#define LAN9303_BM_EGRSS_RATE_02_03 0x1C0E |
Definition at line 315 of file lan9303_driver.h.
◆ LAN9303_BM_EGRSS_RATE_10_11
#define LAN9303_BM_EGRSS_RATE_10_11 0x1C0F |
Definition at line 316 of file lan9303_driver.h.
◆ LAN9303_BM_EGRSS_RATE_12_13
#define LAN9303_BM_EGRSS_RATE_12_13 0x1C10 |
Definition at line 317 of file lan9303_driver.h.
◆ LAN9303_BM_EGRSS_RATE_20_21
#define LAN9303_BM_EGRSS_RATE_20_21 0x1C11 |
Definition at line 318 of file lan9303_driver.h.
◆ LAN9303_BM_EGRSS_RATE_22_23
#define LAN9303_BM_EGRSS_RATE_22_23 0x1C12 |
Definition at line 319 of file lan9303_driver.h.
◆ LAN9303_BM_FC_PAUSE_LVL
#define LAN9303_BM_FC_PAUSE_LVL 0x1C02 |
Definition at line 303 of file lan9303_driver.h.
◆ LAN9303_BM_FC_RESUME_LVL
#define LAN9303_BM_FC_RESUME_LVL 0x1C03 |
Definition at line 304 of file lan9303_driver.h.
◆ LAN9303_BM_IMR
#define LAN9303_BM_IMR 0x1C20 |
Definition at line 326 of file lan9303_driver.h.
◆ LAN9303_BM_IPR
#define LAN9303_BM_IPR 0x1C21 |
Definition at line 327 of file lan9303_driver.h.
◆ LAN9303_BM_RATE_DRP_CNT_SRC_0
#define LAN9303_BM_RATE_DRP_CNT_SRC_0 0x1C16 |
Definition at line 323 of file lan9303_driver.h.
◆ LAN9303_BM_RATE_DRP_CNT_SRC_1
#define LAN9303_BM_RATE_DRP_CNT_SRC_1 0x1C17 |
Definition at line 324 of file lan9303_driver.h.
◆ LAN9303_BM_RATE_DRP_CNT_SRC_2
#define LAN9303_BM_RATE_DRP_CNT_SRC_2 0x1C18 |
Definition at line 325 of file lan9303_driver.h.
◆ LAN9303_BM_RNDM_DSCRD_TBL_CMD
#define LAN9303_BM_RNDM_DSCRD_TBL_CMD 0x1C09 |
Definition at line 310 of file lan9303_driver.h.
◆ LAN9303_BM_RNDM_DSCRD_TBL_RDATA
#define LAN9303_BM_RNDM_DSCRD_TBL_RDATA 0x1C0B |
Definition at line 312 of file lan9303_driver.h.
◆ LAN9303_BM_RNDM_DSCRD_TBL_WDATA
#define LAN9303_BM_RNDM_DSCRD_TBL_WDATA 0x1C0A |
Definition at line 311 of file lan9303_driver.h.
◆ LAN9303_BM_RST_STS
#define LAN9303_BM_RST_STS 0x1C08 |
Definition at line 309 of file lan9303_driver.h.
◆ LAN9303_BM_VLAN_0
#define LAN9303_BM_VLAN_0 0x1C13 |
Definition at line 320 of file lan9303_driver.h.
◆ LAN9303_BM_VLAN_1
#define LAN9303_BM_VLAN_1 0x1C14 |
Definition at line 321 of file lan9303_driver.h.
◆ LAN9303_BM_VLAN_2
#define LAN9303_BM_VLAN_2 0x1C15 |
Definition at line 322 of file lan9303_driver.h.
◆ LAN9303_BMCR
#define LAN9303_BMCR 0x00 |
Definition at line 74 of file lan9303_driver.h.
◆ LAN9303_BMCR_AN_EN
#define LAN9303_BMCR_AN_EN 0x1000 |
Definition at line 379 of file lan9303_driver.h.
◆ LAN9303_BMCR_COL_TEST
#define LAN9303_BMCR_COL_TEST 0x0080 |
Definition at line 383 of file lan9303_driver.h.
◆ LAN9303_BMCR_DUPLEX_MODE
#define LAN9303_BMCR_DUPLEX_MODE 0x0100 |
Definition at line 382 of file lan9303_driver.h.
◆ LAN9303_BMCR_LOOPBACK
#define LAN9303_BMCR_LOOPBACK 0x4000 |
Definition at line 377 of file lan9303_driver.h.
◆ LAN9303_BMCR_POWER_DOWN
#define LAN9303_BMCR_POWER_DOWN 0x0800 |
Definition at line 380 of file lan9303_driver.h.
◆ LAN9303_BMCR_RESET
#define LAN9303_BMCR_RESET 0x8000 |
Definition at line 376 of file lan9303_driver.h.
◆ LAN9303_BMCR_RESTART_AN
#define LAN9303_BMCR_RESTART_AN 0x0200 |
Definition at line 381 of file lan9303_driver.h.
◆ LAN9303_BMCR_SPEED_SEL
#define LAN9303_BMCR_SPEED_SEL 0x2000 |
Definition at line 378 of file lan9303_driver.h.
◆ LAN9303_BMSR
#define LAN9303_BMSR 0x01 |
Definition at line 75 of file lan9303_driver.h.
◆ LAN9303_BMSR_100BT2_FD
#define LAN9303_BMSR_100BT2_FD 0x0400 |
Definition at line 391 of file lan9303_driver.h.
◆ LAN9303_BMSR_100BT2_HD
#define LAN9303_BMSR_100BT2_HD 0x0200 |
Definition at line 392 of file lan9303_driver.h.
◆ LAN9303_BMSR_100BT4
#define LAN9303_BMSR_100BT4 0x8000 |
Definition at line 386 of file lan9303_driver.h.
◆ LAN9303_BMSR_100BTX_FD
#define LAN9303_BMSR_100BTX_FD 0x4000 |
Definition at line 387 of file lan9303_driver.h.
◆ LAN9303_BMSR_100BTX_HD
#define LAN9303_BMSR_100BTX_HD 0x2000 |
Definition at line 388 of file lan9303_driver.h.
◆ LAN9303_BMSR_10BT_FD
#define LAN9303_BMSR_10BT_FD 0x1000 |
Definition at line 389 of file lan9303_driver.h.
◆ LAN9303_BMSR_10BT_HD
#define LAN9303_BMSR_10BT_HD 0x0800 |
Definition at line 390 of file lan9303_driver.h.
◆ LAN9303_BMSR_AN_CAPABLE
#define LAN9303_BMSR_AN_CAPABLE 0x0008 |
Definition at line 395 of file lan9303_driver.h.
◆ LAN9303_BMSR_AN_COMPLETE
#define LAN9303_BMSR_AN_COMPLETE 0x0020 |
Definition at line 393 of file lan9303_driver.h.
◆ LAN9303_BMSR_EXTENDED_CAPABLE
#define LAN9303_BMSR_EXTENDED_CAPABLE 0x0001 |
Definition at line 398 of file lan9303_driver.h.
◆ LAN9303_BMSR_JABBER_DETECT
#define LAN9303_BMSR_JABBER_DETECT 0x0002 |
Definition at line 397 of file lan9303_driver.h.
◆ LAN9303_BMSR_LINK_STATUS
#define LAN9303_BMSR_LINK_STATUS 0x0004 |
Definition at line 396 of file lan9303_driver.h.
◆ LAN9303_BMSR_REMOTE_FAULT
#define LAN9303_BMSR_REMOTE_FAULT 0x0010 |
Definition at line 394 of file lan9303_driver.h.
◆ LAN9303_BYTE_TEST
#define LAN9303_BYTE_TEST 0x0064 |
Definition at line 93 of file lan9303_driver.h.
◆ LAN9303_BYTE_TEST_DEFAULT
#define LAN9303_BYTE_TEST_DEFAULT 0x87654321 |
Definition at line 524 of file lan9303_driver.h.
◆ LAN9303_E2P_CMD
#define LAN9303_E2P_CMD 0x01B4 |
Definition at line 105 of file lan9303_driver.h.
◆ LAN9303_E2P_CMD_CFG_LOADED
#define LAN9303_E2P_CMD_CFG_LOADED 0x00010000 |
Definition at line 598 of file lan9303_driver.h.
◆ LAN9303_E2P_CMD_EPC_ADDR
#define LAN9303_E2P_CMD_EPC_ADDR 0x0000FFFF |
Definition at line 599 of file lan9303_driver.h.
◆ LAN9303_E2P_CMD_EPC_BUSY
#define LAN9303_E2P_CMD_EPC_BUSY 0x80000000 |
Definition at line 591 of file lan9303_driver.h.
◆ LAN9303_E2P_CMD_EPC_COMMAND
#define LAN9303_E2P_CMD_EPC_COMMAND 0x70000000 |
Definition at line 592 of file lan9303_driver.h.
◆ LAN9303_E2P_CMD_EPC_COMMAND_READ
#define LAN9303_E2P_CMD_EPC_COMMAND_READ 0x00000000 |
Definition at line 593 of file lan9303_driver.h.
◆ LAN9303_E2P_CMD_EPC_COMMAND_RELOAD
#define LAN9303_E2P_CMD_EPC_COMMAND_RELOAD 0x70000000 |
Definition at line 595 of file lan9303_driver.h.
◆ LAN9303_E2P_CMD_EPC_COMMAND_WRITE
#define LAN9303_E2P_CMD_EPC_COMMAND_WRITE 0x30000000 |
Definition at line 594 of file lan9303_driver.h.
◆ LAN9303_E2P_CMD_EPC_TIMEOUT
#define LAN9303_E2P_CMD_EPC_TIMEOUT 0x00020000 |
Definition at line 597 of file lan9303_driver.h.
◆ LAN9303_E2P_CMD_LOADER_OVERFLOW
#define LAN9303_E2P_CMD_LOADER_OVERFLOW 0x00040000 |
Definition at line 596 of file lan9303_driver.h.
◆ LAN9303_E2P_DATA
#define LAN9303_E2P_DATA 0x01B8 |
Definition at line 106 of file lan9303_driver.h.
◆ LAN9303_E2P_DATA_EEPROM_DATA
#define LAN9303_E2P_DATA_EEPROM_DATA 0x000000FF |
Definition at line 602 of file lan9303_driver.h.
◆ LAN9303_FREE_RUN
#define LAN9303_FREE_RUN 0x009C |
Definition at line 97 of file lan9303_driver.h.
◆ LAN9303_FREE_RUN_FR_CNT
#define LAN9303_FREE_RUN_FR_CNT 0xFFFFFFFF |
Definition at line 539 of file lan9303_driver.h.
◆ LAN9303_GPIO_CFG
#define LAN9303_GPIO_CFG 0x01E0 |
Definition at line 116 of file lan9303_driver.h.
◆ LAN9303_GPIO_CFG_GPIO_INT_POL
#define LAN9303_GPIO_CFG_GPIO_INT_POL 0x003F0000 |
Definition at line 708 of file lan9303_driver.h.
◆ LAN9303_GPIO_CFG_GPIO_INT_POL_0
#define LAN9303_GPIO_CFG_GPIO_INT_POL_0 0x00010000 |
Definition at line 709 of file lan9303_driver.h.
◆ LAN9303_GPIO_CFG_GPIO_INT_POL_1
#define LAN9303_GPIO_CFG_GPIO_INT_POL_1 0x00020000 |
Definition at line 710 of file lan9303_driver.h.
◆ LAN9303_GPIO_CFG_GPIO_INT_POL_2
#define LAN9303_GPIO_CFG_GPIO_INT_POL_2 0x00040000 |
Definition at line 711 of file lan9303_driver.h.
◆ LAN9303_GPIO_CFG_GPIO_INT_POL_3
#define LAN9303_GPIO_CFG_GPIO_INT_POL_3 0x00080000 |
Definition at line 712 of file lan9303_driver.h.
◆ LAN9303_GPIO_CFG_GPIO_INT_POL_4
#define LAN9303_GPIO_CFG_GPIO_INT_POL_4 0x00100000 |
Definition at line 713 of file lan9303_driver.h.
◆ LAN9303_GPIO_CFG_GPIO_INT_POL_5
#define LAN9303_GPIO_CFG_GPIO_INT_POL_5 0x00200000 |
Definition at line 714 of file lan9303_driver.h.
◆ LAN9303_GPIO_CFG_GPIOBUF
#define LAN9303_GPIO_CFG_GPIOBUF 0x0000003F |
Definition at line 715 of file lan9303_driver.h.
◆ LAN9303_GPIO_CFG_GPIOBUF_0
#define LAN9303_GPIO_CFG_GPIOBUF_0 0x00000001 |
Definition at line 716 of file lan9303_driver.h.
◆ LAN9303_GPIO_CFG_GPIOBUF_1
#define LAN9303_GPIO_CFG_GPIOBUF_1 0x00000002 |
Definition at line 717 of file lan9303_driver.h.
◆ LAN9303_GPIO_CFG_GPIOBUF_2
#define LAN9303_GPIO_CFG_GPIOBUF_2 0x00000004 |
Definition at line 718 of file lan9303_driver.h.
◆ LAN9303_GPIO_CFG_GPIOBUF_3
#define LAN9303_GPIO_CFG_GPIOBUF_3 0x00000008 |
Definition at line 719 of file lan9303_driver.h.
◆ LAN9303_GPIO_CFG_GPIOBUF_4
#define LAN9303_GPIO_CFG_GPIOBUF_4 0x00000010 |
Definition at line 720 of file lan9303_driver.h.
◆ LAN9303_GPIO_CFG_GPIOBUF_5
#define LAN9303_GPIO_CFG_GPIOBUF_5 0x00000020 |
Definition at line 721 of file lan9303_driver.h.
◆ LAN9303_GPIO_DATA_DIR
#define LAN9303_GPIO_DATA_DIR 0x01E4 |
Definition at line 117 of file lan9303_driver.h.
◆ LAN9303_GPIO_DATA_DIR_GPDIR
#define LAN9303_GPIO_DATA_DIR_GPDIR 0x003F0000 |
Definition at line 724 of file lan9303_driver.h.
◆ LAN9303_GPIO_DATA_DIR_GPDIR_0
#define LAN9303_GPIO_DATA_DIR_GPDIR_0 0x00010000 |
Definition at line 725 of file lan9303_driver.h.
◆ LAN9303_GPIO_DATA_DIR_GPDIR_1
#define LAN9303_GPIO_DATA_DIR_GPDIR_1 0x00020000 |
Definition at line 726 of file lan9303_driver.h.
◆ LAN9303_GPIO_DATA_DIR_GPDIR_2
#define LAN9303_GPIO_DATA_DIR_GPDIR_2 0x00040000 |
Definition at line 727 of file lan9303_driver.h.
◆ LAN9303_GPIO_DATA_DIR_GPDIR_3
#define LAN9303_GPIO_DATA_DIR_GPDIR_3 0x00080000 |
Definition at line 728 of file lan9303_driver.h.
◆ LAN9303_GPIO_DATA_DIR_GPDIR_4
#define LAN9303_GPIO_DATA_DIR_GPDIR_4 0x00100000 |
Definition at line 729 of file lan9303_driver.h.
◆ LAN9303_GPIO_DATA_DIR_GPDIR_5
#define LAN9303_GPIO_DATA_DIR_GPDIR_5 0x00200000 |
Definition at line 730 of file lan9303_driver.h.
◆ LAN9303_GPIO_DATA_DIR_GPIOD
#define LAN9303_GPIO_DATA_DIR_GPIOD 0x0000003F |
Definition at line 731 of file lan9303_driver.h.
◆ LAN9303_GPIO_DATA_DIR_GPIOD_0
#define LAN9303_GPIO_DATA_DIR_GPIOD_0 0x00000001 |
Definition at line 732 of file lan9303_driver.h.
◆ LAN9303_GPIO_DATA_DIR_GPIOD_1
#define LAN9303_GPIO_DATA_DIR_GPIOD_1 0x00000002 |
Definition at line 733 of file lan9303_driver.h.
◆ LAN9303_GPIO_DATA_DIR_GPIOD_2
#define LAN9303_GPIO_DATA_DIR_GPIOD_2 0x00000004 |
Definition at line 734 of file lan9303_driver.h.
◆ LAN9303_GPIO_DATA_DIR_GPIOD_3
#define LAN9303_GPIO_DATA_DIR_GPIOD_3 0x00000008 |
Definition at line 735 of file lan9303_driver.h.
◆ LAN9303_GPIO_DATA_DIR_GPIOD_4
#define LAN9303_GPIO_DATA_DIR_GPIOD_4 0x00000010 |
Definition at line 736 of file lan9303_driver.h.
◆ LAN9303_GPIO_DATA_DIR_GPIOD_5
#define LAN9303_GPIO_DATA_DIR_GPIOD_5 0x00000020 |
Definition at line 737 of file lan9303_driver.h.
◆ LAN9303_GPIO_INT_STS_EN
#define LAN9303_GPIO_INT_STS_EN 0x01E8 |
Definition at line 118 of file lan9303_driver.h.
◆ LAN9303_GPIO_INT_STS_EN_GPIO_INT
#define LAN9303_GPIO_INT_STS_EN_GPIO_INT 0x0000003F |
Definition at line 747 of file lan9303_driver.h.
◆ LAN9303_GPIO_INT_STS_EN_GPIO_INT_0
#define LAN9303_GPIO_INT_STS_EN_GPIO_INT_0 0x00000001 |
Definition at line 748 of file lan9303_driver.h.
◆ LAN9303_GPIO_INT_STS_EN_GPIO_INT_1
#define LAN9303_GPIO_INT_STS_EN_GPIO_INT_1 0x00000002 |
Definition at line 749 of file lan9303_driver.h.
◆ LAN9303_GPIO_INT_STS_EN_GPIO_INT_2
#define LAN9303_GPIO_INT_STS_EN_GPIO_INT_2 0x00000004 |
Definition at line 750 of file lan9303_driver.h.
◆ LAN9303_GPIO_INT_STS_EN_GPIO_INT_3
#define LAN9303_GPIO_INT_STS_EN_GPIO_INT_3 0x00000008 |
Definition at line 751 of file lan9303_driver.h.
◆ LAN9303_GPIO_INT_STS_EN_GPIO_INT_4
#define LAN9303_GPIO_INT_STS_EN_GPIO_INT_4 0x00000010 |
Definition at line 752 of file lan9303_driver.h.
◆ LAN9303_GPIO_INT_STS_EN_GPIO_INT_5
#define LAN9303_GPIO_INT_STS_EN_GPIO_INT_5 0x00000020 |
Definition at line 753 of file lan9303_driver.h.
◆ LAN9303_GPIO_INT_STS_EN_GPIO_INT_EN
#define LAN9303_GPIO_INT_STS_EN_GPIO_INT_EN 0x003F0000 |
Definition at line 740 of file lan9303_driver.h.
◆ LAN9303_GPIO_INT_STS_EN_GPIO_INT_EN_0
#define LAN9303_GPIO_INT_STS_EN_GPIO_INT_EN_0 0x00010000 |
Definition at line 741 of file lan9303_driver.h.
◆ LAN9303_GPIO_INT_STS_EN_GPIO_INT_EN_1
#define LAN9303_GPIO_INT_STS_EN_GPIO_INT_EN_1 0x00020000 |
Definition at line 742 of file lan9303_driver.h.
◆ LAN9303_GPIO_INT_STS_EN_GPIO_INT_EN_2
#define LAN9303_GPIO_INT_STS_EN_GPIO_INT_EN_2 0x00040000 |
Definition at line 743 of file lan9303_driver.h.
◆ LAN9303_GPIO_INT_STS_EN_GPIO_INT_EN_3
#define LAN9303_GPIO_INT_STS_EN_GPIO_INT_EN_3 0x00080000 |
Definition at line 744 of file lan9303_driver.h.
◆ LAN9303_GPIO_INT_STS_EN_GPIO_INT_EN_4
#define LAN9303_GPIO_INT_STS_EN_GPIO_INT_EN_4 0x00100000 |
Definition at line 745 of file lan9303_driver.h.
◆ LAN9303_GPIO_INT_STS_EN_GPIO_INT_EN_5
#define LAN9303_GPIO_INT_STS_EN_GPIO_INT_EN_5 0x00200000 |
Definition at line 746 of file lan9303_driver.h.
◆ LAN9303_GPT_CFG
#define LAN9303_GPT_CFG 0x008C |
Definition at line 95 of file lan9303_driver.h.
◆ LAN9303_GPT_CFG_GPT_LOAD
#define LAN9303_GPT_CFG_GPT_LOAD 0x0000FFFF |
Definition at line 533 of file lan9303_driver.h.
◆ LAN9303_GPT_CFG_TIMER_EN
#define LAN9303_GPT_CFG_TIMER_EN 0x20000000 |
Definition at line 532 of file lan9303_driver.h.
◆ LAN9303_GPT_CNT
#define LAN9303_GPT_CNT 0x0090 |
Definition at line 96 of file lan9303_driver.h.
◆ LAN9303_GPT_CNT_GPT_CNT
#define LAN9303_GPT_CNT_GPT_CNT 0x0000FFFF |
Definition at line 536 of file lan9303_driver.h.
◆ LAN9303_HW_CFG
#define LAN9303_HW_CFG 0x0074 |
Definition at line 94 of file lan9303_driver.h.
◆ LAN9303_HW_CFG_AMDIX_EN_STRAP_STATE_PORT1
#define LAN9303_HW_CFG_AMDIX_EN_STRAP_STATE_PORT1 0x02000000 |
Definition at line 529 of file lan9303_driver.h.
◆ LAN9303_HW_CFG_AMDIX_EN_STRAP_STATE_PORT2
#define LAN9303_HW_CFG_AMDIX_EN_STRAP_STATE_PORT2 0x04000000 |
Definition at line 528 of file lan9303_driver.h.
◆ LAN9303_HW_CFG_DEVICE_READY
#define LAN9303_HW_CFG_DEVICE_READY 0x08000000 |
Definition at line 527 of file lan9303_driver.h.
◆ LAN9303_ID_REV
#define LAN9303_ID_REV 0x0050 |
Definition at line 89 of file lan9303_driver.h.
◆ LAN9303_ID_REV_CHIP_ID
#define LAN9303_ID_REV_CHIP_ID 0xFFFF0000 |
Definition at line 492 of file lan9303_driver.h.
◆ LAN9303_ID_REV_CHIP_ID_DEFAULT
#define LAN9303_ID_REV_CHIP_ID_DEFAULT 0x93030000 |
Definition at line 493 of file lan9303_driver.h.
◆ LAN9303_ID_REV_CHIP_REV
#define LAN9303_ID_REV_CHIP_REV 0x0000FFFF |
Definition at line 494 of file lan9303_driver.h.
◆ LAN9303_INT_EN
#define LAN9303_INT_EN 0x005C |
Definition at line 92 of file lan9303_driver.h.
◆ LAN9303_INT_EN_GPIO_EN
#define LAN9303_INT_EN_GPIO_EN 0x00001000 |
Definition at line 521 of file lan9303_driver.h.
◆ LAN9303_INT_EN_GPT_INT_EN
#define LAN9303_INT_EN_GPT_INT_EN 0x00080000 |
Definition at line 520 of file lan9303_driver.h.
◆ LAN9303_INT_EN_PHY_INT1_EN
#define LAN9303_INT_EN_PHY_INT1_EN 0x04000000 |
Definition at line 519 of file lan9303_driver.h.
◆ LAN9303_INT_EN_PHY_INT2_EN
#define LAN9303_INT_EN_PHY_INT2_EN 0x08000000 |
Definition at line 518 of file lan9303_driver.h.
◆ LAN9303_INT_EN_READY_EN
#define LAN9303_INT_EN_READY_EN 0x40000000 |
Definition at line 516 of file lan9303_driver.h.
◆ LAN9303_INT_EN_SW_INT_EN
#define LAN9303_INT_EN_SW_INT_EN 0x80000000 |
Definition at line 515 of file lan9303_driver.h.
◆ LAN9303_INT_EN_SWITCH_INT_EN
#define LAN9303_INT_EN_SWITCH_INT_EN 0x10000000 |
Definition at line 517 of file lan9303_driver.h.
◆ LAN9303_INT_STS
#define LAN9303_INT_STS 0x0058 |
Definition at line 91 of file lan9303_driver.h.
◆ LAN9303_INT_STS_GPIO
#define LAN9303_INT_STS_GPIO 0x00001000 |
Definition at line 512 of file lan9303_driver.h.
◆ LAN9303_INT_STS_GPT_INT
#define LAN9303_INT_STS_GPT_INT 0x00080000 |
Definition at line 511 of file lan9303_driver.h.
◆ LAN9303_INT_STS_PHY_INT1
#define LAN9303_INT_STS_PHY_INT1 0x04000000 |
Definition at line 510 of file lan9303_driver.h.
◆ LAN9303_INT_STS_PHY_INT2
#define LAN9303_INT_STS_PHY_INT2 0x08000000 |
Definition at line 509 of file lan9303_driver.h.
◆ LAN9303_INT_STS_READY
#define LAN9303_INT_STS_READY 0x40000000 |
Definition at line 507 of file lan9303_driver.h.
◆ LAN9303_INT_STS_SW_INT
#define LAN9303_INT_STS_SW_INT 0x80000000 |
Definition at line 506 of file lan9303_driver.h.
◆ LAN9303_INT_STS_SWITCH_INT
#define LAN9303_INT_STS_SWITCH_INT 0x10000000 |
Definition at line 508 of file lan9303_driver.h.
◆ LAN9303_IRQ_CFG
#define LAN9303_IRQ_CFG 0x0054 |
Definition at line 90 of file lan9303_driver.h.
◆ LAN9303_IRQ_CFG_INT_DEAS
#define LAN9303_IRQ_CFG_INT_DEAS 0xFF000000 |
Definition at line 497 of file lan9303_driver.h.
◆ LAN9303_IRQ_CFG_INT_DEAS_CLR
#define LAN9303_IRQ_CFG_INT_DEAS_CLR 0x00004000 |
Definition at line 498 of file lan9303_driver.h.
◆ LAN9303_IRQ_CFG_INT_DEAS_STS
#define LAN9303_IRQ_CFG_INT_DEAS_STS 0x00002000 |
Definition at line 499 of file lan9303_driver.h.
◆ LAN9303_IRQ_CFG_IRQ_EN
#define LAN9303_IRQ_CFG_IRQ_EN 0x00000100 |
Definition at line 501 of file lan9303_driver.h.
◆ LAN9303_IRQ_CFG_IRQ_INT
#define LAN9303_IRQ_CFG_IRQ_INT 0x00001000 |
Definition at line 500 of file lan9303_driver.h.
◆ LAN9303_IRQ_CFG_IRQ_POL
#define LAN9303_IRQ_CFG_IRQ_POL 0x00000010 |
Definition at line 502 of file lan9303_driver.h.
◆ LAN9303_IRQ_CFG_IRQ_TYPE
#define LAN9303_IRQ_CFG_IRQ_TYPE 0x00000001 |
Definition at line 503 of file lan9303_driver.h.
◆ LAN9303_LED_CFG
#define LAN9303_LED_CFG 0x01BC |
Definition at line 107 of file lan9303_driver.h.
◆ LAN9303_LED_CFG_LED_EN
#define LAN9303_LED_CFG_LED_EN 0x0000003F |
Definition at line 610 of file lan9303_driver.h.
◆ LAN9303_LED_CFG_LED_EN_0
#define LAN9303_LED_CFG_LED_EN_0 0x00000001 |
Definition at line 611 of file lan9303_driver.h.
◆ LAN9303_LED_CFG_LED_EN_1
#define LAN9303_LED_CFG_LED_EN_1 0x00000002 |
Definition at line 612 of file lan9303_driver.h.
◆ LAN9303_LED_CFG_LED_EN_2
#define LAN9303_LED_CFG_LED_EN_2 0x00000004 |
Definition at line 613 of file lan9303_driver.h.
◆ LAN9303_LED_CFG_LED_EN_3
#define LAN9303_LED_CFG_LED_EN_3 0x00000008 |
Definition at line 614 of file lan9303_driver.h.
◆ LAN9303_LED_CFG_LED_EN_4
#define LAN9303_LED_CFG_LED_EN_4 0x00000010 |
Definition at line 615 of file lan9303_driver.h.
◆ LAN9303_LED_CFG_LED_EN_5
#define LAN9303_LED_CFG_LED_EN_5 0x00000020 |
Definition at line 616 of file lan9303_driver.h.
◆ LAN9303_LED_CFG_LED_FUN
#define LAN9303_LED_CFG_LED_FUN 0x00000300 |
Definition at line 605 of file lan9303_driver.h.
◆ LAN9303_LED_CFG_LED_FUN_0
#define LAN9303_LED_CFG_LED_FUN_0 0x00000000 |
Definition at line 606 of file lan9303_driver.h.
◆ LAN9303_LED_CFG_LED_FUN_1
#define LAN9303_LED_CFG_LED_FUN_1 0x00000100 |
Definition at line 607 of file lan9303_driver.h.
◆ LAN9303_LED_CFG_LED_FUN_2
#define LAN9303_LED_CFG_LED_FUN_2 0x00000200 |
Definition at line 608 of file lan9303_driver.h.
◆ LAN9303_LED_CFG_LED_FUN_3
#define LAN9303_LED_CFG_LED_FUN_3 0x00000300 |
Definition at line 609 of file lan9303_driver.h.
◆ LAN9303_MAC_IMR
Definition at line 372 of file lan9303_driver.h.
◆ LAN9303_MAC_IMR_0
#define LAN9303_MAC_IMR_0 0x0480 |
Definition at line 171 of file lan9303_driver.h.
◆ LAN9303_MAC_IMR_1
#define LAN9303_MAC_IMR_1 0x0880 |
Definition at line 215 of file lan9303_driver.h.
◆ LAN9303_MAC_IMR_2
#define LAN9303_MAC_IMR_2 0x0C80 |
Definition at line 259 of file lan9303_driver.h.
◆ LAN9303_MAC_IPR
Definition at line 373 of file lan9303_driver.h.
◆ LAN9303_MAC_IPR_0
#define LAN9303_MAC_IPR_0 0x0481 |
Definition at line 172 of file lan9303_driver.h.
◆ LAN9303_MAC_IPR_1
#define LAN9303_MAC_IPR_1 0x0881 |
Definition at line 216 of file lan9303_driver.h.
◆ LAN9303_MAC_IPR_2
#define LAN9303_MAC_IPR_2 0x0C81 |
Definition at line 260 of file lan9303_driver.h.
◆ LAN9303_MAC_RX_1024_TO_MAX_CNT
Definition at line 338 of file lan9303_driver.h.
◆ LAN9303_MAC_RX_1024_TO_MAX_CNT_0
#define LAN9303_MAC_RX_1024_TO_MAX_CNT_0 0x0416 |
Definition at line 137 of file lan9303_driver.h.
◆ LAN9303_MAC_RX_1024_TO_MAX_CNT_1
#define LAN9303_MAC_RX_1024_TO_MAX_CNT_1 0x0816 |
Definition at line 181 of file lan9303_driver.h.
◆ LAN9303_MAC_RX_1024_TO_MAX_CNT_2
#define LAN9303_MAC_RX_1024_TO_MAX_CNT_2 0x0C16 |
Definition at line 225 of file lan9303_driver.h.
◆ LAN9303_MAC_RX_128_TO_255_CNT
Definition at line 335 of file lan9303_driver.h.
◆ LAN9303_MAC_RX_128_TO_255_CNT_0
#define LAN9303_MAC_RX_128_TO_255_CNT_0 0x0413 |
Definition at line 134 of file lan9303_driver.h.
◆ LAN9303_MAC_RX_128_TO_255_CNT_1
#define LAN9303_MAC_RX_128_TO_255_CNT_1 0x0813 |
Definition at line 178 of file lan9303_driver.h.
◆ LAN9303_MAC_RX_128_TO_255_CNT_2
#define LAN9303_MAC_RX_128_TO_255_CNT_2 0x0C13 |
Definition at line 222 of file lan9303_driver.h.
◆ LAN9303_MAC_RX_256_TO_511_CNT
Definition at line 336 of file lan9303_driver.h.
◆ LAN9303_MAC_RX_256_TO_511_CNT_0
#define LAN9303_MAC_RX_256_TO_511_CNT_0 0x0414 |
Definition at line 135 of file lan9303_driver.h.
◆ LAN9303_MAC_RX_256_TO_511_CNT_1
#define LAN9303_MAC_RX_256_TO_511_CNT_1 0x0814 |
Definition at line 179 of file lan9303_driver.h.
◆ LAN9303_MAC_RX_256_TO_511_CNT_2
#define LAN9303_MAC_RX_256_TO_511_CNT_2 0x0C14 |
Definition at line 223 of file lan9303_driver.h.
◆ LAN9303_MAC_RX_512_TO_1023_CNT
Definition at line 337 of file lan9303_driver.h.
◆ LAN9303_MAC_RX_512_TO_1023_CNT_0
#define LAN9303_MAC_RX_512_TO_1023_CNT_0 0x0415 |
Definition at line 136 of file lan9303_driver.h.
◆ LAN9303_MAC_RX_512_TO_1023_CNT_1
#define LAN9303_MAC_RX_512_TO_1023_CNT_1 0x0815 |
Definition at line 180 of file lan9303_driver.h.
◆ LAN9303_MAC_RX_512_TO_1023_CNT_2
#define LAN9303_MAC_RX_512_TO_1023_CNT_2 0x0C15 |
Definition at line 224 of file lan9303_driver.h.
◆ LAN9303_MAC_RX_64_CNT
Definition at line 333 of file lan9303_driver.h.
◆ LAN9303_MAC_RX_64_CNT_0
#define LAN9303_MAC_RX_64_CNT_0 0x0411 |
Definition at line 132 of file lan9303_driver.h.
◆ LAN9303_MAC_RX_64_CNT_1
#define LAN9303_MAC_RX_64_CNT_1 0x0811 |
Definition at line 176 of file lan9303_driver.h.
◆ LAN9303_MAC_RX_64_CNT_2
#define LAN9303_MAC_RX_64_CNT_2 0x0C11 |
Definition at line 220 of file lan9303_driver.h.
◆ LAN9303_MAC_RX_65_TO_127_CNT
Definition at line 334 of file lan9303_driver.h.
◆ LAN9303_MAC_RX_65_TO_127_CNT_0
#define LAN9303_MAC_RX_65_TO_127_CNT_0 0x0412 |
Definition at line 133 of file lan9303_driver.h.
◆ LAN9303_MAC_RX_65_TO_127_CNT_1
#define LAN9303_MAC_RX_65_TO_127_CNT_1 0x0812 |
Definition at line 177 of file lan9303_driver.h.
◆ LAN9303_MAC_RX_65_TO_127_CNT_2
#define LAN9303_MAC_RX_65_TO_127_CNT_2 0x0C12 |
Definition at line 221 of file lan9303_driver.h.
◆ LAN9303_MAC_RX_ALIGN_CNT
Definition at line 347 of file lan9303_driver.h.
◆ LAN9303_MAC_RX_ALIGN_CNT_0
#define LAN9303_MAC_RX_ALIGN_CNT_0 0x041F |
Definition at line 146 of file lan9303_driver.h.
◆ LAN9303_MAC_RX_ALIGN_CNT_1
#define LAN9303_MAC_RX_ALIGN_CNT_1 0x081F |
Definition at line 190 of file lan9303_driver.h.
◆ LAN9303_MAC_RX_ALIGN_CNT_2
#define LAN9303_MAC_RX_ALIGN_CNT_2 0x0C1F |
Definition at line 234 of file lan9303_driver.h.
◆ LAN9303_MAC_RX_BRDCST_CNT
Definition at line 343 of file lan9303_driver.h.
◆ LAN9303_MAC_RX_BRDCST_CNT_0
#define LAN9303_MAC_RX_BRDCST_CNT_0 0x041B |
Definition at line 142 of file lan9303_driver.h.
◆ LAN9303_MAC_RX_BRDCST_CNT_1
#define LAN9303_MAC_RX_BRDCST_CNT_1 0x081B |
Definition at line 186 of file lan9303_driver.h.
◆ LAN9303_MAC_RX_BRDCST_CNT_2
#define LAN9303_MAC_RX_BRDCST_CNT_2 0x0C1B |
Definition at line 230 of file lan9303_driver.h.
◆ LAN9303_MAC_RX_CFG
Definition at line 331 of file lan9303_driver.h.
◆ LAN9303_MAC_RX_CFG_0
#define LAN9303_MAC_RX_CFG_0 0x0401 |
Definition at line 130 of file lan9303_driver.h.
◆ LAN9303_MAC_RX_CFG_1
#define LAN9303_MAC_RX_CFG_1 0x0801 |
Definition at line 174 of file lan9303_driver.h.
◆ LAN9303_MAC_RX_CFG_2
#define LAN9303_MAC_RX_CFG_2 0x0C01 |
Definition at line 218 of file lan9303_driver.h.
◆ LAN9303_MAC_RX_CFG_JUMBO_2K
#define LAN9303_MAC_RX_CFG_JUMBO_2K 0x00000008 |
Definition at line 806 of file lan9303_driver.h.
◆ LAN9303_MAC_RX_CFG_RECEIVE_OWN_TRANSMIT_EN
#define LAN9303_MAC_RX_CFG_RECEIVE_OWN_TRANSMIT_EN 0x00000020 |
Definition at line 805 of file lan9303_driver.h.
◆ LAN9303_MAC_RX_CFG_REJECT_MAC_TYPES
#define LAN9303_MAC_RX_CFG_REJECT_MAC_TYPES 0x00000002 |
Definition at line 807 of file lan9303_driver.h.
◆ LAN9303_MAC_RX_CFG_RX_EN
#define LAN9303_MAC_RX_CFG_RX_EN 0x00000001 |
Definition at line 808 of file lan9303_driver.h.
◆ LAN9303_MAC_RX_CRCERR_CNT
Definition at line 341 of file lan9303_driver.h.
◆ LAN9303_MAC_RX_CRCERR_CNT_0
#define LAN9303_MAC_RX_CRCERR_CNT_0 0x0419 |
Definition at line 140 of file lan9303_driver.h.
◆ LAN9303_MAC_RX_CRCERR_CNT_1
#define LAN9303_MAC_RX_CRCERR_CNT_1 0x0819 |
Definition at line 184 of file lan9303_driver.h.
◆ LAN9303_MAC_RX_CRCERR_CNT_2
#define LAN9303_MAC_RX_CRCERR_CNT_2 0x0C19 |
Definition at line 228 of file lan9303_driver.h.
◆ LAN9303_MAC_RX_CTLFRM_CNT
Definition at line 351 of file lan9303_driver.h.
◆ LAN9303_MAC_RX_CTLFRM_CNT_0
#define LAN9303_MAC_RX_CTLFRM_CNT_0 0x0423 |
Definition at line 150 of file lan9303_driver.h.
◆ LAN9303_MAC_RX_CTLFRM_CNT_1
#define LAN9303_MAC_RX_CTLFRM_CNT_1 0x0823 |
Definition at line 194 of file lan9303_driver.h.
◆ LAN9303_MAC_RX_CTLFRM_CNT_2
#define LAN9303_MAC_RX_CTLFRM_CNT_2 0x0C23 |
Definition at line 238 of file lan9303_driver.h.
◆ LAN9303_MAC_RX_FRAG_CNT
Definition at line 345 of file lan9303_driver.h.
◆ LAN9303_MAC_RX_FRAG_CNT_0
#define LAN9303_MAC_RX_FRAG_CNT_0 0x041D |
Definition at line 144 of file lan9303_driver.h.
◆ LAN9303_MAC_RX_FRAG_CNT_1
#define LAN9303_MAC_RX_FRAG_CNT_1 0x081D |
Definition at line 188 of file lan9303_driver.h.
◆ LAN9303_MAC_RX_FRAG_CNT_2
#define LAN9303_MAC_RX_FRAG_CNT_2 0x0C1D |
Definition at line 232 of file lan9303_driver.h.
◆ LAN9303_MAC_RX_GOODPKTLEN_CNT
Definition at line 349 of file lan9303_driver.h.
◆ LAN9303_MAC_RX_GOODPKTLEN_CNT_0
#define LAN9303_MAC_RX_GOODPKTLEN_CNT_0 0x0421 |
Definition at line 148 of file lan9303_driver.h.
◆ LAN9303_MAC_RX_GOODPKTLEN_CNT_1
#define LAN9303_MAC_RX_GOODPKTLEN_CNT_1 0x0821 |
Definition at line 192 of file lan9303_driver.h.
◆ LAN9303_MAC_RX_GOODPKTLEN_CNT_2
#define LAN9303_MAC_RX_GOODPKTLEN_CNT_2 0x0C21 |
Definition at line 236 of file lan9303_driver.h.
◆ LAN9303_MAC_RX_JABB_CNT
Definition at line 346 of file lan9303_driver.h.
◆ LAN9303_MAC_RX_JABB_CNT_0
#define LAN9303_MAC_RX_JABB_CNT_0 0x041E |
Definition at line 145 of file lan9303_driver.h.
◆ LAN9303_MAC_RX_JABB_CNT_1
#define LAN9303_MAC_RX_JABB_CNT_1 0x081E |
Definition at line 189 of file lan9303_driver.h.
◆ LAN9303_MAC_RX_JABB_CNT_2
#define LAN9303_MAC_RX_JABB_CNT_2 0x0C1E |
Definition at line 233 of file lan9303_driver.h.
◆ LAN9303_MAC_RX_MULCST_CNT
Definition at line 342 of file lan9303_driver.h.
◆ LAN9303_MAC_RX_MULCST_CNT_0
#define LAN9303_MAC_RX_MULCST_CNT_0 0x041A |
Definition at line 141 of file lan9303_driver.h.
◆ LAN9303_MAC_RX_MULCST_CNT_1
#define LAN9303_MAC_RX_MULCST_CNT_1 0x081A |
Definition at line 185 of file lan9303_driver.h.
◆ LAN9303_MAC_RX_MULCST_CNT_2
#define LAN9303_MAC_RX_MULCST_CNT_2 0x0C1A |
Definition at line 229 of file lan9303_driver.h.
◆ LAN9303_MAC_RX_OVRSZE_CNT
Definition at line 339 of file lan9303_driver.h.
◆ LAN9303_MAC_RX_OVRSZE_CNT_0
#define LAN9303_MAC_RX_OVRSZE_CNT_0 0x0417 |
Definition at line 138 of file lan9303_driver.h.
◆ LAN9303_MAC_RX_OVRSZE_CNT_1
#define LAN9303_MAC_RX_OVRSZE_CNT_1 0x0817 |
Definition at line 182 of file lan9303_driver.h.
◆ LAN9303_MAC_RX_OVRSZE_CNT_2
#define LAN9303_MAC_RX_OVRSZE_CNT_2 0x0C17 |
Definition at line 226 of file lan9303_driver.h.
◆ LAN9303_MAC_RX_PAUSE_CNT
Definition at line 344 of file lan9303_driver.h.
◆ LAN9303_MAC_RX_PAUSE_CNT_0
#define LAN9303_MAC_RX_PAUSE_CNT_0 0x041C |
Definition at line 143 of file lan9303_driver.h.
◆ LAN9303_MAC_RX_PAUSE_CNT_1
#define LAN9303_MAC_RX_PAUSE_CNT_1 0x081C |
Definition at line 187 of file lan9303_driver.h.
◆ LAN9303_MAC_RX_PAUSE_CNT_2
#define LAN9303_MAC_RX_PAUSE_CNT_2 0x0C1C |
Definition at line 231 of file lan9303_driver.h.
◆ LAN9303_MAC_RX_PKTLEN_CNT
Definition at line 348 of file lan9303_driver.h.
◆ LAN9303_MAC_RX_PKTLEN_CNT_0
#define LAN9303_MAC_RX_PKTLEN_CNT_0 0x0420 |
Definition at line 147 of file lan9303_driver.h.
◆ LAN9303_MAC_RX_PKTLEN_CNT_1
#define LAN9303_MAC_RX_PKTLEN_CNT_1 0x0820 |
Definition at line 191 of file lan9303_driver.h.
◆ LAN9303_MAC_RX_PKTLEN_CNT_2
#define LAN9303_MAC_RX_PKTLEN_CNT_2 0x0C20 |
Definition at line 235 of file lan9303_driver.h.
◆ LAN9303_MAC_RX_PKTOK_CNT
Definition at line 340 of file lan9303_driver.h.
◆ LAN9303_MAC_RX_PKTOK_CNT_0
#define LAN9303_MAC_RX_PKTOK_CNT_0 0x0418 |
Definition at line 139 of file lan9303_driver.h.
◆ LAN9303_MAC_RX_PKTOK_CNT_1
#define LAN9303_MAC_RX_PKTOK_CNT_1 0x0818 |
Definition at line 183 of file lan9303_driver.h.
◆ LAN9303_MAC_RX_PKTOK_CNT_2
#define LAN9303_MAC_RX_PKTOK_CNT_2 0x0C18 |
Definition at line 227 of file lan9303_driver.h.
◆ LAN9303_MAC_RX_SYMBOL_CNT
Definition at line 350 of file lan9303_driver.h.
◆ LAN9303_MAC_RX_SYMBOL_CNT_0
#define LAN9303_MAC_RX_SYMBOL_CNT_0 0x0422 |
Definition at line 149 of file lan9303_driver.h.
◆ LAN9303_MAC_RX_SYMBOL_CNT_1
#define LAN9303_MAC_RX_SYMBOL_CNT_1 0x0822 |
Definition at line 193 of file lan9303_driver.h.
◆ LAN9303_MAC_RX_SYMBOL_CNT_2
#define LAN9303_MAC_RX_SYMBOL_CNT_2 0x0C22 |
Definition at line 237 of file lan9303_driver.h.
◆ LAN9303_MAC_RX_UNDSZE_CNT
Definition at line 332 of file lan9303_driver.h.
◆ LAN9303_MAC_RX_UNDSZE_CNT_0
#define LAN9303_MAC_RX_UNDSZE_CNT_0 0x0410 |
Definition at line 131 of file lan9303_driver.h.
◆ LAN9303_MAC_RX_UNDSZE_CNT_1
#define LAN9303_MAC_RX_UNDSZE_CNT_1 0x0810 |
Definition at line 175 of file lan9303_driver.h.
◆ LAN9303_MAC_RX_UNDSZE_CNT_2
#define LAN9303_MAC_RX_UNDSZE_CNT_2 0x0C10 |
Definition at line 219 of file lan9303_driver.h.
◆ LAN9303_MAC_TX_1024_TO_MAX_CNT
Definition at line 362 of file lan9303_driver.h.
◆ LAN9303_MAC_TX_1024_TO_MAX_CNT_0
#define LAN9303_MAC_TX_1024_TO_MAX_CNT_0 0x0459 |
Definition at line 161 of file lan9303_driver.h.
◆ LAN9303_MAC_TX_1024_TO_MAX_CNT_1
#define LAN9303_MAC_TX_1024_TO_MAX_CNT_1 0x0859 |
Definition at line 205 of file lan9303_driver.h.
◆ LAN9303_MAC_TX_1024_TO_MAX_CNT_2
#define LAN9303_MAC_TX_1024_TO_MAX_CNT_2 0x0C59 |
Definition at line 249 of file lan9303_driver.h.
◆ LAN9303_MAC_TX_128_TO_255_CNT
Definition at line 359 of file lan9303_driver.h.
◆ LAN9303_MAC_TX_128_TO_255_CNT_0
#define LAN9303_MAC_TX_128_TO_255_CNT_0 0x0456 |
Definition at line 158 of file lan9303_driver.h.
◆ LAN9303_MAC_TX_128_TO_255_CNT_1
#define LAN9303_MAC_TX_128_TO_255_CNT_1 0x0856 |
Definition at line 202 of file lan9303_driver.h.
◆ LAN9303_MAC_TX_128_TO_255_CNT_2
#define LAN9303_MAC_TX_128_TO_255_CNT_2 0x0C56 |
Definition at line 246 of file lan9303_driver.h.
◆ LAN9303_MAC_TX_256_TO_511_CNT
Definition at line 360 of file lan9303_driver.h.
◆ LAN9303_MAC_TX_256_TO_511_CNT_0
#define LAN9303_MAC_TX_256_TO_511_CNT_0 0x0457 |
Definition at line 159 of file lan9303_driver.h.
◆ LAN9303_MAC_TX_256_TO_511_CNT_1
#define LAN9303_MAC_TX_256_TO_511_CNT_1 0x0857 |
Definition at line 203 of file lan9303_driver.h.
◆ LAN9303_MAC_TX_256_TO_511_CNT_2
#define LAN9303_MAC_TX_256_TO_511_CNT_2 0x0C57 |
Definition at line 247 of file lan9303_driver.h.
◆ LAN9303_MAC_TX_512_TO_1023_CNT
Definition at line 361 of file lan9303_driver.h.
◆ LAN9303_MAC_TX_512_TO_1023_CNT_0
#define LAN9303_MAC_TX_512_TO_1023_CNT_0 0x0458 |
Definition at line 160 of file lan9303_driver.h.
◆ LAN9303_MAC_TX_512_TO_1023_CNT_1
#define LAN9303_MAC_TX_512_TO_1023_CNT_1 0x0858 |
Definition at line 204 of file lan9303_driver.h.
◆ LAN9303_MAC_TX_512_TO_1023_CNT_2
#define LAN9303_MAC_TX_512_TO_1023_CNT_2 0x0C58 |
Definition at line 248 of file lan9303_driver.h.
◆ LAN9303_MAC_TX_64_CNT
Definition at line 357 of file lan9303_driver.h.
◆ LAN9303_MAC_TX_64_CNT_0
#define LAN9303_MAC_TX_64_CNT_0 0x0454 |
Definition at line 156 of file lan9303_driver.h.
◆ LAN9303_MAC_TX_64_CNT_1
#define LAN9303_MAC_TX_64_CNT_1 0x0854 |
Definition at line 200 of file lan9303_driver.h.
◆ LAN9303_MAC_TX_64_CNT_2
#define LAN9303_MAC_TX_64_CNT_2 0x0C54 |
Definition at line 244 of file lan9303_driver.h.
◆ LAN9303_MAC_TX_65_TO_127_CNT
Definition at line 358 of file lan9303_driver.h.
◆ LAN9303_MAC_TX_65_TO_127_CNT_0
#define LAN9303_MAC_TX_65_TO_127_CNT_0 0x0455 |
Definition at line 157 of file lan9303_driver.h.
◆ LAN9303_MAC_TX_65_TO_127_CNT_1
#define LAN9303_MAC_TX_65_TO_127_CNT_1 0x0855 |
Definition at line 201 of file lan9303_driver.h.
◆ LAN9303_MAC_TX_65_TO_127_CNT_2
#define LAN9303_MAC_TX_65_TO_127_CNT_2 0x0C55 |
Definition at line 245 of file lan9303_driver.h.
◆ LAN9303_MAC_TX_BRDCST_CNT
Definition at line 365 of file lan9303_driver.h.
◆ LAN9303_MAC_TX_BRDCST_CNT_0
#define LAN9303_MAC_TX_BRDCST_CNT_0 0x045D |
Definition at line 164 of file lan9303_driver.h.
◆ LAN9303_MAC_TX_BRDCST_CNT_1
#define LAN9303_MAC_TX_BRDCST_CNT_1 0x085D |
Definition at line 208 of file lan9303_driver.h.
◆ LAN9303_MAC_TX_BRDCST_CNT_2
#define LAN9303_MAC_TX_BRDCST_CNT_2 0x0C5D |
Definition at line 252 of file lan9303_driver.h.
◆ LAN9303_MAC_TX_CFG
Definition at line 352 of file lan9303_driver.h.
◆ LAN9303_MAC_TX_CFG_0
#define LAN9303_MAC_TX_CFG_0 0x0440 |
Definition at line 151 of file lan9303_driver.h.
◆ LAN9303_MAC_TX_CFG_1
#define LAN9303_MAC_TX_CFG_1 0x0840 |
Definition at line 195 of file lan9303_driver.h.
◆ LAN9303_MAC_TX_CFG_2
#define LAN9303_MAC_TX_CFG_2 0x0C40 |
Definition at line 239 of file lan9303_driver.h.
◆ LAN9303_MAC_TX_CFG_IFG_CONFIG
#define LAN9303_MAC_TX_CFG_IFG_CONFIG 0x0000007C |
Definition at line 812 of file lan9303_driver.h.
◆ LAN9303_MAC_TX_CFG_IFG_CONFIG_DEFAULT
#define LAN9303_MAC_TX_CFG_IFG_CONFIG_DEFAULT 0x00000054 |
Definition at line 813 of file lan9303_driver.h.
◆ LAN9303_MAC_TX_CFG_MAC_COUNTER_TEST
#define LAN9303_MAC_TX_CFG_MAC_COUNTER_TEST 0x00000080 |
Definition at line 811 of file lan9303_driver.h.
◆ LAN9303_MAC_TX_CFG_TX_EN
#define LAN9303_MAC_TX_CFG_TX_EN 0x00000001 |
Definition at line 815 of file lan9303_driver.h.
◆ LAN9303_MAC_TX_CFG_TX_PAD_EN
#define LAN9303_MAC_TX_CFG_TX_PAD_EN 0x00000002 |
Definition at line 814 of file lan9303_driver.h.
◆ LAN9303_MAC_TX_DEFER_CNT
Definition at line 354 of file lan9303_driver.h.
◆ LAN9303_MAC_TX_DEFER_CNT_0
#define LAN9303_MAC_TX_DEFER_CNT_0 0x0451 |
Definition at line 153 of file lan9303_driver.h.
◆ LAN9303_MAC_TX_DEFER_CNT_1
#define LAN9303_MAC_TX_DEFER_CNT_1 0x0851 |
Definition at line 197 of file lan9303_driver.h.
◆ LAN9303_MAC_TX_DEFER_CNT_2
#define LAN9303_MAC_TX_DEFER_CNT_2 0x0C51 |
Definition at line 241 of file lan9303_driver.h.
◆ LAN9303_MAC_TX_EXCCOL_CNT
Definition at line 368 of file lan9303_driver.h.
◆ LAN9303_MAC_TX_EXCCOL_CNT_0
#define LAN9303_MAC_TX_EXCCOL_CNT_0 0x0460 |
Definition at line 167 of file lan9303_driver.h.
◆ LAN9303_MAC_TX_EXCCOL_CNT_1
#define LAN9303_MAC_TX_EXCCOL_CNT_1 0x0860 |
Definition at line 211 of file lan9303_driver.h.
◆ LAN9303_MAC_TX_EXCCOL_CNT_2
#define LAN9303_MAC_TX_EXCCOL_CNT_2 0x0C60 |
Definition at line 255 of file lan9303_driver.h.
◆ LAN9303_MAC_TX_FC_SETTINGS
Definition at line 353 of file lan9303_driver.h.
◆ LAN9303_MAC_TX_FC_SETTINGS_0
#define LAN9303_MAC_TX_FC_SETTINGS_0 0x0441 |
Definition at line 152 of file lan9303_driver.h.
◆ LAN9303_MAC_TX_FC_SETTINGS_1
#define LAN9303_MAC_TX_FC_SETTINGS_1 0x0841 |
Definition at line 196 of file lan9303_driver.h.
◆ LAN9303_MAC_TX_FC_SETTINGS_2
#define LAN9303_MAC_TX_FC_SETTINGS_2 0x0C41 |
Definition at line 240 of file lan9303_driver.h.
◆ LAN9303_MAC_TX_LATECOL_CNT
Definition at line 367 of file lan9303_driver.h.
◆ LAN9303_MAC_TX_LATECOL_CNT_0
#define LAN9303_MAC_TX_LATECOL_CNT_0 0x045F |
Definition at line 166 of file lan9303_driver.h.
◆ LAN9303_MAC_TX_LATECOL_CNT_1
#define LAN9303_MAC_TX_LATECOL_CNT_1 0x085F |
Definition at line 210 of file lan9303_driver.h.
◆ LAN9303_MAC_TX_LATECOL_CNT_2
#define LAN9303_MAC_TX_LATECOL_CNT_2 0x0C5F |
Definition at line 254 of file lan9303_driver.h.
◆ LAN9303_MAC_TX_MULCST_CNT
Definition at line 366 of file lan9303_driver.h.
◆ LAN9303_MAC_TX_MULCST_CNT_0
#define LAN9303_MAC_TX_MULCST_CNT_0 0x045E |
Definition at line 165 of file lan9303_driver.h.
◆ LAN9303_MAC_TX_MULCST_CNT_1
#define LAN9303_MAC_TX_MULCST_CNT_1 0x085E |
Definition at line 209 of file lan9303_driver.h.
◆ LAN9303_MAC_TX_MULCST_CNT_2
#define LAN9303_MAC_TX_MULCST_CNT_2 0x0C5E |
Definition at line 253 of file lan9303_driver.h.
◆ LAN9303_MAC_TX_MULTICOL_CNT
Definition at line 370 of file lan9303_driver.h.
◆ LAN9303_MAC_TX_MULTICOL_CNT_0
#define LAN9303_MAC_TX_MULTICOL_CNT_0 0x0462 |
Definition at line 169 of file lan9303_driver.h.
◆ LAN9303_MAC_TX_MULTICOL_CNT_1
#define LAN9303_MAC_TX_MULTICOL_CNT_1 0x0862 |
Definition at line 213 of file lan9303_driver.h.
◆ LAN9303_MAC_TX_MULTICOL_CNT_2
#define LAN9303_MAC_TX_MULTICOL_CNT_2 0x0C62 |
Definition at line 257 of file lan9303_driver.h.
◆ LAN9303_MAC_TX_PAUSE_CNT
Definition at line 355 of file lan9303_driver.h.
◆ LAN9303_MAC_TX_PAUSE_CNT_0
#define LAN9303_MAC_TX_PAUSE_CNT_0 0x0452 |
Definition at line 154 of file lan9303_driver.h.
◆ LAN9303_MAC_TX_PAUSE_CNT_1
#define LAN9303_MAC_TX_PAUSE_CNT_1 0x0852 |
Definition at line 198 of file lan9303_driver.h.
◆ LAN9303_MAC_TX_PAUSE_CNT_2
#define LAN9303_MAC_TX_PAUSE_CNT_2 0x0C52 |
Definition at line 242 of file lan9303_driver.h.
◆ LAN9303_MAC_TX_PKTLEN_CNT
Definition at line 364 of file lan9303_driver.h.
◆ LAN9303_MAC_TX_PKTLEN_CNT_0
#define LAN9303_MAC_TX_PKTLEN_CNT_0 0x045C |
Definition at line 163 of file lan9303_driver.h.
◆ LAN9303_MAC_TX_PKTLEN_CNT_1
#define LAN9303_MAC_TX_PKTLEN_CNT_1 0x085C |
Definition at line 207 of file lan9303_driver.h.
◆ LAN9303_MAC_TX_PKTLEN_CNT_2
#define LAN9303_MAC_TX_PKTLEN_CNT_2 0x0C5C |
Definition at line 251 of file lan9303_driver.h.
◆ LAN9303_MAC_TX_PKTOK_CNT
Definition at line 356 of file lan9303_driver.h.
◆ LAN9303_MAC_TX_PKTOK_CNT_0
#define LAN9303_MAC_TX_PKTOK_CNT_0 0x0453 |
Definition at line 155 of file lan9303_driver.h.
◆ LAN9303_MAC_TX_PKTOK_CNT_1
#define LAN9303_MAC_TX_PKTOK_CNT_1 0x0853 |
Definition at line 199 of file lan9303_driver.h.
◆ LAN9303_MAC_TX_PKTOK_CNT_2
#define LAN9303_MAC_TX_PKTOK_CNT_2 0x0C53 |
Definition at line 243 of file lan9303_driver.h.
◆ LAN9303_MAC_TX_SNGLECOL_CNT
Definition at line 369 of file lan9303_driver.h.
◆ LAN9303_MAC_TX_SNGLECOL_CNT_0
#define LAN9303_MAC_TX_SNGLECOL_CNT_0 0x0461 |
Definition at line 168 of file lan9303_driver.h.
◆ LAN9303_MAC_TX_SNGLECOL_CNT_1
#define LAN9303_MAC_TX_SNGLECOL_CNT_1 0x0861 |
Definition at line 212 of file lan9303_driver.h.
◆ LAN9303_MAC_TX_SNGLECOL_CNT_2
#define LAN9303_MAC_TX_SNGLECOL_CNT_2 0x0C61 |
Definition at line 256 of file lan9303_driver.h.
◆ LAN9303_MAC_TX_TOTALCOL_CNT
Definition at line 371 of file lan9303_driver.h.
◆ LAN9303_MAC_TX_TOTALCOL_CNT_0
#define LAN9303_MAC_TX_TOTALCOL_CNT_0 0x0463 |
Definition at line 170 of file lan9303_driver.h.
◆ LAN9303_MAC_TX_TOTALCOL_CNT_1
#define LAN9303_MAC_TX_TOTALCOL_CNT_1 0x0863 |
Definition at line 214 of file lan9303_driver.h.
◆ LAN9303_MAC_TX_TOTALCOL_CNT_2
#define LAN9303_MAC_TX_TOTALCOL_CNT_2 0x0C63 |
Definition at line 258 of file lan9303_driver.h.
◆ LAN9303_MAC_TX_UNDSZE_CNT
Definition at line 363 of file lan9303_driver.h.
◆ LAN9303_MAC_TX_UNDSZE_CNT_0
#define LAN9303_MAC_TX_UNDSZE_CNT_0 0x045A |
Definition at line 162 of file lan9303_driver.h.
◆ LAN9303_MAC_TX_UNDSZE_CNT_1
#define LAN9303_MAC_TX_UNDSZE_CNT_1 0x085A |
Definition at line 206 of file lan9303_driver.h.
◆ LAN9303_MAC_TX_UNDSZE_CNT_2
#define LAN9303_MAC_TX_UNDSZE_CNT_2 0x0C5A |
Definition at line 250 of file lan9303_driver.h.
◆ LAN9303_MAC_VER_ID
Definition at line 330 of file lan9303_driver.h.
◆ LAN9303_MAC_VER_ID_0
#define LAN9303_MAC_VER_ID_0 0x0400 |
Definition at line 129 of file lan9303_driver.h.
◆ LAN9303_MAC_VER_ID_1
#define LAN9303_MAC_VER_ID_1 0x0800 |
Definition at line 173 of file lan9303_driver.h.
◆ LAN9303_MAC_VER_ID_2
#define LAN9303_MAC_VER_ID_2 0x0C00 |
Definition at line 217 of file lan9303_driver.h.
◆ LAN9303_MAC_VER_ID_CHIP_VERSION
#define LAN9303_MAC_VER_ID_CHIP_VERSION 0x000000F0 |
Definition at line 799 of file lan9303_driver.h.
◆ LAN9303_MAC_VER_ID_CHIP_VERSION_DEFAULT
#define LAN9303_MAC_VER_ID_CHIP_VERSION_DEFAULT 0x00000080 |
Definition at line 800 of file lan9303_driver.h.
◆ LAN9303_MAC_VER_ID_DEVICE_TYPE
#define LAN9303_MAC_VER_ID_DEVICE_TYPE 0x00000F00 |
Definition at line 797 of file lan9303_driver.h.
◆ LAN9303_MAC_VER_ID_DEVICE_TYPE_DEFAULT
#define LAN9303_MAC_VER_ID_DEVICE_TYPE_DEFAULT 0x00000500 |
Definition at line 798 of file lan9303_driver.h.
◆ LAN9303_MAC_VER_ID_REVISION
#define LAN9303_MAC_VER_ID_REVISION 0x0000000F |
Definition at line 801 of file lan9303_driver.h.
◆ LAN9303_MAC_VER_ID_REVISION_DEFAULT
#define LAN9303_MAC_VER_ID_REVISION_DEFAULT 0x00000003 |
Definition at line 802 of file lan9303_driver.h.
◆ LAN9303_MANUAL_FC_0
#define LAN9303_MANUAL_FC_0 0x01A8 |
Definition at line 102 of file lan9303_driver.h.
◆ LAN9303_MANUAL_FC_0_BP_EN_0
#define LAN9303_MANUAL_FC_0_BP_EN_0 0x00000040 |
Definition at line 569 of file lan9303_driver.h.
◆ LAN9303_MANUAL_FC_0_CUR_DUP_0
#define LAN9303_MANUAL_FC_0_CUR_DUP_0 0x00000020 |
Definition at line 570 of file lan9303_driver.h.
◆ LAN9303_MANUAL_FC_0_CUR_RX_FC_0
#define LAN9303_MANUAL_FC_0_CUR_RX_FC_0 0x00000010 |
Definition at line 571 of file lan9303_driver.h.
◆ LAN9303_MANUAL_FC_0_CUR_TX_FC_0
#define LAN9303_MANUAL_FC_0_CUR_TX_FC_0 0x00000008 |
Definition at line 572 of file lan9303_driver.h.
◆ LAN9303_MANUAL_FC_0_MANUAL_FC_0
#define LAN9303_MANUAL_FC_0_MANUAL_FC_0 0x00000001 |
Definition at line 575 of file lan9303_driver.h.
◆ LAN9303_MANUAL_FC_0_RX_FC_0
#define LAN9303_MANUAL_FC_0_RX_FC_0 0x00000004 |
Definition at line 573 of file lan9303_driver.h.
◆ LAN9303_MANUAL_FC_0_TX_FC_0
#define LAN9303_MANUAL_FC_0_TX_FC_0 0x00000002 |
Definition at line 574 of file lan9303_driver.h.
◆ LAN9303_MANUAL_FC_1
#define LAN9303_MANUAL_FC_1 0x01A0 |
Definition at line 100 of file lan9303_driver.h.
◆ LAN9303_MANUAL_FC_1_BP_EN_1
#define LAN9303_MANUAL_FC_1_BP_EN_1 0x00000040 |
Definition at line 551 of file lan9303_driver.h.
◆ LAN9303_MANUAL_FC_1_CUR_DUP_1
#define LAN9303_MANUAL_FC_1_CUR_DUP_1 0x00000020 |
Definition at line 552 of file lan9303_driver.h.
◆ LAN9303_MANUAL_FC_1_CUR_RX_FC_1
#define LAN9303_MANUAL_FC_1_CUR_RX_FC_1 0x00000010 |
Definition at line 553 of file lan9303_driver.h.
◆ LAN9303_MANUAL_FC_1_CUR_TX_FC_1
#define LAN9303_MANUAL_FC_1_CUR_TX_FC_1 0x00000008 |
Definition at line 554 of file lan9303_driver.h.
◆ LAN9303_MANUAL_FC_1_MANUAL_FC_1
#define LAN9303_MANUAL_FC_1_MANUAL_FC_1 0x00000001 |
Definition at line 557 of file lan9303_driver.h.
◆ LAN9303_MANUAL_FC_1_RX_FC_1
#define LAN9303_MANUAL_FC_1_RX_FC_1 0x00000004 |
Definition at line 555 of file lan9303_driver.h.
◆ LAN9303_MANUAL_FC_1_TX_FC_1
#define LAN9303_MANUAL_FC_1_TX_FC_1 0x00000002 |
Definition at line 556 of file lan9303_driver.h.
◆ LAN9303_MANUAL_FC_2
#define LAN9303_MANUAL_FC_2 0x01A4 |
Definition at line 101 of file lan9303_driver.h.
◆ LAN9303_MANUAL_FC_2_BP_EN_2
#define LAN9303_MANUAL_FC_2_BP_EN_2 0x00000040 |
Definition at line 560 of file lan9303_driver.h.
◆ LAN9303_MANUAL_FC_2_CUR_DUP_2
#define LAN9303_MANUAL_FC_2_CUR_DUP_2 0x00000020 |
Definition at line 561 of file lan9303_driver.h.
◆ LAN9303_MANUAL_FC_2_CUR_RX_FC_2
#define LAN9303_MANUAL_FC_2_CUR_RX_FC_2 0x00000010 |
Definition at line 562 of file lan9303_driver.h.
◆ LAN9303_MANUAL_FC_2_CUR_TX_FC_2
#define LAN9303_MANUAL_FC_2_CUR_TX_FC_2 0x00000008 |
Definition at line 563 of file lan9303_driver.h.
◆ LAN9303_MANUAL_FC_2_MANUAL_FC_2
#define LAN9303_MANUAL_FC_2_MANUAL_FC_2 0x00000001 |
Definition at line 566 of file lan9303_driver.h.
◆ LAN9303_MANUAL_FC_2_RX_FC_2
#define LAN9303_MANUAL_FC_2_RX_FC_2 0x00000004 |
Definition at line 564 of file lan9303_driver.h.
◆ LAN9303_MANUAL_FC_2_TX_FC_2
#define LAN9303_MANUAL_FC_2_TX_FC_2 0x00000002 |
Definition at line 565 of file lan9303_driver.h.
◆ LAN9303_PHYID1
#define LAN9303_PHYID1 0x02 |
Definition at line 76 of file lan9303_driver.h.
◆ LAN9303_PHYID1_PHY_ID_MSB
#define LAN9303_PHYID1_PHY_ID_MSB 0xFFFF |
Definition at line 401 of file lan9303_driver.h.
◆ LAN9303_PHYID1_PHY_ID_MSB_DEFAULT
#define LAN9303_PHYID1_PHY_ID_MSB_DEFAULT 0x0007 |
Definition at line 402 of file lan9303_driver.h.
◆ LAN9303_PHYID2
#define LAN9303_PHYID2 0x03 |
Definition at line 77 of file lan9303_driver.h.
◆ LAN9303_PHYID2_MODEL_NUM
#define LAN9303_PHYID2_MODEL_NUM 0x03F0 |
Definition at line 407 of file lan9303_driver.h.
◆ LAN9303_PHYID2_MODEL_NUM_DEFAULT
#define LAN9303_PHYID2_MODEL_NUM_DEFAULT 0x00D0 |
Definition at line 408 of file lan9303_driver.h.
◆ LAN9303_PHYID2_PHY_ID_LSB
#define LAN9303_PHYID2_PHY_ID_LSB 0xFC00 |
Definition at line 405 of file lan9303_driver.h.
◆ LAN9303_PHYID2_PHY_ID_LSB_DEFAULT
#define LAN9303_PHYID2_PHY_ID_LSB_DEFAULT 0xC000 |
Definition at line 406 of file lan9303_driver.h.
◆ LAN9303_PHYID2_REVISION_NUM
#define LAN9303_PHYID2_REVISION_NUM 0x000F |
Definition at line 409 of file lan9303_driver.h.
◆ LAN9303_PIMR
#define LAN9303_PIMR 0x1E |
Definition at line 85 of file lan9303_driver.h.
◆ LAN9303_PIMR_AN_COMPLETE
#define LAN9303_PIMR_AN_COMPLETE 0x0040 |
Definition at line 476 of file lan9303_driver.h.
◆ LAN9303_PIMR_AN_LP_ACK
#define LAN9303_PIMR_AN_LP_ACK 0x0008 |
Definition at line 479 of file lan9303_driver.h.
◆ LAN9303_PIMR_AN_PAGE_RECEIVED
#define LAN9303_PIMR_AN_PAGE_RECEIVED 0x0002 |
Definition at line 481 of file lan9303_driver.h.
◆ LAN9303_PIMR_ENERGYON
#define LAN9303_PIMR_ENERGYON 0x0080 |
Definition at line 475 of file lan9303_driver.h.
◆ LAN9303_PIMR_LINK_DOWN
#define LAN9303_PIMR_LINK_DOWN 0x0010 |
Definition at line 478 of file lan9303_driver.h.
◆ LAN9303_PIMR_PAR_DETECT_FAULT
#define LAN9303_PIMR_PAR_DETECT_FAULT 0x0004 |
Definition at line 480 of file lan9303_driver.h.
◆ LAN9303_PIMR_REMOTE_FAULT
#define LAN9303_PIMR_REMOTE_FAULT 0x0020 |
Definition at line 477 of file lan9303_driver.h.
◆ LAN9303_PISR
#define LAN9303_PISR 0x1D |
Definition at line 84 of file lan9303_driver.h.
◆ LAN9303_PISR_AN_COMPLETE
#define LAN9303_PISR_AN_COMPLETE 0x0040 |
Definition at line 467 of file lan9303_driver.h.
◆ LAN9303_PISR_AN_LP_ACK
#define LAN9303_PISR_AN_LP_ACK 0x0008 |
Definition at line 470 of file lan9303_driver.h.
◆ LAN9303_PISR_AN_PAGE_RECEIVED
#define LAN9303_PISR_AN_PAGE_RECEIVED 0x0002 |
Definition at line 472 of file lan9303_driver.h.
◆ LAN9303_PISR_ENERGYON
#define LAN9303_PISR_ENERGYON 0x0080 |
Definition at line 466 of file lan9303_driver.h.
◆ LAN9303_PISR_LINK_DOWN
#define LAN9303_PISR_LINK_DOWN 0x0010 |
Definition at line 469 of file lan9303_driver.h.
◆ LAN9303_PISR_PAR_DETECT_FAULT
#define LAN9303_PISR_PAR_DETECT_FAULT 0x0004 |
Definition at line 471 of file lan9303_driver.h.
◆ LAN9303_PISR_REMOTE_FAULT
#define LAN9303_PISR_REMOTE_FAULT 0x0020 |
Definition at line 468 of file lan9303_driver.h.
◆ LAN9303_PMCSR
#define LAN9303_PMCSR 0x11 |
Definition at line 81 of file lan9303_driver.h.
◆ LAN9303_PMCSR_EDPWRDOWN
#define LAN9303_PMCSR_EDPWRDOWN 0x2000 |
Definition at line 444 of file lan9303_driver.h.
◆ LAN9303_PMCSR_ENERGYON
#define LAN9303_PMCSR_ENERGYON 0x0002 |
Definition at line 445 of file lan9303_driver.h.
◆ LAN9303_PMI_ACCESS
#define LAN9303_PMI_ACCESS 0x00A8 |
Definition at line 99 of file lan9303_driver.h.
◆ LAN9303_PMI_ACCESS_MIIBZY
#define LAN9303_PMI_ACCESS_MIIBZY 0x00000001 |
Definition at line 548 of file lan9303_driver.h.
◆ LAN9303_PMI_ACCESS_MIIRINDA
#define LAN9303_PMI_ACCESS_MIIRINDA 0x000007C0 |
Definition at line 546 of file lan9303_driver.h.
◆ LAN9303_PMI_ACCESS_MIIW_R
#define LAN9303_PMI_ACCESS_MIIW_R 0x00000002 |
Definition at line 547 of file lan9303_driver.h.
◆ LAN9303_PMI_ACCESS_PHY_ADDR
#define LAN9303_PMI_ACCESS_PHY_ADDR 0x0000F800 |
Definition at line 545 of file lan9303_driver.h.
◆ LAN9303_PMI_DATA
#define LAN9303_PMI_DATA 0x00A4 |
Definition at line 98 of file lan9303_driver.h.
◆ LAN9303_PMI_DATA_MII_DATA
#define LAN9303_PMI_DATA_MII_DATA 0x0000FFFF |
Definition at line 542 of file lan9303_driver.h.
◆ LAN9303_PORT0
#define LAN9303_PORT0 3 |
Definition at line 38 of file lan9303_driver.h.
◆ LAN9303_PORT0_1_2_MASK
#define LAN9303_PORT0_1_2_MASK 0x07 |
Definition at line 50 of file lan9303_driver.h.
◆ LAN9303_PORT0_1_MASK
#define LAN9303_PORT0_1_MASK 0x05 |
Definition at line 47 of file lan9303_driver.h.
◆ LAN9303_PORT0_2_MASK
#define LAN9303_PORT0_2_MASK 0x06 |
Definition at line 48 of file lan9303_driver.h.
◆ LAN9303_PORT0_MASK
#define LAN9303_PORT0_MASK 0x04 |
Definition at line 44 of file lan9303_driver.h.
◆ LAN9303_PORT1
#define LAN9303_PORT1 1 |
Definition at line 39 of file lan9303_driver.h.
◆ LAN9303_PORT1_2_MASK
#define LAN9303_PORT1_2_MASK 0x03 |
Definition at line 49 of file lan9303_driver.h.
◆ LAN9303_PORT1_MASK
#define LAN9303_PORT1_MASK 0x01 |
Definition at line 45 of file lan9303_driver.h.
◆ LAN9303_PORT2
#define LAN9303_PORT2 2 |
Definition at line 40 of file lan9303_driver.h.
◆ LAN9303_PORT2_MASK
#define LAN9303_PORT2_MASK 0x02 |
Definition at line 46 of file lan9303_driver.h.
◆ LAN9303_PORT_MASK
#define LAN9303_PORT_MASK 0x07 |
Definition at line 43 of file lan9303_driver.h.
◆ LAN9303_PSCSIR
#define LAN9303_PSCSIR 0x1B |
Definition at line 83 of file lan9303_driver.h.
◆ LAN9303_PSCSIR_AMDIXCTRL
#define LAN9303_PSCSIR_AMDIXCTRL 0x8000 |
Definition at line 458 of file lan9303_driver.h.
◆ LAN9303_PSCSIR_AMDIXEN
#define LAN9303_PSCSIR_AMDIXEN 0x4000 |
Definition at line 459 of file lan9303_driver.h.
◆ LAN9303_PSCSIR_AMDIXSTATE
#define LAN9303_PSCSIR_AMDIXSTATE 0x2000 |
Definition at line 460 of file lan9303_driver.h.
◆ LAN9303_PSCSIR_SQEOFF
#define LAN9303_PSCSIR_SQEOFF 0x0800 |
Definition at line 461 of file lan9303_driver.h.
◆ LAN9303_PSCSIR_VCOOFF_LP
#define LAN9303_PSCSIR_VCOOFF_LP 0x0400 |
Definition at line 462 of file lan9303_driver.h.
◆ LAN9303_PSCSIR_XPOL
#define LAN9303_PSCSIR_XPOL 0x0010 |
Definition at line 463 of file lan9303_driver.h.
◆ LAN9303_PSCSR
#define LAN9303_PSCSR 0x1F |
Definition at line 86 of file lan9303_driver.h.
◆ LAN9303_PSCSR_AUTODONE
#define LAN9303_PSCSR_AUTODONE 0x1000 |
Definition at line 484 of file lan9303_driver.h.
◆ LAN9303_PSCSR_SPEED
#define LAN9303_PSCSR_SPEED 0x001C |
Definition at line 485 of file lan9303_driver.h.
◆ LAN9303_PSCSR_SPEED_100BTX_FD
#define LAN9303_PSCSR_SPEED_100BTX_FD 0x0018 |
Definition at line 489 of file lan9303_driver.h.
◆ LAN9303_PSCSR_SPEED_100BTX_HD
#define LAN9303_PSCSR_SPEED_100BTX_HD 0x0008 |
Definition at line 487 of file lan9303_driver.h.
◆ LAN9303_PSCSR_SPEED_10BT_FD
#define LAN9303_PSCSR_SPEED_10BT_FD 0x0014 |
Definition at line 488 of file lan9303_driver.h.
◆ LAN9303_PSCSR_SPEED_10BT_HD
#define LAN9303_PSCSR_SPEED_10BT_HD 0x0004 |
Definition at line 486 of file lan9303_driver.h.
◆ LAN9303_PSMR
#define LAN9303_PSMR 0x12 |
Definition at line 82 of file lan9303_driver.h.
◆ LAN9303_PSMR_MODE
#define LAN9303_PSMR_MODE 0x00E0 |
Definition at line 448 of file lan9303_driver.h.
◆ LAN9303_PSMR_MODE_100BTX_FD
#define LAN9303_PSMR_MODE_100BTX_FD 0x0060 |
Definition at line 452 of file lan9303_driver.h.
◆ LAN9303_PSMR_MODE_100BTX_HD
#define LAN9303_PSMR_MODE_100BTX_HD 0x0040 |
Definition at line 451 of file lan9303_driver.h.
◆ LAN9303_PSMR_MODE_10BT_FD
#define LAN9303_PSMR_MODE_10BT_FD 0x0020 |
Definition at line 450 of file lan9303_driver.h.
◆ LAN9303_PSMR_MODE_10BT_HD
#define LAN9303_PSMR_MODE_10BT_HD 0x0000 |
Definition at line 449 of file lan9303_driver.h.
◆ LAN9303_PSMR_MODE_AN
#define LAN9303_PSMR_MODE_AN 0x00E0 |
Definition at line 454 of file lan9303_driver.h.
◆ LAN9303_PSMR_MODE_POWER_DOWN
#define LAN9303_PSMR_MODE_POWER_DOWN 0x00C0 |
Definition at line 453 of file lan9303_driver.h.
◆ LAN9303_PSMR_PHYAD
#define LAN9303_PSMR_PHYAD 0x001F |
Definition at line 455 of file lan9303_driver.h.
◆ LAN9303_RESET_CTL
#define LAN9303_RESET_CTL 0x01F8 |
Definition at line 121 of file lan9303_driver.h.
◆ LAN9303_RESET_CTL_DIGITAL_RST
#define LAN9303_RESET_CTL_DIGITAL_RST 0x00000001 |
Definition at line 769 of file lan9303_driver.h.
◆ LAN9303_RESET_CTL_PHY1_RST
#define LAN9303_RESET_CTL_PHY1_RST 0x00000002 |
Definition at line 768 of file lan9303_driver.h.
◆ LAN9303_RESET_CTL_PHY2_RST
#define LAN9303_RESET_CTL_PHY2_RST 0x00000004 |
Definition at line 767 of file lan9303_driver.h.
◆ LAN9303_RESET_CTL_VPHY_RST
#define LAN9303_RESET_CTL_VPHY_RST 0x00000008 |
Definition at line 766 of file lan9303_driver.h.
◆ LAN9303_SW_DEV_ID
#define LAN9303_SW_DEV_ID 0x0000 |
Definition at line 125 of file lan9303_driver.h.
◆ LAN9303_SW_DEV_ID_CHIP_VERSION
#define LAN9303_SW_DEV_ID_CHIP_VERSION 0x0000FF00 |
Definition at line 774 of file lan9303_driver.h.
◆ LAN9303_SW_DEV_ID_CHIP_VERSION_DEFAULT
#define LAN9303_SW_DEV_ID_CHIP_VERSION_DEFAULT 0x00000400 |
Definition at line 775 of file lan9303_driver.h.
◆ LAN9303_SW_DEV_ID_DEVICE_TYPE
#define LAN9303_SW_DEV_ID_DEVICE_TYPE 0x00FF0000 |
Definition at line 772 of file lan9303_driver.h.
◆ LAN9303_SW_DEV_ID_DEVICE_TYPE_DEFAULT
#define LAN9303_SW_DEV_ID_DEVICE_TYPE_DEFAULT 0x00030000 |
Definition at line 773 of file lan9303_driver.h.
◆ LAN9303_SW_DEV_ID_REVISION
#define LAN9303_SW_DEV_ID_REVISION 0x000000FF |
Definition at line 776 of file lan9303_driver.h.
◆ LAN9303_SW_DEV_ID_REVISION_DEFAULT
#define LAN9303_SW_DEV_ID_REVISION_DEFAULT 0x00000007 |
Definition at line 777 of file lan9303_driver.h.
◆ LAN9303_SW_IMR
#define LAN9303_SW_IMR 0x0004 |
Definition at line 127 of file lan9303_driver.h.
◆ LAN9303_SW_IMR_BM
#define LAN9303_SW_IMR_BM 0x00000040 |
Definition at line 783 of file lan9303_driver.h.
◆ LAN9303_SW_IMR_MAC0
#define LAN9303_SW_IMR_MAC0 0x00000001 |
Definition at line 787 of file lan9303_driver.h.
◆ LAN9303_SW_IMR_MAC1
#define LAN9303_SW_IMR_MAC1 0x00000002 |
Definition at line 786 of file lan9303_driver.h.
◆ LAN9303_SW_IMR_MAC2
#define LAN9303_SW_IMR_MAC2 0x00000004 |
Definition at line 785 of file lan9303_driver.h.
◆ LAN9303_SW_IMR_SWE
#define LAN9303_SW_IMR_SWE 0x00000020 |
Definition at line 784 of file lan9303_driver.h.
◆ LAN9303_SW_IPR
#define LAN9303_SW_IPR 0x0005 |
Definition at line 128 of file lan9303_driver.h.
◆ LAN9303_SW_IPR_BM
#define LAN9303_SW_IPR_BM 0x00000040 |
Definition at line 790 of file lan9303_driver.h.
◆ LAN9303_SW_IPR_MAC0
#define LAN9303_SW_IPR_MAC0 0x00000001 |
Definition at line 794 of file lan9303_driver.h.
◆ LAN9303_SW_IPR_MAC1
#define LAN9303_SW_IPR_MAC1 0x00000002 |
Definition at line 793 of file lan9303_driver.h.
◆ LAN9303_SW_IPR_MAC2
#define LAN9303_SW_IPR_MAC2 0x00000004 |
Definition at line 792 of file lan9303_driver.h.
◆ LAN9303_SW_IPR_SWE
#define LAN9303_SW_IPR_SWE 0x00000020 |
Definition at line 791 of file lan9303_driver.h.
◆ LAN9303_SW_RESET
#define LAN9303_SW_RESET 0x0001 |
Definition at line 126 of file lan9303_driver.h.
◆ LAN9303_SW_RESET_SW_RESET
#define LAN9303_SW_RESET_SW_RESET 0x00000001 |
Definition at line 780 of file lan9303_driver.h.
◆ LAN9303_SWE_ADMT_N_MEMBER
#define LAN9303_SWE_ADMT_N_MEMBER 0x1849 |
Definition at line 284 of file lan9303_driver.h.
◆ LAN9303_SWE_ADMT_ONLY_VLAN
#define LAN9303_SWE_ADMT_ONLY_VLAN 0x1842 |
Definition at line 278 of file lan9303_driver.h.
◆ LAN9303_SWE_ADMT_ONLY_VLAN_ADMIT_ONLY_VLAN
#define LAN9303_SWE_ADMT_ONLY_VLAN_ADMIT_ONLY_VLAN 0x00000007 |
Definition at line 907 of file lan9303_driver.h.
◆ LAN9303_SWE_ADMT_ONLY_VLAN_ADMIT_ONLY_VLAN_PORT0
#define LAN9303_SWE_ADMT_ONLY_VLAN_ADMIT_ONLY_VLAN_PORT0 0x00000001 |
Definition at line 908 of file lan9303_driver.h.
◆ LAN9303_SWE_ADMT_ONLY_VLAN_ADMIT_ONLY_VLAN_PORT1
#define LAN9303_SWE_ADMT_ONLY_VLAN_ADMIT_ONLY_VLAN_PORT1 0x00000002 |
Definition at line 909 of file lan9303_driver.h.
◆ LAN9303_SWE_ADMT_ONLY_VLAN_ADMIT_ONLY_VLAN_PORT2
#define LAN9303_SWE_ADMT_ONLY_VLAN_ADMIT_ONLY_VLAN_PORT2 0x00000004 |
Definition at line 910 of file lan9303_driver.h.
◆ LAN9303_SWE_ALR_CFG
#define LAN9303_SWE_ALR_CFG 0x1809 |
Definition at line 267 of file lan9303_driver.h.
◆ LAN9303_SWE_ALR_CFG_ALR_AGE_TEST
#define LAN9303_SWE_ALR_CFG_ALR_AGE_TEST 0x00000001 |
Definition at line 869 of file lan9303_driver.h.
◆ LAN9303_SWE_ALR_CMD
#define LAN9303_SWE_ALR_CMD 0x1800 |
Definition at line 261 of file lan9303_driver.h.
◆ LAN9303_SWE_ALR_CMD_GET_FIRST_ENTRY
#define LAN9303_SWE_ALR_CMD_GET_FIRST_ENTRY 0x00000002 |
Definition at line 819 of file lan9303_driver.h.
◆ LAN9303_SWE_ALR_CMD_GET_NEXT_ENTRY
#define LAN9303_SWE_ALR_CMD_GET_NEXT_ENTRY 0x00000001 |
Definition at line 820 of file lan9303_driver.h.
◆ LAN9303_SWE_ALR_CMD_MAKE_ENTRY
#define LAN9303_SWE_ALR_CMD_MAKE_ENTRY 0x00000004 |
Definition at line 818 of file lan9303_driver.h.
◆ LAN9303_SWE_ALR_CMD_STS
#define LAN9303_SWE_ALR_CMD_STS 0x1808 |
Definition at line 266 of file lan9303_driver.h.
◆ LAN9303_SWE_ALR_CMD_STS_ALR_INIT_DONE
#define LAN9303_SWE_ALR_CMD_STS_ALR_INIT_DONE 0x00000002 |
Definition at line 865 of file lan9303_driver.h.
◆ LAN9303_SWE_ALR_CMD_STS_MAKE_PENDING
#define LAN9303_SWE_ALR_CMD_STS_MAKE_PENDING 0x00000001 |
Definition at line 866 of file lan9303_driver.h.
◆ LAN9303_SWE_ALR_RD_DAT_0
#define LAN9303_SWE_ALR_RD_DAT_0 0x1805 |
Definition at line 264 of file lan9303_driver.h.
◆ LAN9303_SWE_ALR_RD_DAT_0_MAC_ADDR
#define LAN9303_SWE_ALR_RD_DAT_0_MAC_ADDR 0xFFFFFFFF |
Definition at line 844 of file lan9303_driver.h.
◆ LAN9303_SWE_ALR_RD_DAT_1
#define LAN9303_SWE_ALR_RD_DAT_1 0x1806 |
Definition at line 265 of file lan9303_driver.h.
◆ LAN9303_SWE_ALR_RD_DAT_1_END_OF_TABLE
#define LAN9303_SWE_ALR_RD_DAT_1_END_OF_TABLE 0x02000000 |
Definition at line 848 of file lan9303_driver.h.
◆ LAN9303_SWE_ALR_RD_DAT_1_FILTER
#define LAN9303_SWE_ALR_RD_DAT_1_FILTER 0x00800000 |
Definition at line 850 of file lan9303_driver.h.
◆ LAN9303_SWE_ALR_RD_DAT_1_MAC_ADDR
#define LAN9303_SWE_ALR_RD_DAT_1_MAC_ADDR 0x0000FFFF |
Definition at line 862 of file lan9303_driver.h.
◆ LAN9303_SWE_ALR_RD_DAT_1_PORT
#define LAN9303_SWE_ALR_RD_DAT_1_PORT 0x00070000 |
Definition at line 853 of file lan9303_driver.h.
◆ LAN9303_SWE_ALR_RD_DAT_1_PORT_0
#define LAN9303_SWE_ALR_RD_DAT_1_PORT_0 0x00000000 |
Definition at line 854 of file lan9303_driver.h.
◆ LAN9303_SWE_ALR_RD_DAT_1_PORT_0_1
#define LAN9303_SWE_ALR_RD_DAT_1_PORT_0_1 0x00040000 |
Definition at line 858 of file lan9303_driver.h.
◆ LAN9303_SWE_ALR_RD_DAT_1_PORT_0_1_2
#define LAN9303_SWE_ALR_RD_DAT_1_PORT_0_1_2 0x00070000 |
Definition at line 861 of file lan9303_driver.h.
◆ LAN9303_SWE_ALR_RD_DAT_1_PORT_0_2
#define LAN9303_SWE_ALR_RD_DAT_1_PORT_0_2 0x00050000 |
Definition at line 859 of file lan9303_driver.h.
◆ LAN9303_SWE_ALR_RD_DAT_1_PORT_1
#define LAN9303_SWE_ALR_RD_DAT_1_PORT_1 0x00010000 |
Definition at line 855 of file lan9303_driver.h.
◆ LAN9303_SWE_ALR_RD_DAT_1_PORT_1_2
#define LAN9303_SWE_ALR_RD_DAT_1_PORT_1_2 0x00060000 |
Definition at line 860 of file lan9303_driver.h.
◆ LAN9303_SWE_ALR_RD_DAT_1_PORT_2
#define LAN9303_SWE_ALR_RD_DAT_1_PORT_2 0x00020000 |
Definition at line 856 of file lan9303_driver.h.
◆ LAN9303_SWE_ALR_RD_DAT_1_PORT_RESERVED
#define LAN9303_SWE_ALR_RD_DAT_1_PORT_RESERVED 0x00030000 |
Definition at line 857 of file lan9303_driver.h.
◆ LAN9303_SWE_ALR_RD_DAT_1_PRIORITY
#define LAN9303_SWE_ALR_RD_DAT_1_PRIORITY 0x00380000 |
Definition at line 852 of file lan9303_driver.h.
◆ LAN9303_SWE_ALR_RD_DAT_1_PRIORITY_EN
#define LAN9303_SWE_ALR_RD_DAT_1_PRIORITY_EN 0x00400000 |
Definition at line 851 of file lan9303_driver.h.
◆ LAN9303_SWE_ALR_RD_DAT_1_STATIC
#define LAN9303_SWE_ALR_RD_DAT_1_STATIC 0x01000000 |
Definition at line 849 of file lan9303_driver.h.
◆ LAN9303_SWE_ALR_RD_DAT_1_VALID
#define LAN9303_SWE_ALR_RD_DAT_1_VALID 0x04000000 |
Definition at line 847 of file lan9303_driver.h.
◆ LAN9303_SWE_ALR_WR_DAT_0
#define LAN9303_SWE_ALR_WR_DAT_0 0x1801 |
Definition at line 262 of file lan9303_driver.h.
◆ LAN9303_SWE_ALR_WR_DAT_0_MAC_ADDR
#define LAN9303_SWE_ALR_WR_DAT_0_MAC_ADDR 0xFFFFFFFF |
Definition at line 823 of file lan9303_driver.h.
◆ LAN9303_SWE_ALR_WR_DAT_1
#define LAN9303_SWE_ALR_WR_DAT_1 0x1802 |
Definition at line 263 of file lan9303_driver.h.
◆ LAN9303_SWE_ALR_WR_DAT_1_AGE_OVERRIDE
#define LAN9303_SWE_ALR_WR_DAT_1_AGE_OVERRIDE 0x02000000 |
Definition at line 827 of file lan9303_driver.h.
◆ LAN9303_SWE_ALR_WR_DAT_1_FILTER
#define LAN9303_SWE_ALR_WR_DAT_1_FILTER 0x00800000 |
Definition at line 829 of file lan9303_driver.h.
◆ LAN9303_SWE_ALR_WR_DAT_1_MAC_ADDR
#define LAN9303_SWE_ALR_WR_DAT_1_MAC_ADDR 0x0000FFFF |
Definition at line 841 of file lan9303_driver.h.
◆ LAN9303_SWE_ALR_WR_DAT_1_PORT
#define LAN9303_SWE_ALR_WR_DAT_1_PORT 0x00070000 |
Definition at line 832 of file lan9303_driver.h.
◆ LAN9303_SWE_ALR_WR_DAT_1_PORT_0
#define LAN9303_SWE_ALR_WR_DAT_1_PORT_0 0x00000000 |
Definition at line 833 of file lan9303_driver.h.
◆ LAN9303_SWE_ALR_WR_DAT_1_PORT_0_1
#define LAN9303_SWE_ALR_WR_DAT_1_PORT_0_1 0x00040000 |
Definition at line 837 of file lan9303_driver.h.
◆ LAN9303_SWE_ALR_WR_DAT_1_PORT_0_1_2
#define LAN9303_SWE_ALR_WR_DAT_1_PORT_0_1_2 0x00070000 |
Definition at line 840 of file lan9303_driver.h.
◆ LAN9303_SWE_ALR_WR_DAT_1_PORT_0_2
#define LAN9303_SWE_ALR_WR_DAT_1_PORT_0_2 0x00050000 |
Definition at line 838 of file lan9303_driver.h.
◆ LAN9303_SWE_ALR_WR_DAT_1_PORT_1
#define LAN9303_SWE_ALR_WR_DAT_1_PORT_1 0x00010000 |
Definition at line 834 of file lan9303_driver.h.
◆ LAN9303_SWE_ALR_WR_DAT_1_PORT_1_2
#define LAN9303_SWE_ALR_WR_DAT_1_PORT_1_2 0x00060000 |
Definition at line 839 of file lan9303_driver.h.
◆ LAN9303_SWE_ALR_WR_DAT_1_PORT_2
#define LAN9303_SWE_ALR_WR_DAT_1_PORT_2 0x00020000 |
Definition at line 835 of file lan9303_driver.h.
◆ LAN9303_SWE_ALR_WR_DAT_1_PORT_RESERVED
#define LAN9303_SWE_ALR_WR_DAT_1_PORT_RESERVED 0x00030000 |
Definition at line 836 of file lan9303_driver.h.
◆ LAN9303_SWE_ALR_WR_DAT_1_PRIORITY
#define LAN9303_SWE_ALR_WR_DAT_1_PRIORITY 0x00380000 |
Definition at line 831 of file lan9303_driver.h.
◆ LAN9303_SWE_ALR_WR_DAT_1_PRIORITY_EN
#define LAN9303_SWE_ALR_WR_DAT_1_PRIORITY_EN 0x00400000 |
Definition at line 830 of file lan9303_driver.h.
◆ LAN9303_SWE_ALR_WR_DAT_1_STATIC
#define LAN9303_SWE_ALR_WR_DAT_1_STATIC 0x01000000 |
Definition at line 828 of file lan9303_driver.h.
◆ LAN9303_SWE_ALR_WR_DAT_1_VALID
#define LAN9303_SWE_ALR_WR_DAT_1_VALID 0x04000000 |
Definition at line 826 of file lan9303_driver.h.
◆ LAN9303_SWE_BCST_THROT
#define LAN9303_SWE_BCST_THROT 0x1848 |
Definition at line 283 of file lan9303_driver.h.
◆ LAN9303_SWE_DIFFSERV_TBL_CFG
#define LAN9303_SWE_DIFFSERV_TBL_CFG 0x1811 |
Definition at line 272 of file lan9303_driver.h.
◆ LAN9303_SWE_DIFFSERV_TBL_CMD_STS
#define LAN9303_SWE_DIFFSERV_TBL_CMD_STS 0x1814 |
Definition at line 275 of file lan9303_driver.h.
◆ LAN9303_SWE_DIFFSERV_TBL_RD_DATA
#define LAN9303_SWE_DIFFSERV_TBL_RD_DATA 0x1813 |
Definition at line 274 of file lan9303_driver.h.
◆ LAN9303_SWE_DIFFSERV_TBL_WR_DATA
#define LAN9303_SWE_DIFFSERV_TBL_WR_DATA 0x1812 |
Definition at line 273 of file lan9303_driver.h.
◆ LAN9303_SWE_FILTERED_CNT_0
#define LAN9303_SWE_FILTERED_CNT_0 0x1850 |
Definition at line 290 of file lan9303_driver.h.
◆ LAN9303_SWE_FILTERED_CNT_1
#define LAN9303_SWE_FILTERED_CNT_1 0x1851 |
Definition at line 291 of file lan9303_driver.h.
◆ LAN9303_SWE_FILTERED_CNT_2
#define LAN9303_SWE_FILTERED_CNT_2 0x1852 |
Definition at line 292 of file lan9303_driver.h.
◆ LAN9303_SWE_GLOBAL_INGRSS_CFG
#define LAN9303_SWE_GLOBAL_INGRSS_CFG 0x1840 |
Definition at line 276 of file lan9303_driver.h.
◆ LAN9303_SWE_GLOBAL_INGRSS_CFG_802_1Q_VLAN_DIS
#define LAN9303_SWE_GLOBAL_INGRSS_CFG_802_1Q_VLAN_DIS 0x00008000 |
Definition at line 879 of file lan9303_driver.h.
◆ LAN9303_SWE_GLOBAL_INGRSS_CFG_ALLOW_MONITOR_ECHO
#define LAN9303_SWE_GLOBAL_INGRSS_CFG_ALLOW_MONITOR_ECHO 0x00002000 |
Definition at line 881 of file lan9303_driver.h.
◆ LAN9303_SWE_GLOBAL_INGRSS_CFG_DA_HIGHEST_PRIORITY
#define LAN9303_SWE_GLOBAL_INGRSS_CFG_DA_HIGHEST_PRIORITY 0x00000020 |
Definition at line 889 of file lan9303_driver.h.
◆ LAN9303_SWE_GLOBAL_INGRSS_CFG_DROP_UNKNOWN
#define LAN9303_SWE_GLOBAL_INGRSS_CFG_DROP_UNKNOWN 0x00000008 |
Definition at line 891 of file lan9303_driver.h.
◆ LAN9303_SWE_GLOBAL_INGRSS_CFG_FILTER_MULTICAST
#define LAN9303_SWE_GLOBAL_INGRSS_CFG_FILTER_MULTICAST 0x00000010 |
Definition at line 890 of file lan9303_driver.h.
◆ LAN9303_SWE_GLOBAL_INGRSS_CFG_IGMP_MONITOR_PORT
#define LAN9303_SWE_GLOBAL_INGRSS_CFG_IGMP_MONITOR_PORT 0x00001C00 |
Definition at line 882 of file lan9303_driver.h.
◆ LAN9303_SWE_GLOBAL_INGRSS_CFG_IGMP_MONITOR_PORT_0
#define LAN9303_SWE_GLOBAL_INGRSS_CFG_IGMP_MONITOR_PORT_0 0x00000400 |
Definition at line 883 of file lan9303_driver.h.
◆ LAN9303_SWE_GLOBAL_INGRSS_CFG_IGMP_MONITOR_PORT_1
#define LAN9303_SWE_GLOBAL_INGRSS_CFG_IGMP_MONITOR_PORT_1 0x00000800 |
Definition at line 884 of file lan9303_driver.h.
◆ LAN9303_SWE_GLOBAL_INGRSS_CFG_IGMP_MONITOR_PORT_2
#define LAN9303_SWE_GLOBAL_INGRSS_CFG_IGMP_MONITOR_PORT_2 0x00001000 |
Definition at line 885 of file lan9303_driver.h.
◆ LAN9303_SWE_GLOBAL_INGRSS_CFG_IGMP_MONITORING_EN
#define LAN9303_SWE_GLOBAL_INGRSS_CFG_IGMP_MONITORING_EN 0x00000080 |
Definition at line 887 of file lan9303_driver.h.
◆ LAN9303_SWE_GLOBAL_INGRSS_CFG_SWE_COUNTER_TEST
#define LAN9303_SWE_GLOBAL_INGRSS_CFG_SWE_COUNTER_TEST 0x00000040 |
Definition at line 888 of file lan9303_driver.h.
◆ LAN9303_SWE_GLOBAL_INGRSS_CFG_USE_IP
#define LAN9303_SWE_GLOBAL_INGRSS_CFG_USE_IP 0x00000200 |
Definition at line 886 of file lan9303_driver.h.
◆ LAN9303_SWE_GLOBAL_INGRSS_CFG_USE_PRECEDENCE
#define LAN9303_SWE_GLOBAL_INGRSS_CFG_USE_PRECEDENCE 0x00000004 |
Definition at line 892 of file lan9303_driver.h.
◆ LAN9303_SWE_GLOBAL_INGRSS_CFG_USE_TAG
#define LAN9303_SWE_GLOBAL_INGRSS_CFG_USE_TAG 0x00004000 |
Definition at line 880 of file lan9303_driver.h.
◆ LAN9303_SWE_GLOBAL_INGRSS_CFG_VL_HIGHER_PRIORITY
#define LAN9303_SWE_GLOBAL_INGRSS_CFG_VL_HIGHER_PRIORITY 0x00000002 |
Definition at line 893 of file lan9303_driver.h.
◆ LAN9303_SWE_GLOBAL_INGRSS_CFG_VLAN_EN
#define LAN9303_SWE_GLOBAL_INGRSS_CFG_VLAN_EN 0x00000001 |
Definition at line 894 of file lan9303_driver.h.
◆ LAN9303_SWE_IMR
#define LAN9303_SWE_IMR 0x1880 |
Definition at line 299 of file lan9303_driver.h.
◆ LAN9303_SWE_INGRSS_PORT_TYP
#define LAN9303_SWE_INGRSS_PORT_TYP 0x1847 |
Definition at line 282 of file lan9303_driver.h.
◆ LAN9303_SWE_INGRSS_PORT_TYP_PORT0
#define LAN9303_SWE_INGRSS_PORT_TYP_PORT0 0x00000003 |
Definition at line 959 of file lan9303_driver.h.
◆ LAN9303_SWE_INGRSS_PORT_TYP_PORT0_DIS
#define LAN9303_SWE_INGRSS_PORT_TYP_PORT0_DIS 0x00000000 |
Definition at line 960 of file lan9303_driver.h.
◆ LAN9303_SWE_INGRSS_PORT_TYP_PORT0_EN
#define LAN9303_SWE_INGRSS_PORT_TYP_PORT0_EN 0x00000003 |
Definition at line 961 of file lan9303_driver.h.
◆ LAN9303_SWE_INGRSS_PORT_TYP_PORT1
#define LAN9303_SWE_INGRSS_PORT_TYP_PORT1 0x0000000C |
Definition at line 956 of file lan9303_driver.h.
◆ LAN9303_SWE_INGRSS_PORT_TYP_PORT1_DIS
#define LAN9303_SWE_INGRSS_PORT_TYP_PORT1_DIS 0x00000000 |
Definition at line 957 of file lan9303_driver.h.
◆ LAN9303_SWE_INGRSS_PORT_TYP_PORT1_EN
#define LAN9303_SWE_INGRSS_PORT_TYP_PORT1_EN 0x0000000C |
Definition at line 958 of file lan9303_driver.h.
◆ LAN9303_SWE_INGRSS_PORT_TYP_PORT2
#define LAN9303_SWE_INGRSS_PORT_TYP_PORT2 0x00000030 |
Definition at line 953 of file lan9303_driver.h.
◆ LAN9303_SWE_INGRSS_PORT_TYP_PORT2_DIS
#define LAN9303_SWE_INGRSS_PORT_TYP_PORT2_DIS 0x00000000 |
Definition at line 954 of file lan9303_driver.h.
◆ LAN9303_SWE_INGRSS_PORT_TYP_PORT2_EN
#define LAN9303_SWE_INGRSS_PORT_TYP_PORT2_EN 0x00000030 |
Definition at line 955 of file lan9303_driver.h.
◆ LAN9303_SWE_INGRSS_RATE_CFG
#define LAN9303_SWE_INGRSS_RATE_CFG 0x184A |
Definition at line 285 of file lan9303_driver.h.
◆ LAN9303_SWE_INGRSS_RATE_CMD
#define LAN9303_SWE_INGRSS_RATE_CMD 0x184B |
Definition at line 286 of file lan9303_driver.h.
◆ LAN9303_SWE_INGRSS_RATE_CMD_STS
#define LAN9303_SWE_INGRSS_RATE_CMD_STS 0x184C |
Definition at line 287 of file lan9303_driver.h.
◆ LAN9303_SWE_INGRSS_RATE_RD_DATA
#define LAN9303_SWE_INGRSS_RATE_RD_DATA 0x184E |
Definition at line 289 of file lan9303_driver.h.
◆ LAN9303_SWE_INGRSS_RATE_WR_DATA
#define LAN9303_SWE_INGRSS_RATE_WR_DATA 0x184D |
Definition at line 288 of file lan9303_driver.h.
◆ LAN9303_SWE_INGRSS_REGEN_TBL_0
#define LAN9303_SWE_INGRSS_REGEN_TBL_0 0x1855 |
Definition at line 293 of file lan9303_driver.h.
◆ LAN9303_SWE_INGRSS_REGEN_TBL_1
#define LAN9303_SWE_INGRSS_REGEN_TBL_1 0x1856 |
Definition at line 294 of file lan9303_driver.h.
◆ LAN9303_SWE_INGRSS_REGEN_TBL_2
#define LAN9303_SWE_INGRSS_REGEN_TBL_2 0x1857 |
Definition at line 295 of file lan9303_driver.h.
◆ LAN9303_SWE_IPR
#define LAN9303_SWE_IPR 0x1881 |
Definition at line 300 of file lan9303_driver.h.
◆ LAN9303_SWE_LRN_DISCRD_CNT_0
#define LAN9303_SWE_LRN_DISCRD_CNT_0 0x1858 |
Definition at line 296 of file lan9303_driver.h.
◆ LAN9303_SWE_LRN_DISCRD_CNT_1
#define LAN9303_SWE_LRN_DISCRD_CNT_1 0x1859 |
Definition at line 297 of file lan9303_driver.h.
◆ LAN9303_SWE_LRN_DISCRD_CNT_2
#define LAN9303_SWE_LRN_DISCRD_CNT_2 0x185A |
Definition at line 298 of file lan9303_driver.h.
◆ LAN9303_SWE_PORT_INGRSS_CFG
#define LAN9303_SWE_PORT_INGRSS_CFG 0x1841 |
Definition at line 277 of file lan9303_driver.h.
◆ LAN9303_SWE_PORT_INGRSS_CFG_LEARN_ON_INGRESS
#define LAN9303_SWE_PORT_INGRSS_CFG_LEARN_ON_INGRESS 0x00000038 |
Definition at line 897 of file lan9303_driver.h.
◆ LAN9303_SWE_PORT_INGRSS_CFG_LEARN_ON_INGRESS_PORT0
#define LAN9303_SWE_PORT_INGRSS_CFG_LEARN_ON_INGRESS_PORT0 0x00000000 |
Definition at line 898 of file lan9303_driver.h.
◆ LAN9303_SWE_PORT_INGRSS_CFG_LEARN_ON_INGRESS_PORT1
#define LAN9303_SWE_PORT_INGRSS_CFG_LEARN_ON_INGRESS_PORT1 0x00000008 |
Definition at line 899 of file lan9303_driver.h.
◆ LAN9303_SWE_PORT_INGRSS_CFG_LEARN_ON_INGRESS_PORT2
#define LAN9303_SWE_PORT_INGRSS_CFG_LEARN_ON_INGRESS_PORT2 0x00000010 |
Definition at line 900 of file lan9303_driver.h.
◆ LAN9303_SWE_PORT_INGRSS_CFG_MEMBERSHIP_CHECK
#define LAN9303_SWE_PORT_INGRSS_CFG_MEMBERSHIP_CHECK 0x00000007 |
Definition at line 901 of file lan9303_driver.h.
◆ LAN9303_SWE_PORT_INGRSS_CFG_MEMBERSHIP_CHECK_PORT0
#define LAN9303_SWE_PORT_INGRSS_CFG_MEMBERSHIP_CHECK_PORT0 0x00000000 |
Definition at line 902 of file lan9303_driver.h.
◆ LAN9303_SWE_PORT_INGRSS_CFG_MEMBERSHIP_CHECK_PORT1
#define LAN9303_SWE_PORT_INGRSS_CFG_MEMBERSHIP_CHECK_PORT1 0x00000001 |
Definition at line 903 of file lan9303_driver.h.
◆ LAN9303_SWE_PORT_INGRSS_CFG_MEMBERSHIP_CHECK_PORT2
#define LAN9303_SWE_PORT_INGRSS_CFG_MEMBERSHIP_CHECK_PORT2 0x00000002 |
Definition at line 904 of file lan9303_driver.h.
◆ LAN9303_SWE_PORT_MIRROR
#define LAN9303_SWE_PORT_MIRROR 0x1846 |
Definition at line 281 of file lan9303_driver.h.
◆ LAN9303_SWE_PORT_MIRROR_MIRRORED_PORT
#define LAN9303_SWE_PORT_MIRROR_MIRRORED_PORT 0x0000001C |
Definition at line 945 of file lan9303_driver.h.
◆ LAN9303_SWE_PORT_MIRROR_MIRRORED_PORT_0
#define LAN9303_SWE_PORT_MIRROR_MIRRORED_PORT_0 0x00000004 |
Definition at line 946 of file lan9303_driver.h.
◆ LAN9303_SWE_PORT_MIRROR_MIRRORED_PORT_1
#define LAN9303_SWE_PORT_MIRROR_MIRRORED_PORT_1 0x00000008 |
Definition at line 947 of file lan9303_driver.h.
◆ LAN9303_SWE_PORT_MIRROR_MIRRORED_PORT_2
#define LAN9303_SWE_PORT_MIRROR_MIRRORED_PORT_2 0x00000010 |
Definition at line 948 of file lan9303_driver.h.
◆ LAN9303_SWE_PORT_MIRROR_RX_MIRRORING_EN
#define LAN9303_SWE_PORT_MIRROR_RX_MIRRORING_EN 0x00000002 |
Definition at line 949 of file lan9303_driver.h.
◆ LAN9303_SWE_PORT_MIRROR_RX_MIRRORING_FILT_EN
#define LAN9303_SWE_PORT_MIRROR_RX_MIRRORING_FILT_EN 0x00000100 |
Definition at line 940 of file lan9303_driver.h.
◆ LAN9303_SWE_PORT_MIRROR_SNIFFER_PORT
#define LAN9303_SWE_PORT_MIRROR_SNIFFER_PORT 0x000000E0 |
Definition at line 941 of file lan9303_driver.h.
◆ LAN9303_SWE_PORT_MIRROR_SNIFFER_PORT_0
#define LAN9303_SWE_PORT_MIRROR_SNIFFER_PORT_0 0x00000020 |
Definition at line 942 of file lan9303_driver.h.
◆ LAN9303_SWE_PORT_MIRROR_SNIFFER_PORT_1
#define LAN9303_SWE_PORT_MIRROR_SNIFFER_PORT_1 0x00000040 |
Definition at line 943 of file lan9303_driver.h.
◆ LAN9303_SWE_PORT_MIRROR_SNIFFER_PORT_2
#define LAN9303_SWE_PORT_MIRROR_SNIFFER_PORT_2 0x00000080 |
Definition at line 944 of file lan9303_driver.h.
◆ LAN9303_SWE_PORT_MIRROR_TX_MIRRORING_EN
#define LAN9303_SWE_PORT_MIRROR_TX_MIRRORING_EN 0x00000001 |
Definition at line 950 of file lan9303_driver.h.
◆ LAN9303_SWE_PORT_STATE
#define LAN9303_SWE_PORT_STATE 0x1843 |
Definition at line 279 of file lan9303_driver.h.
◆ LAN9303_SWE_PORT_STATE_PORT0
#define LAN9303_SWE_PORT_STATE_PORT0 0x00000003 |
Definition at line 923 of file lan9303_driver.h.
◆ LAN9303_SWE_PORT_STATE_PORT0_DISABLED
#define LAN9303_SWE_PORT_STATE_PORT0_DISABLED 0x00000003 |
Definition at line 927 of file lan9303_driver.h.
◆ LAN9303_SWE_PORT_STATE_PORT0_FORWARDING
#define LAN9303_SWE_PORT_STATE_PORT0_FORWARDING 0x00000000 |
Definition at line 924 of file lan9303_driver.h.
◆ LAN9303_SWE_PORT_STATE_PORT0_LEARNING
#define LAN9303_SWE_PORT_STATE_PORT0_LEARNING 0x00000002 |
Definition at line 926 of file lan9303_driver.h.
◆ LAN9303_SWE_PORT_STATE_PORT0_LISTENING
#define LAN9303_SWE_PORT_STATE_PORT0_LISTENING 0x00000001 |
Definition at line 925 of file lan9303_driver.h.
◆ LAN9303_SWE_PORT_STATE_PORT1
#define LAN9303_SWE_PORT_STATE_PORT1 0x0000000C |
Definition at line 918 of file lan9303_driver.h.
◆ LAN9303_SWE_PORT_STATE_PORT1_DISABLED
#define LAN9303_SWE_PORT_STATE_PORT1_DISABLED 0x0000000C |
Definition at line 922 of file lan9303_driver.h.
◆ LAN9303_SWE_PORT_STATE_PORT1_FORWARDING
#define LAN9303_SWE_PORT_STATE_PORT1_FORWARDING 0x00000000 |
Definition at line 919 of file lan9303_driver.h.
◆ LAN9303_SWE_PORT_STATE_PORT1_LEARNING
#define LAN9303_SWE_PORT_STATE_PORT1_LEARNING 0x00000008 |
Definition at line 921 of file lan9303_driver.h.
◆ LAN9303_SWE_PORT_STATE_PORT1_LISTENING
#define LAN9303_SWE_PORT_STATE_PORT1_LISTENING 0x00000004 |
Definition at line 920 of file lan9303_driver.h.
◆ LAN9303_SWE_PORT_STATE_PORT2
#define LAN9303_SWE_PORT_STATE_PORT2 0x00000030 |
Definition at line 913 of file lan9303_driver.h.
◆ LAN9303_SWE_PORT_STATE_PORT2_DISABLED
#define LAN9303_SWE_PORT_STATE_PORT2_DISABLED 0x00000030 |
Definition at line 917 of file lan9303_driver.h.
◆ LAN9303_SWE_PORT_STATE_PORT2_FORWARDING
#define LAN9303_SWE_PORT_STATE_PORT2_FORWARDING 0x00000000 |
Definition at line 914 of file lan9303_driver.h.
◆ LAN9303_SWE_PORT_STATE_PORT2_LEARNING
#define LAN9303_SWE_PORT_STATE_PORT2_LEARNING 0x00000020 |
Definition at line 916 of file lan9303_driver.h.
◆ LAN9303_SWE_PORT_STATE_PORT2_LISTENING
#define LAN9303_SWE_PORT_STATE_PORT2_LISTENING 0x00000010 |
Definition at line 915 of file lan9303_driver.h.
◆ LAN9303_SWE_PRI_TO_QUE
#define LAN9303_SWE_PRI_TO_QUE 0x1845 |
Definition at line 280 of file lan9303_driver.h.
◆ LAN9303_SWE_PRI_TO_QUE_PRIO_0_TRAFFIC_CLASS
#define LAN9303_SWE_PRI_TO_QUE_PRIO_0_TRAFFIC_CLASS 0x00000003 |
Definition at line 937 of file lan9303_driver.h.
◆ LAN9303_SWE_PRI_TO_QUE_PRIO_1_TRAFFIC_CLASS
#define LAN9303_SWE_PRI_TO_QUE_PRIO_1_TRAFFIC_CLASS 0x0000000C |
Definition at line 936 of file lan9303_driver.h.
◆ LAN9303_SWE_PRI_TO_QUE_PRIO_2_TRAFFIC_CLASS
#define LAN9303_SWE_PRI_TO_QUE_PRIO_2_TRAFFIC_CLASS 0x00000030 |
Definition at line 935 of file lan9303_driver.h.
◆ LAN9303_SWE_PRI_TO_QUE_PRIO_3_TRAFFIC_CLASS
#define LAN9303_SWE_PRI_TO_QUE_PRIO_3_TRAFFIC_CLASS 0x000000C0 |
Definition at line 934 of file lan9303_driver.h.
◆ LAN9303_SWE_PRI_TO_QUE_PRIO_4_TRAFFIC_CLASS
#define LAN9303_SWE_PRI_TO_QUE_PRIO_4_TRAFFIC_CLASS 0x00000300 |
Definition at line 933 of file lan9303_driver.h.
◆ LAN9303_SWE_PRI_TO_QUE_PRIO_5_TRAFFIC_CLASS
#define LAN9303_SWE_PRI_TO_QUE_PRIO_5_TRAFFIC_CLASS 0x00000C00 |
Definition at line 932 of file lan9303_driver.h.
◆ LAN9303_SWE_PRI_TO_QUE_PRIO_6_TRAFFIC_CLASS
#define LAN9303_SWE_PRI_TO_QUE_PRIO_6_TRAFFIC_CLASS 0x00003000 |
Definition at line 931 of file lan9303_driver.h.
◆ LAN9303_SWE_PRI_TO_QUE_PRIO_7_TRAFFIC_CLASS
#define LAN9303_SWE_PRI_TO_QUE_PRIO_7_TRAFFIC_CLASS 0x0000C000 |
Definition at line 930 of file lan9303_driver.h.
◆ LAN9303_SWE_VLAN_CMD
#define LAN9303_SWE_VLAN_CMD 0x180B |
Definition at line 268 of file lan9303_driver.h.
◆ LAN9303_SWE_VLAN_CMD_PVID
#define LAN9303_SWE_VLAN_CMD_PVID 0x00000010 |
Definition at line 875 of file lan9303_driver.h.
◆ LAN9303_SWE_VLAN_CMD_READ
#define LAN9303_SWE_VLAN_CMD_READ 0x00000020 |
Definition at line 873 of file lan9303_driver.h.
◆ LAN9303_SWE_VLAN_CMD_STS
#define LAN9303_SWE_VLAN_CMD_STS 0x1810 |
Definition at line 271 of file lan9303_driver.h.
◆ LAN9303_SWE_VLAN_CMD_VLAN
#define LAN9303_SWE_VLAN_CMD_VLAN 0x00000000 |
Definition at line 874 of file lan9303_driver.h.
◆ LAN9303_SWE_VLAN_CMD_VLAN_PORT
#define LAN9303_SWE_VLAN_CMD_VLAN_PORT 0x0000000F |
Definition at line 876 of file lan9303_driver.h.
◆ LAN9303_SWE_VLAN_CMD_WRITE
#define LAN9303_SWE_VLAN_CMD_WRITE 0x00000000 |
Definition at line 872 of file lan9303_driver.h.
◆ LAN9303_SWE_VLAN_RD_DATA
#define LAN9303_SWE_VLAN_RD_DATA 0x180E |
Definition at line 270 of file lan9303_driver.h.
◆ LAN9303_SWE_VLAN_WR_DATA
#define LAN9303_SWE_VLAN_WR_DATA 0x180C |
Definition at line 269 of file lan9303_driver.h.
◆ LAN9303_SWITCH_CSR_CMD
#define LAN9303_SWITCH_CSR_CMD 0x01B0 |
Definition at line 104 of file lan9303_driver.h.
◆ LAN9303_SWITCH_CSR_CMD_ADDR
#define LAN9303_SWITCH_CSR_CMD_ADDR 0x0000FFFF |
Definition at line 588 of file lan9303_driver.h.
◆ LAN9303_SWITCH_CSR_CMD_AUTO_DEC
#define LAN9303_SWITCH_CSR_CMD_AUTO_DEC 0x10000000 |
Definition at line 582 of file lan9303_driver.h.
◆ LAN9303_SWITCH_CSR_CMD_AUTO_INC
#define LAN9303_SWITCH_CSR_CMD_AUTO_INC 0x20000000 |
Definition at line 581 of file lan9303_driver.h.
◆ LAN9303_SWITCH_CSR_CMD_BE
#define LAN9303_SWITCH_CSR_CMD_BE 0x000F0000 |
Definition at line 583 of file lan9303_driver.h.
◆ LAN9303_SWITCH_CSR_CMD_BE_0
#define LAN9303_SWITCH_CSR_CMD_BE_0 0x00010000 |
Definition at line 584 of file lan9303_driver.h.
◆ LAN9303_SWITCH_CSR_CMD_BE_1
#define LAN9303_SWITCH_CSR_CMD_BE_1 0x00020000 |
Definition at line 585 of file lan9303_driver.h.
◆ LAN9303_SWITCH_CSR_CMD_BE_2
#define LAN9303_SWITCH_CSR_CMD_BE_2 0x00040000 |
Definition at line 586 of file lan9303_driver.h.
◆ LAN9303_SWITCH_CSR_CMD_BE_3
#define LAN9303_SWITCH_CSR_CMD_BE_3 0x00080000 |
Definition at line 587 of file lan9303_driver.h.
◆ LAN9303_SWITCH_CSR_CMD_BUSY
#define LAN9303_SWITCH_CSR_CMD_BUSY 0x80000000 |
Definition at line 578 of file lan9303_driver.h.
◆ LAN9303_SWITCH_CSR_CMD_READ
#define LAN9303_SWITCH_CSR_CMD_READ 0x40000000 |
Definition at line 580 of file lan9303_driver.h.
◆ LAN9303_SWITCH_CSR_CMD_WRITE
#define LAN9303_SWITCH_CSR_CMD_WRITE 0x00000000 |
Definition at line 579 of file lan9303_driver.h.
◆ LAN9303_SWITCH_CSR_DATA
#define LAN9303_SWITCH_CSR_DATA 0x01AC |
Definition at line 103 of file lan9303_driver.h.
◆ LAN9303_SWITCH_CSR_DIRECT_DATA
#define LAN9303_SWITCH_CSR_DIRECT_DATA 0x0200 |
Definition at line 122 of file lan9303_driver.h.
◆ LAN9303_SWITCH_MAC_ADDRH
#define LAN9303_SWITCH_MAC_ADDRH 0x01F0 |
Definition at line 119 of file lan9303_driver.h.
◆ LAN9303_SWITCH_MAC_ADDRH_DIFF_PAUSE_ADDR
#define LAN9303_SWITCH_MAC_ADDRH_DIFF_PAUSE_ADDR 0x00400000 |
Definition at line 756 of file lan9303_driver.h.
◆ LAN9303_SWITCH_MAC_ADDRH_PHY_ADDR_47_32
#define LAN9303_SWITCH_MAC_ADDRH_PHY_ADDR_47_32 0x0000FFFF |
Definition at line 760 of file lan9303_driver.h.
◆ LAN9303_SWITCH_MAC_ADDRH_PORT0_PHY_ADDR_41_40
#define LAN9303_SWITCH_MAC_ADDRH_PORT0_PHY_ADDR_41_40 0x00030000 |
Definition at line 759 of file lan9303_driver.h.
◆ LAN9303_SWITCH_MAC_ADDRH_PORT1_PHY_ADDR_41_40
#define LAN9303_SWITCH_MAC_ADDRH_PORT1_PHY_ADDR_41_40 0x000C0000 |
Definition at line 758 of file lan9303_driver.h.
◆ LAN9303_SWITCH_MAC_ADDRH_PORT2_PHY_ADDR_41_40
#define LAN9303_SWITCH_MAC_ADDRH_PORT2_PHY_ADDR_41_40 0x00300000 |
Definition at line 757 of file lan9303_driver.h.
◆ LAN9303_SWITCH_MAC_ADDRL
#define LAN9303_SWITCH_MAC_ADDRL 0x01F4 |
Definition at line 120 of file lan9303_driver.h.
◆ LAN9303_SWITCH_MAC_ADDRL_PHY_ADDR_31_0
#define LAN9303_SWITCH_MAC_ADDRL_PHY_ADDR_31_0 0xFFFFFFFF |
Definition at line 763 of file lan9303_driver.h.
◆ LAN9303_VID_ALR_LOOKUP
#define LAN9303_VID_ALR_LOOKUP 0x0008 |
Definition at line 59 of file lan9303_driver.h.
◆ LAN9303_VID_BROADCAST
#define LAN9303_VID_BROADCAST 0x0003 |
Definition at line 60 of file lan9303_driver.h.
◆ LAN9303_VID_CALC_PRIORITY
#define LAN9303_VID_CALC_PRIORITY 0x0020 |
Definition at line 57 of file lan9303_driver.h.
◆ LAN9303_VID_DEST_PORT0
#define LAN9303_VID_DEST_PORT0 0x0000 |
Definition at line 63 of file lan9303_driver.h.
◆ LAN9303_VID_DEST_PORT1
#define LAN9303_VID_DEST_PORT1 0x0001 |
Definition at line 62 of file lan9303_driver.h.
◆ LAN9303_VID_DEST_PORT2
#define LAN9303_VID_DEST_PORT2 0x0002 |
Definition at line 61 of file lan9303_driver.h.
◆ LAN9303_VID_IGMP_PACKET
#define LAN9303_VID_IGMP_PACKET 0x0008 |
Definition at line 70 of file lan9303_driver.h.
◆ LAN9303_VID_PRIORITY
#define LAN9303_VID_PRIORITY 0x0380 |
Definition at line 66 of file lan9303_driver.h.
◆ LAN9303_VID_PRIORITY_EN
#define LAN9303_VID_PRIORITY_EN 0x0040 |
Definition at line 67 of file lan9303_driver.h.
◆ LAN9303_VID_SRC_PORT
#define LAN9303_VID_SRC_PORT 0x0003 |
Definition at line 71 of file lan9303_driver.h.
◆ LAN9303_VID_STATIC
#define LAN9303_VID_STATIC 0x0020 |
Definition at line 68 of file lan9303_driver.h.
◆ LAN9303_VID_STP_OVERRIDE [1/2]
#define LAN9303_VID_STP_OVERRIDE 0x0010 |
Definition at line 69 of file lan9303_driver.h.
◆ LAN9303_VID_STP_OVERRIDE [2/2]
#define LAN9303_VID_STP_OVERRIDE 0x0010 |
Definition at line 69 of file lan9303_driver.h.
◆ LAN9303_VID_VLAN_RULES
#define LAN9303_VID_VLAN_RULES 0x0040 |
Definition at line 56 of file lan9303_driver.h.
◆ LAN9303_VPHY_AN_ADV
#define LAN9303_VPHY_AN_ADV 0x01D0 |
Definition at line 112 of file lan9303_driver.h.
◆ LAN9303_VPHY_AN_ADV_100BTX_FD
#define LAN9303_VPHY_AN_ADV_100BTX_FD 0x00000100 |
Definition at line 660 of file lan9303_driver.h.
◆ LAN9303_VPHY_AN_ADV_100BTX_HD
#define LAN9303_VPHY_AN_ADV_100BTX_HD 0x00000080 |
Definition at line 661 of file lan9303_driver.h.
◆ LAN9303_VPHY_AN_ADV_10BT_FD
#define LAN9303_VPHY_AN_ADV_10BT_FD 0x00000040 |
Definition at line 662 of file lan9303_driver.h.
◆ LAN9303_VPHY_AN_ADV_10BT_HD
#define LAN9303_VPHY_AN_ADV_10BT_HD 0x00000020 |
Definition at line 663 of file lan9303_driver.h.
◆ LAN9303_VPHY_AN_ADV_ASYM_PAUSE
#define LAN9303_VPHY_AN_ADV_ASYM_PAUSE 0x00000800 |
Definition at line 658 of file lan9303_driver.h.
◆ LAN9303_VPHY_AN_ADV_NEXT_PAGE
#define LAN9303_VPHY_AN_ADV_NEXT_PAGE 0x00008000 |
Definition at line 656 of file lan9303_driver.h.
◆ LAN9303_VPHY_AN_ADV_REMOTE_FAULT
#define LAN9303_VPHY_AN_ADV_REMOTE_FAULT 0x00002000 |
Definition at line 657 of file lan9303_driver.h.
◆ LAN9303_VPHY_AN_ADV_SELECTOR
#define LAN9303_VPHY_AN_ADV_SELECTOR 0x0000001F |
Definition at line 664 of file lan9303_driver.h.
◆ LAN9303_VPHY_AN_ADV_SELECTOR_DEFAULT
#define LAN9303_VPHY_AN_ADV_SELECTOR_DEFAULT 0x00000001 |
Definition at line 665 of file lan9303_driver.h.
◆ LAN9303_VPHY_AN_ADV_SYM_PAUSE
#define LAN9303_VPHY_AN_ADV_SYM_PAUSE 0x00000400 |
Definition at line 659 of file lan9303_driver.h.
◆ LAN9303_VPHY_AN_EXP
#define LAN9303_VPHY_AN_EXP 0x01D8 |
Definition at line 114 of file lan9303_driver.h.
◆ LAN9303_VPHY_AN_EXP_LP_AN_ABLE
#define LAN9303_VPHY_AN_EXP_LP_AN_ABLE 0x00000001 |
Definition at line 686 of file lan9303_driver.h.
◆ LAN9303_VPHY_AN_EXP_LP_NEXT_PAGE_ABLE
#define LAN9303_VPHY_AN_EXP_LP_NEXT_PAGE_ABLE 0x00000008 |
Definition at line 683 of file lan9303_driver.h.
◆ LAN9303_VPHY_AN_EXP_NEXT_PAGE_ABLE
#define LAN9303_VPHY_AN_EXP_NEXT_PAGE_ABLE 0x00000004 |
Definition at line 684 of file lan9303_driver.h.
◆ LAN9303_VPHY_AN_EXP_PAGE_RECEIVED
#define LAN9303_VPHY_AN_EXP_PAGE_RECEIVED 0x00000002 |
Definition at line 685 of file lan9303_driver.h.
◆ LAN9303_VPHY_AN_EXP_PAR_DETECT_FAULT
#define LAN9303_VPHY_AN_EXP_PAR_DETECT_FAULT 0x00000010 |
Definition at line 682 of file lan9303_driver.h.
◆ LAN9303_VPHY_AN_LP_BASE_ABILITY
#define LAN9303_VPHY_AN_LP_BASE_ABILITY 0x01D4 |
Definition at line 113 of file lan9303_driver.h.
◆ LAN9303_VPHY_AN_LP_BASE_ABILITY_100BT4
#define LAN9303_VPHY_AN_LP_BASE_ABILITY_100BT4 0x00000200 |
Definition at line 673 of file lan9303_driver.h.
◆ LAN9303_VPHY_AN_LP_BASE_ABILITY_100BTX_FD
#define LAN9303_VPHY_AN_LP_BASE_ABILITY_100BTX_FD 0x00000100 |
Definition at line 674 of file lan9303_driver.h.
◆ LAN9303_VPHY_AN_LP_BASE_ABILITY_100BTX_HD
#define LAN9303_VPHY_AN_LP_BASE_ABILITY_100BTX_HD 0x00000080 |
Definition at line 675 of file lan9303_driver.h.
◆ LAN9303_VPHY_AN_LP_BASE_ABILITY_10BT_FD
#define LAN9303_VPHY_AN_LP_BASE_ABILITY_10BT_FD 0x00000040 |
Definition at line 676 of file lan9303_driver.h.
◆ LAN9303_VPHY_AN_LP_BASE_ABILITY_10BT_HD
#define LAN9303_VPHY_AN_LP_BASE_ABILITY_10BT_HD 0x00000020 |
Definition at line 677 of file lan9303_driver.h.
◆ LAN9303_VPHY_AN_LP_BASE_ABILITY_ACK
#define LAN9303_VPHY_AN_LP_BASE_ABILITY_ACK 0x00004000 |
Definition at line 669 of file lan9303_driver.h.
◆ LAN9303_VPHY_AN_LP_BASE_ABILITY_ASYM_PAUSE
#define LAN9303_VPHY_AN_LP_BASE_ABILITY_ASYM_PAUSE 0x00000800 |
Definition at line 671 of file lan9303_driver.h.
◆ LAN9303_VPHY_AN_LP_BASE_ABILITY_NEXT_PAGE
#define LAN9303_VPHY_AN_LP_BASE_ABILITY_NEXT_PAGE 0x00008000 |
Definition at line 668 of file lan9303_driver.h.
◆ LAN9303_VPHY_AN_LP_BASE_ABILITY_REMOTE_FAULT
#define LAN9303_VPHY_AN_LP_BASE_ABILITY_REMOTE_FAULT 0x00002000 |
Definition at line 670 of file lan9303_driver.h.
◆ LAN9303_VPHY_AN_LP_BASE_ABILITY_SELECTOR
#define LAN9303_VPHY_AN_LP_BASE_ABILITY_SELECTOR 0x0000001F |
Definition at line 678 of file lan9303_driver.h.
◆ LAN9303_VPHY_AN_LP_BASE_ABILITY_SELECTOR_DEFAULT
#define LAN9303_VPHY_AN_LP_BASE_ABILITY_SELECTOR_DEFAULT 0x00000001 |
Definition at line 679 of file lan9303_driver.h.
◆ LAN9303_VPHY_AN_LP_BASE_ABILITY_SYM_PAUSE
#define LAN9303_VPHY_AN_LP_BASE_ABILITY_SYM_PAUSE 0x00000400 |
Definition at line 672 of file lan9303_driver.h.
◆ LAN9303_VPHY_BASIC_CTRL
#define LAN9303_VPHY_BASIC_CTRL 0x01C0 |
Definition at line 108 of file lan9303_driver.h.
◆ LAN9303_VPHY_BASIC_CTRL_VPHY_AN
#define LAN9303_VPHY_BASIC_CTRL_VPHY_AN 0x00001000 |
Definition at line 622 of file lan9303_driver.h.
◆ LAN9303_VPHY_BASIC_CTRL_VPHY_COL_TEST
#define LAN9303_VPHY_BASIC_CTRL_VPHY_COL_TEST 0x00000080 |
Definition at line 627 of file lan9303_driver.h.
◆ LAN9303_VPHY_BASIC_CTRL_VPHY_DUPLEX
#define LAN9303_VPHY_BASIC_CTRL_VPHY_DUPLEX 0x00000100 |
Definition at line 626 of file lan9303_driver.h.
◆ LAN9303_VPHY_BASIC_CTRL_VPHY_ISO
#define LAN9303_VPHY_BASIC_CTRL_VPHY_ISO 0x00000400 |
Definition at line 624 of file lan9303_driver.h.
◆ LAN9303_VPHY_BASIC_CTRL_VPHY_LOOPBACK
#define LAN9303_VPHY_BASIC_CTRL_VPHY_LOOPBACK 0x00004000 |
Definition at line 620 of file lan9303_driver.h.
◆ LAN9303_VPHY_BASIC_CTRL_VPHY_PWR_DWN
#define LAN9303_VPHY_BASIC_CTRL_VPHY_PWR_DWN 0x00000800 |
Definition at line 623 of file lan9303_driver.h.
◆ LAN9303_VPHY_BASIC_CTRL_VPHY_RST
#define LAN9303_VPHY_BASIC_CTRL_VPHY_RST 0x00008000 |
Definition at line 619 of file lan9303_driver.h.
◆ LAN9303_VPHY_BASIC_CTRL_VPHY_RST_AN
#define LAN9303_VPHY_BASIC_CTRL_VPHY_RST_AN 0x00000200 |
Definition at line 625 of file lan9303_driver.h.
◆ LAN9303_VPHY_BASIC_CTRL_VPHY_SPEED_SEL_LSB
#define LAN9303_VPHY_BASIC_CTRL_VPHY_SPEED_SEL_LSB 0x00002000 |
Definition at line 621 of file lan9303_driver.h.
◆ LAN9303_VPHY_BASIC_CTRL_VPHY_SPEED_SEL_MSB
#define LAN9303_VPHY_BASIC_CTRL_VPHY_SPEED_SEL_MSB 0x00000040 |
Definition at line 628 of file lan9303_driver.h.
◆ LAN9303_VPHY_BASIC_STATUS
#define LAN9303_VPHY_BASIC_STATUS 0x01C4 |
Definition at line 109 of file lan9303_driver.h.
◆ LAN9303_VPHY_BASIC_STATUS_100BT2_FD
#define LAN9303_VPHY_BASIC_STATUS_100BT2_FD 0x00000400 |
Definition at line 636 of file lan9303_driver.h.
◆ LAN9303_VPHY_BASIC_STATUS_100BT2_HD
#define LAN9303_VPHY_BASIC_STATUS_100BT2_HD 0x00000200 |
Definition at line 637 of file lan9303_driver.h.
◆ LAN9303_VPHY_BASIC_STATUS_100BT4
#define LAN9303_VPHY_BASIC_STATUS_100BT4 0x00008000 |
Definition at line 631 of file lan9303_driver.h.
◆ LAN9303_VPHY_BASIC_STATUS_100BTX_FD
#define LAN9303_VPHY_BASIC_STATUS_100BTX_FD 0x00004000 |
Definition at line 632 of file lan9303_driver.h.
◆ LAN9303_VPHY_BASIC_STATUS_100BTX_HD
#define LAN9303_VPHY_BASIC_STATUS_100BTX_HD 0x00002000 |
Definition at line 633 of file lan9303_driver.h.
◆ LAN9303_VPHY_BASIC_STATUS_10BT_FD
#define LAN9303_VPHY_BASIC_STATUS_10BT_FD 0x00001000 |
Definition at line 634 of file lan9303_driver.h.
◆ LAN9303_VPHY_BASIC_STATUS_10BT_HD
#define LAN9303_VPHY_BASIC_STATUS_10BT_HD 0x00000800 |
Definition at line 635 of file lan9303_driver.h.
◆ LAN9303_VPHY_BASIC_STATUS_AN_CAPABLE
#define LAN9303_VPHY_BASIC_STATUS_AN_CAPABLE 0x00000008 |
Definition at line 642 of file lan9303_driver.h.
◆ LAN9303_VPHY_BASIC_STATUS_AN_COMPLETE
#define LAN9303_VPHY_BASIC_STATUS_AN_COMPLETE 0x00000020 |
Definition at line 640 of file lan9303_driver.h.
◆ LAN9303_VPHY_BASIC_STATUS_EXTENDED_CAPABLE
#define LAN9303_VPHY_BASIC_STATUS_EXTENDED_CAPABLE 0x00000001 |
Definition at line 645 of file lan9303_driver.h.
◆ LAN9303_VPHY_BASIC_STATUS_EXTENDED_STATUS
#define LAN9303_VPHY_BASIC_STATUS_EXTENDED_STATUS 0x00000100 |
Definition at line 638 of file lan9303_driver.h.
◆ LAN9303_VPHY_BASIC_STATUS_JABBER_DETECT
#define LAN9303_VPHY_BASIC_STATUS_JABBER_DETECT 0x00000002 |
Definition at line 644 of file lan9303_driver.h.
◆ LAN9303_VPHY_BASIC_STATUS_LINK_STATUS
#define LAN9303_VPHY_BASIC_STATUS_LINK_STATUS 0x00000004 |
Definition at line 643 of file lan9303_driver.h.
◆ LAN9303_VPHY_BASIC_STATUS_MF_PREAMBLE_SUPPR
#define LAN9303_VPHY_BASIC_STATUS_MF_PREAMBLE_SUPPR 0x00000040 |
Definition at line 639 of file lan9303_driver.h.
◆ LAN9303_VPHY_BASIC_STATUS_REMOTE_FAULT
#define LAN9303_VPHY_BASIC_STATUS_REMOTE_FAULT 0x00000010 |
Definition at line 641 of file lan9303_driver.h.
◆ LAN9303_VPHY_ID_LSB
#define LAN9303_VPHY_ID_LSB 0x01CC |
Definition at line 111 of file lan9303_driver.h.
◆ LAN9303_VPHY_ID_LSB_MODEL_NUM
#define LAN9303_VPHY_ID_LSB_MODEL_NUM 0x000003F0 |
Definition at line 652 of file lan9303_driver.h.
◆ LAN9303_VPHY_ID_LSB_PHY_ID_LSB
#define LAN9303_VPHY_ID_LSB_PHY_ID_LSB 0x0000FC00 |
Definition at line 651 of file lan9303_driver.h.
◆ LAN9303_VPHY_ID_LSB_REVISION_NUM
#define LAN9303_VPHY_ID_LSB_REVISION_NUM 0x0000000F |
Definition at line 653 of file lan9303_driver.h.
◆ LAN9303_VPHY_ID_MSB
#define LAN9303_VPHY_ID_MSB 0x01C8 |
Definition at line 110 of file lan9303_driver.h.
◆ LAN9303_VPHY_ID_MSB_PHY_ID_MSB
#define LAN9303_VPHY_ID_MSB_PHY_ID_MSB 0x0000FFFF |
Definition at line 648 of file lan9303_driver.h.
◆ LAN9303_VPHY_SPECIAL_CTRL_STATUS
#define LAN9303_VPHY_SPECIAL_CTRL_STATUS 0x01DC |
Definition at line 115 of file lan9303_driver.h.
◆ LAN9303_VPHY_SPECIAL_CTRL_STATUS_IND
#define LAN9303_VPHY_SPECIAL_CTRL_STATUS_IND 0x0000001C |
Definition at line 700 of file lan9303_driver.h.
◆ LAN9303_VPHY_SPECIAL_CTRL_STATUS_IND_100_200_FD
#define LAN9303_VPHY_SPECIAL_CTRL_STATUS_IND_100_200_FD 0x00000018 |
Definition at line 704 of file lan9303_driver.h.
◆ LAN9303_VPHY_SPECIAL_CTRL_STATUS_IND_100_200_HD
#define LAN9303_VPHY_SPECIAL_CTRL_STATUS_IND_100_200_HD 0x00000008 |
Definition at line 702 of file lan9303_driver.h.
◆ LAN9303_VPHY_SPECIAL_CTRL_STATUS_IND_10_FD
#define LAN9303_VPHY_SPECIAL_CTRL_STATUS_IND_10_FD 0x00000014 |
Definition at line 703 of file lan9303_driver.h.
◆ LAN9303_VPHY_SPECIAL_CTRL_STATUS_IND_10_HD
#define LAN9303_VPHY_SPECIAL_CTRL_STATUS_IND_10_HD 0x00000004 |
Definition at line 701 of file lan9303_driver.h.
◆ LAN9303_VPHY_SPECIAL_CTRL_STATUS_MODE
#define LAN9303_VPHY_SPECIAL_CTRL_STATUS_MODE 0x00000300 |
Definition at line 691 of file lan9303_driver.h.
◆ LAN9303_VPHY_SPECIAL_CTRL_STATUS_MODE_MII_MAC
#define LAN9303_VPHY_SPECIAL_CTRL_STATUS_MODE_MII_MAC 0x00000000 |
Definition at line 692 of file lan9303_driver.h.
◆ LAN9303_VPHY_SPECIAL_CTRL_STATUS_MODE_MII_PHY
#define LAN9303_VPHY_SPECIAL_CTRL_STATUS_MODE_MII_PHY 0x00000100 |
Definition at line 693 of file lan9303_driver.h.
◆ LAN9303_VPHY_SPECIAL_CTRL_STATUS_MODE_RMII_PHY
#define LAN9303_VPHY_SPECIAL_CTRL_STATUS_MODE_RMII_PHY 0x00000200 |
Definition at line 694 of file lan9303_driver.h.
◆ LAN9303_VPHY_SPECIAL_CTRL_STATUS_RMII_CLK_DIR
#define LAN9303_VPHY_SPECIAL_CTRL_STATUS_RMII_CLK_DIR 0x00000040 |
Definition at line 696 of file lan9303_driver.h.
◆ LAN9303_VPHY_SPECIAL_CTRL_STATUS_RMII_CLK_DIR_IN
#define LAN9303_VPHY_SPECIAL_CTRL_STATUS_RMII_CLK_DIR_IN 0x00000000 |
Definition at line 697 of file lan9303_driver.h.
◆ LAN9303_VPHY_SPECIAL_CTRL_STATUS_RMII_CLK_DIR_OUT
#define LAN9303_VPHY_SPECIAL_CTRL_STATUS_RMII_CLK_DIR_OUT 0x00000040 |
Definition at line 698 of file lan9303_driver.h.
◆ LAN9303_VPHY_SPECIAL_CTRL_STATUS_RMII_CLK_STRENGTH
#define LAN9303_VPHY_SPECIAL_CTRL_STATUS_RMII_CLK_STRENGTH 0x00000020 |
Definition at line 699 of file lan9303_driver.h.
◆ LAN9303_VPHY_SPECIAL_CTRL_STATUS_SQEOFF
#define LAN9303_VPHY_SPECIAL_CTRL_STATUS_SQEOFF 0x00000001 |
Definition at line 705 of file lan9303_driver.h.
◆ LAN9303_VPHY_SPECIAL_CTRL_STATUS_SW_COL_TEST_PORT0
#define LAN9303_VPHY_SPECIAL_CTRL_STATUS_SW_COL_TEST_PORT0 0x00000080 |
Definition at line 695 of file lan9303_driver.h.
◆ LAN9303_VPHY_SPECIAL_CTRL_STATUS_SW_LOOPBACK_PORT0
#define LAN9303_VPHY_SPECIAL_CTRL_STATUS_SW_LOOPBACK_PORT0 0x00004000 |
Definition at line 689 of file lan9303_driver.h.
◆ LAN9303_VPHY_SPECIAL_CTRL_STATUS_TURBO_MII_EN
#define LAN9303_VPHY_SPECIAL_CTRL_STATUS_TURBO_MII_EN 0x00000400 |
Definition at line 690 of file lan9303_driver.h.
Function Documentation
◆ lan9303AddStaticFdbEntry()
error_t lan9303AddStaticFdbEntry | ( | NetInterface * | interface, |
const SwitchFdbEntry * | entry | ||
) |
Add a new entry to the static MAC table.
- Parameters
-
[in] interface Underlying network interface [in] entry Pointer to the forwarding database entry
- Returns
- Error code
Definition at line 953 of file lan9303_driver.c.
◆ lan9303DeleteStaticFdbEntry()
error_t lan9303DeleteStaticFdbEntry | ( | NetInterface * | interface, |
const SwitchFdbEntry * | entry | ||
) |
Remove an entry from the static MAC table.
- Parameters
-
[in] interface Underlying network interface [in] entry Forwarding database entry to remove from the table
- Returns
- Error code
Definition at line 1058 of file lan9303_driver.c.
◆ lan9303DisableIrq()
void lan9303DisableIrq | ( | NetInterface * | interface | ) |
Disable interrupts.
- Parameters
-
[in] interface Underlying network interface
Definition at line 287 of file lan9303_driver.c.
◆ lan9303DumpPhyReg()
void lan9303DumpPhyReg | ( | NetInterface * | interface, |
uint8_t | port | ||
) |
Dump PHY registers for debugging purpose.
- Parameters
-
[in] interface Underlying network interface [in] port Port number
Definition at line 1487 of file lan9303_driver.c.
◆ lan9303DumpSysReg()
void lan9303DumpSysReg | ( | NetInterface * | interface | ) |
Dump system CSR registers for debugging purpose.
- Parameters
-
[in] interface Underlying network interface
Definition at line 1600 of file lan9303_driver.c.
◆ lan9303EnableIgmpSnooping()
void lan9303EnableIgmpSnooping | ( | NetInterface * | interface, |
bool_t | enable | ||
) |
Enable IGMP snooping.
- Parameters
-
[in] interface Underlying network interface [in] enable Enable or disable IGMP snooping
Definition at line 867 of file lan9303_driver.c.
◆ lan9303EnableIrq()
void lan9303EnableIrq | ( | NetInterface * | interface | ) |
Enable interrupts.
- Parameters
-
[in] interface Underlying network interface
Definition at line 277 of file lan9303_driver.c.
◆ lan9303EnableMldSnooping()
void lan9303EnableMldSnooping | ( | NetInterface * | interface, |
bool_t | enable | ||
) |
Enable MLD snooping.
- Parameters
-
[in] interface Underlying network interface [in] enable Enable or disable MLD snooping
Definition at line 899 of file lan9303_driver.c.
◆ lan9303EnableRsvdMcastTable()
void lan9303EnableRsvdMcastTable | ( | NetInterface * | interface, |
bool_t | enable | ||
) |
Enable reserved multicast table.
- Parameters
-
[in] interface Underlying network interface [in] enable Enable or disable reserved group addresses
Definition at line 911 of file lan9303_driver.c.
◆ lan9303EventHandler()
void lan9303EventHandler | ( | NetInterface * | interface | ) |
LAN9303 event handler.
- Parameters
-
[in] interface Underlying network interface
Definition at line 297 of file lan9303_driver.c.
◆ lan9303FlushDynamicFdbTable()
void lan9303FlushDynamicFdbTable | ( | NetInterface * | interface, |
uint8_t | port | ||
) |
Flush dynamic MAC table.
- Parameters
-
[in] interface Underlying network interface [in] port Port number
Definition at line 1358 of file lan9303_driver.c.
◆ lan9303FlushStaticFdbTable()
void lan9303FlushStaticFdbTable | ( | NetInterface * | interface | ) |
Flush static MAC table.
- Parameters
-
[in] interface Underlying network interface
Definition at line 1221 of file lan9303_driver.c.
◆ lan9303GetDuplexMode()
NicDuplexMode lan9303GetDuplexMode | ( | NetInterface * | interface, |
uint8_t | port | ||
) |
Get duplex mode.
- Parameters
-
[in] interface Underlying network interface [in] port Port number
- Returns
- Duplex mode
Definition at line 671 of file lan9303_driver.c.
◆ lan9303GetDynamicFdbEntry()
error_t lan9303GetDynamicFdbEntry | ( | NetInterface * | interface, |
uint_t | index, | ||
SwitchFdbEntry * | entry | ||
) |
Read an entry from the dynamic MAC table.
- Parameters
-
[in] interface Underlying network interface [in] index Zero-based index of the entry to read [out] entry Pointer to the forwarding database entry
- Returns
- Error code
Definition at line 1256 of file lan9303_driver.c.
◆ lan9303GetLinkSpeed()
uint32_t lan9303GetLinkSpeed | ( | NetInterface * | interface, |
uint8_t | port | ||
) |
Get link speed.
- Parameters
-
[in] interface Underlying network interface [in] port Port number
- Returns
- Link speed
Definition at line 621 of file lan9303_driver.c.
◆ lan9303GetLinkState()
bool_t lan9303GetLinkState | ( | NetInterface * | interface, |
uint8_t | port | ||
) |
Get link state.
- Parameters
-
[in] interface Underlying network interface [in] port Port number
- Returns
- Link state
Definition at line 589 of file lan9303_driver.c.
◆ lan9303GetPortState()
SwitchPortState lan9303GetPortState | ( | NetInterface * | interface, |
uint8_t | port | ||
) |
Get port state.
- Parameters
-
[in] interface Underlying network interface [in] port Port number
- Returns
- Port state
Definition at line 791 of file lan9303_driver.c.
◆ lan9303GetStaticFdbEntry()
error_t lan9303GetStaticFdbEntry | ( | NetInterface * | interface, |
uint_t | index, | ||
SwitchFdbEntry * | entry | ||
) |
Read an entry from the static MAC table.
- Parameters
-
[in] interface Underlying network interface [in] index Zero-based index of the entry to read [out] entry Pointer to the forwarding database entry
- Returns
- Error code
Definition at line 1108 of file lan9303_driver.c.
◆ lan9303Init()
error_t lan9303Init | ( | NetInterface * | interface | ) |
LAN9303 Ethernet switch initialization.
- Parameters
-
[in] interface Underlying network interface
- Returns
- Error code
Definition at line 78 of file lan9303_driver.c.
◆ lan9303InitHook()
void lan9303InitHook | ( | NetInterface * | interface | ) |
LAN9303 custom configuration.
- Parameters
-
[in] interface Underlying network interface
Definition at line 197 of file lan9303_driver.c.
◆ lan9303ReadPhyReg()
uint16_t lan9303ReadPhyReg | ( | NetInterface * | interface, |
uint8_t | port, | ||
uint8_t | address | ||
) |
Read PHY register.
- Parameters
-
[in] interface Underlying network interface [in] port Port number [in] address PHY register address
- Returns
- Register value
Definition at line 1461 of file lan9303_driver.c.
◆ lan9303ReadSwitchReg()
uint32_t lan9303ReadSwitchReg | ( | NetInterface * | interface, |
uint16_t | address | ||
) |
Read switch fabric CSR register.
- Parameters
-
[in] interface Underlying network interface [in] address Switch fabric register address
- Returns
- Register value
Definition at line 1663 of file lan9303_driver.c.
◆ lan9303ReadSysReg()
uint32_t lan9303ReadSysReg | ( | NetInterface * | interface, |
uint16_t | address | ||
) |
Read system CSR register.
- Parameters
-
[in] interface Underlying network interface [in] address System register address
- Returns
- Register value
Definition at line 1555 of file lan9303_driver.c.
◆ lan9303SetAgingTime()
void lan9303SetAgingTime | ( | NetInterface * | interface, |
uint32_t | agingTime | ||
) |
Set aging time for dynamic filtering entries.
- Parameters
-
[in] interface Underlying network interface [in] agingTime Aging time, in seconds
Definition at line 855 of file lan9303_driver.c.
◆ lan9303SetPortState()
void lan9303SetPortState | ( | NetInterface * | interface, |
uint8_t | port, | ||
SwitchPortState | state | ||
) |
Set port state.
- Parameters
-
[in] interface Underlying network interface [in] port Port number [in] state Port state
Definition at line 721 of file lan9303_driver.c.
◆ lan9303SetUnknownMcastFwdPorts()
void lan9303SetUnknownMcastFwdPorts | ( | NetInterface * | interface, |
bool_t | enable, | ||
uint32_t | forwardPorts | ||
) |
Set forward ports for unknown multicast packets.
- Parameters
-
[in] interface Underlying network interface [in] enable Enable or disable forwarding of unknown multicast packets [in] forwardPorts Port map
Definition at line 1423 of file lan9303_driver.c.
◆ lan9303TagFrame()
error_t lan9303TagFrame | ( | NetInterface * | interface, |
NetBuffer * | buffer, | ||
size_t * | offset, | ||
NetTxAncillary * | ancillary | ||
) |
Add special VLAN tag to Ethernet frame.
- Parameters
-
[in] interface Underlying network interface [in] buffer Multi-part buffer containing the payload [in,out] offset Offset to the first payload byte [in] ancillary Additional options passed to the stack along with the packet
- Returns
- Error code
Definition at line 443 of file lan9303_driver.c.
◆ lan9303Tick()
void lan9303Tick | ( | NetInterface * | interface | ) |
LAN9303 timer handler.
- Parameters
-
[in] interface Underlying network interface
Definition at line 207 of file lan9303_driver.c.
◆ lan9303UntagFrame()
error_t lan9303UntagFrame | ( | NetInterface * | interface, |
uint8_t ** | frame, | ||
size_t * | length, | ||
NetRxAncillary * | ancillary | ||
) |
Decode special VLAN tag from incoming Ethernet frame.
- Parameters
-
[in] interface Underlying network interface [in,out] frame Pointer to the received Ethernet frame [in,out] length Length of the frame, in bytes [in,out] ancillary Additional options passed to the stack along with the packet
- Returns
- Error code
Definition at line 521 of file lan9303_driver.c.
◆ lan9303WritePhyReg()
void lan9303WritePhyReg | ( | NetInterface * | interface, |
uint8_t | port, | ||
uint8_t | address, | ||
uint16_t | data | ||
) |
Write PHY register.
- Parameters
-
[in] interface Underlying network interface [in] port Port number [in] address PHY register address [in] data Register value
Definition at line 1438 of file lan9303_driver.c.
◆ lan9303WriteSwitchReg()
void lan9303WriteSwitchReg | ( | NetInterface * | interface, |
uint16_t | address, | ||
uint32_t | data | ||
) |
Write switch fabric CSR register.
- Parameters
-
[in] interface Underlying network interface [in] address Switch fabric register address [in] data Register value
Definition at line 1624 of file lan9303_driver.c.
◆ lan9303WriteSysReg()
void lan9303WriteSysReg | ( | NetInterface * | interface, |
uint16_t | address, | ||
uint32_t | data | ||
) |
Write system CSR register.
- Parameters
-
[in] interface Underlying network interface [in] address System register address [in] data Register value
Definition at line 1511 of file lan9303_driver.c.
Variable Documentation
◆ lan9303SwitchDriver
|
extern |
LAN9303 Ethernet switch driver.
Definition at line 44 of file lan9303_driver.c.