/linux-6.3-rc2/drivers/soc/qcom/ |
A D | rpmh-rsc.c | 264 struct tcs_group *tcs = &drv->tcs[type]; in tcs_invalidate() local 270 for (m = tcs->offset; m < tcs->offset + tcs->num_tcs; m++) in tcs_invalidate() 327 tcs = &drv->tcs[type]; in get_tcs_for_msg() 329 tcs = &drv->tcs[WAKE_TCS]; in get_tcs_for_msg() 357 tcs = &drv->tcs[i]; in get_req_from_tcs() 359 return tcs->req[tcs_id - tcs->offset]; in get_req_from_tcs() 661 tcs->req[tcs_id - tcs->offset] = msg; in rpmh_rsc_send_data() 713 if (slot >= tcs->num_tcs * tcs->ncpt) in find_slots() 786 tcs = &drv->tcs[WAKE_TCS]; in rpmh_rsc_ctrlr_is_busy() 788 max = tcs->offset + tcs->num_tcs; in rpmh_rsc_ctrlr_is_busy() [all …]
|
A D | rpmh-internal.h | 129 struct tcs_group tcs[TCS_TYPE_NR]; member
|
/linux-6.3-rc2/tools/testing/selftests/sgx/ |
A D | test_encl.c | 73 void *tcs = (void *)op->tcs_page; in do_encl_init_tcs_page() local 76 memset(tcs, 0, 16); /* STATE and FLAGS */ in do_encl_init_tcs_page() 77 memcpy(tcs + 16, &op->ssa, 8); /* OSSA */ in do_encl_init_tcs_page() 78 memset(tcs + 24, 0, 4); /* CSSA */ in do_encl_init_tcs_page() 80 memcpy(tcs + 28, &val_32, 4); /* NSSA */ in do_encl_init_tcs_page() 81 memcpy(tcs + 32, &op->entry, 8); /* OENTRY */ in do_encl_init_tcs_page() 82 memset(tcs + 40, 0, 24); /* AEP, OFSBASE, OGSBASE */ in do_encl_init_tcs_page() 84 memcpy(tcs + 64, &val_32, 4); /* FSLIMIT */ in do_encl_init_tcs_page() 85 memcpy(tcs + 68, &val_32, 4); /* GSLIMIT */ in do_encl_init_tcs_page() 86 memset(tcs + 72, 0, 4024); /* Reserved */ in do_encl_init_tcs_page()
|
A D | test_encl.lds | 5 tcs PT_LOAD; 13 .tcs : { 14 *(.tcs*) 15 } : tcs
|
A D | main.c | 290 self->run.tcs = self->encl.encl_base; in TEST_F() 363 self->run.tcs = self->encl.encl_base; in TEST_F() 429 self->run.tcs = self->encl.encl_base; 512 self->run.tcs = self->encl.encl_base; in TEST_F() 548 self->run.tcs = self->encl.encl_base; in TEST_F() 581 self->run.tcs = self->encl.encl_base; in TEST_F() 626 self->run.tcs = self->encl.encl_base; in TEST_F() 728 self->run.tcs = self->encl.encl_base; in TEST_F() 791 self->run.tcs = self->encl.encl_base; in TEST_F() 1233 void *addr, *tcs, *stack_end, *ssa; in TEST_F() local [all …]
|
/linux-6.3-rc2/drivers/scsi/aic94xx/ |
A D | aic94xx_tmf.c | 47 #define DECLARE_TCS(tcs) \ argument 86 DECLARE_TCS(tcs); \ 95 ascb->uldd_task = &tcs; \ 107 res = tcs.dl_opcode; \ 309 tcs = ascb->uldd_task; in asd_tmf_tasklet_complete() 317 tcs->tag = ascb->tag; in asd_tmf_tasklet_complete() 395 DECLARE_TCS(tcs); in asd_abort_task() 462 tascb->tag = tcs.tag; in asd_abort_task() 480 res = tcs.tmf_state; in asd_abort_task() 564 DECLARE_TCS(tcs); in asd_initiate_ssp_tmf() [all …]
|
/linux-6.3-rc2/drivers/net/ethernet/intel/ixgbe/ |
A 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() 61 if (fcoe->offset < tcs) in ixgbe_cache_ring_dcb_sriov() 333 u8 tcs = adapter->hw_tcs; in ixgbe_set_dcb_sriov_queues() local 336 if (tcs <= 1) in ixgbe_set_dcb_sriov_queues() 350 if (tcs > 4) { in ixgbe_set_dcb_sriov_queues() 405 } else if (tcs > 1) { in ixgbe_set_dcb_sriov_queues() 430 int tcs; in ixgbe_set_dcb_queues() local 433 tcs = adapter->hw_tcs; in ixgbe_set_dcb_queues() 436 if (tcs <= 1) in ixgbe_set_dcb_queues() [all …]
|
/linux-6.3-rc2/Documentation/devicetree/bindings/soc/qcom/ |
A D | qcom,rpmh-rsc.yaml | 66 qcom,tcs-config: 85 qcom,tcs-offset: 123 - qcom,tcs-config 124 - qcom,tcs-offset 152 qcom,tcs-offset = <0xd00>; 154 qcom,tcs-config = <ACTIVE_TCS 2>, 176 qcom,tcs-offset = <0x1c00>; 178 qcom,tcs-config = <ACTIVE_TCS 0>, 199 qcom,tcs-offset = <0xd00>; 201 qcom,tcs-config = <ACTIVE_TCS 2>,
|
/linux-6.3-rc2/drivers/net/ethernet/aquantia/atlantic/hw_atl2/ |
A D | hw_atl2.c | 115 unsigned int tcs, q_per_tc; in hw_atl2_hw_queue_to_tc_map_set() local 124 tcs = 8; in hw_atl2_hw_queue_to_tc_map_set() 128 tcs = 4; in hw_atl2_hw_queue_to_tc_map_set() 135 for (tc = 0; tc != tcs; tc++) { in hw_atl2_hw_queue_to_tc_map_set() 177 tx_buff_size /= cfg->tcs; in hw_atl2_hw_qos_set() 178 rx_buff_size /= cfg->tcs; in hw_atl2_hw_qos_set() 179 for (tc = 0; tc < cfg->tcs; tc++) { in hw_atl2_hw_qos_set() 263 (BIT(nic_cfg->tcs) - 1); in hw_atl2_hw_init_tx_tc_rate_limit() 269 for (tc = 0; tc != nic_cfg->tcs; tc++) { in hw_atl2_hw_init_tx_tc_rate_limit() 295 for (tc = 0; tc != nic_cfg->tcs; tc++) { in hw_atl2_hw_init_tx_tc_rate_limit() [all …]
|
/linux-6.3-rc2/drivers/net/ethernet/aquantia/atlantic/ |
A D | aq_nic.c | 81 if (cfg->tcs > 2) in aq_nic_cfg_update_num_vecs() 101 cfg->tcs = AQ_CFG_TCS_DEF; in aq_nic_cfg_start() 153 cfg->prio_tc_map[i] = cfg->tcs * i / 8; in aq_nic_cfg_start() 555 self->aq_vecs * cfg->tcs); in aq_nic_start() 560 self->aq_vecs * cfg->tcs); in aq_nic_start() 564 for (i = 0; i < cfg->tcs; i++) { in aq_nic_start() 1609 if (tcs == cfg->tcs || (tcs == 0 && !cfg->is_qos)) in aq_nic_setup_tc_mqprio() 1616 cfg->tcs = tcs; in aq_nic_setup_tc_mqprio() 1617 if (cfg->tcs == 0) in aq_nic_setup_tc_mqprio() 1618 cfg->tcs = 1; in aq_nic_setup_tc_mqprio() [all …]
|
A D | aq_nic.h | 73 u8 tcs; member 216 int aq_nic_setup_tc_mqprio(struct aq_nic_s *self, u32 tcs, u8 *prio_tc_map);
|
A D | aq_filters.c | 175 if (fsp->ring_cookie > cfg->num_rss_queues * cfg->tcs) { in aq_check_approve_fvlan() 178 cfg->num_rss_queues * cfg->tcs - 1); in aq_check_approve_fvlan() 280 if (fsp->ring_cookie >= cfg->num_rss_queues * cfg->tcs) { in aq_rule_is_not_correct() 284 cfg->num_rss_queues * cfg->tcs - 1); in aq_rule_is_not_correct()
|
A D | aq_vec.c | 135 for (i = 0; i < aq_nic_cfg->tcs; ++i) { in aq_vec_ring_alloc()
|
A D | aq_ethtool.c | 188 (rx_stat_cnt + tx_stat_cnt) * cfg->vecs * cfg->tcs; in aq_ethtool_n_stats() 275 for (tc = 0; tc < cfg->tcs; tc++) { in aq_ethtool_get_strings()
|
/linux-6.3-rc2/Documentation/devicetree/bindings/interconnect/ |
A D | qcom,bcm-voter.yaml | 24 qcom,tcs-wait: 63 qcom,tcs-wait = <QCOM_ICC_TAG_AMC>;
|
/linux-6.3-rc2/arch/x86/include/uapi/asm/ |
A D | sgx.h | 177 __u64 tcs; member
|
/linux-6.3-rc2/drivers/net/ethernet/aquantia/atlantic/hw_atl/ |
A D | hw_atl_b0.c | 172 tx_buff_size /= cfg->tcs; in hw_atl_b0_hw_qos_set() 173 rx_buff_size /= cfg->tcs; in hw_atl_b0_hw_qos_set() 174 for (tc = 0; tc < cfg->tcs; tc++) { in hw_atl_b0_hw_qos_set() 353 (BIT(nic_cfg->tcs) - 1); in hw_atl_b0_hw_init_tx_tc_rate_limit() 359 for (tc = 0; tc != nic_cfg->tcs; tc++) { in hw_atl_b0_hw_init_tx_tc_rate_limit() 390 for (tc = 0; tc != nic_cfg->tcs; tc++) { in hw_atl_b0_hw_init_tx_tc_rate_limit() 404 (nic_cfg->tcs - num_min_rated_tcs); in hw_atl_b0_hw_init_tx_tc_rate_limit() 438 for (tc = nic_cfg->tcs; tc != AQ_CFG_TCS_MAX; tc++) { in hw_atl_b0_hw_init_tx_tc_rate_limit()
|
/linux-6.3-rc2/Documentation/devicetree/bindings/regulator/ |
A D | fcs,fan53555.yaml | 22 - tcs,tcs4525
|
/linux-6.3-rc2/drivers/net/ethernet/intel/fm10k/ |
A D | fm10k_ethtool.c | 1111 u8 tcs = netdev_get_num_tc(dev); in fm10k_max_channels() local 1114 if (tcs > 1) in fm10k_max_channels() 1115 max_combined = BIT((fls(max_combined / tcs) - 1)); in fm10k_max_channels()
|
/linux-6.3-rc2/Documentation/networking/device_drivers/ethernet/intel/ |
A 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.)
|
/linux-6.3-rc2/drivers/net/ethernet/broadcom/bnxt/ |
A D | bnxt_ethtool.c | 858 int max_rx_rings, max_tx_rings, tcs; in bnxt_get_channels() local 870 tcs = netdev_get_num_tc(dev); in bnxt_get_channels() 871 tx_grps = max(tcs, 1); in bnxt_get_channels() 884 if (tcs > 1) in bnxt_get_channels() 885 max_tx_rings /= tcs; in bnxt_get_channels() 906 int req_tx_rings, req_rx_rings, tcs; in bnxt_set_channels() local 929 tcs = netdev_get_num_tc(dev); in bnxt_set_channels() 940 rc = bnxt_check_rings(bp, req_tx_rings, req_rx_rings, sh, tcs, tx_xdp); in bnxt_set_channels() 978 if (tcs > 1) in bnxt_set_channels() 979 bp->tx_nr_rings = bp->tx_nr_rings_per_tc * tcs + tx_xdp; in bnxt_set_channels()
|
/linux-6.3-rc2/arch/arm/boot/dts/ |
A D | qcom-sdx65.dtsi | 604 qcom,tcs-offset = <0xd00>; 606 qcom,tcs-config = <ACTIVE_TCS 2>,
|
A D | qcom-sdx55.dtsi | 709 qcom,tcs-offset = <0xd00>; 711 qcom,tcs-config = <ACTIVE_TCS 2>, <SLEEP_TCS 2>,
|
/linux-6.3-rc2/arch/arm64/boot/dts/rockchip/ |
A D | rk3568-radxa-cm3i.dtsi | 124 compatible = "tcs,tcs4525";
|
A D | rk3566-radxa-cm3.dtsi | 105 compatible = "tcs,tcs4525";
|