Home
last modified time | relevance | path

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

/bsp/microchip/common/board/
A Dsam_gmac.c263 struct rt_sam_eth *sam_eth = (struct rt_sam_eth *)parameter; in rt_sam_eth_monitor() local
273 ret = ethernet_phy_get_link_status(sam_eth->phyif, &link_up); in rt_sam_eth_monitor()
279 eth_device_linkchange(&sam_eth->parent, RT_TRUE); in rt_sam_eth_monitor()
284 eth_device_linkchange(&sam_eth->parent, RT_FALSE);; in rt_sam_eth_monitor()
288 ret = ethernet_phy_read_reg(sam_eth->phyif, MDIO_REG1_BMSR, &val); in rt_sam_eth_monitor()
319 ethernet_phy_restart_autoneg(sam_eth->phyif); in rt_sam_eth_monitor()

Completed in 3 milliseconds