Lines Matching refs:incval
454 u64 incval; in ixgbe_ptp_adjfine_82599() local
457 incval = READ_ONCE(adapter->base_incval); in ixgbe_ptp_adjfine_82599()
458 incval = adjust_by_scaled_ppm(incval, scaled_ppm); in ixgbe_ptp_adjfine_82599()
462 if (incval > 0xFFFFFFFFULL) in ixgbe_ptp_adjfine_82599()
464 IXGBE_WRITE_REG(hw, IXGBE_TIMINCA, (u32)incval); in ixgbe_ptp_adjfine_82599()
467 if (incval > 0x00FFFFFFULL) in ixgbe_ptp_adjfine_82599()
471 ((u32)incval & 0x00FFFFFFUL)); in ixgbe_ptp_adjfine_82599()
1154 u32 *shift, u32 *incval) in ixgbe_ptp_link_speed_adjust() argument
1173 *incval = IXGBE_INCVAL_100; in ixgbe_ptp_link_speed_adjust()
1177 *incval = IXGBE_INCVAL_1GB; in ixgbe_ptp_link_speed_adjust()
1182 *incval = IXGBE_INCVAL_10GB; in ixgbe_ptp_link_speed_adjust()
1202 u32 incval = 0; in ixgbe_ptp_start_cyclecounter() local
1241 ixgbe_ptp_link_speed_adjust(adapter, &cc.shift, &incval); in ixgbe_ptp_start_cyclecounter()
1242 IXGBE_WRITE_REG(hw, IXGBE_TIMINCA, incval); in ixgbe_ptp_start_cyclecounter()
1247 ixgbe_ptp_link_speed_adjust(adapter, &cc.shift, &incval); in ixgbe_ptp_start_cyclecounter()
1248 incval >>= IXGBE_INCVAL_SHIFT_82599; in ixgbe_ptp_start_cyclecounter()
1251 BIT(IXGBE_INCPER_SHIFT_82599) | incval); in ixgbe_ptp_start_cyclecounter()
1259 WRITE_ONCE(adapter->base_incval, incval); in ixgbe_ptp_start_cyclecounter()