Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ptp.c454 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()
[all …]
/linux-6.12.1/drivers/net/ethernet/intel/ice/
Dice_ptp_hw.c1739 static int ice_ptp_prep_phy_incval_eth56g(struct ice_hw *hw, u64 incval) in ice_ptp_prep_phy_incval_eth56g() argument
1747 incval); in ice_ptp_prep_phy_incval_eth56g()
2488 u64 incval; in ice_start_phy_timer_eth56g() local
2514 incval = (u64)hi << 32 | lo; in ice_start_phy_timer_eth56g()
2516 err = ice_write_40b_ptp_reg_eth56g(hw, port, PHY_REG_TIMETUS_L, incval); in ice_start_phy_timer_eth56g()
3446 ice_ptp_prep_phy_incval_e82x(struct ice_hw *hw, u64 incval) in ice_ptp_prep_phy_incval_e82x() argument
3453 incval); in ice_ptp_prep_phy_incval_e82x()
4597 u64 incval; in ice_start_phy_timer_e82x() local
4619 incval = (u64)hi << 32 | lo; in ice_start_phy_timer_e82x()
4621 err = ice_write_40b_phy_reg_e82x(hw, port, P_REG_TIMETUS_L, incval); in ice_start_phy_timer_e82x()
[all …]
Dice_ptp_hw.h337 int ice_ptp_write_incval(struct ice_hw *hw, u64 incval);
338 int ice_ptp_write_incval_locked(struct ice_hw *hw, u64 incval);
Dice_ptp.c1231 u64 incval; in ice_base_incval() local
1233 incval = ice_get_base_incval(hw); in ice_base_incval()
1236 incval); in ice_base_incval()
1238 return incval; in ice_base_incval()
1600 u64 incval; in ice_ptp_adjfine() local
1603 incval = adjust_by_scaled_ppm(ice_base_incval(pf), scaled_ppm); in ice_ptp_adjfine()
1604 err = ice_ptp_write_incval_locked(hw, incval); in ice_ptp_adjfine()
/linux-6.12.1/drivers/net/ethernet/intel/i40e/
Di40e_ptp.c862 u64 incval; in i40e_ptp_set_increment() local
900 incval = I40E_PTP_40GB_INCVAL * mult; in i40e_ptp_set_increment()
906 wr32(hw, I40E_PRTTSYN_INC_L, incval & 0xFFFFFFFF); in i40e_ptp_set_increment()
907 wr32(hw, I40E_PRTTSYN_INC_H, incval >> 32); in i40e_ptp_set_increment()