Lines Matching refs:kt
451 ktime_t kt = ktime_set(nic_major, nic_minor); in efx_ptp_s_ns_to_ktime_correction() local
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()
456 return kt; in efx_ptp_s_ns_to_ktime_correction()
525 ktime_t kt; in efx_ptp_s_qns_to_ktime_correction() local
530 kt = ktime_set(nic_major, nic_minor); 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()
536 return kt; in efx_ptp_s_qns_to_ktime_correction()
564 ktime_t kt = { 0 }; in efx_ptp_mac_nic_to_ktime_correction() local
603 kt = ptp->nic_to_kernel_time(nic_major, nic_minor, in efx_ptp_mac_nic_to_ktime_correction()
606 return kt; in efx_ptp_mac_nic_to_ktime_correction()
613 ktime_t kt; in efx_siena_ptp_nic_to_kernel_time() local
616 kt = efx_ptp_mac_nic_to_ktime_correction(efx, ptp, in efx_siena_ptp_nic_to_kernel_time()
621 kt = ptp->nic_to_kernel_time( in efx_siena_ptp_nic_to_kernel_time()
625 return kt; in efx_siena_ptp_nic_to_kernel_time()
2111 ktime_t kt; in efx_phc_gettime() local
2121 kt = ptp_data->nic_to_kernel_time( in efx_phc_gettime()
2124 *ts = ktime_to_timespec64(kt); in efx_phc_gettime()