Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/marvell/
Dmvneta.c3420 u32 new_ctrl2, gmac_ctrl2 = mvreg_read(pp, MVNETA_GMAC_CTRL_2); in mvneta_mac_config() local
3425 new_ctrl2 = gmac_ctrl2 & ~(MVNETA_GMAC2_INBAND_AN_ENABLE | in mvneta_mac_config()
3442 new_ctrl2 |= MVNETA_GMAC2_PORT_RGMII; in mvneta_mac_config()
3447 new_ctrl2 |= MVNETA_GMAC2_PCS_ENABLE; in mvneta_mac_config()
3465 new_ctrl2 |= MVNETA_GMAC2_INBAND_AN_ENABLE; in mvneta_mac_config()
3491 (new_ctrl2 ^ gmac_ctrl2) & MVNETA_GMAC2_INBAND_AN_ENABLE || in mvneta_mac_config()
3500 if (new_ctrl2 != gmac_ctrl2) in mvneta_mac_config()
3501 mvreg_write(pp, MVNETA_GMAC_CTRL_2, new_ctrl2); in mvneta_mac_config()