Lines Matching refs:incval
456 u64 incval; in ixgbe_ptp_adjfine_82599() local
459 incval = READ_ONCE(adapter->base_incval); in ixgbe_ptp_adjfine_82599()
460 incval = adjust_by_scaled_ppm(incval, scaled_ppm); in ixgbe_ptp_adjfine_82599()
464 if (incval > 0xFFFFFFFFULL) in ixgbe_ptp_adjfine_82599()
466 IXGBE_WRITE_REG(hw, IXGBE_TIMINCA, (u32)incval); in ixgbe_ptp_adjfine_82599()
469 if (incval > 0x00FFFFFFULL) in ixgbe_ptp_adjfine_82599()
473 ((u32)incval & 0x00FFFFFFUL)); in ixgbe_ptp_adjfine_82599()
1160 u32 *shift, u32 *incval) in ixgbe_ptp_link_speed_adjust() argument
1179 *incval = IXGBE_INCVAL_100; in ixgbe_ptp_link_speed_adjust()
1183 *incval = IXGBE_INCVAL_1GB; in ixgbe_ptp_link_speed_adjust()
1188 *incval = IXGBE_INCVAL_10GB; in ixgbe_ptp_link_speed_adjust()
1208 u32 incval = 0; in ixgbe_ptp_start_cyclecounter() local
1248 ixgbe_ptp_link_speed_adjust(adapter, &cc.shift, &incval); in ixgbe_ptp_start_cyclecounter()
1249 IXGBE_WRITE_REG(hw, IXGBE_TIMINCA, incval); in ixgbe_ptp_start_cyclecounter()
1254 ixgbe_ptp_link_speed_adjust(adapter, &cc.shift, &incval); in ixgbe_ptp_start_cyclecounter()
1255 incval >>= IXGBE_INCVAL_SHIFT_82599; in ixgbe_ptp_start_cyclecounter()
1258 BIT(IXGBE_INCPER_SHIFT_82599) | incval); in ixgbe_ptp_start_cyclecounter()
1266 WRITE_ONCE(adapter->base_incval, incval); in ixgbe_ptp_start_cyclecounter()