| /Linux-v5.4/drivers/soc/qcom/ | 
| D | rpmh-rsc.c | 118 	for (m = tcs->offset; m < tcs->offset + tcs->num_tcs; m++) {  in tcs_invalidate()177 	if (msg->state == RPMH_ACTIVE_ONLY_STATE && !tcs->num_tcs) {  in get_tcs_for_msg()
 179 		if (tcs->num_tcs) {  in get_tcs_for_msg()
 318 	for (i = 0; i < tcs->num_tcs; i++, tcs_id++) {  in check_for_req_inflight()
 340 	for (i = 0; i < tcs->num_tcs; i++) {  in find_free_tcs()
 431 		if (i + len >= tcs->num_tcs * tcs->ncpt)  in find_match()
 462 		if (slot >= tcs->num_tcs * tcs->ncpt)  in find_slots()
 585 		tcs->num_tcs = tcs_cfg[i].n;  in rpmh_probe_tcs_config()
 589 		if (!tcs->num_tcs || tcs->type == CONTROL_TCS)  in rpmh_probe_tcs_config()
 592 		if (st + tcs->num_tcs > max_tcs ||  in rpmh_probe_tcs_config()
 [all …]
 
 | 
| D | rpmh-internal.h | 41 	int num_tcs;  member100 	int num_tcs;  member
 
 | 
| /Linux-v5.4/drivers/net/ethernet/intel/ixgbe/ | 
| D | ixgbe_sriov.c | 82 		adapter->dcb_cfg.num_tcs.pg_tcs = MAX_TRAFFIC_CLASS;  in __ixgbe_enable_sriov()83 		adapter->dcb_cfg.num_tcs.pfc_tcs = MAX_TRAFFIC_CLASS;  in __ixgbe_enable_sriov()
 85 		adapter->dcb_cfg.num_tcs.pg_tcs = 4;  in __ixgbe_enable_sriov()
 86 		adapter->dcb_cfg.num_tcs.pfc_tcs = 4;  in __ixgbe_enable_sriov()
 88 		adapter->dcb_cfg.num_tcs.pg_tcs = 1;  in __ixgbe_enable_sriov()
 89 		adapter->dcb_cfg.num_tcs.pfc_tcs = 1;  in __ixgbe_enable_sriov()
 700 	u8 num_tcs = adapter->hw_tcs;  in ixgbe_vf_reset_event()  local
 714 	if (!vfinfo->pf_vlan && !vfinfo->pf_qos && !num_tcs) {  in ixgbe_vf_reset_event()
 717 		if (vfinfo->pf_qos || !num_tcs)  in ixgbe_vf_reset_event()
 1036 	u8 num_tcs = adapter->hw_tcs;  in ixgbe_get_vf_queues()  local
 [all …]
 
 | 
| D | ixgbe_lib.c | 94 	u8 num_tcs = adapter->hw_tcs;  in ixgbe_get_first_reg_idx()  local110 		if (num_tcs > 4) {  in ixgbe_get_first_reg_idx()
 149 	u8 num_tcs = adapter->hw_tcs;  in ixgbe_cache_ring_dcb()  local
 154 	if (num_tcs <= 1)  in ixgbe_cache_ring_dcb()
 159 	for (tc = 0, offset = 0; tc < num_tcs; tc++, offset += rss_i) {  in ixgbe_cache_ring_dcb()
 1197 	adapter->dcb_cfg.num_tcs.pg_tcs = 1;  in ixgbe_set_interrupt_capability()
 1198 	adapter->dcb_cfg.num_tcs.pfc_tcs = 1;  in ixgbe_set_interrupt_capability()
 
 | 
| D | ixgbe_dcb_nl.c | 141 				state ? adapter->dcb_cfg.num_tcs.pg_tcs : 0);  in ixgbe_dcbnl_set_state()429 			*num = adapter->dcb_cfg.num_tcs.pg_tcs;  in ixgbe_dcbnl_getnumtcs()
 432 			*num = adapter->dcb_cfg.num_tcs.pfc_tcs;  in ixgbe_dcbnl_getnumtcs()
 493 	ets->ets_cap = adapter->dcb_cfg.num_tcs.pg_tcs;  in ixgbe_dcbnl_ieee_getets()
 546 	if (max_tc > adapter->dcb_cfg.num_tcs.pg_tcs)  in ixgbe_dcbnl_ieee_setets()
 567 	pfc->pfc_cap = adapter->dcb_cfg.num_tcs.pfc_tcs;  in ixgbe_dcbnl_ieee_getpfc()
 
 | 
| D | ixgbe_dcb.h | 108 	struct dcb_num_tcs num_tcs;  member
 | 
| D | ixgbe_dcb.c | 216 	u8 tc = cfg->num_tcs.pg_tcs;  in ixgbe_dcb_get_tc_from_up()
 | 
| D | ixgbe_main.c | 6179 		adapter->dcb_cfg.num_tcs.pg_tcs = MAX_TRAFFIC_CLASS;  in ixgbe_init_dcb()6180 		adapter->dcb_cfg.num_tcs.pfc_tcs = MAX_TRAFFIC_CLASS;  in ixgbe_init_dcb()
 6184 		adapter->dcb_cfg.num_tcs.pg_tcs = X540_TRAFFIC_CLASS;  in ixgbe_init_dcb()
 6185 		adapter->dcb_cfg.num_tcs.pfc_tcs = X540_TRAFFIC_CLASS;  in ixgbe_init_dcb()
 6190 		adapter->dcb_cfg.num_tcs.pg_tcs = DEF_TRAFFIC_CLASS;  in ixgbe_init_dcb()
 6191 		adapter->dcb_cfg.num_tcs.pfc_tcs = DEF_TRAFFIC_CLASS;  in ixgbe_init_dcb()
 9082 	if (tc > adapter->dcb_cfg.num_tcs.pg_tcs)  in ixgbe_setup_tc()
 
 | 
| /Linux-v5.4/drivers/net/ethernet/intel/ixgbevf/ | 
| D | vf.c | 884 int ixgbevf_get_queues(struct ixgbe_hw *hw, unsigned int *num_tcs,  in ixgbevf_get_queues()  argument927 		*num_tcs = msg[IXGBE_VF_TRANS_VLAN];  in ixgbevf_get_queues()
 929 		if (*num_tcs > hw->mac.max_rx_queues)  in ixgbevf_get_queues()
 930 			*num_tcs = 1;  in ixgbevf_get_queues()
 
 | 
| D | vf.h | 190 int ixgbevf_get_queues(struct ixgbe_hw *hw, unsigned int *num_tcs,
 | 
| D | ixgbevf_main.c | 2172 	unsigned int num_tcs = 0;  in ixgbevf_configure_dcb()  local2180 	err = ixgbevf_get_queues(hw, &num_tcs, &def_q);  in ixgbevf_configure_dcb()
 2187 	if (num_tcs > 1) {  in ixgbevf_configure_dcb()
 2195 		num_rx_queues = num_tcs;  in ixgbevf_configure_dcb()
 2600 	unsigned int num_tcs = 0;  in ixgbevf_set_num_queues()  local
 2611 	err = ixgbevf_get_queues(hw, &num_tcs, &def_q);  in ixgbevf_set_num_queues()
 2619 	if (num_tcs > 1) {  in ixgbevf_set_num_queues()
 2620 		adapter->num_rx_queues = num_tcs;  in ixgbevf_set_num_queues()
 
 | 
| /Linux-v5.4/drivers/net/ethernet/mellanox/mlx4/ | 
| D | en_dcb_nl.c | 232 	int num_tcs = 0;  in mlx4_en_dcbnl_set_state()  local242 		num_tcs = IEEE_8021QAZ_MAX_TCS;  in mlx4_en_dcbnl_set_state()
 247 	if (mlx4_en_alloc_tx_queue_per_tc(dev, num_tcs))  in mlx4_en_dcbnl_set_state()
 
 | 
| /Linux-v5.4/drivers/net/ethernet/amd/xgbe/ | 
| D | xgbe-dcb.c | 202 	pdata->num_tcs = max_tc + 1;  in xgbe_dcb_ieee_setets()
 | 
| D | xgbe.h | 1219 	u8 num_tcs;  member
 | 
| D | xgbe-dev.c | 2687 	if (!pdata->num_tcs)  in xgbe_config_tc()2690 	netdev_set_num_tc(pdata->netdev, pdata->num_tcs);  in xgbe_config_tc()
 2692 	for (i = 0, queue = 0, offset = 0; i < pdata->num_tcs; i++) {  in xgbe_config_tc()
 
 | 
| D | xgbe-drv.c | 2264 	pdata->num_tcs = tc;  in xgbe_setup_tc()
 | 
| /Linux-v5.4/drivers/net/ethernet/freescale/dpaa2/ | 
| D | dpaa2-eth.h | 457 	((priv)->dpni_attrs.num_tcs)
 | 
| D | dpni-cmd.h | 181 	u8 num_tcs;  member
 | 
| D | dpni.h | 205 	u8 num_tcs;  member
 | 
| D | dpni.c | 555 	attr->num_tcs = rsp_params->num_tcs;  in dpni_get_attributes()
 | 
| /Linux-v5.4/drivers/net/ethernet/qlogic/qed/ | 
| D | qed_dev.c | 1853 	u8 num_tcs = qed_init_qm_get_num_mtc_tcs(p_hwfn);  in qed_init_qm_mtc_pqs()  local1858 	for (tc = 0; tc < num_tcs; tc++)  in qed_init_qm_mtc_pqs()
 
 |