Searched refs:mcr_new (Results 1 – 2 of 2) sorted by relevance
667 u32 mcr_cur, mcr_new; in mtk_mac_finish() local677 mcr_new = mcr_cur; in mtk_mac_finish()678 mcr_new |= MAC_MCR_IPG_CFG | MAC_MCR_FORCE_MODE | in mtk_mac_finish()683 if (mcr_new != mcr_cur) in mtk_mac_finish()684 mtk_w32(mac->hw, mcr_new, MTK_MAC_MCR(mac->id)); in mtk_mac_finish()3637 u32 mcr_cur, mcr_new; in mtk_set_mcr_max_rx() local3643 mcr_new = mcr_cur & ~MAC_MCR_MAX_RX_MASK; in mtk_set_mcr_max_rx()3646 mcr_new |= MAC_MCR_MAX_RX(MAC_MCR_MAX_RX_1518); in mtk_set_mcr_max_rx()3648 mcr_new |= MAC_MCR_MAX_RX(MAC_MCR_MAX_RX_1536); in mtk_set_mcr_max_rx()3650 mcr_new |= MAC_MCR_MAX_RX(MAC_MCR_MAX_RX_1552); in mtk_set_mcr_max_rx()[all …]
2768 u32 mcr_cur, mcr_new; in mt753x_phylink_mac_config() local2805 mcr_new = mcr_cur; in mt753x_phylink_mac_config()2806 mcr_new &= ~PMCR_LINK_SETTINGS_MASK; in mt753x_phylink_mac_config()2807 mcr_new |= PMCR_IFG_XMIT(1) | PMCR_MAC_MODE | PMCR_BACKOFF_EN | in mt753x_phylink_mac_config()2812 mcr_new |= PMCR_EXT_PHY; in mt753x_phylink_mac_config()2814 if (mcr_new != mcr_cur) in mt753x_phylink_mac_config()2815 mt7530_write(priv, MT7530_PMCR_P(port), mcr_new); in mt753x_phylink_mac_config()