Lines Matching refs:p_ets
358 struct dcbx_ets_feature *p_ets; in qed_dcbx_process_mib_info() local
371 p_ets = &p_hwfn->p_dcbx_info->operational.features.ets; in qed_dcbx_process_mib_info()
372 pri_tc_tbl = p_ets->pri_tc_tbl[0]; in qed_dcbx_process_mib_info()
382 p_info->num_active_tc = QED_MFW_GET_FIELD(p_ets->flags, in qed_dcbx_process_mib_info()
384 p_hwfn->qm_info.ooo_tc = QED_MFW_GET_FIELD(p_ets->flags, DCBX_OOO_TC); in qed_dcbx_process_mib_info()
573 struct dcbx_ets_feature *p_ets, in qed_dcbx_get_ets_data() argument
579 p_params->ets_willing = QED_MFW_GET_FIELD(p_ets->flags, in qed_dcbx_get_ets_data()
581 p_params->ets_enabled = QED_MFW_GET_FIELD(p_ets->flags, in qed_dcbx_get_ets_data()
583 p_params->ets_cbs = QED_MFW_GET_FIELD(p_ets->flags, DCBX_ETS_CBS); in qed_dcbx_get_ets_data()
584 p_params->max_ets_tc = QED_MFW_GET_FIELD(p_ets->flags, in qed_dcbx_get_ets_data()
589 p_params->ets_cbs, p_ets->pri_tc_tbl[0], in qed_dcbx_get_ets_data()
602 bw_map[0] = be32_to_cpu(p_ets->tc_bw_tbl[0]); in qed_dcbx_get_ets_data()
603 bw_map[1] = be32_to_cpu(p_ets->tc_bw_tbl[1]); in qed_dcbx_get_ets_data()
604 tsa_map[0] = be32_to_cpu(p_ets->tc_tsa_tbl[0]); in qed_dcbx_get_ets_data()
605 tsa_map[1] = be32_to_cpu(p_ets->tc_tsa_tbl[1]); in qed_dcbx_get_ets_data()
606 pri_map = p_ets->pri_tc_tbl[0]; in qed_dcbx_get_ets_data()
622 struct dcbx_ets_feature *p_ets, in qed_dcbx_get_common_params() argument
626 qed_dcbx_get_ets_data(p_hwfn, p_ets, p_params); in qed_dcbx_get_common_params()
1080 struct dcbx_ets_feature *p_ets, in qed_dcbx_set_ets_data() argument
1088 p_ets->flags |= DCBX_ETS_WILLING_MASK; in qed_dcbx_set_ets_data()
1090 p_ets->flags &= ~DCBX_ETS_WILLING_MASK; in qed_dcbx_set_ets_data()
1093 p_ets->flags |= DCBX_ETS_CBS_MASK; in qed_dcbx_set_ets_data()
1095 p_ets->flags &= ~DCBX_ETS_CBS_MASK; in qed_dcbx_set_ets_data()
1098 p_ets->flags |= DCBX_ETS_ENABLED_MASK; in qed_dcbx_set_ets_data()
1100 p_ets->flags &= ~DCBX_ETS_ENABLED_MASK; in qed_dcbx_set_ets_data()
1102 p_ets->flags &= ~DCBX_ETS_MAX_TCS_MASK; in qed_dcbx_set_ets_data()
1103 p_ets->flags |= (u32)p_params->max_ets_tc << DCBX_ETS_MAX_TCS_SHIFT; in qed_dcbx_set_ets_data()
1105 bw_map = (u8 *)&p_ets->tc_bw_tbl[0]; in qed_dcbx_set_ets_data()
1106 tsa_map = (u8 *)&p_ets->tc_tsa_tbl[0]; in qed_dcbx_set_ets_data()
1107 p_ets->pri_tc_tbl[0] = 0; in qed_dcbx_set_ets_data()
1115 p_ets->pri_tc_tbl[0] |= val; in qed_dcbx_set_ets_data()
1118 p_ets->tc_bw_tbl[i] = cpu_to_be32(p_ets->tc_bw_tbl[i]); in qed_dcbx_set_ets_data()
1119 p_ets->tc_tsa_tbl[i] = cpu_to_be32(p_ets->tc_tsa_tbl[i]); in qed_dcbx_set_ets_data()