Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/net/ethernet/sfc/siena/
A Dptp.c445 *nic_minor = ts.tv_nsec; in efx_ptp_ns_to_s_ns()
487 *nic_minor = min; in efx_ptp_ns_to_s27()
501 nic_minor += correction; in efx_ptp_s27_to_ktime_correction()
502 if ((s32)nic_minor < 0) { in efx_ptp_s27_to_ktime_correction()
503 nic_minor += S27_MINOR_MAX; in efx_ptp_s27_to_ktime_correction()
506 nic_minor -= S27_MINOR_MAX; in efx_ptp_s27_to_ktime_correction()
519 *nic_minor = ts.tv_nsec * 4; in efx_ptp_ns_to_s_qns()
527 nic_minor = DIV_ROUND_CLOSEST(nic_minor, 4); in efx_ptp_s_qns_to_ktime_correction()
530 kt = ktime_set(nic_major, nic_minor); in efx_ptp_s_qns_to_ktime_correction()
560 u32 nic_major, u32 nic_minor, in efx_ptp_mac_nic_to_ktime_correction() argument
[all …]
/linux-6.3-rc2/drivers/net/ethernet/sfc/
A Dptp.c449 *nic_minor = ts.tv_nsec; in efx_ptp_ns_to_s_ns()
491 *nic_minor = min; in efx_ptp_ns_to_s27()
505 nic_minor += correction; in efx_ptp_s27_to_ktime_correction()
506 if ((s32)nic_minor < 0) { in efx_ptp_s27_to_ktime_correction()
507 nic_minor += S27_MINOR_MAX; in efx_ptp_s27_to_ktime_correction()
510 nic_minor -= S27_MINOR_MAX; in efx_ptp_s27_to_ktime_correction()
523 *nic_minor = ts.tv_nsec * 4; in efx_ptp_ns_to_s_qns()
531 nic_minor = DIV_ROUND_CLOSEST(nic_minor, 4); in efx_ptp_s_qns_to_ktime_correction()
534 kt = ktime_set(nic_major, nic_minor); in efx_ptp_s_qns_to_ktime_correction()
570 u32 nic_major, u32 nic_minor, in efx_ptp_mac_nic_to_ktime_correction() argument
[all …]

Completed in 12 milliseconds