Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/infiniband/hw/hfi1/
Dinit.c509 u16 ccti = ppd->cca_timer[i].ccti; in set_link_ipg()
537 struct cca_timer *cca_timer; in cca_timer_fn() local
545 cca_timer = container_of(t, struct cca_timer, hrtimer); in cca_timer_fn()
546 ppd = cca_timer->ppd; in cca_timer_fn()
547 sl = cca_timer->sl; in cca_timer_fn()
569 if (cca_timer->ccti > ccti_min) { in cca_timer_fn()
570 cca_timer->ccti--; in cca_timer_fn()
574 if (cca_timer->ccti > ccti_min) { in cca_timer_fn()
638 hrtimer_init(&ppd->cca_timer[i].hrtimer, CLOCK_MONOTONIC, in hfi1_init_pportdata()
640 ppd->cca_timer[i].ppd = ppd; in hfi1_init_pportdata()
[all …]
Drc.c2703 struct cca_timer *cca_timer; in process_becn() local
2730 cca_timer = &ppd->cca_timer[sl]; in process_becn()
2731 if (cca_timer->ccti < ccti_limit) { in process_becn()
2732 if (cca_timer->ccti + ccti_incr <= ccti_limit) in process_becn()
2733 cca_timer->ccti += ccti_incr; in process_becn()
2735 cca_timer->ccti = ccti_limit; in process_becn()
2739 ccti = cca_timer->ccti; in process_becn()
2741 if (!hrtimer_active(&cca_timer->hrtimer)) { in process_becn()
2745 hrtimer_start(&cca_timer->hrtimer, ns_to_ktime(nsec), in process_becn()
Dhfi.h697 struct cca_timer { struct
855 struct cca_timer cca_timer[OPA_MAX_SLS]; member