Home
last modified time | relevance | path

Searched refs:incval (Results 1 – 2 of 2) sorted by relevance

/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ptp.c371 u64 freq, incval; in ixgbe_ptp_adjfreq_82599() local
381 incval = ACCESS_ONCE(adapter->base_incval); in ixgbe_ptp_adjfreq_82599()
383 freq = incval; in ixgbe_ptp_adjfreq_82599()
387 incval = neg_adj ? (incval - diff) : (incval + diff); in ixgbe_ptp_adjfreq_82599()
391 if (incval > 0xFFFFFFFFULL) in ixgbe_ptp_adjfreq_82599()
393 IXGBE_WRITE_REG(hw, IXGBE_TIMINCA, (u32)incval); in ixgbe_ptp_adjfreq_82599()
396 if (incval > 0x00FFFFFFULL) in ixgbe_ptp_adjfreq_82599()
400 ((u32)incval & 0x00FFFFFFUL)); in ixgbe_ptp_adjfreq_82599()
1007 u32 *shift, u32 *incval) in ixgbe_ptp_link_speed_adjust() argument
1026 *incval = IXGBE_INCVAL_100; in ixgbe_ptp_link_speed_adjust()
[all …]
/drivers/net/ethernet/intel/i40e/
Di40e_ptp.c381 u64 incval; in i40e_ptp_set_increment() local
389 incval = I40E_PTP_10GB_INCVAL; in i40e_ptp_set_increment()
392 incval = I40E_PTP_1GB_INCVAL; in i40e_ptp_set_increment()
403 incval = 0; in i40e_ptp_set_increment()
408 incval = I40E_PTP_40GB_INCVAL; in i40e_ptp_set_increment()
416 wr32(hw, I40E_PRTTSYN_INC_L, incval & 0xFFFFFFFF); in i40e_ptp_set_increment()
417 wr32(hw, I40E_PRTTSYN_INC_H, incval >> 32); in i40e_ptp_set_increment()
420 ACCESS_ONCE(pf->ptp_base_adj) = incval; in i40e_ptp_set_increment()