Searched refs:uc_rc (Results 1 – 1 of 1) sorted by relevance
169 uint8_t uc_rc = GMAC_TIMEOUT; in ethernet_phy_init() local175 uc_rc = gmac_set_mdc_clock( p_gmac, mck ); in ethernet_phy_init()177 if( uc_rc != GMAC_OK ) in ethernet_phy_init()217 uint8_t uc_rc = GMAC_TIMEOUT; in ethernet_phy_set_link() local223 uc_rc = gmac_phy_read( p_gmac, uc_phy_address, GMII_BMSR, &ul_stat1 ); in ethernet_phy_set_link()225 if( uc_rc != GMAC_OK ) in ethernet_phy_set_link()230 return uc_rc; in ethernet_phy_set_link()246 return uc_rc; in ethernet_phy_set_link()250 uc_rc = gmac_phy_read( p_gmac, uc_phy_address, GMII_ANAR, &ul_stat2 ); in ethernet_phy_set_link()254 if( uc_rc != GMAC_OK ) in ethernet_phy_set_link()[all …]