Lines Matching refs:correction
305 s32 correction);
449 s32 correction) in efx_ptp_s_ns_to_ktime_correction() argument
452 if (correction >= 0) in efx_ptp_s_ns_to_ktime_correction()
453 kt = ktime_add_ns(kt, (u64)correction); in efx_ptp_s_ns_to_ktime_correction()
455 kt = ktime_sub_ns(kt, (u64)-correction); in efx_ptp_s_ns_to_ktime_correction()
498 s32 correction) in efx_ptp_s27_to_ktime_correction() argument
501 nic_minor += correction; in efx_ptp_s27_to_ktime_correction()
523 s32 correction) in efx_ptp_s_qns_to_ktime_correction() argument
528 correction = DIV_ROUND_CLOSEST(correction, 4); in efx_ptp_s_qns_to_ktime_correction()
532 if (correction >= 0) in efx_ptp_s_qns_to_ktime_correction()
533 kt = ktime_add_ns(kt, (u64)correction); in efx_ptp_s_qns_to_ktime_correction()
535 kt = ktime_sub_ns(kt, (u64)-correction); in efx_ptp_s_qns_to_ktime_correction()
561 s32 correction) in efx_ptp_mac_nic_to_ktime_correction() argument
604 correction); in efx_ptp_mac_nic_to_ktime_correction()