Home
last modified time | relevance | path

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

123

/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 …]
/linux/tools/testing/selftests/sgx/
H A Dtest_encl.c76 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 Dtest_encl.lds5 tcs PT_LOAD;
14 .tcs : {
15 *(.tcs*)
16 } : 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 …]
/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 …]
/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()
1070 for (tc = 0U; tc < self->aq_nic_cfg.tcs; tc++) { in aq_nic_get_stats()
1602 int aq_nic_setup_tc_mqprio(struct aq_nic_s *self, u32 tcs, u8 *prio_tc_map) in aq_nic_setup_tc_mqprio() argument
1613 if (tcs == cfg->tcs || (tcs == 0 && !cfg->is_qos)) in aq_nic_setup_tc_mqprio()
1620 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_vec.c135 for (i = 0; i < aq_nic_cfg->tcs; ++i) { in aq_vec_ring_alloc()
H A Daq_ethtool.c190 (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/net/ethernet/broadcom/bnge/
H A Dbnge_resc.c17 u16 tcs = bd->num_tc; in bnge_num_tx_to_cp() local
19 if (!tcs) in bnge_num_tx_to_cp()
20 tcs = 1; in bnge_num_tx_to_cp()
22 return tx / tcs; in bnge_num_tx_to_cp()
/linux/drivers/soc/qcom/
H A Drpmh-internal.h129 struct tcs_group tcs[TCS_TYPE_NR]; member
/linux/arch/arm64/boot/dts/rockchip/
H A Drk3566-powkiddy-rk2023.dts42 compatible = "tcs,tcs4525";
H A Drk3566-powkiddy-rgb30.dts43 compatible = "tcs,tcs4525";
H A Drk3399-evb-ind.dts84 compatible = "tcs,tcs4525";
104 compatible = "tcs,tcs4525";
H A Drk3568-radxa-cm3i.dtsi120 compatible = "tcs,tcs4525";
H A Drk3566-lubancat-1.dts175 compatible = "tcs,tcs4525";
H A Drk3568-photonicat.dts317 compatible = "tcs,tcs4525";
H A Drk3568-nanopi-r5s.dtsi209 compatible = "tcs,tcs4525";
H A Drk3566-odroid-m1s.dts225 compatible = "tcs,tcs4525";
H A Drk3568-easepi-r1.dts225 compatible = "tcs,tcs4525";
/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()
/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.)
/linux/arch/arm64/boot/dts/qcom/
H A Dsm4450.dtsi580 qcom,tcs-offset = <0xd00>;
582 qcom,tcs-config = <ACTIVE_TCS 2>, <SLEEP_TCS 3>,
/linux/arch/arm/boot/dts/qcom/
H A Dqcom-sdx65.dtsi743 qcom,tcs-offset = <0xd00>;
745 qcom,tcs-config = <ACTIVE_TCS 2>,

123