Lines Matching refs:reg_ghc
168 jme->reg_ghc &= ~(GHC_TO_CLK_SRC | GHC_TXMAC_CLK_SRC); in jme_mac_txclk_off()
169 jwrite32f(jme, JME_GHC, jme->reg_ghc); in jme_mac_txclk_off()
175 u32 speed = jme->reg_ghc & GHC_SPEED; in jme_mac_txclk_on()
177 jme->reg_ghc |= GHC_TO_CLK_GPHY | GHC_TXMAC_CLK_GPHY; in jme_mac_txclk_on()
179 jme->reg_ghc |= GHC_TO_CLK_PCIE | GHC_TXMAC_CLK_PCIE; in jme_mac_txclk_on()
180 jwrite32f(jme, JME_GHC, jme->reg_ghc); in jme_mac_txclk_on()
186 jme->reg_ghc &= ~(GHC_SPEED | GHC_DPX); in jme_reset_ghc_speed()
187 jwrite32f(jme, JME_GHC, jme->reg_ghc); in jme_reset_ghc_speed()
201 jme->reg_ghc |= GHC_SWRST; in jme_assert_ghc_reset()
202 jwrite32f(jme, JME_GHC, jme->reg_ghc); in jme_assert_ghc_reset()
208 jme->reg_ghc &= ~GHC_SWRST; in jme_clear_ghc_reset()
209 jwrite32f(jme, JME_GHC, jme->reg_ghc); in jme_clear_ghc_reset()
483 jme->reg_ghc |= GHC_SPEED_10M; in jme_check_link()
487 jme->reg_ghc |= GHC_SPEED_100M; in jme_check_link()
491 jme->reg_ghc |= GHC_SPEED_1000M; in jme_check_link()
501 jme->reg_ghc |= GHC_DPX; in jme_check_link()
510 jwrite32(jme, JME_GHC, jme->reg_ghc); in jme_check_link()
3025 jme->reg_ghc = 0; in jme_init_one()
3074 jme->reg_ghc |= GHC_LINK_POLL; in jme_init_one()