Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/intel/ixgbe/
H A 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/drivers/net/ethernet/intel/ice/
H A Dice_ptp_hw.c1821 static int ice_ptp_prep_phy_incval_eth56g(struct ice_hw *hw, u64 incval) in ice_ptp_prep_phy_incval_eth56g() argument
1829 incval); in ice_ptp_prep_phy_incval_eth56g()
2567 u64 incval; in ice_start_phy_timer_eth56g() local
2593 incval = (u64)hi << 32 | lo; in ice_start_phy_timer_eth56g()
2595 err = ice_write_40b_ptp_reg_eth56g(hw, port, PHY_REG_TIMETUS_L, incval); in ice_start_phy_timer_eth56g()
3489 ice_ptp_prep_phy_incval_e82x(struct ice_hw *hw, u64 incval) in ice_ptp_prep_phy_incval_e82x() argument
3496 incval); in ice_ptp_prep_phy_incval_e82x()
4640 u64 incval; in ice_start_phy_timer_e82x() local
4662 incval = (u64)hi << 32 | lo; in ice_start_phy_timer_e82x()
4664 err = ice_write_40b_phy_reg_e82x(hw, port, P_REG_TIMETUS_L, incval); in ice_start_phy_timer_e82x()
[all …]
H A Dice_ptp_hw.h335 int ice_ptp_write_incval(struct ice_hw *hw, u64 incval);
336 int ice_ptp_write_incval_locked(struct ice_hw *hw, u64 incval);
H A Dice_ptp.c1191 u64 incval; in ice_base_incval() local
1193 incval = ice_get_base_incval(hw); in ice_base_incval()
1196 incval); in ice_base_incval()
1198 return incval; in ice_base_incval()
1551 u64 incval; in ice_ptp_adjfine() local
1554 incval = adjust_by_scaled_ppm(ice_base_incval(pf), scaled_ppm); in ice_ptp_adjfine()
1555 err = ice_ptp_write_incval_locked(hw, incval); in ice_ptp_adjfine()
/linux/drivers/net/ethernet/intel/i40e/
H A 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()