Lines Matching +full:loss +full:- +full:of +full:- +full:lock
1 // SPDX-License-Identifier: GPL-2.0
7 * WingMan Kwok <w-kwok2@ti.com>
17 /* PCS-R registers */
25 /* bit mask of width w at offset s */
26 #define MASK_WID_SH(w, s) (((1 << w) - 1) << s)
219 ret = -ETIMEDOUT; in netcp_xgbe_wait_pll_locked()
258 /* For 2 lane Phy-B, lane0 is actually lane1 */ in netcp_xgbe_serdes_write_tbus_addr()
314 int loss, i, status = 1; in netcp_xgbe_check_link_status() local
317 /* Get the Loss bit */ in netcp_xgbe_check_link_status()
318 loss = readl(serdes_regs + 0x1fc0 + 0x20 + (i * 0x04)) & 0x1; in netcp_xgbe_check_link_status()
320 /* Get Block Errors and Block Lock bits */ in netcp_xgbe_check_link_status()
334 /* if good link lock the signal detect ON! */ in netcp_xgbe_check_link_status()
335 if (!loss && blk_lock) { in netcp_xgbe_check_link_status()
341 /* if no lock, then reset CDR */ in netcp_xgbe_check_link_status()
361 /* Lost the block lock, reset CDR if it is in netcp_xgbe_check_link_status()
420 return -ETIMEDOUT; in netcp_xgbe_serdes_check_lane()
465 /* This is EVM + RTM-BOC specific */ in netcp_xgbe_serdes_config()
490 pr_debug("XGBE: serdes already in operation - reset\n"); in netcp_xgbe_serdes_init()