Lines Matching refs:kt
452 ktime_t kt = ktime_set(nic_major, nic_minor); in efx_ptp_s_ns_to_ktime_correction() local
454 kt = ktime_add_ns(kt, (u64)correction); in efx_ptp_s_ns_to_ktime_correction()
456 kt = ktime_sub_ns(kt, (u64)-correction); in efx_ptp_s_ns_to_ktime_correction()
457 return kt; in efx_ptp_s_ns_to_ktime_correction()
526 ktime_t kt; in efx_ptp_s_qns_to_ktime_correction() local
531 kt = ktime_set(nic_major, nic_minor); in efx_ptp_s_qns_to_ktime_correction()
534 kt = ktime_add_ns(kt, (u64)correction); in efx_ptp_s_qns_to_ktime_correction()
536 kt = ktime_sub_ns(kt, (u64)-correction); in efx_ptp_s_qns_to_ktime_correction()
537 return kt; in efx_ptp_s_qns_to_ktime_correction()
571 ktime_t kt = { 0 }; in efx_ptp_mac_nic_to_ktime_correction() local
610 kt = ptp->nic_to_kernel_time(nic_major, nic_minor, in efx_ptp_mac_nic_to_ktime_correction()
613 return kt; in efx_ptp_mac_nic_to_ktime_correction()
620 ktime_t kt; in efx_ptp_nic_to_kernel_time() local
623 kt = efx_ptp_mac_nic_to_ktime_correction(efx, ptp, in efx_ptp_nic_to_kernel_time()
628 kt = ptp->nic_to_kernel_time( in efx_ptp_nic_to_kernel_time()
632 return kt; in efx_ptp_nic_to_kernel_time()
2156 ktime_t kt; in efx_phc_gettime() local
2166 kt = ptp_data->nic_to_kernel_time( in efx_phc_gettime()
2169 *ts = ktime_to_timespec64(kt); in efx_phc_gettime()