Searched refs:cc_state (Results 1 – 6 of 6) sorted by relevance
360 struct cc_state *cc_state; in set_link_ipg() local372 cc_state = get_cc_state(ppd); in set_link_ipg()374 if (cc_state == NULL) in set_link_ipg()389 ccti_limit = cc_state->cct.ccti_limit; in set_link_ipg()393 cce = cc_state->cct.entries[max_ccti].entry; in set_link_ipg()415 struct cc_state *cc_state; in cca_timer_fn() local424 cc_state = get_cc_state(ppd); in cca_timer_fn()426 if (cc_state == NULL) { in cca_timer_fn()437 ccti_min = cc_state->cong_setting.entries[sl].ccti_min; in cca_timer_fn()438 ccti_timer = cc_state->cong_setting.entries[sl].ccti_timer; in cca_timer_fn()[all …]
71 struct cc_state *cc_state; in read_cc_table_bin() local86 cc_state = get_cc_state(ppd); in read_cc_table_bin()87 if (cc_state == NULL) { in read_cc_table_bin()91 memcpy(buf, &cc_state->cct, count); in read_cc_table_bin()124 struct cc_state *cc_state; in read_cc_setting_bin() local137 cc_state = get_cc_state(ppd); in read_cc_setting_bin()138 if (cc_state == NULL) { in read_cc_setting_bin()142 memcpy(buf, &cc_state->cong_setting, count); in read_cc_setting_bin()
3189 struct cc_state *cc_state; in __subn_get_opa_cong_setting() local3193 cc_state = get_cc_state(ppd); in __subn_get_opa_cong_setting()3195 if (cc_state == NULL) { in __subn_get_opa_cong_setting()3200 entries = cc_state->cong_setting.entries; in __subn_get_opa_cong_setting()3201 p->port_control = cpu_to_be16(cc_state->cong_setting.port_control); in __subn_get_opa_cong_setting()3202 p->control_map = cpu_to_be32(cc_state->cong_setting.control_map); in __subn_get_opa_cong_setting()3324 struct cc_state *cc_state; in __subn_get_opa_cc_table() local3335 cc_state = get_cc_state(ppd); in __subn_get_opa_cc_table()3337 if (cc_state == NULL) { in __subn_get_opa_cc_table()3345 cc_table_attr->ccti_limit = cpu_to_be16(cc_state->cct.ccti_limit); in __subn_get_opa_cc_table()[all …]
1873 struct cc_state *cc_state; in process_becn() local1881 cc_state = get_cc_state(ppd); in process_becn()1883 if (cc_state == NULL) in process_becn()1891 ccti_limit = cc_state->cct.ccti_limit; in process_becn()1892 ccti_incr = cc_state->cong_setting.entries[sl].ccti_increase; in process_becn()1893 ccti_timer = cc_state->cong_setting.entries[sl].ccti_timer; in process_becn()1895 cc_state->cong_setting.entries[sl].trigger_threshold; in process_becn()
674 struct cc_state __rcu *cc_state; member1487 static inline struct cc_state *get_cc_state(struct hfi1_pportdata *ppd) in get_cc_state()1489 return rcu_dereference(ppd->cc_state); in get_cc_state()
232 struct cc_state { struct