Lines Matching full:adjustment

1721  * Program the port for an atomic adjustment by writing the Tx and Rx timer
1722 * registers. The atomic adjustment won't be completed until the driver issues
1773 * ice_ptp_prep_phy_adj_eth56g - Prep PHY ports for a time adjustment
1775 * @adj: adjustment in nanoseconds
1777 * Prepare the PHY ports for an atomic time adjustment by programming the PHY
1778 * Tx and Rx port registers. The actual adjustment is completed by issuing an
1790 /* The port clock supports adjustment of the sub-nanosecond portion of in ice_ptp_prep_phy_adj_eth56g()
1791 * the clock (lowest 32 bits). We shift the provided adjustment in in ice_ptp_prep_phy_adj_eth56g()
1792 * nanoseconds by 32 to calculate the appropriate adjustment to program in ice_ptp_prep_phy_adj_eth56g()
1809 * ice_ptp_prep_phy_incval_eth56g - Prepare PHY ports for time adjustment
2455 * Perform an adjustment to ensure that the PHY and PHC timers are in sync.
2484 * Note that the port adjustment is done using 2s complement in ice_sync_phy_timer_eth56g()
2501 /* Issue the sync to activate the time adjustment */ in ice_sync_phy_timer_eth56g()
3396 * Program the port for an atomic adjustment by writing the Tx and Rx timer
3397 * registers. The atomic adjustment won't be completed until the driver issues
3445 * ice_ptp_prep_phy_adj_e82x - Prep PHY ports for a time adjustment
3447 * @adj: adjustment in nanoseconds
3449 * Prepare the PHY ports for an atomic time adjustment by programming the PHY
3450 * Tx and Rx port registers. The actual adjustment is completed by issuing an
3459 /* The port clock supports adjustment of the sub-nanosecond portion of in ice_ptp_prep_phy_adj_e82x()
3460 * the clock. We shift the provided adjustment in nanoseconds to in ice_ptp_prep_phy_adj_e82x()
3461 * calculate the appropriate adjustment to program into the PHY ports. in ice_ptp_prep_phy_adj_e82x()
3480 * ice_ptp_prep_phy_incval_e82x - Prepare PHY ports for time adjustment
4012 * calculation of the adjustment using integer arithmetic.
4105 * ice_phy_calc_pmd_adj_e82x - Calculate PMD adjustment for Rx
4112 * Calculates the adjustment to Rx timestamps due to PMD alignment in the PHY.
4141 /* The PMD alignment adjustment measurement depends on the link speed, in ice_phy_calc_pmd_adj_e82x()
4143 * adjustment is calculated by dividing a value by the length of in ice_phy_calc_pmd_adj_e82x()
4187 ice_debug(hw, ICE_DBG_PTP, "Unknown link speed %d, skipping PMD adjustment\n", in ice_phy_calc_pmd_adj_e82x()
4198 /* Calculate the adjustment by multiplying TUs per second by the in ice_phy_calc_pmd_adj_e82x()
4207 /* Finally, for 25G-RS and 50G-RS, a further adjustment for the Rx in ice_phy_calc_pmd_adj_e82x()
4256 /* Return the calculated adjustment */ in ice_phy_calc_pmd_adj_e82x()
4315 * calculation of the adjustment using integer arithmetic.
4387 /* For RS-FEC, this adjustment adds delay, but for other modes, it in ice_phy_cfg_rx_offset_e82x()
4510 * Perform an adjustment to ensure that the PHY and PHC timers are in sync.
4534 * Note that the port adjustment is done using 2s complement in ice_sync_phy_timer_e82x()
4552 /* Issue the sync to activate the time adjustment */ in ice_sync_phy_timer_e82x()
5101 * ice_ptp_prep_phy_adj_ll_e810 - Prep PHY ports for a time adjustment
5103 * @adj: adjustment value to program
5105 * Use the low latency firmware interface to program PHY time adjustment to
5139 …ice_debug(hw, ICE_DBG_PTP, "Failed to prepare PHY timer adjustment using low latency interface\n"); in ice_ptp_prep_phy_adj_ll_e810()
5150 * ice_ptp_prep_phy_adj_e810 - Prep PHY port for a time adjustment
5152 * @adj: adjustment value to program
5154 * Prepare the PHY port for an atomic adjustment by programming the PHY
5155 * ETH_GLTSYN_SHADJ_L and ETH_GLTSYN_SHADJ_H registers. The actual adjustment
5158 * The adjustment value only contains the portion used for the upper 32bits of
5173 * nanoseconds. Sub-nanosecond adjustment is not supported. in ice_ptp_prep_phy_adj_e810()
5877 * @adj: Adjustment in nanoseconds
5879 * Perform an atomic adjustment of the PHC time by the specified number of
5882 * 1) Write the adjustment to the source timer shadow registers
5883 * 2) Write the adjustment to the PHY timer shadow registers
5885 * adjustment to both the source and port timers at the next clock cycle.
5894 /* Write the desired clock adjustment into the GLTSYN_SHADJ register. in ice_ptp_adj_clock()