Searched refs:bitslip (Results 1 – 1 of 1) sorted by relevance
1696 u32 bitslip; in ice_ptp_calc_bitslip_eth56g() local1704 &bitslip); in ice_ptp_calc_bitslip_eth56g()1710 err = ice_read_quad_ptp_reg_eth56g(hw, port, addr, &bitslip); in ice_ptp_calc_bitslip_eth56g()1715 if (spd == ICE_ETH56G_LNK_SPD_1G && !bitslip) { in ice_ptp_calc_bitslip_eth56g()1719 bitslip = 10; in ice_ptp_calc_bitslip_eth56g()1723 bitslip = bitslip * 2 + 32; in ice_ptp_calc_bitslip_eth56g()1725 bitslip = (u32)((s32)bitslip * -1 + 20); in ice_ptp_calc_bitslip_eth56g()1728 bitslip <<= ICE_ETH56G_MAC_CFG_FRAC_W; in ice_ptp_calc_bitslip_eth56g()1729 return mul_u32_u32_fx_q9(bitslip, bs); in ice_ptp_calc_bitslip_eth56g()