am64x_eth_driver.h
Go to the documentation of this file.
error_t am64xEthInitPort2(NetInterface *interface)
AM64x Ethernet MAC initialization (port 2)
Definition: am64x_eth_driver.c:226
const NicDriver am64xEthPort2Driver
AM64x Ethernet MAC driver (port2)
Definition: am64x_eth_driver.c:96
uint_t am64xEthFindVlanEntry(uint_t vlanId)
Search the ALE table for the specified VLAN entry.
Definition: am64x_eth_driver.c:1252
void am64xEthReadEntry(uint_t index, Am64xAleEntry *entry)
Read an ALE table entry.
Definition: am64x_eth_driver.c:1196
uint16_t am64xEthReadPhyReg(uint8_t opcode, uint8_t phyAddr, uint8_t regAddr)
Read PHY register.
Definition: am64x_eth_driver.c:1119
void am64xEthWritePhyReg(uint8_t opcode, uint8_t phyAddr, uint8_t regAddr, uint16_t data)
Write PHY register.
Definition: am64x_eth_driver.c:1068
void am64xEthDisableIrq(NetInterface *interface)
Disable interrupts.
Definition: am64x_eth_driver.c:712
error_t am64xEthSendPacket(NetInterface *interface, const NetBuffer *buffer, size_t offset, NetTxAncillary *ancillary)
Send a packet.
Definition: am64x_eth_driver.c:844
error_t am64xEthAddVlanEntry(uint_t port, uint_t vlanId)
Add a VLAN entry in the ALE table.
Definition: am64x_eth_driver.c:1345
void am64xEthTick(NetInterface *interface)
AM64x Ethernet MAC timer handler.
Definition: am64x_eth_driver.c:662
void am64xEthInitInstance(NetInterface *interface)
Initialize CPSW instance.
Definition: am64x_eth_driver.c:309
void am64xEthEventHandler(NetInterface *interface)
AM64x Ethernet MAC event handler.
Definition: am64x_eth_driver.c:759
void am64xEthWriteEntry(uint_t index, const Am64xAleEntry *entry)
Write an ALE table entry.
Definition: am64x_eth_driver.c:1173
error_t am64xEthUpdateMacConfig(NetInterface *interface)
Adjust MAC configuration parameters for proper operation.
Definition: am64x_eth_driver.c:998
uint_t am64xEthFindFreeEntry(void)
Find a free entry in the ALE table.
Definition: am64x_eth_driver.c:1218
error_t am64xEthUpdateMacAddrFilter(NetInterface *interface)
Configure MAC address filtering.
Definition: am64x_eth_driver.c:940
uint_t am64xEthFindVlanAddrEntry(uint_t vlanId, MacAddr *macAddr)
Search the ALE table for the specified VLAN/address entry.
Definition: am64x_eth_driver.c:1294
const NicDriver am64xEthPort1Driver
AM64x Ethernet MAC driver (port1)
Definition: am64x_eth_driver.c:71
error_t am64xEthInitPort1(NetInterface *interface)
AM64x Ethernet MAC initialization (port 1)
Definition: am64x_eth_driver.c:123
error_t am64xEthAddVlanAddrEntry(uint_t port, uint_t vlanId, MacAddr *macAddr)
Add a VLAN/address entry in the ALE table.
Definition: am64x_eth_driver.c:1405
error_t am64xEthDeleteVlanAddrEntry(uint_t port, uint_t vlanId, MacAddr *macAddr)
Remove a VLAN/address entry from the ALE table.
Definition: am64x_eth_driver.c:1476
void am64xEthRxIrqHandler(void *arg)
AM64x Ethernet MAC receive interrupt.
Definition: am64x_eth_driver.c:737
Network interface controller abstraction layer.