Searched refs:incval (Results 1 – 5 of 5) sorted by relevance
/linux-6.1.9/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_ptp.c | 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() [all …]
|
/linux-6.1.9/drivers/net/ethernet/intel/ice/ |
D | ice_ptp_hw.c | 1140 ice_ptp_prep_phy_incval_e822(struct ice_hw *hw, u64 incval) in ice_ptp_prep_phy_incval_e822() argument 1147 incval); in ice_ptp_prep_phy_incval_e822() 2342 u64 incval; in ice_start_phy_timer_e822() local 2364 incval = (u64)hi << 32 | lo; in ice_start_phy_timer_e822() 2366 err = ice_write_40b_phy_reg_e822(hw, port, P_REG_TIMETUS_L, incval); in ice_start_phy_timer_e822() 2861 static int ice_ptp_prep_phy_incval_e810(struct ice_hw *hw, u64 incval) in ice_ptp_prep_phy_incval_e810() argument 2868 low = lower_32_bits(incval); in ice_ptp_prep_phy_incval_e810() 2869 high = upper_32_bits(incval); in ice_ptp_prep_phy_incval_e810() 3080 int ice_ptp_write_incval(struct ice_hw *hw, u64 incval) in ice_ptp_write_incval() argument 3088 wr32(hw, GLTSYN_SHADJ_L(tmr_idx), lower_32_bits(incval)); in ice_ptp_write_incval() [all …]
|
D | ice_ptp.c | 1049 u64 incval; in ice_base_incval() local 1052 incval = ICE_PTP_NOMINAL_INCVAL_E810; in ice_base_incval() 1054 incval = ice_e822_nominal_incval(ice_e822_time_ref(hw)); in ice_base_incval() 1056 incval = UNKNOWN_INCVAL_E822; in ice_base_incval() 1059 incval); in ice_base_incval() 1061 return incval; in ice_base_incval() 1452 u64 incval, diff; in ice_ptp_adjfine() local 1456 incval = ice_base_incval(pf); in ice_ptp_adjfine() 1463 diff = mul_u64_u64_div_u64(incval, (u64)scaled_ppm, in ice_ptp_adjfine() 1466 incval -= diff; in ice_ptp_adjfine() [all …]
|
D | ice_ptp_hw.h | 131 int ice_ptp_write_incval(struct ice_hw *hw, u64 incval); 132 int ice_ptp_write_incval_locked(struct ice_hw *hw, u64 incval);
|
/linux-6.1.9/drivers/net/ethernet/intel/i40e/ |
D | i40e_ptp.c | 872 u64 incval; in i40e_ptp_set_increment() local 910 incval = I40E_PTP_40GB_INCVAL * mult; in i40e_ptp_set_increment() 916 wr32(hw, I40E_PRTTSYN_INC_L, incval & 0xFFFFFFFF); in i40e_ptp_set_increment() 917 wr32(hw, I40E_PRTTSYN_INC_H, incval >> 32); in i40e_ptp_set_increment()
|