Home
last modified time | relevance | path

Searched refs:tcs (Results 1 - 25 of 47) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/soc/qcom/
H A Drpmh-rsc.c25 #include <soc/qcom/tcs.h>
62 #define RSC_DRV_STATUS 0x18 /* zero if tcs is busy */
95 * specified in the device tree by "qcom,tcs-offset" and used to
98 * specified by the device tree as "qcom,tcs-config".
227 struct tcs_group *tcs = &drv->tcs[type]; in tcs_invalidate() local
230 if (bitmap_empty(tcs->slots, MAX_TCS_SLOTS)) in tcs_invalidate()
233 for (m = tcs->offset; m < tcs->offset + tcs in tcs_invalidate()
268 struct tcs_group *tcs; get_tcs_for_msg() local
317 struct tcs_group *tcs; get_req_from_tcs() local
528 check_for_req_inflight(struct rsc_drv *drv, struct tcs_group *tcs, const struct tcs_request *msg) check_for_req_inflight() argument
563 find_free_tcs(struct tcs_group *tcs) find_free_tcs() argument
590 claim_tcs_for_req(struct rsc_drv *drv, struct tcs_group *tcs, const struct tcs_request *msg) claim_tcs_for_req() argument
630 struct tcs_group *tcs; rpmh_rsc_send_data() local
688 find_slots(struct tcs_group *tcs, const struct tcs_request *msg, int *tcs_id, int *cmd_id) find_slots() argument
727 struct tcs_group *tcs; rpmh_rsc_write_ctrl_data() local
761 struct tcs_group *tcs = &drv->tcs[ACTIVE_TCS]; rpmh_rsc_ctrlr_is_busy() local
871 struct tcs_group *tcs; rpmh_probe_tcs_config() local
[all...]
H A Drpmh-internal.h12 #include <soc/qcom/tcs.h>
101 * @tcs: TCS groups.
121 struct tcs_group tcs[TCS_TYPE_NR]; member
/kernel/linux/linux-6.6/drivers/soc/qcom/
H A Drpmh-rsc.c31 #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]; in tcs_invalidate() local
267 if (bitmap_empty(tcs->slots, MAX_TCS_SLOTS)) in tcs_invalidate()
270 for (m = tcs->offset; m < tcs->offset + tcs->num_tcs; m++) in tcs_invalidate()
273 bitmap_zero(tcs in tcs_invalidate()
304 struct tcs_group *tcs; get_tcs_for_msg() local
353 struct tcs_group *tcs; get_req_from_tcs() local
546 check_for_req_inflight(struct rsc_drv *drv, struct tcs_group *tcs, const struct tcs_request *msg) check_for_req_inflight() argument
578 find_free_tcs(struct tcs_group *tcs) find_free_tcs() argument
606 claim_tcs_for_req(struct rsc_drv *drv, struct tcs_group *tcs, const struct tcs_request *msg) claim_tcs_for_req() argument
646 struct tcs_group *tcs; rpmh_rsc_send_data() local
703 find_slots(struct tcs_group *tcs, const struct tcs_request *msg, int *tcs_id, int *cmd_id) find_slots() argument
742 struct tcs_group *tcs; rpmh_rsc_write_ctrl_data() local
776 const struct tcs_group *tcs = &drv->tcs[ACTIVE_TCS]; rpmh_rsc_ctrlr_is_busy() local
970 struct tcs_group *tcs; rpmh_probe_tcs_config() local
[all...]
H A Drpmh-internal.h12 #include <soc/qcom/tcs.h>
106 * @tcs: TCS groups.
129 struct tcs_group tcs[TCS_TYPE_NR]; member
/kernel/linux/linux-5.10/drivers/scsi/aic94xx/
H A Daic94xx_tmf.c47 #define DECLARE_TCS(tcs) \
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 in asd_tmf_timedout() local
304 struct tasklet_completion_status *tcs; asd_tmf_tasklet_complete() local
[all...]
/kernel/linux/linux-6.6/drivers/scsi/aic94xx/
H A Daic94xx_tmf.c47 #define DECLARE_TCS(tcs) \
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 in asd_tmf_timedout() local
304 struct tasklet_completion_status *tcs; asd_tmf_tasklet_complete() local
[all...]
/kernel/linux/linux-6.6/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 in do_encl_init_tcs_page()
[all...]
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 in TEST_F()
1233 void *addr, *tcs, *stack_end, *ssa; TEST_F() local
[all...]
/kernel/linux/linux-5.10/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()
329 u8 tcs = adapter->hw_tcs; in ixgbe_set_dcb_sriov_queues() local
332 if (tcs <= 1) in ixgbe_set_dcb_sriov_queues()
340 vmdq_i = min_t(u16, vmdq_i, MAX_TX_QUEUES / tcs); in ixgbe_set_dcb_sriov_queues()
346 if (tcs > 4) { in ixgbe_set_dcb_sriov_queues()
378 adapter->num_rx_queues_per_pool = tcs; in ixgbe_set_dcb_sriov_queues()
426 int tcs; ixgbe_set_dcb_queues() local
840 u8 tcs = adapter->hw_tcs; ixgbe_alloc_q_vector() local
[all...]
/kernel/linux/linux-6.6/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()
430 int tcs; ixgbe_set_dcb_queues() local
844 u8 tcs = adapter->hw_tcs; ixgbe_alloc_q_vector() local
[all...]
/kernel/linux/linux-5.10/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; t in hw_atl2_hw_init_tx_tc_rate_limit()
[all...]
/kernel/linux/linux-6.6/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; t in hw_atl2_hw_init_tx_tc_rate_limit()
[all...]
/kernel/linux/linux-5.10/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()
544 self->aq_vecs * cfg->tcs); in aq_nic_start()
549 self->aq_vecs * cfg->tcs); in aq_nic_start()
553 for (i = 0; i < cfg->tcs; i++) { in aq_nic_start()
921 for (tc = 0U; tc < self->aq_nic_cfg.tcs; tc++) { in aq_nic_get_stats()
1451 int aq_nic_setup_tc_mqprio(struct aq_nic_s *self, u32 tcs, u8 *prio_tc_map) in aq_nic_setup_tc_mqprio() argument
1460 * disable request (tcs is 0) and we already is disabled in aq_nic_setup_tc_mqprio()
1462 if (tcs in aq_nic_setup_tc_mqprio()
[all...]
H A Daq_nic.h69 u8 tcs; member
209 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()
/kernel/linux/linux-6.6/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
1607 * disable request (tcs is 0) and we already is disabled in aq_nic_setup_tc_mqprio()
1609 if (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()
/kernel/linux/linux-6.6/drivers/interconnect/qcom/
H A Dbcm-voter.h11 #include <soc/qcom/tcs.h>
/kernel/linux/linux-5.10/drivers/interconnect/qcom/
H A Dbcm-voter.h11 #include <soc/qcom/tcs.h>
/kernel/linux/linux-5.10/include/soc/qcom/
H A Drpmh.h9 #include <soc/qcom/tcs.h>
/kernel/linux/linux-6.6/include/soc/qcom/
H A Drpmh.h9 #include <soc/qcom/tcs.h>
/kernel/linux/linux-6.6/arch/x86/include/uapi/asm/
H A Dsgx.h162 * @tcs: TCS used to enter the enclave
177 __u64 tcs; member
207 * with @function, asynchronous exit pointer, and @run.tcs respectively.
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/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()

Completed in 21 milliseconds

12