Lines Matching refs:incval
454 u64 incval, diff; in ixgbe_ptp_adjfine_82599() local
463 incval = READ_ONCE(adapter->base_incval); in ixgbe_ptp_adjfine_82599()
465 diff = mul_u64_u64_div_u64(incval, scaled_ppm, in ixgbe_ptp_adjfine_82599()
468 incval = neg_adj ? (incval - diff) : (incval + diff); in ixgbe_ptp_adjfine_82599()
472 if (incval > 0xFFFFFFFFULL) in ixgbe_ptp_adjfine_82599()
474 IXGBE_WRITE_REG(hw, IXGBE_TIMINCA, (u32)incval); in ixgbe_ptp_adjfine_82599()
477 if (incval > 0x00FFFFFFULL) in ixgbe_ptp_adjfine_82599()
481 ((u32)incval & 0x00FFFFFFUL)); in ixgbe_ptp_adjfine_82599()
1168 u32 *shift, u32 *incval) in ixgbe_ptp_link_speed_adjust() argument
1187 *incval = IXGBE_INCVAL_100; in ixgbe_ptp_link_speed_adjust()
1191 *incval = IXGBE_INCVAL_1GB; in ixgbe_ptp_link_speed_adjust()
1196 *incval = IXGBE_INCVAL_10GB; in ixgbe_ptp_link_speed_adjust()
1216 u32 incval = 0; in ixgbe_ptp_start_cyclecounter() local
1255 ixgbe_ptp_link_speed_adjust(adapter, &cc.shift, &incval); in ixgbe_ptp_start_cyclecounter()
1256 IXGBE_WRITE_REG(hw, IXGBE_TIMINCA, incval); in ixgbe_ptp_start_cyclecounter()
1261 ixgbe_ptp_link_speed_adjust(adapter, &cc.shift, &incval); in ixgbe_ptp_start_cyclecounter()
1262 incval >>= IXGBE_INCVAL_SHIFT_82599; in ixgbe_ptp_start_cyclecounter()
1265 BIT(IXGBE_INCPER_SHIFT_82599) | incval); in ixgbe_ptp_start_cyclecounter()
1273 WRITE_ONCE(adapter->base_incval, incval); in ixgbe_ptp_start_cyclecounter()