Home
last modified time | relevance | path

Searched refs:sam_eth_device (Results 1 – 1 of 1) sorted by relevance

/bsp/microchip/common/board/
A Dsam_gmac.c50 static struct rt_sam_eth sam_eth_device; variable
68 result = eth_device_ready(&sam_eth_device.parent); in rt_sam_gmac_rxcb()
345 sam_eth_device.macif = &MACIF; in rt_hw_sam_eth_init()
346 sam_eth_device.phyif = &MACIF_PHY_desc; in rt_hw_sam_eth_init()
349 sam_eth_device.link_mode = GMAC_FULL_DUPLEX; in rt_hw_sam_eth_init()
358 memset(sam_eth_device.mac_addr, 0x11, 6); in rt_hw_sam_eth_init()
367 sam_eth_device.parent.parent.user_data = (void *)&sam_eth_device; in rt_hw_sam_eth_init()
369 sam_eth_device.parent.eth_rx = rt_sam_eth_rx; in rt_hw_sam_eth_init()
370 sam_eth_device.parent.eth_tx = rt_sam_eth_tx; in rt_hw_sam_eth_init()
372 rt_sam_gmac_init(&sam_eth_device); in rt_hw_sam_eth_init()
[all …]

Completed in 4 milliseconds