omapl138_eth_driver.c
bool_t osSetEventFromIsr(OsEvent *event)
Set an event object to the signaled state from an interrupt service routine.
Definition: os_port_chibios.c:270
error_t omapl138EthSendPacket(NetInterface *interface, const NetBuffer *buffer, size_t offset, NetTxAncillary *ancillary)
Send a packet.
Definition: omapl138_eth_driver.c:684
void omapl138EthEnableIrq(NetInterface *interface)
Enable interrupts.
Definition: omapl138_eth_driver.c:492
size_t netBufferRead(void *dest, const NetBuffer *src, size_t srcOffset, size_t length)
Read data from a multi-part buffer.
Definition: net_mem.c:690
uint16_t omapl138EthReadPhyReg(uint8_t opcode, uint8_t phyAddr, uint8_t regAddr)
Read PHY register.
Definition: omapl138_eth_driver.c:1004
void omapl138EthInitBufferDesc(NetInterface *interface)
Initialize buffer descriptor lists.
Definition: omapl138_eth_driver.c:381
void nicProcessPacket(NetInterface *interface, uint8_t *packet, size_t length, NetRxAncillary *ancillary)
Handle a packet received by the network controller.
Definition: nic.c:392
#define OMAPL138_ETH_RX_BUFFER_COUNT
Definition: omapl138_eth_driver.h:53
OMAP-L138 Ethernet MAC driver.
#define OMAPL138_ETH_TX_BUFFER_COUNT
Definition: omapl138_eth_driver.h:39
void omapl138EthTick(NetInterface *interface)
OMAP-L138 Ethernet MAC timer handler.
Definition: omapl138_eth_driver.c:455
void omapl138EthTxIrqHandler(void)
Ethernet MAC transmit interrupt.
Definition: omapl138_eth_driver.c:549
void omapl138EthDisableIrq(NetInterface *interface)
Disable interrupts.
Definition: omapl138_eth_driver.c:521
void omapl138EthWritePhyReg(uint8_t opcode, uint8_t phyAddr, uint8_t regAddr, uint16_t data)
Write PHY register.
Definition: omapl138_eth_driver.c:965
error_t omapl138EthUpdateMacConfig(NetInterface *interface)
Adjust MAC configuration parameters for proper operation.
Definition: omapl138_eth_driver.c:922
__weak_func void omapl138EthInitGpio(NetInterface *interface)
GPIO configuration.
Definition: omapl138_eth_driver.c:320
size_t netBufferGetLength(const NetBuffer *buffer)
Get the actual length of a multi-part buffer.
Definition: net_mem.c:297
void omapl138EthRxIrqHandler(void)
Ethernet MAC receive interrupt.
Definition: omapl138_eth_driver.c:614
#define OMAPL138_ETH_RAM_CPPI_SECTION
Definition: omapl138_eth_driver.h:86
error_t omapl138EthReceivePacket(NetInterface *interface)
Receive a packet.
Definition: omapl138_eth_driver.c:761
void omapl138EthEventHandler(NetInterface *interface)
OMAP-L138 Ethernet MAC event handler.
Definition: omapl138_eth_driver.c:656
error_t omapl138EthUpdateMacAddrFilter(NetInterface *interface)
Configure MAC address filtering.
Definition: omapl138_eth_driver.c:859
const NicDriver omapl138EthDriver
OMAP-L138 Ethernet MAC driver.
Definition: omapl138_eth_driver.c:104
void osSetEvent(OsEvent *event)
Set the specified event object to the signaled state.
Definition: os_port_chibios.c:202
error_t omapl138EthInit(NetInterface *interface)
OMAP-L138 Ethernet MAC initialization.
Definition: omapl138_eth_driver.c:131
TCP/IP stack core.
Debugging facilities.