Home
last modified time | relevance | path

Searched refs:nic_major (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/sfc/siena/
Dptp.c303 void (*ns_to_nic_time)(s64 ns, u32 *nic_major, u32 *nic_minor);
304 ktime_t (*nic_to_kernel_time)(u32 nic_major, u32 nic_minor,
441 static void efx_ptp_ns_to_s_ns(s64 ns, u32 *nic_major, u32 *nic_minor) in efx_ptp_ns_to_s_ns() argument
444 *nic_major = (u32)ts.tv_sec; in efx_ptp_ns_to_s_ns()
448 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
451 ktime_t kt = ktime_set(nic_major, nic_minor); in efx_ptp_s_ns_to_ktime_correction()
471 static void efx_ptp_ns_to_s27(s64 ns, u32 *nic_major, u32 *nic_minor) in efx_ptp_ns_to_s27() argument
486 *nic_major = maj; in efx_ptp_ns_to_s27()
490 static inline ktime_t efx_ptp_s27_to_ktime(u32 nic_major, u32 nic_minor) in efx_ptp_s27_to_ktime() argument
494 return ktime_set(nic_major, ns); in efx_ptp_s27_to_ktime()
[all …]
/linux-6.6.21/drivers/net/ethernet/sfc/
Dptp.c301 void (*ns_to_nic_time)(s64 ns, u32 *nic_major, u32 *nic_minor);
302 ktime_t (*nic_to_kernel_time)(u32 nic_major, u32 nic_minor,
452 static void efx_ptp_ns_to_s27(s64 ns, u32 *nic_major, u32 *nic_minor) in efx_ptp_ns_to_s27() argument
467 *nic_major = maj; in efx_ptp_ns_to_s27()
471 static inline ktime_t efx_ptp_s27_to_ktime(u32 nic_major, u32 nic_minor) in efx_ptp_s27_to_ktime() argument
475 return ktime_set(nic_major, ns); in efx_ptp_s27_to_ktime()
478 static ktime_t efx_ptp_s27_to_ktime_correction(u32 nic_major, u32 nic_minor, in efx_ptp_s27_to_ktime_correction() argument
485 nic_major--; in efx_ptp_s27_to_ktime_correction()
488 nic_major++; in efx_ptp_s27_to_ktime_correction()
491 return efx_ptp_s27_to_ktime(nic_major, nic_minor); in efx_ptp_s27_to_ktime_correction()
[all …]