/linux-master/tools/testing/selftests/sgx/ |
H A D | test_encl.c | 76 void *tcs = (void *)op->tcs_page; local 79 memset(tcs, 0, 16); /* STATE and FLAGS */ 80 memcpy(tcs + 16, &op->ssa, 8); /* OSSA */ 81 memset(tcs + 24, 0, 4); /* CSSA */ 83 memcpy(tcs + 28, &val_32, 4); /* NSSA */ 84 memcpy(tcs + 32, &op->entry, 8); /* OENTRY */ 85 memset(tcs + 40, 0, 24); /* AEP, OFSBASE, OGSBASE */ 87 memcpy(tcs + 64, &val_32, 4); /* FSLIMIT */ 88 memcpy(tcs + 68, &val_32, 4); /* GSLIMIT */ 89 memset(tcs [all...] |
H A D | main.c | 290 self->run.tcs = self->encl.encl_base; 363 self->run.tcs = self->encl.encl_base; 429 self->run.tcs = self->encl.encl_base; 512 self->run.tcs = self->encl.encl_base; 548 self->run.tcs = self->encl.encl_base; 581 self->run.tcs = self->encl.encl_base; 593 self->run.tcs = self->encl.encl_base + PAGE_SIZE; 626 self->run.tcs = self->encl.encl_base; 728 self->run.tcs = self->encl.encl_base; 791 self->run.tcs 1233 void *addr, *tcs, *stack_end, *ssa; local [all...] |
/linux-master/drivers/soc/qcom/ |
H A D | rpmh-rsc.c | 31 #include <soc/qcom/tcs.h> 102 * specified in the device tree by "qcom,tcs-offset" and used to 105 * specified by the device tree as "qcom,tcs-config". 264 struct tcs_group *tcs = &drv->tcs[type]; local 267 if (bitmap_empty(tcs->slots, MAX_TCS_SLOTS)) 270 for (m = tcs->offset; m < tcs->offset + tcs->num_tcs; m++) 273 bitmap_zero(tcs 304 struct tcs_group *tcs; local 353 struct tcs_group *tcs; local 546 check_for_req_inflight(struct rsc_drv *drv, struct tcs_group *tcs, const struct tcs_request *msg) argument 578 find_free_tcs(struct tcs_group *tcs) argument 606 claim_tcs_for_req(struct rsc_drv *drv, struct tcs_group *tcs, const struct tcs_request *msg) argument 646 struct tcs_group *tcs; local 703 find_slots(struct tcs_group *tcs, const struct tcs_request *msg, int *tcs_id, int *cmd_id) argument 742 struct tcs_group *tcs; local 776 const struct tcs_group *tcs = &drv->tcs[ACTIVE_TCS]; local 970 struct tcs_group *tcs; local [all...] |
H A D | rpmh-internal.h | 12 #include <soc/qcom/tcs.h> 106 * @tcs: TCS groups. 129 struct tcs_group tcs[TCS_TYPE_NR]; member in struct:rsc_drv
|
/linux-master/drivers/interconnect/qcom/ |
H A D | bcm-voter.h | 11 #include <soc/qcom/tcs.h>
|
H A D | bcm-voter.c | 14 #include <soc/qcom/tcs.h> 265 * qcom_icc_bcm_voter_commit - generates and commits tcs cmds based on bcms 382 if (of_property_read_u32(np, "qcom,tcs-wait", &voter->tcs_wait))
|
/linux-master/drivers/scsi/aic94xx/ |
H A D | aic94xx_tmf.c | 47 #define DECLARE_TCS(tcs) \ 48 struct tasklet_completion_status tcs = { \ 59 struct tasklet_completion_status *tcs = ascb->uldd_task; local 66 tcs->dl_opcode = dl->opcode; 74 struct tasklet_completion_status *tcs = ascb->uldd_task; local 77 tcs->dl_opcode = TMF_RESP_FUNC_FAILED; 86 DECLARE_TCS(tcs); \ 95 ascb->uldd_task = &tcs; \ 107 res = tcs.dl_opcode; \ 248 struct tasklet_completion_status *tcs local 304 struct tasklet_completion_status *tcs; local [all...] |
/linux-master/include/soc/qcom/ |
H A D | rpmh.h | 9 #include <soc/qcom/tcs.h>
|
/linux-master/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_lib.c | 25 u8 tcs = adapter->hw_tcs; local 28 if (tcs <= 1) 39 if ((reg_idx & ~vmdq->mask) >= tcs) { 50 if ((reg_idx & ~vmdq->mask) >= tcs) 61 if (fcoe->offset < tcs) 333 u8 tcs = adapter->hw_tcs; local 336 if (tcs <= 1) 344 vmdq_i = min_t(u16, vmdq_i, MAX_TX_QUEUES / tcs); 350 if (tcs > 4) { 382 adapter->num_rx_queues_per_pool = tcs; 430 int tcs; local 844 u8 tcs = adapter->hw_tcs; local [all...] |
H A D | ixgbe_main.c | 3583 u8 tcs = adapter->hw_tcs; local 3596 if (tcs > 4) 3598 else if (tcs > 1) 3606 if (tcs > 4) { 3608 } else if (tcs > 1) { 3623 if (tcs) { 3960 u8 tcs = adapter->hw_tcs; local 3963 if (tcs > 4) 3965 else if (tcs > 1) 3979 if (tcs > 10100 int tcs = adapter->hw_tcs ? : 1; local [all...] |
H A D | ixgbe_sriov.c | 973 u8 tcs = adapter->hw_tcs; local 975 if (adapter->vfinfo[vf].pf_vlan || tcs) {
|
H A D | ixgbe_ethtool.c | 3220 u8 tcs = adapter->hw_tcs; local 3228 } else if (tcs > 1) { 3233 } else if (tcs > 4) {
|
/linux-master/arch/x86/include/uapi/asm/ |
H A D | sgx.h | 162 * @tcs: TCS used to enter the enclave 177 __u64 tcs; member in struct:sgx_enclave_run 207 * with @function, asynchronous exit pointer, and @run.tcs respectively.
|
/linux-master/drivers/net/ethernet/aquantia/atlantic/hw_atl2/ |
H A D | hw_atl2.c | 115 unsigned int tcs, q_per_tc; local 124 tcs = 8; 128 tcs = 4; 135 for (tc = 0; tc != tcs; tc++) { 177 tx_buff_size /= cfg->tcs; 178 rx_buff_size /= cfg->tcs; 179 for (tc = 0; tc < cfg->tcs; tc++) { 263 (BIT(nic_cfg->tcs) - 1); 269 for (tc = 0; tc != nic_cfg->tcs; tc++) { 295 for (tc = 0; tc != nic_cfg->tcs; t [all...] |
/linux-master/drivers/net/ethernet/aquantia/atlantic/ |
H A D | aq_nic.c | 81 if (cfg->tcs > 2) 101 cfg->tcs = AQ_CFG_TCS_DEF; 153 cfg->prio_tc_map[i] = cfg->tcs * i / 8; 555 self->aq_vecs * cfg->tcs); 560 self->aq_vecs * cfg->tcs); 564 for (i = 0; i < cfg->tcs; i++) { 1068 for (tc = 0U; tc < self->aq_nic_cfg.tcs; tc++) { 1598 int aq_nic_setup_tc_mqprio(struct aq_nic_s *self, u32 tcs, u8 *prio_tc_map) argument 1607 * disable request (tcs is 0) and we already is disabled 1609 if (tcs [all...] |
H A D | aq_nic.h | 73 u8 tcs; member in struct:aq_nic_cfg_s 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) { 178 cfg->num_rss_queues * cfg->tcs - 1); 280 if (fsp->ring_cookie >= cfg->num_rss_queues * cfg->tcs) { 284 cfg->num_rss_queues * cfg->tcs - 1);
|
H A D | aq_vec.c | 135 for (i = 0; i < aq_nic_cfg->tcs; ++i) {
|
H A D | aq_ethtool.c | 189 (rx_stat_cnt + tx_stat_cnt) * cfg->vecs * cfg->tcs; 276 for (tc = 0; tc < cfg->tcs; tc++) {
|
/linux-master/drivers/net/ethernet/aquantia/atlantic/hw_atl/ |
H A D | hw_atl_b0.c | 172 tx_buff_size /= cfg->tcs; 173 rx_buff_size /= cfg->tcs; 174 for (tc = 0; tc < cfg->tcs; tc++) { 353 (BIT(nic_cfg->tcs) - 1); 359 for (tc = 0; tc != nic_cfg->tcs; tc++) { 390 for (tc = 0; tc != nic_cfg->tcs; tc++) { 404 (nic_cfg->tcs - num_min_rated_tcs); 438 for (tc = nic_cfg->tcs; tc != AQ_CFG_TCS_MAX; tc++) {
|
/linux-master/drivers/net/ethernet/intel/fm10k/ |
H A D | fm10k_ethtool.c | 1113 u8 tcs = netdev_get_num_tc(dev); local 1116 if (tcs > 1) 1117 max_combined = BIT((fls(max_combined / tcs) - 1));
|
/linux-master/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_ethtool.c | 875 int max_rx_rings, max_tx_rings, tcs; local 887 tcs = bp->num_tc; 888 tx_grps = max(tcs, 1); 901 if (tcs > 1) 902 max_tx_rings /= tcs; 923 int req_tx_rings, req_rx_rings, tcs; local 947 tcs = bp->num_tc; 958 rc = bnxt_check_rings(bp, req_tx_rings, req_rx_rings, sh, tcs, tx_xdp); 992 if (tcs > 1) 993 bp->tx_nr_rings = bp->tx_nr_rings_per_tc * tcs [all...] |
H A D | bnxt.c | 3855 int tcs = bp->num_tc; local 3857 if (!tcs) 3858 tcs = 1; 3896 cp_count += tcs; 10135 int tcs = bp->num_tc; local 10137 if (!tcs) 10138 tcs = 1; 10139 return __bnxt_num_tx_to_cp(bp, tx, tcs, bp->tx_nr_rings_xdp); 10144 int tcs = bp->num_tc; local 10146 return (tx_cp - bp->tx_nr_rings_xdp) * tcs 10172 int tcs, i; local 10436 int tcs = bp->num_tc; local 13388 bnxt_check_rings(struct bnxt *bp, int tx, int rx, bool sh, int tcs, int tx_xdp) argument [all...] |
H A D | bnxt.h | 2735 int bnxt_check_rings(struct bnxt *bp, int tx, int rx, bool sh, int tcs,
|
/linux-master/drivers/clk/qcom/ |
H A D | clk-rpmh.c | 14 #include <soc/qcom/tcs.h>
|