Searched refs:tc_cnt (Results 1 – 7 of 7) sorted by relevance
129 ets->ets_cap = pdata->hw_feat.tc_cnt; in xgbe_dcb_ieee_getets()181 if (max_tc >= pdata->hw_feat.tc_cnt) { in xgbe_dcb_ieee_setets()216 pfc->pfc_cap = pdata->hw_feat.tc_cnt; in xgbe_dcb_ieee_getpfc()237 if (pfc->pfc_en & ~((1 << pdata->hw_feat.tc_cnt) - 1)) { in xgbe_dcb_ieee_setpfc()
2263 for (i = 0; i < pdata->hw_feat.tc_cnt; i++) { in xgbe_config_mtl_mode()2611 qptc = pdata->tx_q_count / pdata->hw_feat.tc_cnt; in xgbe_config_queue_mapping()2612 qptc_extra = pdata->tx_q_count % pdata->hw_feat.tc_cnt; in xgbe_config_queue_mapping()2614 for (i = 0, queue = 0; i < pdata->hw_feat.tc_cnt; i++) { in xgbe_config_queue_mapping()2727 total_weight = pdata->netdev->mtu * pdata->hw_feat.tc_cnt; in xgbe_config_dcb_tc()2732 for (i = 0; i < pdata->hw_feat.tc_cnt; i++) { in xgbe_config_dcb_tc()
774 hw_feat->tc_cnt = XGMAC_GET_BITS(mac_hfr1, MAC_HWF1R, NUMTC); in xgbe_get_all_hw_features()825 hw_feat->tc_cnt++; in xgbe_get_all_hw_features()888 hw_feat->tc_cnt); in xgbe_get_all_hw_features()2217 if (tc > pdata->hw_feat.tc_cnt) in xgbe_setup_tc()
972 unsigned int tc_cnt; /* Number of Traffic Classes */ member
454 hw_feat->tc_cnt = XLGMAC_GET_REG_BITS(mac_hfr1, in xlgmac_get_all_hw_features()521 hw_feat->tc_cnt++; in xlgmac_get_all_hw_features()676 (pdata->hw_feat.tc_cnt)); in xlgmac_print_all_hw_features()
524 unsigned int tc_cnt; /* Number of Traffic Classes */ member
1485 for (i = 0; i < pdata->hw_feat.tc_cnt; i++) { in xlgmac_config_mtl_mode()1515 qptc = pdata->tx_q_count / pdata->hw_feat.tc_cnt; in xlgmac_config_queue_mapping()1516 qptc_extra = pdata->tx_q_count % pdata->hw_feat.tc_cnt; in xlgmac_config_queue_mapping()1518 for (i = 0, queue = 0; i < pdata->hw_feat.tc_cnt; i++) { in xlgmac_config_queue_mapping()