/linux/drivers/scsi/aic94xx/ |
H A 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/tools/testing/selftests/sgx/ |
H A D | test_encl.c | 76 void *tcs = (void *)op->tcs_page; in do_encl_init_tcs_page() local 79 memset(tcs, 0, 16); /* STATE and FLAGS */ in do_encl_init_tcs_page() 80 memcpy(tcs + 16, &op->ssa, 8); /* OSSA */ in do_encl_init_tcs_page() 81 memset(tcs + 24, 0, 4); /* CSSA */ in do_encl_init_tcs_page() 83 memcpy(tcs + 28, &val_32, 4); /* NSSA */ in do_encl_init_tcs_page() 84 memcpy(tcs + 32, &op->entry, 8); /* OENTRY */ in do_encl_init_tcs_page() 85 memset(tcs + 40, 0, 24); /* AEP, OFSBASE, OGSBASE */ in do_encl_init_tcs_page() 87 memcpy(tcs + 64, &val_32, 4); /* FSLIMIT */ in do_encl_init_tcs_page() 88 memcpy(tcs + 68, &val_32, 4); /* GSLIMIT */ in do_encl_init_tcs_page() 89 memset(tcs + 72, 0, 4024); /* Reserved */ in do_encl_init_tcs_page()
|
H A D | test_encl.lds | 5 tcs PT_LOAD; 14 .tcs : { 15 *(.tcs*) 16 } : tcs
|
H 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() 593 self->run.tcs = self->encl.encl_base + PAGE_SIZE; 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() [all …]
|
/linux/drivers/net/ethernet/intel/ixgbe/ |
H 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() 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() 333 u8 tcs = adapter->hw_tcs; in ixgbe_set_dcb_sriov_queues() local 336 if (tcs <= 1) in ixgbe_set_dcb_sriov_queues() 344 vmdq_i = min_t(u16, vmdq_i, MAX_TX_QUEUES / tcs); in ixgbe_set_dcb_sriov_queues() 350 if (tcs > 4) { in ixgbe_set_dcb_sriov_queues() 382 adapter->num_rx_queues_per_pool = tcs; in ixgbe_set_dcb_sriov_queues() [all …]
|
H A D | ixgbe_main.c | 3583 u8 tcs = adapter->hw_tcs; in ixgbe_setup_mtqc() local 3596 if (tcs > 4) in ixgbe_setup_mtqc() 3598 else if (tcs > 1) in ixgbe_setup_mtqc() 3606 if (tcs > 4) { in ixgbe_setup_mtqc() 3608 } else if (tcs > 1) { in ixgbe_setup_mtqc() 3623 if (tcs) { in ixgbe_setup_mtqc() 3960 u8 tcs = adapter->hw_tcs; in ixgbe_setup_mrqc() local 3963 if (tcs > 4) in ixgbe_setup_mrqc() 3965 else if (tcs > 1) in ixgbe_setup_mrqc() 3979 if (tcs > 4) in ixgbe_setup_mrqc() [all …]
|
H A D | ixgbe_sriov.c | 974 u8 tcs = adapter->hw_tcs; in ixgbe_set_vf_vlan_msg() local 976 if (adapter->vfinfo[vf].pf_vlan || tcs) { in ixgbe_set_vf_vlan_msg()
|
/linux/drivers/net/ethernet/aquantia/atlantic/ |
H 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);
|
H 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()
|
H A D | aq_vec.c | 135 for (i = 0; i < aq_nic_cfg->tcs; ++i) { in aq_vec_ring_alloc()
|
H A D | aq_ethtool.c | 190 (rx_stat_cnt + tx_stat_cnt) * cfg->vecs * cfg->tcs; in aq_ethtool_n_stats() 277 for (tc = 0; tc < cfg->tcs; tc++) { in aq_ethtool_get_strings()
|
/linux/drivers/soc/qcom/ |
H A D | rpmh-internal.h | 129 struct tcs_group tcs[TCS_TYPE_NR]; member
|
/linux/arch/arm64/boot/dts/rockchip/ |
H A D | rk3566-powkiddy-rk2023.dts | 42 compatible = "tcs,tcs4525";
|
H A D | rk3566-powkiddy-rgb30.dts | 43 compatible = "tcs,tcs4525";
|
H A D | rk3568-radxa-cm3i.dtsi | 120 compatible = "tcs,tcs4525";
|
H A D | rk3566-odroid-m1s.dts | 225 compatible = "tcs,tcs4525";
|
H A D | rk3568-odroid-m1.dts | 248 compatible = "tcs,tcs4525";
|
H A D | rk3566-lckfb-tspi.dts | 219 compatible = "tcs,tcs4525";
|
/linux/arch/x86/include/uapi/asm/ |
H A D | sgx.h | 177 __u64 tcs; member
|
/linux/drivers/net/ethernet/intel/fm10k/ |
H A D | fm10k_ethtool.c | 1113 u8 tcs = netdev_get_num_tc(dev); in fm10k_max_channels() local 1116 if (tcs > 1) in fm10k_max_channels() 1117 max_combined = BIT((fls(max_combined / tcs) - 1)); in fm10k_max_channels()
|
/linux/Documentation/networking/device_drivers/ethernet/intel/ |
H 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.)
|
H A 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/arch/arm64/boot/dts/qcom/ |
H A D | sm4450.dtsi | 578 qcom,tcs-offset = <0xd00>; 580 qcom,tcs-config = <ACTIVE_TCS 2>, <SLEEP_TCS 3>,
|
/linux/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_ethtool.c | 868 int max_rx_rings, max_tx_rings, tcs; in bnxt_get_channels() local 880 tcs = bp->num_tc; in bnxt_get_channels() 881 tx_grps = max(tcs, 1); in bnxt_get_channels() 894 if (tcs > 1) in bnxt_get_channels() 895 max_tx_rings /= tcs; in bnxt_get_channels() 916 int req_tx_rings, req_rx_rings, tcs; in bnxt_set_channels() local 940 tcs = bp->num_tc; in bnxt_set_channels() 959 rc = bnxt_check_rings(bp, req_tx_rings, req_rx_rings, sh, tcs, tx_xdp); in bnxt_set_channels() 985 if (tcs > 1) in bnxt_set_channels() 986 bp->tx_nr_rings = bp->tx_nr_rings_per_tc * tcs + tx_xdp; in bnxt_set_channels()
|
H A D | bnxt.c | 4063 int tcs = bp->num_tc; in bnxt_alloc_cp_rings() local 4065 if (!tcs) in bnxt_alloc_cp_rings() 4066 tcs = 1; in bnxt_alloc_cp_rings() 4100 cp_count += tcs; in bnxt_alloc_cp_rings() 10880 int tcs = bp->num_tc; in bnxt_num_tx_to_cp() local 10882 if (!tcs) in bnxt_num_tx_to_cp() 10883 tcs = 1; in bnxt_num_tx_to_cp() 10884 return __bnxt_num_tx_to_cp(bp, tx, tcs, bp->tx_nr_rings_xdp); in bnxt_num_tx_to_cp() 10889 int tcs = bp->num_tc; in bnxt_num_cp_to_tx() local 10891 return (tx_cp - bp->tx_nr_rings_xdp) * tcs + in bnxt_num_cp_to_tx() [all …]
|