Lines Matching refs:kt
455 ktime_t kt = ktime_set(nic_major, nic_minor); in efx_ptp_s_ns_to_ktime_correction() local
457 kt = ktime_add_ns(kt, (u64)correction); in efx_ptp_s_ns_to_ktime_correction()
459 kt = ktime_sub_ns(kt, (u64)-correction); in efx_ptp_s_ns_to_ktime_correction()
460 return kt; in efx_ptp_s_ns_to_ktime_correction()
529 ktime_t kt; in efx_ptp_s_qns_to_ktime_correction() local
534 kt = ktime_set(nic_major, nic_minor); in efx_ptp_s_qns_to_ktime_correction()
537 kt = ktime_add_ns(kt, (u64)correction); in efx_ptp_s_qns_to_ktime_correction()
539 kt = ktime_sub_ns(kt, (u64)-correction); in efx_ptp_s_qns_to_ktime_correction()
540 return kt; in efx_ptp_s_qns_to_ktime_correction()
574 ktime_t kt = { 0 }; in efx_ptp_mac_nic_to_ktime_correction() local
613 kt = ptp->nic_to_kernel_time(nic_major, nic_minor, in efx_ptp_mac_nic_to_ktime_correction()
616 return kt; in efx_ptp_mac_nic_to_ktime_correction()
623 ktime_t kt; in efx_ptp_nic_to_kernel_time() local
626 kt = efx_ptp_mac_nic_to_ktime_correction(efx, ptp, in efx_ptp_nic_to_kernel_time()
631 kt = ptp->nic_to_kernel_time( in efx_ptp_nic_to_kernel_time()
635 return kt; in efx_ptp_nic_to_kernel_time()
2203 ktime_t kt; in efx_phc_gettime() local
2213 kt = ptp_data->nic_to_kernel_time( in efx_phc_gettime()
2216 *ts = ktime_to_timespec64(kt); in efx_phc_gettime()