Searched refs:base_time_ns (Results 1 – 4 of 4) sorted by relevance
/linux/drivers/net/wireless/intel/iwlwifi/mld/ |
H A D | ptp.c | 59 u64 iwl_mld_ptp_get_adj_time(struct iwl_mld *mld, u64 base_time_ns) in iwl_mld_ptp_get_adj_time() argument 70 div64_u64(base_time_ns, NSEC_PER_USEC)); in iwl_mld_ptp_get_adj_time() 72 base_time_ns = base_time_ns + in iwl_mld_ptp_get_adj_time() 78 if (base_time_ns < scale_time_gp2_ns) { in iwl_mld_ptp_get_adj_time() 79 diff = scale_time_gp2_ns - base_time_ns; in iwl_mld_ptp_get_adj_time() 84 diff = base_time_ns - scale_time_gp2_ns; in iwl_mld_ptp_get_adj_time() 91 (unsigned long long)base_time_ns, in iwl_mld_ptp_get_adj_time()
|
H A D | ptp.h | 43 u64 iwl_mld_ptp_get_adj_time(struct iwl_mld *mld, u64 base_time_ns);
|
/linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | ptp.c | 47 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() 57 IWL_DEBUG_INFO(mvm, "base_time_ns=%llu, wrap_counter=%u\n", 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/drivers/net/dsa/hirschmann/ |
H A D | hellcreek.c | 1653 s64 base_time_ns, current_ns; in hellcreek_schedule_startable() local 1668 base_time_ns = ktime_to_ns(hellcreek_port->current_schedule->base_time); in hellcreek_schedule_startable() 1670 return base_time_ns - current_ns < (s64)4 * NSEC_PER_SEC; in hellcreek_schedule_startable()
|