num_tcs 202 drivers/net/ethernet/amd/xgbe/xgbe-dcb.c pdata->num_tcs = max_tc + 1; num_tcs 2687 drivers/net/ethernet/amd/xgbe/xgbe-dev.c if (!pdata->num_tcs) num_tcs 2690 drivers/net/ethernet/amd/xgbe/xgbe-dev.c netdev_set_num_tc(pdata->netdev, pdata->num_tcs); num_tcs 2692 drivers/net/ethernet/amd/xgbe/xgbe-dev.c for (i = 0, queue = 0, offset = 0; i < pdata->num_tcs; i++) { num_tcs 2264 drivers/net/ethernet/amd/xgbe/xgbe-drv.c pdata->num_tcs = tc; num_tcs 1219 drivers/net/ethernet/amd/xgbe/xgbe.h u8 num_tcs; num_tcs 458 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h ((priv)->dpni_attrs.num_tcs) num_tcs 181 drivers/net/ethernet/freescale/dpaa2/dpni-cmd.h u8 num_tcs; num_tcs 555 drivers/net/ethernet/freescale/dpaa2/dpni.c attr->num_tcs = rsp_params->num_tcs; num_tcs 205 drivers/net/ethernet/freescale/dpaa2/dpni.h u8 num_tcs; num_tcs 216 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb.c u8 tc = cfg->num_tcs.pg_tcs; num_tcs 108 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb.h struct dcb_num_tcs num_tcs; num_tcs 141 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c state ? adapter->dcb_cfg.num_tcs.pg_tcs : 0); num_tcs 429 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c *num = adapter->dcb_cfg.num_tcs.pg_tcs; num_tcs 432 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c *num = adapter->dcb_cfg.num_tcs.pfc_tcs; num_tcs 493 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c ets->ets_cap = adapter->dcb_cfg.num_tcs.pg_tcs; num_tcs 546 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c if (max_tc > adapter->dcb_cfg.num_tcs.pg_tcs) num_tcs 567 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c pfc->pfc_cap = adapter->dcb_cfg.num_tcs.pfc_tcs; num_tcs 94 drivers/net/ethernet/intel/ixgbe/ixgbe_lib.c u8 num_tcs = adapter->hw_tcs; num_tcs 110 drivers/net/ethernet/intel/ixgbe/ixgbe_lib.c if (num_tcs > 4) { num_tcs 149 drivers/net/ethernet/intel/ixgbe/ixgbe_lib.c u8 num_tcs = adapter->hw_tcs; num_tcs 154 drivers/net/ethernet/intel/ixgbe/ixgbe_lib.c if (num_tcs <= 1) num_tcs 159 drivers/net/ethernet/intel/ixgbe/ixgbe_lib.c for (tc = 0, offset = 0; tc < num_tcs; tc++, offset += rss_i) { num_tcs 1197 drivers/net/ethernet/intel/ixgbe/ixgbe_lib.c adapter->dcb_cfg.num_tcs.pg_tcs = 1; num_tcs 1198 drivers/net/ethernet/intel/ixgbe/ixgbe_lib.c adapter->dcb_cfg.num_tcs.pfc_tcs = 1; num_tcs 6196 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c adapter->dcb_cfg.num_tcs.pg_tcs = MAX_TRAFFIC_CLASS; num_tcs 6197 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c adapter->dcb_cfg.num_tcs.pfc_tcs = MAX_TRAFFIC_CLASS; num_tcs 6201 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c adapter->dcb_cfg.num_tcs.pg_tcs = X540_TRAFFIC_CLASS; num_tcs 6202 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c adapter->dcb_cfg.num_tcs.pfc_tcs = X540_TRAFFIC_CLASS; num_tcs 6207 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c adapter->dcb_cfg.num_tcs.pg_tcs = DEF_TRAFFIC_CLASS; num_tcs 6208 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c adapter->dcb_cfg.num_tcs.pfc_tcs = DEF_TRAFFIC_CLASS; num_tcs 9100 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c if (tc > adapter->dcb_cfg.num_tcs.pg_tcs) num_tcs 82 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c adapter->dcb_cfg.num_tcs.pg_tcs = MAX_TRAFFIC_CLASS; num_tcs 83 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c adapter->dcb_cfg.num_tcs.pfc_tcs = MAX_TRAFFIC_CLASS; num_tcs 85 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c adapter->dcb_cfg.num_tcs.pg_tcs = 4; num_tcs 86 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c adapter->dcb_cfg.num_tcs.pfc_tcs = 4; num_tcs 88 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c adapter->dcb_cfg.num_tcs.pg_tcs = 1; num_tcs 89 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c adapter->dcb_cfg.num_tcs.pfc_tcs = 1; num_tcs 700 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c u8 num_tcs = adapter->hw_tcs; num_tcs 714 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c if (!vfinfo->pf_vlan && !vfinfo->pf_qos && !num_tcs) { num_tcs 717 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c if (vfinfo->pf_qos || !num_tcs) num_tcs 1036 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c u8 num_tcs = adapter->hw_tcs; num_tcs 1055 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c if (num_tcs > 1) num_tcs 1059 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c if (num_tcs) num_tcs 1060 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c msgbuf[IXGBE_VF_TRANS_VLAN] = num_tcs; num_tcs 2167 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c unsigned int num_tcs = 0; num_tcs 2175 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c err = ixgbevf_get_queues(hw, &num_tcs, &def_q); num_tcs 2182 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c if (num_tcs > 1) { num_tcs 2190 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c num_rx_queues = num_tcs; num_tcs 2595 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c unsigned int num_tcs = 0; num_tcs 2606 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c err = ixgbevf_get_queues(hw, &num_tcs, &def_q); num_tcs 2614 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c if (num_tcs > 1) { num_tcs 2615 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c adapter->num_rx_queues = num_tcs; num_tcs 884 drivers/net/ethernet/intel/ixgbevf/vf.c int ixgbevf_get_queues(struct ixgbe_hw *hw, unsigned int *num_tcs, num_tcs 927 drivers/net/ethernet/intel/ixgbevf/vf.c *num_tcs = msg[IXGBE_VF_TRANS_VLAN]; num_tcs 929 drivers/net/ethernet/intel/ixgbevf/vf.c if (*num_tcs > hw->mac.max_rx_queues) num_tcs 930 drivers/net/ethernet/intel/ixgbevf/vf.c *num_tcs = 1; num_tcs 190 drivers/net/ethernet/intel/ixgbevf/vf.h int ixgbevf_get_queues(struct ixgbe_hw *hw, unsigned int *num_tcs, num_tcs 232 drivers/net/ethernet/mellanox/mlx4/en_dcb_nl.c int num_tcs = 0; num_tcs 242 drivers/net/ethernet/mellanox/mlx4/en_dcb_nl.c num_tcs = IEEE_8021QAZ_MAX_TCS; num_tcs 247 drivers/net/ethernet/mellanox/mlx4/en_dcb_nl.c if (mlx4_en_alloc_tx_queue_per_tc(dev, num_tcs)) num_tcs 1853 drivers/net/ethernet/qlogic/qed/qed_dev.c u8 num_tcs = qed_init_qm_get_num_mtc_tcs(p_hwfn); num_tcs 1858 drivers/net/ethernet/qlogic/qed/qed_dev.c for (tc = 0; tc < num_tcs; tc++) num_tcs 41 drivers/soc/qcom/rpmh-internal.h int num_tcs; num_tcs 100 drivers/soc/qcom/rpmh-internal.h int num_tcs; num_tcs 118 drivers/soc/qcom/rpmh-rsc.c for (m = tcs->offset; m < tcs->offset + tcs->num_tcs; m++) { num_tcs 177 drivers/soc/qcom/rpmh-rsc.c if (msg->state == RPMH_ACTIVE_ONLY_STATE && !tcs->num_tcs) { num_tcs 179 drivers/soc/qcom/rpmh-rsc.c if (tcs->num_tcs) { num_tcs 318 drivers/soc/qcom/rpmh-rsc.c for (i = 0; i < tcs->num_tcs; i++, tcs_id++) { num_tcs 340 drivers/soc/qcom/rpmh-rsc.c for (i = 0; i < tcs->num_tcs; i++) { num_tcs 431 drivers/soc/qcom/rpmh-rsc.c if (i + len >= tcs->num_tcs * tcs->ncpt) num_tcs 462 drivers/soc/qcom/rpmh-rsc.c if (slot >= tcs->num_tcs * tcs->ncpt) num_tcs 585 drivers/soc/qcom/rpmh-rsc.c tcs->num_tcs = tcs_cfg[i].n; num_tcs 589 drivers/soc/qcom/rpmh-rsc.c if (!tcs->num_tcs || tcs->type == CONTROL_TCS) num_tcs 592 drivers/soc/qcom/rpmh-rsc.c if (st + tcs->num_tcs > max_tcs || num_tcs 593 drivers/soc/qcom/rpmh-rsc.c st + tcs->num_tcs >= BITS_PER_BYTE * sizeof(tcs->mask)) num_tcs 596 drivers/soc/qcom/rpmh-rsc.c tcs->mask = ((1 << tcs->num_tcs) - 1) << st; num_tcs 598 drivers/soc/qcom/rpmh-rsc.c st += tcs->num_tcs; num_tcs 608 drivers/soc/qcom/rpmh-rsc.c tcs->num_tcs * ncpt, sizeof(u32), num_tcs 614 drivers/soc/qcom/rpmh-rsc.c drv->num_tcs = st;