Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
Dinit.c550 u16 ccti = ppd->cca_timer[i].ccti; in set_link_ipg()
578 struct cca_timer *cca_timer; in cca_timer_fn() local
586 cca_timer = container_of(t, struct cca_timer, hrtimer); in cca_timer_fn()
587 ppd = cca_timer->ppd; in cca_timer_fn()
588 sl = cca_timer->sl; in cca_timer_fn()
610 if (cca_timer->ccti > ccti_min) { in cca_timer_fn()
611 cca_timer->ccti--; in cca_timer_fn()
615 if (cca_timer->ccti > ccti_min) { in cca_timer_fn()
679 hrtimer_init(&ppd->cca_timer[i].hrtimer, CLOCK_MONOTONIC, in hfi1_init_pportdata()
681 ppd->cca_timer[i].ppd = ppd; in hfi1_init_pportdata()
[all …]
Drc.c2744 struct cca_timer *cca_timer; in process_becn() local
2771 cca_timer = &ppd->cca_timer[sl]; in process_becn()
2772 if (cca_timer->ccti < ccti_limit) { in process_becn()
2773 if (cca_timer->ccti + ccti_incr <= ccti_limit) in process_becn()
2774 cca_timer->ccti += ccti_incr; in process_becn()
2776 cca_timer->ccti = ccti_limit; in process_becn()
2780 ccti = cca_timer->ccti; in process_becn()
2782 if (!hrtimer_active(&cca_timer->hrtimer)) { in process_becn()
2786 hrtimer_start(&cca_timer->hrtimer, ns_to_ktime(nsec), in process_becn()
Dhfi.h744 struct cca_timer { struct
906 struct cca_timer cca_timer[OPA_MAX_SLS]; member