Lines Matching full:adjustment
1205 * Program the port for an atomic adjustment by writing the Tx and Rx timer
1206 * registers. The atomic adjustment won't be completed until the driver issues
1257 * ice_ptp_prep_phy_adj_eth56g - Prep PHY ports for a time adjustment
1259 * @adj: adjustment in nanoseconds
1261 * Prepare the PHY ports for an atomic time adjustment by programming the PHY
1262 * Tx and Rx port registers. The actual adjustment is completed by issuing an
1274 /* The port clock supports adjustment of the sub-nanosecond portion of in ice_ptp_prep_phy_adj_eth56g()
1275 * the clock (lowest 32 bits). We shift the provided adjustment in in ice_ptp_prep_phy_adj_eth56g()
1276 * nanoseconds by 32 to calculate the appropriate adjustment to program in ice_ptp_prep_phy_adj_eth56g()
1293 * ice_ptp_prep_phy_incval_eth56g - Prepare PHY ports for time adjustment
1945 * Perform an adjustment to ensure that the PHY and PHC timers are in sync.
1974 * Note that the port adjustment is done using 2s complement in ice_sync_phy_timer_eth56g()
1991 /* Issue the sync to activate the time adjustment */ in ice_sync_phy_timer_eth56g()
2843 * Program the port for an atomic adjustment by writing the Tx and Rx timer
2844 * registers. The atomic adjustment won't be completed until the driver issues
2892 * ice_ptp_prep_phy_adj_e82x - Prep PHY ports for a time adjustment
2894 * @adj: adjustment in nanoseconds
2896 * Prepare the PHY ports for an atomic time adjustment by programming the PHY
2897 * Tx and Rx port registers. The actual adjustment is completed by issuing an
2906 /* The port clock supports adjustment of the sub-nanosecond portion of in ice_ptp_prep_phy_adj_e82x()
2907 * the clock. We shift the provided adjustment in nanoseconds to in ice_ptp_prep_phy_adj_e82x()
2908 * calculate the appropriate adjustment to program into the PHY ports. in ice_ptp_prep_phy_adj_e82x()
2927 * ice_ptp_prep_phy_incval_e82x - Prepare PHY ports for time adjustment
3459 * calculation of the adjustment using integer arithmetic.
3552 * ice_phy_calc_pmd_adj_e82x - Calculate PMD adjustment for Rx
3559 * Calculates the adjustment to Rx timestamps due to PMD alignment in the PHY.
3588 /* The PMD alignment adjustment measurement depends on the link speed, in ice_phy_calc_pmd_adj_e82x()
3590 * adjustment is calculated by dividing a value by the length of in ice_phy_calc_pmd_adj_e82x()
3634 ice_debug(hw, ICE_DBG_PTP, "Unknown link speed %d, skipping PMD adjustment\n", in ice_phy_calc_pmd_adj_e82x()
3645 /* Calculate the adjustment by multiplying TUs per second by the in ice_phy_calc_pmd_adj_e82x()
3654 /* Finally, for 25G-RS and 50G-RS, a further adjustment for the Rx in ice_phy_calc_pmd_adj_e82x()
3703 /* Return the calculated adjustment */ in ice_phy_calc_pmd_adj_e82x()
3762 * calculation of the adjustment using integer arithmetic.
3834 /* For RS-FEC, this adjustment adds delay, but for other modes, it in ice_phy_cfg_rx_offset_e82x()
3957 * Perform an adjustment to ensure that the PHY and PHC timers are in sync.
3981 * Note that the port adjustment is done using 2s complement in ice_sync_phy_timer_e82x()
3999 /* Issue the sync to activate the time adjustment */ in ice_sync_phy_timer_e82x()
4547 * ice_ptp_prep_phy_adj_ll_e810 - Prep PHY ports for a time adjustment
4549 * @adj: adjustment value to program
4551 * Use the low latency firmware interface to program PHY time adjustment to
4585 …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()
4596 * ice_ptp_prep_phy_adj_e810 - Prep PHY port for a time adjustment
4598 * @adj: adjustment value to program
4600 * Prepare the PHY port for an atomic adjustment by programming the PHY
4601 * ETH_GLTSYN_SHADJ_L and ETH_GLTSYN_SHADJ_H registers. The actual adjustment
4604 * The adjustment value only contains the portion used for the upper 32bits of
4619 * nanoseconds. Sub-nanosecond adjustment is not supported. in ice_ptp_prep_phy_adj_e810()
5372 * @adj: Adjustment in nanoseconds
5374 * Perform an atomic adjustment of the PHC time by the specified number of
5377 * 1) Write the adjustment to the source timer shadow registers
5378 * 2) Write the adjustment to the PHY timer shadow registers
5380 * adjustment to both the source and port timers at the next clock cycle.
5389 /* Write the desired clock adjustment into the GLTSYN_SHADJ register. in ice_ptp_adj_clock()