Home
last modified time | relevance | path

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

/drivers/staging/rdma/hfi1/
Dinit.c383 u16 ccti = ppd->cca_timer[i].ccti; in set_link_ipg()
411 struct cca_timer *cca_timer; in cca_timer_fn() local
418 cca_timer = container_of(t, struct cca_timer, hrtimer); in cca_timer_fn()
419 ppd = cca_timer->ppd; in cca_timer_fn()
420 sl = cca_timer->sl; in cca_timer_fn()
442 ccti = cca_timer->ccti; in cca_timer_fn()
445 cca_timer->ccti--; in cca_timer_fn()
504 hrtimer_init(&ppd->cca_timer[i].hrtimer, CLOCK_MONOTONIC, in hfi1_init_pportdata()
506 ppd->cca_timer[i].ppd = ppd; in hfi1_init_pportdata()
507 ppd->cca_timer[i].sl = i; in hfi1_init_pportdata()
[all …]
Drc.c1870 struct cca_timer *cca_timer; in process_becn() local
1879 cca_timer = &ppd->cca_timer[sl]; in process_becn()
1899 if (cca_timer->ccti < ccti_limit) { in process_becn()
1900 if (cca_timer->ccti + ccti_incr <= ccti_limit) in process_becn()
1901 cca_timer->ccti += ccti_incr; in process_becn()
1903 cca_timer->ccti = ccti_limit; in process_becn()
1909 ccti = cca_timer->ccti; in process_becn()
1911 if (!hrtimer_active(&cca_timer->hrtimer)) { in process_becn()
1915 hrtimer_start(&cca_timer->hrtimer, ns_to_ktime(nsec), in process_becn()
Dhfi.h515 struct cca_timer { struct
659 struct cca_timer cca_timer[OPA_MAX_SLS]; member