Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/ethernet/mediatek/
Dmtk_eth_soc.c667 u32 mcr_cur, mcr_new; in mtk_mac_finish() local
676 mcr_cur = mtk_r32(mac->hw, MTK_MAC_MCR(mac->id)); in mtk_mac_finish()
677 mcr_new = mcr_cur; in mtk_mac_finish()
683 if (mcr_new != mcr_cur) in mtk_mac_finish()
3637 u32 mcr_cur, mcr_new; in mtk_set_mcr_max_rx() local
3642 mcr_cur = mtk_r32(mac->hw, MTK_MAC_MCR(mac->id)); in mtk_set_mcr_max_rx()
3643 mcr_new = mcr_cur & ~MAC_MCR_MAX_RX_MASK; in mtk_set_mcr_max_rx()
3654 if (mcr_new != mcr_cur) in mtk_set_mcr_max_rx()
/Linux-v6.6/drivers/net/dsa/
Dmt7530.c2768 u32 mcr_cur, mcr_new; in mt753x_phylink_mac_config() local
2804 mcr_cur = mt7530_read(priv, MT7530_PMCR_P(port)); in mt753x_phylink_mac_config()
2805 mcr_new = mcr_cur; in mt753x_phylink_mac_config()
2814 if (mcr_new != mcr_cur) in mt753x_phylink_mac_config()