Lines Matching full:adjustment
1732 * Program the port for an atomic adjustment by writing the Tx and Rx timer
1733 * registers. The atomic adjustment won't be completed until the driver issues
1784 * ice_ptp_prep_phy_adj_eth56g - Prep PHY ports for a time adjustment
1786 * @adj: adjustment in nanoseconds
1788 * Prepare the PHY ports for an atomic time adjustment by programming the PHY
1789 * Tx and Rx port registers. The actual adjustment is completed by issuing an
1801 /* The port clock supports adjustment of the sub-nanosecond portion of in ice_ptp_prep_phy_adj_eth56g()
1802 * the clock (lowest 32 bits). We shift the provided adjustment in in ice_ptp_prep_phy_adj_eth56g()
1803 * nanoseconds by 32 to calculate the appropriate adjustment to program in ice_ptp_prep_phy_adj_eth56g()
1820 * ice_ptp_prep_phy_incval_eth56g - Prepare PHY ports for time adjustment
2466 * Perform an adjustment to ensure that the PHY and PHC timers are in sync.
2495 * Note that the port adjustment is done using 2s complement in ice_sync_phy_timer_eth56g()
2512 /* Issue the sync to activate the time adjustment */ in ice_sync_phy_timer_eth56g()
3401 * Program the port for an atomic adjustment by writing the Tx and Rx timer
3402 * registers. The atomic adjustment won't be completed until the driver issues
3450 * ice_ptp_prep_phy_adj_e82x - Prep PHY ports for a time adjustment
3452 * @adj: adjustment in nanoseconds
3454 * Prepare the PHY ports for an atomic time adjustment by programming the PHY
3455 * Tx and Rx port registers. The actual adjustment is completed by issuing an
3464 /* The port clock supports adjustment of the sub-nanosecond portion of in ice_ptp_prep_phy_adj_e82x()
3465 * the clock. We shift the provided adjustment in nanoseconds to in ice_ptp_prep_phy_adj_e82x()
3466 * calculate the appropriate adjustment to program into the PHY ports. in ice_ptp_prep_phy_adj_e82x()
3485 * ice_ptp_prep_phy_incval_e82x - Prepare PHY ports for time adjustment
4017 * calculation of the adjustment using integer arithmetic.
4110 * ice_phy_calc_pmd_adj_e82x - Calculate PMD adjustment for Rx
4117 * Calculates the adjustment to Rx timestamps due to PMD alignment in the PHY.
4146 /* The PMD alignment adjustment measurement depends on the link speed, in ice_phy_calc_pmd_adj_e82x()
4148 * adjustment is calculated by dividing a value by the length of in ice_phy_calc_pmd_adj_e82x()
4192 ice_debug(hw, ICE_DBG_PTP, "Unknown link speed %d, skipping PMD adjustment\n", in ice_phy_calc_pmd_adj_e82x()
4203 /* Calculate the adjustment by multiplying TUs per second by the in ice_phy_calc_pmd_adj_e82x()
4212 /* Finally, for 25G-RS and 50G-RS, a further adjustment for the Rx in ice_phy_calc_pmd_adj_e82x()
4261 /* Return the calculated adjustment */ in ice_phy_calc_pmd_adj_e82x()
4320 * calculation of the adjustment using integer arithmetic.
4392 /* For RS-FEC, this adjustment adds delay, but for other modes, it in ice_phy_cfg_rx_offset_e82x()
4515 * Perform an adjustment to ensure that the PHY and PHC timers are in sync.
4539 * Note that the port adjustment is done using 2s complement in ice_sync_phy_timer_e82x()
4557 /* Issue the sync to activate the time adjustment */ in ice_sync_phy_timer_e82x()
5105 * ice_ptp_prep_phy_adj_ll_e810 - Prep PHY ports for a time adjustment
5107 * @adj: adjustment value to program
5109 * Use the low latency firmware interface to program PHY time adjustment to
5143 …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()
5154 * ice_ptp_prep_phy_adj_e810 - Prep PHY port for a time adjustment
5156 * @adj: adjustment value to program
5158 * Prepare the PHY port for an atomic adjustment by programming the PHY
5159 * ETH_GLTSYN_SHADJ_L and ETH_GLTSYN_SHADJ_H registers. The actual adjustment
5162 * The adjustment value only contains the portion used for the upper 32bits of
5177 * nanoseconds. Sub-nanosecond adjustment is not supported. in ice_ptp_prep_phy_adj_e810()
5930 * @adj: Adjustment in nanoseconds
5932 * Perform an atomic adjustment of the PHC time by the specified number of
5935 * 1) Write the adjustment to the source timer shadow registers
5936 * 2) Write the adjustment to the PHY timer shadow registers
5938 * adjustment to both the source and port timers at the next clock cycle.
5947 /* Write the desired clock adjustment into the GLTSYN_SHADJ register. in ice_ptp_adj_clock()