Searched refs:gmac_stat (Results 1 – 1 of 1) sorted by relevance
2744 u32 gmac_stat = mvreg_read(pp, MVNETA_GMAC_STATUS); in mvneta_link_change() local2746 phylink_mac_change(pp->phylink, !!(gmac_stat & MVNETA_GMAC_LINK_UP)); in mvneta_link_change()3380 u32 gmac_stat; in mvneta_mac_link_state() local3382 gmac_stat = mvreg_read(pp, MVNETA_GMAC_STATUS); in mvneta_mac_link_state()3384 if (gmac_stat & MVNETA_GMAC_SPEED_1000) in mvneta_mac_link_state()3386 else if (gmac_stat & MVNETA_GMAC_SPEED_100) in mvneta_mac_link_state()3391 state->an_complete = !!(gmac_stat & MVNETA_GMAC_AN_COMPLETE); in mvneta_mac_link_state()3392 state->link = !!(gmac_stat & MVNETA_GMAC_LINK_UP); in mvneta_mac_link_state()3393 state->duplex = !!(gmac_stat & MVNETA_GMAC_FULL_DUPLEX); in mvneta_mac_link_state()3396 if (gmac_stat & MVNETA_GMAC_RX_FLOW_CTRL_ENABLE) in mvneta_mac_link_state()[all …]