Lines Matching refs:cc_state
528 struct cc_state *cc_state; in set_link_ipg() local
540 cc_state = get_cc_state(ppd); in set_link_ipg()
542 if (!cc_state) in set_link_ipg()
557 ccti_limit = cc_state->cct.ccti_limit; in set_link_ipg()
561 cce = cc_state->cct.entries[max_ccti].entry; in set_link_ipg()
583 struct cc_state *cc_state; in cca_timer_fn() local
593 cc_state = get_cc_state(ppd); in cca_timer_fn()
595 if (!cc_state) { in cca_timer_fn()
606 ccti_min = cc_state->cong_setting.entries[sl].ccti_min; in cca_timer_fn()
607 ccti_timer = cc_state->cong_setting.entries[sl].ccti_timer; in cca_timer_fn()
636 struct cc_state *cc_state; in hfi1_init_pportdata() local
698 cc_state = kzalloc(sizeof(*cc_state), GFP_KERNEL); in hfi1_init_pportdata()
699 RCU_INIT_POINTER(ppd->cc_state, cc_state); in hfi1_init_pportdata()
700 if (!cc_state) in hfi1_init_pportdata()
1532 struct cc_state *cc_state; in cleanup_device_data() local
1542 cc_state = get_cc_state_protected(ppd); in cleanup_device_data()
1543 RCU_INIT_POINTER(ppd->cc_state, NULL); in cleanup_device_data()
1546 if (cc_state) in cleanup_device_data()
1547 kfree_rcu(cc_state, rcu); in cleanup_device_data()