Lines Matching refs:base_time
41 if (latest_base_time < offload->base_time) in sja1105_tas_set_runtime_params()
42 latest_base_time = offload->base_time; in sja1105_tas_set_runtime_params()
43 if (earliest_base_time > offload->base_time) { in sja1105_tas_set_runtime_params()
44 earliest_base_time = offload->base_time; in sja1105_tas_set_runtime_params()
54 if (latest_base_time < gating_cfg->base_time) in sja1105_tas_set_runtime_params()
55 latest_base_time = gating_cfg->base_time; in sja1105_tas_set_runtime_params()
56 if (earliest_base_time > gating_cfg->base_time) { in sja1105_tas_set_runtime_params()
57 earliest_base_time = gating_cfg->base_time; in sja1105_tas_set_runtime_params()
288 rbt = future_base_time(offload->base_time, in sja1105_init_scheduling()
330 rbt = future_base_time(gating_cfg->base_time, in sja1105_init_scheduling()
413 div_s64_rem(offload->base_time, offload->cycle_time, &rem); in sja1105_tas_check_conflicts()
416 div_s64_rem(admin->base_time, admin->cycle_time, &rem); in sja1105_tas_check_conflicts()
487 dummy->base_time = gating_cfg->base_time; in sja1105_gating_check_conflicts()
618 u64 base_time) in sja1105_tas_set_base_time() argument
621 u64 ptpschtm = ns_to_sja1105_ticks(base_time); in sja1105_tas_set_base_time()
729 s64 base_time, now; in sja1105_tas_state_machine() local
757 base_time = future_base_time(tas_data->earliest_base_time, in sja1105_tas_state_machine()
760 base_time -= sja1105_delta_to_ns(1); in sja1105_tas_state_machine()
762 rc = sja1105_tas_set_base_time(priv, base_time); in sja1105_tas_state_machine()
766 tas_data->oper_base_time = base_time; in sja1105_tas_state_machine()
772 base_time_ts = ns_to_timespec64(base_time); in sja1105_tas_state_machine()