Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/wireless/intel/iwlwifi/mvm/
Dptp.c47 u64 iwl_mvm_ptp_get_adj_time(struct iwl_mvm *mvm, u64 base_time_ns) in iwl_mvm_ptp_get_adj_time() argument
55 div64_u64(base_time_ns, NSEC_PER_USEC)); in iwl_mvm_ptp_get_adj_time()
58 (unsigned long long)base_time_ns, data->wrap_counter); in iwl_mvm_ptp_get_adj_time()
60 base_time_ns = base_time_ns + in iwl_mvm_ptp_get_adj_time()
66 if (base_time_ns < last_gp2_ns) { in iwl_mvm_ptp_get_adj_time()
71 diff = base_time_ns - last_gp2_ns; in iwl_mvm_ptp_get_adj_time()
81 (unsigned long long)base_time_ns, (long long)data->delta, in iwl_mvm_ptp_get_adj_time()
/linux-6.12.1/drivers/net/dsa/hirschmann/
Dhellcreek.c1657 s64 base_time_ns, current_ns; in hellcreek_schedule_startable() local
1672 base_time_ns = ktime_to_ns(hellcreek_port->current_schedule->base_time); in hellcreek_schedule_startable()
1674 return base_time_ns - current_ns < (s64)4 * NSEC_PER_SEC; in hellcreek_schedule_startable()