Lines Matching refs:cc_state
3749 struct cc_state *cc_state; in __subn_get_opa_cong_setting() local
3758 cc_state = get_cc_state(ppd); in __subn_get_opa_cong_setting()
3760 if (!cc_state) { in __subn_get_opa_cong_setting()
3765 entries = cc_state->cong_setting.entries; in __subn_get_opa_cong_setting()
3766 p->port_control = cpu_to_be16(cc_state->cong_setting.port_control); in __subn_get_opa_cong_setting()
3767 p->control_map = cpu_to_be32(cc_state->cong_setting.control_map); in __subn_get_opa_cong_setting()
3790 struct cc_state *old_cc_state, *new_cc_state; in apply_cc_state()
3825 rcu_assign_pointer(ppd->cc_state, new_cc_state); in apply_cc_state()
3951 struct cc_state *cc_state; in __subn_get_opa_cc_table() local
3963 cc_state = get_cc_state(ppd); in __subn_get_opa_cc_table()
3965 if (!cc_state) { in __subn_get_opa_cc_table()
3973 cc_table_attr->ccti_limit = cpu_to_be16(cc_state->cct.ccti_limit); in __subn_get_opa_cc_table()
3975 entries = cc_state->cct.entries; in __subn_get_opa_cc_table()