Searched refs:mcr_new (Results 1 – 2 of 2) sorted by relevance
552 u32 mcr_cur, mcr_new; in mtk_mac_finish() local562 mcr_new = mcr_cur; in mtk_mac_finish()563 mcr_new |= MAC_MCR_IPG_CFG | MAC_MCR_FORCE_MODE | in mtk_mac_finish()568 if (mcr_new != mcr_cur) in mtk_mac_finish()569 mtk_w32(mac->hw, mcr_new, MTK_MAC_MCR(mac->id)); in mtk_mac_finish()3239 u32 mcr_cur, mcr_new; in mtk_set_mcr_max_rx() local3245 mcr_new = mcr_cur & ~MAC_MCR_MAX_RX_MASK; in mtk_set_mcr_max_rx()3248 mcr_new |= MAC_MCR_MAX_RX(MAC_MCR_MAX_RX_1518); in mtk_set_mcr_max_rx()3250 mcr_new |= MAC_MCR_MAX_RX(MAC_MCR_MAX_RX_1536); in mtk_set_mcr_max_rx()3252 mcr_new |= MAC_MCR_MAX_RX(MAC_MCR_MAX_RX_1552); in mtk_set_mcr_max_rx()[all …]
2806 u32 mcr_cur, mcr_new; in mt753x_phylink_mac_config() local2842 mcr_new = mcr_cur; in mt753x_phylink_mac_config()2843 mcr_new &= ~PMCR_LINK_SETTINGS_MASK; in mt753x_phylink_mac_config()2844 mcr_new |= PMCR_IFG_XMIT(1) | PMCR_MAC_MODE | PMCR_BACKOFF_EN | in mt753x_phylink_mac_config()2849 mcr_new |= PMCR_EXT_PHY; in mt753x_phylink_mac_config()2851 if (mcr_new != mcr_cur) in mt753x_phylink_mac_config()2852 mt7530_write(priv, MT7530_PMCR_P(port), mcr_new); in mt753x_phylink_mac_config()