Home
last modified time | relevance | path

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

/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ptp.c219 u32 diff, incval; in ixgbe_ptp_adjfreq() local
228 incval = ACCESS_ONCE(adapter->base_incval); in ixgbe_ptp_adjfreq()
230 freq = incval; in ixgbe_ptp_adjfreq()
234 incval = neg_adj ? (incval - diff) : (incval + diff); in ixgbe_ptp_adjfreq()
238 IXGBE_WRITE_REG(hw, IXGBE_TIMINCA, incval); in ixgbe_ptp_adjfreq()
243 incval); in ixgbe_ptp_adjfreq()
740 u32 incval = 0; in ixgbe_ptp_start_cyclecounter() local
760 incval = IXGBE_INCVAL_100; in ixgbe_ptp_start_cyclecounter()
764 incval = IXGBE_INCVAL_1GB; in ixgbe_ptp_start_cyclecounter()
769 incval = IXGBE_INCVAL_10GB; in ixgbe_ptp_start_cyclecounter()
[all …]
/drivers/net/ethernet/intel/i40e/
Di40e_ptp.c371 u64 incval; in i40e_ptp_set_increment() local
379 incval = I40E_PTP_10GB_INCVAL; in i40e_ptp_set_increment()
382 incval = I40E_PTP_1GB_INCVAL; in i40e_ptp_set_increment()
388 incval = 0; in i40e_ptp_set_increment()
392 incval = I40E_PTP_40GB_INCVAL; in i40e_ptp_set_increment()
400 wr32(hw, I40E_PRTTSYN_INC_L, incval & 0xFFFFFFFF); in i40e_ptp_set_increment()
401 wr32(hw, I40E_PRTTSYN_INC_H, incval >> 32); in i40e_ptp_set_increment()
404 ACCESS_ONCE(pf->ptp_base_adj) = incval; in i40e_ptp_set_increment()