Lines Matching refs:ctrl4
4392 u32 ctrl0, ctrl4; in mvpp2_xlg_config() local
4395 ctrl4 = readl(port->base + MVPP22_XLG_CTRL4_REG); in mvpp2_xlg_config()
4402 ctrl4 &= ~MVPP22_XLG_CTRL4_MACMODSELECT_GMAC; in mvpp2_xlg_config()
4403 ctrl4 |= MVPP22_XLG_CTRL4_FWD_FC | MVPP22_XLG_CTRL4_FWD_PFC | in mvpp2_xlg_config()
4407 writel(ctrl4, port->base + MVPP22_XLG_CTRL4_REG); in mvpp2_xlg_config()
4413 u32 an, ctrl0, ctrl2, ctrl4; in mvpp2_gmac_config() local
4418 ctrl4 = readl(port->base + MVPP22_GMAC_CTRL_4_REG); in mvpp2_gmac_config()
4464 ctrl4 &= ~(MVPP22_CTRL4_EXT_PIN_GMII_SEL | in mvpp2_gmac_config()
4466 ctrl4 |= MVPP22_CTRL4_SYNC_BYPASS_DIS | in mvpp2_gmac_config()
4471 ctrl4 |= MVPP22_CTRL4_TX_FC_EN; in mvpp2_gmac_config()
4473 ctrl4 |= MVPP22_CTRL4_RX_FC_EN; in mvpp2_gmac_config()
4482 ctrl4 &= ~MVPP22_CTRL4_DP_CLK_SEL; in mvpp2_gmac_config()
4483 ctrl4 |= MVPP22_CTRL4_EXT_PIN_GMII_SEL | in mvpp2_gmac_config()
4490 writel(ctrl4, port->base + MVPP22_GMAC_CTRL_4_REG); in mvpp2_gmac_config()