Searched refs:gemac_base (Results 1 – 3 of 3) sorted by relevance
37 static inline void pfe_gemac_enable(void *gemac_base) in pfe_gemac_enable() argument39 writel(readl(gemac_base + EMAC_ECNTRL_REG) | in pfe_gemac_enable()40 EMAC_ECNTRL_ETHER_EN, gemac_base + EMAC_ECNTRL_REG); in pfe_gemac_enable()43 static inline void pfe_gemac_disable(void *gemac_base) in pfe_gemac_disable() argument45 writel(readl(gemac_base + EMAC_ECNTRL_REG) & in pfe_gemac_disable()46 ~EMAC_ECNTRL_ETHER_EN, gemac_base + EMAC_ECNTRL_REG); in pfe_gemac_disable()49 static inline void pfe_gemac_set_speed(void *gemac_base, u32 speed) in pfe_gemac_set_speed() argument52 u32 ecr = readl(gemac_base + EMAC_ECNTRL_REG) & ~EMAC_ECNTRL_SPEED; in pfe_gemac_set_speed()53 u32 rcr = readl(gemac_base + EMAC_RCNTRL_REG) & ~EMAC_RCNTRL_RMII_10T; in pfe_gemac_set_speed()65 writel(ecr, gemac_base + EMAC_ECNTRL_REG); in pfe_gemac_set_speed()[all …]
168 bus.priv = gem_info[priv->gemac_port].gemac_base; in pfe_configure_serdes()
65 void *gemac_base; member