Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/subsys/net/l2/ethernet/gptp/
Dgptp.c717 int32_t new_itv, old_itv; in gptp_update_pdelay_req_interval() local
726 new_itv = update_itv(&port_ds->pdelay_req_itv, in gptp_update_pdelay_req_interval()
732 new_itv -= (old_itv-remaining); in gptp_update_pdelay_req_interval()
733 if (new_itv <= 0) { in gptp_update_pdelay_req_interval()
734 new_itv = 1; in gptp_update_pdelay_req_interval()
737 k_timer_start(&state_pdelay->pdelay_timer, K_MSEC(new_itv), K_NO_WAIT); in gptp_update_pdelay_req_interval()
744 int32_t new_itv, old_itv, period; in gptp_update_sync_interval() local
754 new_itv = update_itv(&port_ds->half_sync_itv, in gptp_update_sync_interval()
759 period = new_itv; in gptp_update_sync_interval()
769 if ((time_spent / 2U) > new_itv) { in gptp_update_sync_interval()
[all …]