Searched refs:nic_minor (Results 1 – 1 of 1) sorted by relevance
/drivers/net/ethernet/sfc/ |
D | ptp.c | 304 void (*ns_to_nic_time)(s64 ns, u32 *nic_major, u32 *nic_minor); 305 ktime_t (*nic_to_kernel_time)(u32 nic_major, u32 nic_minor, 442 static void efx_ptp_ns_to_s_ns(s64 ns, u32 *nic_major, u32 *nic_minor) in efx_ptp_ns_to_s_ns() argument 446 *nic_minor = ts.tv_nsec; in efx_ptp_ns_to_s_ns() 449 static ktime_t efx_ptp_s_ns_to_ktime_correction(u32 nic_major, u32 nic_minor, in efx_ptp_s_ns_to_ktime_correction() argument 452 ktime_t kt = ktime_set(nic_major, nic_minor); in efx_ptp_s_ns_to_ktime_correction() 472 static void efx_ptp_ns_to_s27(s64 ns, u32 *nic_major, u32 *nic_minor) in efx_ptp_ns_to_s27() argument 488 *nic_minor = min; in efx_ptp_ns_to_s27() 491 static inline ktime_t efx_ptp_s27_to_ktime(u32 nic_major, u32 nic_minor) in efx_ptp_s27_to_ktime() argument 493 u32 ns = (u32)(((u64)nic_minor * NSEC_PER_SEC + in efx_ptp_s27_to_ktime() [all …]
|