Lines Matching refs:cc_state
3696 struct cc_state *cc_state; in __subn_get_opa_cong_setting() local
3705 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()
3713 p->port_control = cpu_to_be16(cc_state->cong_setting.port_control); 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() local
3910 cc_state = get_cc_state(ppd); in __subn_get_opa_cc_table()
3912 if (!cc_state) { in __subn_get_opa_cc_table()
3920 cc_table_attr->ccti_limit = cpu_to_be16(cc_state->cct.ccti_limit); in __subn_get_opa_cc_table()
3922 entries = cc_state->cct.entries; in __subn_get_opa_cc_table()