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()230 static void netcp_xgbe_serdes_enable_xgmii_port(void __iomem *sw_regs) in netcp_xgbe_serdes_enable_xgmii_port() argument232 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() argument402 link_up = netcp_xgbe_check_link_status(serdes_regs, sw_regs, 2, in netcp_xgbe_serdes_check_lane()454 void __iomem *sw_regs) in netcp_xgbe_serdes_config() argument[all …]