Lines Matching refs:ctrl4
4910 u32 old_ctrl4, ctrl4; in mvpp2_xlg_config() local
4913 old_ctrl4 = ctrl4 = readl(port->base + MVPP22_XLG_CTRL4_REG); in mvpp2_xlg_config()
4927 ctrl4 &= ~(MVPP22_XLG_CTRL4_MACMODSELECT_GMAC | in mvpp2_xlg_config()
4929 ctrl4 |= MVPP22_XLG_CTRL4_FWD_FC | MVPP22_XLG_CTRL4_FWD_PFC; in mvpp2_xlg_config()
4933 if (old_ctrl4 != ctrl4) in mvpp2_xlg_config()
4934 writel(ctrl4, port->base + MVPP22_XLG_CTRL4_REG); in mvpp2_xlg_config()
4949 u32 old_ctrl4, ctrl4; in mvpp2_gmac_config() local
4954 old_ctrl4 = ctrl4 = readl(port->base + MVPP22_GMAC_CTRL_4_REG); in mvpp2_gmac_config()
4964 ctrl4 &= ~(MVPP22_CTRL4_RX_FC_EN | MVPP22_CTRL4_TX_FC_EN); in mvpp2_gmac_config()
4969 ctrl4 &= ~MVPP22_CTRL4_EXT_PIN_GMII_SEL; in mvpp2_gmac_config()
4970 ctrl4 |= MVPP22_CTRL4_SYNC_BYPASS_DIS | in mvpp2_gmac_config()
4975 ctrl4 &= ~MVPP22_CTRL4_EXT_PIN_GMII_SEL; in mvpp2_gmac_config()
4976 ctrl4 |= MVPP22_CTRL4_SYNC_BYPASS_DIS | in mvpp2_gmac_config()
4980 ctrl4 &= ~MVPP22_CTRL4_DP_CLK_SEL; in mvpp2_gmac_config()
4981 ctrl4 |= MVPP22_CTRL4_EXT_PIN_GMII_SEL | in mvpp2_gmac_config()
5004 ctrl4 |= MVPP22_CTRL4_TX_FC_EN; in mvpp2_gmac_config()
5006 ctrl4 |= MVPP22_CTRL4_RX_FC_EN; in mvpp2_gmac_config()
5016 ctrl4 |= MVPP22_CTRL4_TX_FC_EN; in mvpp2_gmac_config()
5018 ctrl4 |= MVPP22_CTRL4_RX_FC_EN; in mvpp2_gmac_config()
5035 ctrl4 |= MVPP22_CTRL4_TX_FC_EN; in mvpp2_gmac_config()
5037 ctrl4 |= MVPP22_CTRL4_RX_FC_EN; in mvpp2_gmac_config()
5070 if (old_ctrl4 != ctrl4) in mvpp2_gmac_config()
5071 writel(ctrl4, port->base + MVPP22_GMAC_CTRL_4_REG); in mvpp2_gmac_config()