Searched refs:gmac_stat (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/net/ethernet/marvell/
H A Dmvneta.c2129 u32 gmac_stat = mvreg_read(pp, MVNETA_GMAC_STATUS); mvneta_fixed_link_update() local
2131 status.link = !!(gmac_stat & MVNETA_GMAC_LINK_UP); mvneta_fixed_link_update()
2132 if (gmac_stat & MVNETA_GMAC_SPEED_1000) mvneta_fixed_link_update()
2134 else if (gmac_stat & MVNETA_GMAC_SPEED_100) mvneta_fixed_link_update()
2138 status.duplex = !!(gmac_stat & MVNETA_GMAC_FULL_DUPLEX); mvneta_fixed_link_update()

Completed in 73 milliseconds