Searched refs:cc_state (Results 1 – 7 of 7) sorted by relevance
486 struct cc_state *cc_state; in set_link_ipg() local500 if (!cc_state) in set_link_ipg()541 struct cc_state *cc_state; in cca_timer_fn() local553 if (!cc_state) { in cca_timer_fn()594 struct cc_state *cc_state; in hfi1_init_pportdata() local650 cc_state = kzalloc(sizeof(*cc_state), GFP_KERNEL); in hfi1_init_pportdata()651 RCU_INIT_POINTER(ppd->cc_state, cc_state); in hfi1_init_pportdata()652 if (!cc_state) in hfi1_init_pportdata()1489 struct cc_state *cc_state; in cleanup_device_data() local1503 if (cc_state) in cleanup_device_data()[all …]
35 struct cc_state *cc_state; in cc_table_bin_read() local50 cc_state = get_cc_state(ppd); in cc_table_bin_read()51 if (!cc_state) { in cc_table_bin_read()55 memcpy(buf, (void *)&cc_state->cct + pos, count); in cc_table_bin_read()73 struct cc_state *cc_state; in cc_setting_bin_read() local86 cc_state = get_cc_state(ppd); in cc_setting_bin_read()87 if (!cc_state) { in cc_setting_bin_read()91 memcpy(buf, (void *)&cc_state->cong_setting + pos, count); in cc_setting_bin_read()
870 struct cc_state __rcu *cc_state; member2008 static inline struct cc_state *get_cc_state(struct hfi1_pportdata *ppd) in get_cc_state()2010 return rcu_dereference(ppd->cc_state); in get_cc_state()2017 struct cc_state *get_cc_state_protected(struct hfi1_pportdata *ppd) in get_cc_state_protected()2019 return rcu_dereference_protected(ppd->cc_state, in get_cc_state_protected()
3696 struct cc_state *cc_state; in __subn_get_opa_cong_setting() local3705 cc_state = get_cc_state(ppd); in __subn_get_opa_cong_setting()3707 if (!cc_state) { in __subn_get_opa_cong_setting()3712 entries = cc_state->cong_setting.entries; in __subn_get_opa_cong_setting()3714 p->control_map = cpu_to_be32(cc_state->cong_setting.control_map); in __subn_get_opa_cong_setting()3737 struct cc_state *old_cc_state, *new_cc_state; in apply_cc_state()3772 rcu_assign_pointer(ppd->cc_state, new_cc_state); in apply_cc_state()3898 struct cc_state *cc_state; in __subn_get_opa_cc_table() local3910 cc_state = get_cc_state(ppd); in __subn_get_opa_cc_table()3912 if (!cc_state) { in __subn_get_opa_cc_table()[all …]
305 struct cc_state { struct
2706 struct cc_state *cc_state; in process_becn() local2712 cc_state = get_cc_state(ppd); in process_becn()2714 if (!cc_state) in process_becn()2722 ccti_limit = cc_state->cct.ccti_limit; in process_becn()2723 ccti_incr = cc_state->cong_setting.entries[sl].ccti_increase; in process_becn()2724 ccti_timer = cc_state->cong_setting.entries[sl].ccti_timer; in process_becn()2726 cc_state->cong_setting.entries[sl].trigger_threshold; in process_becn()
4972 uint8_t cc_state; /* enum pd_cc_states representing cc state */ member5886 uint8_t cc_state; /* enum pd_cc_states */ member