Searched refs:mdio_read (Results 1 – 1 of 1) sorted by relevance
/FreeRTOS-Plus-TCP-v4.0.0/source/portable/NetworkInterface/M487/ |
D | m480_eth.c | 78 static uint16_t mdio_read( uint8_t addr, in mdio_read() function 102 if( ( mdio_read( CONFIG_PHY_ADDR, MII_BMCR ) & BMCR_RESET ) == 0 ) in reset_phy() 120 reg = mdio_read( CONFIG_PHY_ADDR, MII_BMCR ); in reset_phy() 127 if( ( mdio_read( CONFIG_PHY_ADDR, MII_BMSR ) & ( BMSR_ANEGCOMPLETE | BMSR_LSTATUS ) ) in reset_phy() 142 reg = mdio_read( CONFIG_PHY_ADDR, MII_LPA ); in reset_phy() 166 FreeRTOS_printf( ( "PHY ID 1:0x%x\r\n", mdio_read( CONFIG_PHY_ADDR, MII_PHYSID1 ) ) ); in reset_phy() 167 FreeRTOS_printf( ( "PHY ID 2:0x%x\r\n", mdio_read( CONFIG_PHY_ADDR, MII_PHYSID2 ) ) ); in reset_phy() 427 mdio_read( CONFIG_PHY_ADDR, MII_BMSR ); in numaker_eth_link_ok() 429 if( mdio_read( CONFIG_PHY_ADDR, MII_BMSR ) & BMSR_LSTATUS ) in numaker_eth_link_ok()
|