Home
last modified time | relevance | path

Searched refs:num_tcs (Results 1 – 25 of 27) sorted by relevance

12

/linux-6.12.1/drivers/soc/qcom/
Drpmh-rsc.c271 for (m = tcs->offset; m < tcs->offset + tcs->num_tcs; m++) in tcs_invalidate()
329 if (msg->state == RPMH_ACTIVE_ONLY_STATE && !tcs->num_tcs) in get_tcs_for_msg()
461 if (!drv->tcs[ACTIVE_TCS].num_tcs) in tcs_tx_done()
474 if (!drv->tcs[ACTIVE_TCS].num_tcs) in tcs_tx_done()
555 for_each_set_bit_from(i, drv->tcs_in_use, tcs->offset + tcs->num_tcs) { in check_for_req_inflight()
583 unsigned long max = tcs->offset + tcs->num_tcs; in find_free_tcs()
715 if (slot >= tcs->num_tcs * tcs->ncpt) in find_slots()
787 if (!tcs->num_tcs) in rpmh_rsc_ctrlr_is_busy()
790 max = tcs->offset + tcs->num_tcs; in rpmh_rsc_ctrlr_is_busy()
809 if (!drv->tcs[CONTROL_TCS].num_tcs || !drv->genpd_nb.notifier_call) in rpmh_rsc_write_next_wakeup()
[all …]
Drpmh-internal.h49 int num_tcs; member
125 int num_tcs; member
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en/
Dselq.c15 unsigned int num_tcs; member
47 .num_tcs = 1, in mlx5e_selq_init()
87 selq->standby->num_tcs = mlx5e_get_dcb_num_tc(params); in mlx5e_selq_prepare_params()
89 selq->standby->num_channels * selq->standby->num_tcs; in mlx5e_selq_prepare_params()
171 up = selq->num_tcs > 1 ? mlx5e_get_up(priv, skb) : 0; in mlx5e_select_ptpsq()
214 if (selq->num_tcs <= 1) in mlx5e_select_queue()
262 if (selq->num_tcs <= 1) in mlx5e_select_queue()
/linux-6.12.1/drivers/net/ethernet/intel/ixgbe/
Dixgbe_sriov.c83 adapter->dcb_cfg.num_tcs.pg_tcs = MAX_TRAFFIC_CLASS; in __ixgbe_enable_sriov()
84 adapter->dcb_cfg.num_tcs.pfc_tcs = MAX_TRAFFIC_CLASS; in __ixgbe_enable_sriov()
86 adapter->dcb_cfg.num_tcs.pg_tcs = 4; in __ixgbe_enable_sriov()
87 adapter->dcb_cfg.num_tcs.pfc_tcs = 4; in __ixgbe_enable_sriov()
89 adapter->dcb_cfg.num_tcs.pg_tcs = 1; in __ixgbe_enable_sriov()
90 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()
1061 u8 num_tcs = adapter->hw_tcs; in ixgbe_get_vf_queues() local
[all …]
Dixgbe_lib.c94 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()
1199 adapter->dcb_cfg.num_tcs.pg_tcs = 1; in ixgbe_set_interrupt_capability()
1200 adapter->dcb_cfg.num_tcs.pfc_tcs = 1; in ixgbe_set_interrupt_capability()
Dixgbe_dcb_nl.c139 state ? adapter->dcb_cfg.num_tcs.pg_tcs : 0); in ixgbe_dcbnl_set_state()
427 *num = adapter->dcb_cfg.num_tcs.pg_tcs; in ixgbe_dcbnl_getnumtcs()
430 *num = adapter->dcb_cfg.num_tcs.pfc_tcs; in ixgbe_dcbnl_getnumtcs()
491 ets->ets_cap = adapter->dcb_cfg.num_tcs.pg_tcs; in ixgbe_dcbnl_ieee_getets()
544 if (max_tc > adapter->dcb_cfg.num_tcs.pg_tcs) in ixgbe_dcbnl_ieee_setets()
565 pfc->pfc_cap = adapter->dcb_cfg.num_tcs.pfc_tcs; in ixgbe_dcbnl_ieee_getpfc()
Dixgbe_dcb.h108 struct dcb_num_tcs num_tcs; member
Dixgbe_dcb.c216 u8 tc = cfg->num_tcs.pg_tcs; in ixgbe_dcb_get_tc_from_up()
Dixgbe_main.c6276 adapter->dcb_cfg.num_tcs.pg_tcs = MAX_TRAFFIC_CLASS; in ixgbe_init_dcb()
6277 adapter->dcb_cfg.num_tcs.pfc_tcs = MAX_TRAFFIC_CLASS; in ixgbe_init_dcb()
6281 adapter->dcb_cfg.num_tcs.pg_tcs = X540_TRAFFIC_CLASS; in ixgbe_init_dcb()
6282 adapter->dcb_cfg.num_tcs.pfc_tcs = X540_TRAFFIC_CLASS; in ixgbe_init_dcb()
6287 adapter->dcb_cfg.num_tcs.pg_tcs = DEF_TRAFFIC_CLASS; in ixgbe_init_dcb()
6288 adapter->dcb_cfg.num_tcs.pfc_tcs = DEF_TRAFFIC_CLASS; in ixgbe_init_dcb()
9256 if (tc > adapter->dcb_cfg.num_tcs.pg_tcs) in ixgbe_setup_tc()
/linux-6.12.1/drivers/net/ethernet/intel/ixgbevf/
Dvf.c941 int ixgbevf_get_queues(struct ixgbe_hw *hw, unsigned int *num_tcs, in ixgbevf_get_queues() argument
985 *num_tcs = msg[IXGBE_VF_TRANS_VLAN]; in ixgbevf_get_queues()
987 if (*num_tcs > hw->mac.max_rx_queues) in ixgbevf_get_queues()
988 *num_tcs = 1; in ixgbevf_get_queues()
Dvf.h187 int ixgbevf_get_queues(struct ixgbe_hw *hw, unsigned int *num_tcs,
Dixgbevf_main.c2182 unsigned int num_tcs = 0; in ixgbevf_configure_dcb() local
2190 err = ixgbevf_get_queues(hw, &num_tcs, &def_q); in ixgbevf_configure_dcb()
2197 if (num_tcs > 1) { in ixgbevf_configure_dcb()
2205 num_rx_queues = num_tcs; in ixgbevf_configure_dcb()
2622 unsigned int num_tcs = 0; in ixgbevf_set_num_queues() local
2633 err = ixgbevf_get_queues(hw, &num_tcs, &def_q); in ixgbevf_set_num_queues()
2641 if (num_tcs > 1) { in ixgbevf_set_num_queues()
2642 adapter->num_rx_queues = num_tcs; in ixgbevf_set_num_queues()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx4/
Den_dcb_nl.c232 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-6.12.1/drivers/net/ethernet/aquantia/atlantic/hw_atl2/
Dhw_atl2.c218 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-6.12.1/drivers/net/ethernet/amd/xgbe/
Dxgbe-dcb.c202 pdata->num_tcs = max_tc + 1; in xgbe_dcb_ieee_setets()
Dxgbe.h1240 u8 num_tcs; member
Dxgbe-dev.c2744 if (!pdata->num_tcs) in xgbe_config_tc()
2747 netdev_set_num_tc(pdata->netdev, pdata->num_tcs); in xgbe_config_tc()
2749 for (i = 0, queue = 0, offset = 0; i < pdata->num_tcs; i++) { in xgbe_config_tc()
/linux-6.12.1/drivers/net/ethernet/intel/ice/
Dice_dcb_lib.c33 u8 num_tcs = 0, i, tc, up_mapped_tc, up_in_tc = 0; in ice_is_pfc_causing_hung_q() local
44 num_tcs++; in ice_is_pfc_causing_hung_q()
47 for (tc = 0; tc < num_tcs - 1; tc++) in ice_is_pfc_causing_hung_q()
/linux-6.12.1/drivers/net/ethernet/freescale/dpaa2/
Ddpsw-cmd.h290 u8 num_tcs; member
Ddpni-cmd.h202 u8 num_tcs; member
Ddpsw.h410 u8 num_tcs; member
Ddpni.h216 u8 num_tcs; member
Ddpaa2-eth.h694 ((priv)->dpni_attrs.num_tcs)
Ddpsw.c621 attr->num_tcs = rsp_params->num_tcs; in dpsw_if_get_attributes()
Ddpni.c562 attr->num_tcs = rsp_params->num_tcs; in dpni_get_attributes()

12