Home
last modified time | relevance | path

Searched refs:tcs (Results 1 – 19 of 19) sorted by relevance

/Linux-v4.19/drivers/soc/qcom/
Drpmh-rsc.c102 return &drv->tcs[type]; in get_tcs_of_type()
108 struct tcs_group *tcs; in tcs_invalidate() local
110 tcs = get_tcs_of_type(drv, type); in tcs_invalidate()
112 spin_lock(&tcs->lock); in tcs_invalidate()
113 if (bitmap_empty(tcs->slots, MAX_TCS_SLOTS)) { in tcs_invalidate()
114 spin_unlock(&tcs->lock); in tcs_invalidate()
118 for (m = tcs->offset; m < tcs->offset + tcs->num_tcs; m++) { in tcs_invalidate()
120 spin_unlock(&tcs->lock); in tcs_invalidate()
125 bitmap_zero(tcs->slots, MAX_TCS_SLOTS); in tcs_invalidate()
126 spin_unlock(&tcs->lock); in tcs_invalidate()
[all …]
Drpmh-internal.h101 struct tcs_group tcs[TCS_TYPE_NR]; member
/Linux-v4.19/drivers/scsi/aic94xx/
Daic94xx_tmf.c65 #define DECLARE_TCS(tcs) \ argument
66 struct tasklet_completion_status tcs = { \
77 struct tasklet_completion_status *tcs = ascb->uldd_task; in asd_clear_nexus_tasklet_complete() local
84 tcs->dl_opcode = dl->opcode; in asd_clear_nexus_tasklet_complete()
92 struct tasklet_completion_status *tcs = ascb->uldd_task; in asd_clear_nexus_timedout() local
95 tcs->dl_opcode = TMF_RESP_FUNC_FAILED; in asd_clear_nexus_timedout()
104 DECLARE_TCS(tcs); \
113 ascb->uldd_task = &tcs; \
125 res = tcs.dl_opcode; \
266 struct tasklet_completion_status *tcs = ascb->uldd_task; in asd_tmf_timedout() local
[all …]
/Linux-v4.19/drivers/net/ethernet/intel/ixgbe/
Dixgbe_lib.c25 u8 tcs = adapter->hw_tcs; in ixgbe_cache_ring_dcb_sriov() local
28 if (tcs <= 1) in ixgbe_cache_ring_dcb_sriov()
39 if ((reg_idx & ~vmdq->mask) >= tcs) { in ixgbe_cache_ring_dcb_sriov()
50 if ((reg_idx & ~vmdq->mask) >= tcs) in ixgbe_cache_ring_dcb_sriov()
61 if (fcoe->offset < tcs) in ixgbe_cache_ring_dcb_sriov()
329 u8 tcs = adapter->hw_tcs; in ixgbe_set_dcb_sriov_queues() local
332 if (tcs <= 1) in ixgbe_set_dcb_sriov_queues()
340 vmdq_i = min_t(u16, vmdq_i, MAX_TX_QUEUES / tcs); in ixgbe_set_dcb_sriov_queues()
346 if (tcs > 4) { in ixgbe_set_dcb_sriov_queues()
378 adapter->num_rx_queues_per_pool = tcs; in ixgbe_set_dcb_sriov_queues()
[all …]
Dixgbe_main.c3559 u8 tcs = adapter->hw_tcs; in ixgbe_setup_mtqc() local
3572 if (tcs > 4) in ixgbe_setup_mtqc()
3574 else if (tcs > 1) in ixgbe_setup_mtqc()
3582 if (tcs > 4) in ixgbe_setup_mtqc()
3584 else if (tcs > 1) in ixgbe_setup_mtqc()
3593 if (tcs) { in ixgbe_setup_mtqc()
3914 u8 tcs = adapter->hw_tcs; in ixgbe_setup_mrqc() local
3917 if (tcs > 4) in ixgbe_setup_mrqc()
3919 else if (tcs > 1) in ixgbe_setup_mrqc()
3930 if (tcs > 4) in ixgbe_setup_mrqc()
[all …]
Dixgbe_sriov.c932 u8 tcs = adapter->hw_tcs; in ixgbe_set_vf_vlan_msg() local
934 if (adapter->vfinfo[vf].pf_vlan || tcs) { in ixgbe_set_vf_vlan_msg()
Dixgbe_ethtool.c3089 u8 tcs = adapter->hw_tcs; in ixgbe_max_channels() local
3097 } else if (tcs > 1) { in ixgbe_max_channels()
3102 } else if (tcs > 4) { in ixgbe_max_channels()
/Linux-v4.19/Documentation/devicetree/bindings/soc/qcom/
Drpmh-rsc.txt45 The tcs-offset specifies the start address of the
52 "drv-0", "drv-1", "drv-2" etc and "tcs-offset". The
66 - qcom,tcs-config:
109 qcom,tcs-offset = <0xd00>;
111 qcom,tcs-config = <ACTIVE_TCS 2>,
131 qcom,tcs-offset = <0x1c00>;
133 qcom,tcs-config = <ACTIVE_TCS 0>,
/Linux-v4.19/drivers/net/ethernet/aquantia/atlantic/
Daq_nic.h45 u8 tcs; member
Daq_hw.h38 u8 tcs; member
Daq_vec.c133 for (i = 0; i < aq_nic_cfg->tcs; ++i) { in aq_vec_alloc()
Daq_nic.c68 cfg->tcs = AQ_CFG_TCS_DEF; in aq_nic_cfg_start()
/Linux-v4.19/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ethtool.c470 int max_rx_rings, max_tx_rings, tcs; in bnxt_get_channels() local
490 tcs = netdev_get_num_tc(dev); in bnxt_get_channels()
491 if (tcs > 1) in bnxt_get_channels()
492 max_tx_rings /= tcs; in bnxt_get_channels()
513 int req_tx_rings, req_rx_rings, tcs; in bnxt_set_channels() local
536 tcs = netdev_get_num_tc(dev); in bnxt_set_channels()
547 rc = bnxt_check_rings(bp, req_tx_rings, req_rx_rings, sh, tcs, tx_xdp); in bnxt_set_channels()
578 if (tcs > 1) in bnxt_set_channels()
579 bp->tx_nr_rings = bp->tx_nr_rings_per_tc * tcs + tx_xdp; in bnxt_set_channels()
Dbnxt.c5842 int tcs, i; in bnxt_setup_msix() local
5844 tcs = netdev_get_num_tc(dev); in bnxt_setup_msix()
5845 if (tcs > 1) { in bnxt_setup_msix()
5848 for (i = 0; i < tcs; i++) { in bnxt_setup_msix()
6075 int tcs = netdev_get_num_tc(bp->dev); in bnxt_reserve_rings() local
6094 if (tcs && (bp->tx_nr_rings_per_tc * tcs != bp->tx_nr_rings)) { in bnxt_reserve_rings()
7837 int bnxt_check_rings(struct bnxt *bp, int tx, int rx, bool sh, int tcs, in bnxt_check_rings() argument
7845 if (tcs) in bnxt_check_rings()
7846 tx_sets = tcs; in bnxt_check_rings()
Dbnxt.h1499 int bnxt_check_rings(struct bnxt *bp, int tx, int rx, bool sh, int tcs,
/Linux-v4.19/drivers/net/ethernet/intel/fm10k/
Dfm10k_ethtool.c1105 u8 tcs = netdev_get_num_tc(dev); in fm10k_max_channels() local
1108 if (tcs > 1) in fm10k_max_channels()
1109 max_combined = BIT((fls(max_combined / tcs) - 1)); in fm10k_max_channels()
/Linux-v4.19/arch/arm64/boot/dts/qcom/
Dsdm845.dtsi1016 qcom,tcs-offset = <0xd00>;
1018 qcom,tcs-config = <ACTIVE_TCS 2>,
/Linux-v4.19/drivers/net/ethernet/aquantia/atlantic/hw_atl/
Dhw_atl_b0.c27 .tcs = HW_ATL_B0_TC_MAX, \
Dhw_atl_a0.c26 .tcs = HW_ATL_A0_TC_MAX, \