Home
last modified time | relevance | path

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

/linux/drivers/infiniband/hw/hfi1/
H A Dsysfs.c35 struct cc_state *cc_state; in cc_table_bin_read() local
50 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() local
86 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()
H A Drc.c2706 struct cc_state *cc_state; in process_becn() local
2712 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()
H A Dmad.h304 struct cc_state { struct