Searched refs:mcr_cur (Results 1 – 2 of 2) sorted by relevance
667 u32 mcr_cur, mcr_new; in mtk_mac_finish() local676 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() local3642 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()
2768 u32 mcr_cur, mcr_new; in mt753x_phylink_mac_config() local2804 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()