Searched refs:sw_regs (Results 1 – 1 of 1) sorted by relevance
204 static int netcp_xgbe_wait_pll_locked(void __iomem *sw_regs) in netcp_xgbe_wait_pll_locked() argument212 val_0 = (readl(sw_regs + XGBE_SGMII_1_OFFSET) & BIT(4)); in netcp_xgbe_wait_pll_locked()213 val_1 = (readl(sw_regs + XGBE_SGMII_2_OFFSET) & BIT(4)); in netcp_xgbe_wait_pll_locked()232 writel(0x03, sw_regs + XGBE_CTRL_OFFSET); in netcp_xgbe_serdes_enable_xgmii_port()308 void __iomem *sw_regs, u32 lanes, in netcp_xgbe_check_link_status() argument311 void __iomem *pcsr_base = sw_regs + 0x0600; in netcp_xgbe_check_link_status()392 void __iomem *sw_regs) in netcp_xgbe_serdes_check_lane() argument454 void __iomem *sw_regs) in netcp_xgbe_serdes_config() argument474 ret = netcp_xgbe_wait_pll_locked(sw_regs); in netcp_xgbe_serdes_config()478 netcp_xgbe_serdes_enable_xgmii_port(sw_regs); in netcp_xgbe_serdes_config()[all …]