Home
last modified time | relevance | path

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

123

/openbmc/linux/drivers/soc/qcom/
H A Drpmh-rsc.c265 struct tcs_group *tcs = &drv->tcs[type]; in tcs_invalidate() local
268 if (bitmap_empty(tcs->slots, MAX_TCS_SLOTS)) in tcs_invalidate()
271 for (m = tcs->offset; m < tcs->offset + tcs->num_tcs; m++) in tcs_invalidate()
274 bitmap_zero(tcs->slots, MAX_TCS_SLOTS); in tcs_invalidate()
305 struct tcs_group *tcs; in get_tcs_for_msg() local
328 tcs = &drv->tcs[type]; in get_tcs_for_msg()
329 if (msg->state == RPMH_ACTIVE_ONLY_STATE && !tcs->num_tcs) in get_tcs_for_msg()
330 tcs = &drv->tcs[WAKE_TCS]; in get_tcs_for_msg()
332 return tcs; in get_tcs_for_msg()
354 struct tcs_group *tcs; in get_req_from_tcs() local
[all …]
H A Drpmh-internal.h129 struct tcs_group tcs[TCS_TYPE_NR]; member
/openbmc/linux/tools/testing/selftests/sgx/
H A Dtest_encl.c75 void *tcs = (void *)op->tcs_page; in do_encl_init_tcs_page() local
78 memset(tcs, 0, 16); /* STATE and FLAGS */ in do_encl_init_tcs_page()
79 memcpy(tcs + 16, &op->ssa, 8); /* OSSA */ in do_encl_init_tcs_page()
80 memset(tcs + 24, 0, 4); /* CSSA */ in do_encl_init_tcs_page()
82 memcpy(tcs + 28, &val_32, 4); /* NSSA */ in do_encl_init_tcs_page()
83 memcpy(tcs + 32, &op->entry, 8); /* OENTRY */ in do_encl_init_tcs_page()
84 memset(tcs + 40, 0, 24); /* AEP, OFSBASE, OGSBASE */ in do_encl_init_tcs_page()
86 memcpy(tcs + 64, &val_32, 4); /* FSLIMIT */ in do_encl_init_tcs_page()
87 memcpy(tcs + 68, &val_32, 4); /* GSLIMIT */ in do_encl_init_tcs_page()
88 memset(tcs + 72, 0, 4024); /* Reserved */ in do_encl_init_tcs_page()
H A Dtest_encl.lds5 tcs PT_LOAD;
13 .tcs : {
14 *(.tcs*)
15 } : tcs
H A Dmain.c290 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 …]
/openbmc/linux/drivers/scsi/aic94xx/
H A Daic94xx_tmf.c47 #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 …]
/openbmc/linux/drivers/net/ethernet/intel/ixgbe/
H A 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()
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 …]
/openbmc/qemu/target/mips/tcg/sysemu/
H A Dcp0_helper.c196 tcst = &cpu->tcs[tc].CP0_TCStatus; in sync_c0_entryhi()
262 return other->tcs[other_tc].CP0_TCStatus; in helper_mftc0_tcstatus()
279 return other->tcs[other_tc].CP0_TCBind; in helper_mftc0_tcbind()
296 return other->tcs[other_tc].PC; in helper_mftc0_tcrestart()
313 return other->tcs[other_tc].CP0_TCHalt; in helper_mftc0_tchalt()
330 return other->tcs[other_tc].CP0_TCContext; in helper_mftc0_tccontext()
347 return other->tcs[other_tc].CP0_TCSchedule; in helper_mftc0_tcschedule()
364 return other->tcs[other_tc].CP0_TCScheFBack; in helper_mftc0_tcschefback()
446 tcstatus = other->tcs[other_tc].CP0_Debug_tcstatus; in helper_mftc0_debug()
684 other->tcs[other_tc].CP0_TCStatus = arg1; in helper_mttc0_tcstatus()
[all …]
/openbmc/linux/drivers/net/ethernet/aquantia/atlantic/hw_atl2/
H A Dhw_atl2.c115 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 …]
/openbmc/linux/drivers/net/ethernet/aquantia/atlantic/
H A Daq_nic.c81 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()
1068 for (tc = 0U; tc < self->aq_nic_cfg.tcs; tc++) { in aq_nic_get_stats()
1598 int aq_nic_setup_tc_mqprio(struct aq_nic_s *self, u32 tcs, u8 *prio_tc_map) in aq_nic_setup_tc_mqprio() argument
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()
[all …]
H A Daq_nic.h73 u8 tcs; member
216 int aq_nic_setup_tc_mqprio(struct aq_nic_s *self, u32 tcs, u8 *prio_tc_map);
H A Daq_filters.c175 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 Daq_ethtool.c188 (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()
H A Daq_vec.c135 for (i = 0; i < aq_nic_cfg->tcs; ++i) { in aq_vec_ring_alloc()
/openbmc/qemu/target/mips/
H A Dcpu.c335 for (i = 0; i < ARRAY_SIZE(env->tcs); i++) { in mips_cpu_reset_hold()
336 env->tcs[i].CP0_TCBind = cs->cpu_index << CP0TCBd_CurVPE; in mips_cpu_reset_hold()
337 env->tcs[i].CP0_TCHalt = 1; in mips_cpu_reset_hold()
350 env->tcs[0].CP0_TCHalt = 0; in mips_cpu_reset_hold()
353 env->tcs[0].CP0_TCStatus = (1 << CP0TCSt_A); in mips_cpu_reset_hold()
/openbmc/linux/drivers/net/ethernet/aquantia/atlantic/hw_atl/
H A Dhw_atl_b0.c172 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()
/openbmc/linux/arch/x86/include/uapi/asm/
H A Dsgx.h177 __u64 tcs; member
/openbmc/qemu/target/mips/sysemu/
H A Dcp0.c53 tcst = &cpu->tcs[tc].CP0_TCStatus; in sync_c0_status()
/openbmc/openbmc/poky/meta/lib/oeqa/
H A Doetest.py186 tcs = []
190 tcs.append(line)
191 return " ".join(tcs)
/openbmc/openbmc/meta-security/meta-tpm/recipes-tpm1/trousers/
H A Dtrousers_git.bb96 ${prefix}/src/debug/${PN}/${PV}-${PR}/git/src/tcs \
/openbmc/openbmc-tools/dbus-pcap/
H A Ddbus-pcap320 def parse_struct(endian, stream, tcs): argument
323 for tc in tcs:
/openbmc/linux/drivers/net/ethernet/intel/fm10k/
H A Dfm10k_ethtool.c1111 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()
/openbmc/linux/Documentation/networking/device_drivers/ethernet/intel/
H A Diavf.rst158 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.)
/openbmc/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_ethtool.c856 int max_rx_rings, max_tx_rings, tcs; in bnxt_get_channels() local
868 tcs = netdev_get_num_tc(dev); in bnxt_get_channels()
869 tx_grps = max(tcs, 1); in bnxt_get_channels()
882 if (tcs > 1) in bnxt_get_channels()
883 max_tx_rings /= tcs; in bnxt_get_channels()
904 int req_tx_rings, req_rx_rings, tcs; in bnxt_set_channels() local
927 tcs = netdev_get_num_tc(dev); in bnxt_set_channels()
938 rc = bnxt_check_rings(bp, req_tx_rings, req_rx_rings, sh, tcs, tx_xdp); in bnxt_set_channels()
971 if (tcs > 1) in bnxt_set_channels()
972 bp->tx_nr_rings = bp->tx_nr_rings_per_tc * tcs + tx_xdp; in bnxt_set_channels()
/openbmc/linux/arch/arm/boot/dts/qcom/
H A Dqcom-sdx65.dtsi732 qcom,tcs-offset = <0xd00>;
734 qcom,tcs-config = <ACTIVE_TCS 2>,

123