Lines Matching refs:mcr_new
677 u32 mcr_cur, mcr_new; in mtk_mac_finish() local
687 mcr_new = mcr_cur; in mtk_mac_finish()
688 mcr_new |= MAC_MCR_IPG_CFG | MAC_MCR_FORCE_MODE | in mtk_mac_finish()
692 if (mcr_new != mcr_cur) in mtk_mac_finish()
693 mtk_w32(mac->hw, mcr_new, MTK_MAC_MCR(mac->id)); in mtk_mac_finish()
3675 u32 mcr_cur, mcr_new; in mtk_set_mcr_max_rx() local
3681 mcr_new = mcr_cur & ~MAC_MCR_MAX_RX_MASK; in mtk_set_mcr_max_rx()
3684 mcr_new |= MAC_MCR_MAX_RX(MAC_MCR_MAX_RX_1518); in mtk_set_mcr_max_rx()
3686 mcr_new |= MAC_MCR_MAX_RX(MAC_MCR_MAX_RX_1536); in mtk_set_mcr_max_rx()
3688 mcr_new |= MAC_MCR_MAX_RX(MAC_MCR_MAX_RX_1552); in mtk_set_mcr_max_rx()
3690 mcr_new |= MAC_MCR_MAX_RX(MAC_MCR_MAX_RX_2048); in mtk_set_mcr_max_rx()
3692 if (mcr_new != mcr_cur) in mtk_set_mcr_max_rx()
3693 mtk_w32(mac->hw, mcr_new, MTK_MAC_MCR(mac->id)); in mtk_set_mcr_max_rx()