Searched refs:bitslip (Results 1 – 1 of 1) sorted by relevance
1659 u32 bitslip; in ice_ptp_calc_bitslip_eth56g() local1667 &bitslip); in ice_ptp_calc_bitslip_eth56g()1673 err = ice_read_quad_ptp_reg_eth56g(hw, port, addr, &bitslip); in ice_ptp_calc_bitslip_eth56g()1678 if (spd == ICE_ETH56G_LNK_SPD_1G && !bitslip) { in ice_ptp_calc_bitslip_eth56g()1682 bitslip = 10; in ice_ptp_calc_bitslip_eth56g()1686 bitslip = bitslip * 2 + 32; in ice_ptp_calc_bitslip_eth56g()1688 bitslip = (u32)((s32)bitslip * -1 + 20); in ice_ptp_calc_bitslip_eth56g()1691 bitslip <<= ICE_ETH56G_MAC_CFG_FRAC_W; in ice_ptp_calc_bitslip_eth56g()1692 return mul_u32_u32_fx_q9(bitslip, bs); in ice_ptp_calc_bitslip_eth56g()