/Linux-v5.4/drivers/soc/qcom/ |
D | rpmh-rsc.c | 102 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() 126 bitmap_zero(tcs->slots, MAX_TCS_SLOTS); in tcs_invalidate() 127 spin_unlock(&tcs->lock); in tcs_invalidate() [all …]
|
D | rpmh-internal.h | 101 struct tcs_group tcs[TCS_TYPE_NR]; member
|
/Linux-v5.4/drivers/scsi/aic94xx/ |
D | aic94xx_tmf.c | 47 #define DECLARE_TCS(tcs) \ argument 48 struct tasklet_completion_status tcs = { \ 59 struct tasklet_completion_status *tcs = ascb->uldd_task; in asd_clear_nexus_tasklet_complete() local 66 tcs->dl_opcode = dl->opcode; in asd_clear_nexus_tasklet_complete() 74 struct tasklet_completion_status *tcs = ascb->uldd_task; in asd_clear_nexus_timedout() local 77 tcs->dl_opcode = TMF_RESP_FUNC_FAILED; in asd_clear_nexus_timedout() 86 DECLARE_TCS(tcs); \ 95 ascb->uldd_task = &tcs; \ 107 res = tcs.dl_opcode; \ 248 struct tasklet_completion_status *tcs = ascb->uldd_task; in asd_tmf_timedout() local [all …]
|
/Linux-v5.4/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_lib.c | 25 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 …]
|
D | ixgbe_main.c | 3571 u8 tcs = adapter->hw_tcs; in ixgbe_setup_mtqc() local 3584 if (tcs > 4) in ixgbe_setup_mtqc() 3586 else if (tcs > 1) in ixgbe_setup_mtqc() 3594 if (tcs > 4) { in ixgbe_setup_mtqc() 3596 } else if (tcs > 1) { in ixgbe_setup_mtqc() 3611 if (tcs) { in ixgbe_setup_mtqc() 3949 u8 tcs = adapter->hw_tcs; in ixgbe_setup_mrqc() local 3952 if (tcs > 4) in ixgbe_setup_mrqc() 3954 else if (tcs > 1) in ixgbe_setup_mrqc() 3968 if (tcs > 4) in ixgbe_setup_mrqc() [all …]
|
D | ixgbe_sriov.c | 947 u8 tcs = adapter->hw_tcs; in ixgbe_set_vf_vlan_msg() local 949 if (adapter->vfinfo[vf].pf_vlan || tcs) { in ixgbe_set_vf_vlan_msg()
|
D | ixgbe_ethtool.c | 3092 u8 tcs = adapter->hw_tcs; in ixgbe_max_channels() local 3100 } else if (tcs > 1) { in ixgbe_max_channels() 3105 } else if (tcs > 4) { in ixgbe_max_channels()
|
/Linux-v5.4/Documentation/devicetree/bindings/soc/qcom/ |
D | rpmh-rsc.txt | 45 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-v5.4/drivers/net/ethernet/aquantia/atlantic/ |
D | aq_nic.h | 47 u8 tcs; member
|
D | aq_hw.h | 46 u8 tcs; member
|
D | aq_vec.c | 131 for (i = 0; i < aq_nic_cfg->tcs; ++i) { in aq_vec_alloc()
|
D | aq_nic.c | 66 cfg->tcs = AQ_CFG_TCS_DEF; in aq_nic_cfg_start()
|
/Linux-v5.4/arch/arm64/boot/dts/qcom/ |
D | sm8150.dtsi | 459 qcom,tcs-offset = <0xd00>; 461 qcom,tcs-config = <ACTIVE_TCS 2>,
|
D | sdm845.dtsi | 3103 qcom,tcs-offset = <0xd00>; 3105 qcom,tcs-config = <ACTIVE_TCS 2>,
|
/Linux-v5.4/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_ethtool.c | 766 int max_rx_rings, max_tx_rings, tcs; in bnxt_get_channels() local 786 tcs = netdev_get_num_tc(dev); in bnxt_get_channels() 787 if (tcs > 1) in bnxt_get_channels() 788 max_tx_rings /= tcs; in bnxt_get_channels() 809 int req_tx_rings, req_rx_rings, tcs; in bnxt_set_channels() local 832 tcs = netdev_get_num_tc(dev); in bnxt_set_channels() 843 rc = bnxt_check_rings(bp, req_tx_rings, req_rx_rings, sh, tcs, tx_xdp); in bnxt_set_channels() 874 if (tcs > 1) in bnxt_set_channels() 875 bp->tx_nr_rings = bp->tx_nr_rings_per_tc * tcs + tx_xdp; in bnxt_set_channels()
|
D | bnxt.c | 7873 int tcs, i; in bnxt_setup_msix() local 7875 tcs = netdev_get_num_tc(dev); in bnxt_setup_msix() 7876 if (tcs > 1) { in bnxt_setup_msix() 7879 for (i = 0; i < tcs; i++) { in bnxt_setup_msix() 8127 int tcs = netdev_get_num_tc(bp->dev); in bnxt_reserve_rings() local 8150 if (tcs && (bp->tx_nr_rings_per_tc * tcs != bp->tx_nr_rings)) { in bnxt_reserve_rings() 10325 int bnxt_check_rings(struct bnxt *bp, int tx, int rx, bool sh, int tcs, in bnxt_check_rings() argument 10333 if (tcs) in bnxt_check_rings() 10334 tx_sets = tcs; in bnxt_check_rings()
|
D | bnxt.h | 1998 int bnxt_check_rings(struct bnxt *bp, int tx, int rx, bool sh, int tcs,
|
/Linux-v5.4/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_ethtool.c | 1104 u8 tcs = netdev_get_num_tc(dev); in fm10k_max_channels() local 1107 if (tcs > 1) in fm10k_max_channels() 1108 max_combined = BIT((fls(max_combined / tcs) - 1)); in fm10k_max_channels()
|
/Linux-v5.4/Documentation/networking/device_drivers/intel/ |
D | iavf.rst | 158 Example: Sets up two tcs, tc0 and tc1, with 16 queues each and max tx rate set 167 map: priority mapping for up to 16 priorities to tcs (e.g. map 0 0 0 0 1 1 1 1 172 number of queues for all tcs is 64 or number of cores, whichever is lower.)
|
D | i40e.rst | 667 Example: Sets up two tcs, tc0 and tc1, with 16 queues each and max tx rate set 676 map: priority mapping for up to 16 priorities to tcs (e.g. map 0 0 0 0 1 1 1 1 681 number of queues for all tcs is 64 or number of cores, whichever is lower.)
|
/Linux-v5.4/drivers/net/ethernet/aquantia/atlantic/hw_atl/ |
D | hw_atl_a0.c | 23 .tcs = HW_ATL_A0_TC_MAX, \
|
D | hw_atl_b0.c | 24 .tcs = HW_ATL_B0_TC_MAX, \
|
/Linux-v5.4/include/ |
D | Kbuild | 927 header-test- += soc/qcom/tcs.h
|