Searched refs:bitslip (Results 1 – 1 of 1) sorted by relevance
1634 u32 bitslip; in ice_ptp_calc_bitslip_eth56g() local1642 &bitslip); in ice_ptp_calc_bitslip_eth56g()1648 err = ice_read_quad_ptp_reg_eth56g(hw, port, addr, &bitslip); in ice_ptp_calc_bitslip_eth56g()1653 if (spd == ICE_ETH56G_LNK_SPD_1G && !bitslip) { in ice_ptp_calc_bitslip_eth56g()1657 bitslip = 10; in ice_ptp_calc_bitslip_eth56g()1661 bitslip = bitslip * 2 + 32; in ice_ptp_calc_bitslip_eth56g()1663 bitslip = (u32)((s32)bitslip * -1 + 20); in ice_ptp_calc_bitslip_eth56g()1666 bitslip <<= ICE_ETH56G_MAC_CFG_FRAC_W; in ice_ptp_calc_bitslip_eth56g()1667 return mul_u32_u32_fx_q9(bitslip, bs); in ice_ptp_calc_bitslip_eth56g()