Lines Matching refs:cca_timer
551 u16 ccti = ppd->cca_timer[i].ccti; in set_link_ipg()
579 struct cca_timer *cca_timer; in cca_timer_fn() local
587 cca_timer = container_of(t, struct cca_timer, hrtimer); in cca_timer_fn()
588 ppd = cca_timer->ppd; in cca_timer_fn()
589 sl = cca_timer->sl; in cca_timer_fn()
611 if (cca_timer->ccti > ccti_min) { in cca_timer_fn()
612 cca_timer->ccti--; in cca_timer_fn()
616 if (cca_timer->ccti > ccti_min) { in cca_timer_fn()
686 hrtimer_init(&ppd->cca_timer[i].hrtimer, CLOCK_MONOTONIC, in hfi1_init_pportdata()
688 ppd->cca_timer[i].ppd = ppd; in hfi1_init_pportdata()
689 ppd->cca_timer[i].sl = i; in hfi1_init_pportdata()
690 ppd->cca_timer[i].ccti = 0; in hfi1_init_pportdata()
691 ppd->cca_timer[i].hrtimer.function = cca_timer_fn; in hfi1_init_pportdata()
1539 hrtimer_cancel(&ppd->cca_timer[i].hrtimer); in cleanup_device_data()