/linux/drivers/soc/qcom/ |
A D | rpmh-rsc.c | 422 if (!drv->tcs[ACTIVE_TCS].num_tcs) in tcs_tx_done() 435 if (!drv->tcs[ACTIVE_TCS].num_tcs) in tcs_tx_done() 544 unsigned long max = tcs->offset + tcs->num_tcs; in find_free_tcs() 675 if (slot >= tcs->num_tcs * tcs->ncpt) in find_slots() 747 if (!tcs->num_tcs) in rpmh_rsc_ctrlr_is_busy() 750 max = tcs->offset + tcs->num_tcs; in rpmh_rsc_ctrlr_is_busy() 889 tcs->num_tcs = tcs_cfg[i].n; in rpmh_probe_tcs_config() 895 if (st + tcs->num_tcs > max_tcs || in rpmh_probe_tcs_config() 899 tcs->mask = ((1 << tcs->num_tcs) - 1) << st; in rpmh_probe_tcs_config() 901 st += tcs->num_tcs; in rpmh_probe_tcs_config() [all …]
|
A D | rpmh-internal.h | 49 int num_tcs; member 118 int num_tcs; member
|
/linux/drivers/net/ethernet/intel/ixgbe/ |
A D | ixgbe_sriov.c | 82 adapter->dcb_cfg.num_tcs.pg_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() 698 u8 num_tcs = adapter->hw_tcs; in ixgbe_vf_reset_event() local 715 if (vfinfo->pf_qos || !num_tcs) in ixgbe_vf_reset_event() 1034 u8 num_tcs = adapter->hw_tcs; in ixgbe_get_vf_queues() local 1053 if (num_tcs > 1) in ixgbe_get_vf_queues() 1057 if (num_tcs) in ixgbe_get_vf_queues() [all …]
|
A D | ixgbe_lib.c | 94 u8 num_tcs = adapter->hw_tcs; in ixgbe_get_first_reg_idx() local 110 if (num_tcs > 4) { in ixgbe_get_first_reg_idx() 150 u8 num_tcs = adapter->hw_tcs; in ixgbe_cache_ring_dcb() local 155 if (num_tcs <= 1) in ixgbe_cache_ring_dcb() 160 for (tc = 0, offset = 0; tc < num_tcs; tc++, offset += rss_i) { in ixgbe_cache_ring_dcb() 1203 adapter->dcb_cfg.num_tcs.pg_tcs = 1; in ixgbe_set_interrupt_capability() 1204 adapter->dcb_cfg.num_tcs.pfc_tcs = 1; in ixgbe_set_interrupt_capability()
|
A 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()
|
A D | ixgbe_dcb.h | 108 struct dcb_num_tcs num_tcs; member
|
A D | ixgbe_dcb.c | 216 u8 tc = cfg->num_tcs.pg_tcs; in ixgbe_dcb_get_tc_from_up()
|
A D | ixgbe_main.c | 6216 adapter->dcb_cfg.num_tcs.pg_tcs = MAX_TRAFFIC_CLASS; in ixgbe_init_dcb() 6217 adapter->dcb_cfg.num_tcs.pfc_tcs = MAX_TRAFFIC_CLASS; in ixgbe_init_dcb() 6221 adapter->dcb_cfg.num_tcs.pg_tcs = X540_TRAFFIC_CLASS; in ixgbe_init_dcb() 6222 adapter->dcb_cfg.num_tcs.pfc_tcs = X540_TRAFFIC_CLASS; in ixgbe_init_dcb() 6227 adapter->dcb_cfg.num_tcs.pg_tcs = DEF_TRAFFIC_CLASS; in ixgbe_init_dcb() 6228 adapter->dcb_cfg.num_tcs.pfc_tcs = DEF_TRAFFIC_CLASS; in ixgbe_init_dcb() 9103 if (tc > adapter->dcb_cfg.num_tcs.pg_tcs) in ixgbe_setup_tc()
|
/linux/drivers/net/ethernet/intel/ixgbevf/ |
A D | vf.c | 892 int ixgbevf_get_queues(struct ixgbe_hw *hw, unsigned int *num_tcs, in ixgbevf_get_queues() argument 935 *num_tcs = msg[IXGBE_VF_TRANS_VLAN]; in ixgbevf_get_queues() 937 if (*num_tcs > hw->mac.max_rx_queues) in ixgbevf_get_queues() 938 *num_tcs = 1; in ixgbevf_get_queues()
|
A D | vf.h | 187 int ixgbevf_get_queues(struct ixgbe_hw *hw, unsigned int *num_tcs,
|
A D | ixgbevf_main.c | 2175 unsigned int num_tcs = 0; in ixgbevf_configure_dcb() local 2183 err = ixgbevf_get_queues(hw, &num_tcs, &def_q); in ixgbevf_configure_dcb() 2190 if (num_tcs > 1) { in ixgbevf_configure_dcb() 2198 num_rx_queues = num_tcs; in ixgbevf_configure_dcb() 2601 unsigned int num_tcs = 0; in ixgbevf_set_num_queues() local 2612 err = ixgbevf_get_queues(hw, &num_tcs, &def_q); in ixgbevf_set_num_queues() 2620 if (num_tcs > 1) { in ixgbevf_set_num_queues() 2621 adapter->num_rx_queues = num_tcs; in ixgbevf_set_num_queues()
|
/linux/drivers/net/ethernet/mellanox/mlx4/ |
A D | en_dcb_nl.c | 232 int num_tcs = 0; in mlx4_en_dcbnl_set_state() local 242 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/drivers/net/ethernet/aquantia/atlantic/hw_atl2/ |
A D | hw_atl2.c | 218 const u32 num_tcs = aq_hw_num_tcs(self); in hw_atl2_hw_rss_set() local 223 rpf_redir2_enable = num_tcs > 4 ? 1 : 0; in hw_atl2_hw_rss_set() 228 for (tc = 0; tc != num_tcs; tc++) { in hw_atl2_hw_rss_set()
|
/linux/drivers/net/ethernet/amd/xgbe/ |
A D | xgbe-dcb.c | 202 pdata->num_tcs = max_tc + 1; in xgbe_dcb_ieee_setets()
|
A D | xgbe.h | 1206 u8 num_tcs; member
|
A 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()
|
/linux/drivers/net/ethernet/intel/ice/ |
A D | ice_dcb_lib.c | 32 u8 num_tcs = 0, i, tc, up_mapped_tc, up_in_tc = 0; in ice_is_pfc_causing_hung_q() local 43 num_tcs++; in ice_is_pfc_causing_hung_q() 46 for (tc = 0; tc < num_tcs - 1; tc++) in ice_is_pfc_causing_hung_q()
|
/linux/drivers/net/ethernet/freescale/dpaa2/ |
A D | dpsw-cmd.h | 290 u8 num_tcs; member
|
A D | dpaa2-eth.h | 635 ((priv)->dpni_attrs.num_tcs)
|
A D | dpni-cmd.h | 195 u8 num_tcs; member
|
A D | dpsw.h | 410 u8 num_tcs; member
|
A D | dpni.h | 207 u8 num_tcs; member
|
A D | dpsw.c | 621 attr->num_tcs = rsp_params->num_tcs; in dpsw_if_get_attributes()
|
A D | dpni.c | 558 attr->num_tcs = rsp_params->num_tcs; in dpni_get_attributes()
|
/linux/drivers/net/ethernet/qlogic/qed/ |
A D | qed_dev.c | 1849 u8 num_tcs = qed_init_qm_get_num_mtc_tcs(p_hwfn); in qed_init_qm_mtc_pqs() local 1854 for (tc = 0; tc < num_tcs; tc++) in qed_init_qm_mtc_pqs()
|