Lines Matching refs:p_ets

332 	struct dcbx_ets_feature *p_ets;  in qed_dcbx_process_mib_info()  local
345 p_ets = &p_hwfn->p_dcbx_info->operational.features.ets; in qed_dcbx_process_mib_info()
346 pri_tc_tbl = p_ets->pri_tc_tbl[0]; in qed_dcbx_process_mib_info()
356 p_info->num_active_tc = QED_MFW_GET_FIELD(p_ets->flags, in qed_dcbx_process_mib_info()
358 p_hwfn->qm_info.ooo_tc = QED_MFW_GET_FIELD(p_ets->flags, DCBX_OOO_TC); in qed_dcbx_process_mib_info()
547 struct dcbx_ets_feature *p_ets, in qed_dcbx_get_ets_data() argument
554 p_params->ets_willing = QED_MFW_GET_FIELD(p_ets->flags, in qed_dcbx_get_ets_data()
556 p_params->ets_enabled = QED_MFW_GET_FIELD(p_ets->flags, in qed_dcbx_get_ets_data()
558 p_params->ets_cbs = QED_MFW_GET_FIELD(p_ets->flags, DCBX_ETS_CBS); in qed_dcbx_get_ets_data()
559 p_params->max_ets_tc = QED_MFW_GET_FIELD(p_ets->flags, in qed_dcbx_get_ets_data()
564 p_params->ets_cbs, p_ets->pri_tc_tbl[0], in qed_dcbx_get_ets_data()
577 cpu_to_be32_array(bw_map, p_ets->tc_bw_tbl, 2); in qed_dcbx_get_ets_data()
578 cpu_to_be32_array(tsa_map, p_ets->tc_tsa_tbl, 2); in qed_dcbx_get_ets_data()
579 pri_map = p_ets->pri_tc_tbl[0]; in qed_dcbx_get_ets_data()
596 struct dcbx_ets_feature *p_ets, in qed_dcbx_get_common_params() argument
600 qed_dcbx_get_ets_data(p_hwfn, p_ets, p_params); in qed_dcbx_get_common_params()
1052 struct dcbx_ets_feature *p_ets, in qed_dcbx_set_ets_data() argument
1060 p_ets->flags |= DCBX_ETS_WILLING_MASK; in qed_dcbx_set_ets_data()
1062 p_ets->flags &= ~DCBX_ETS_WILLING_MASK; in qed_dcbx_set_ets_data()
1065 p_ets->flags |= DCBX_ETS_CBS_MASK; in qed_dcbx_set_ets_data()
1067 p_ets->flags &= ~DCBX_ETS_CBS_MASK; in qed_dcbx_set_ets_data()
1070 p_ets->flags |= DCBX_ETS_ENABLED_MASK; in qed_dcbx_set_ets_data()
1072 p_ets->flags &= ~DCBX_ETS_ENABLED_MASK; in qed_dcbx_set_ets_data()
1074 p_ets->flags &= ~DCBX_ETS_MAX_TCS_MASK; in qed_dcbx_set_ets_data()
1075 p_ets->flags |= (u32)p_params->max_ets_tc << DCBX_ETS_MAX_TCS_SHIFT; in qed_dcbx_set_ets_data()
1077 p_ets->pri_tc_tbl[0] = 0; in qed_dcbx_set_ets_data()
1087 p_ets->pri_tc_tbl[0] |= val; in qed_dcbx_set_ets_data()
1090 be32_to_cpu_array(p_ets->tc_bw_tbl, bw_map, 2); in qed_dcbx_set_ets_data()
1091 be32_to_cpu_array(p_ets->tc_tsa_tbl, tsa_map, 2); in qed_dcbx_set_ets_data()