Searched refs:MTK_FE_LINK_DOWN_P (Results 1 – 2 of 2) sorted by relevance
4123 val = mtk_r32(eth, MTK_FE_GLO_CFG(i)) | MTK_FE_LINK_DOWN_P(PSE_PPE0_PORT); in mtk_prepare_for_reset()4125 val |= MTK_FE_LINK_DOWN_P(PSE_PPE1_PORT); in mtk_prepare_for_reset()4127 val |= MTK_FE_LINK_DOWN_P(PSE_PPE2_PORT); in mtk_prepare_for_reset()4194 val = mtk_r32(eth, MTK_FE_GLO_CFG(i)) & ~MTK_FE_LINK_DOWN_P(PSE_PPE0_PORT); in mtk_pending_work()4196 val &= ~MTK_FE_LINK_DOWN_P(PSE_PPE1_PORT); in mtk_pending_work()4198 val &= ~MTK_FE_LINK_DOWN_P(PSE_PPE2_PORT); in mtk_pending_work()
82 #define MTK_FE_LINK_DOWN_P(x) BIT(((x) + 8) % 16) macro