Home
last modified time | relevance | path

Searched refs:tbl_idx (Results 1 – 13 of 13) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_cn10k.c102 u32 tbl_idx; in rvu_update_lmtaddr() local
107 tbl_idx = rvu_get_lmtst_tbl_index(rvu, pcifunc); in rvu_update_lmtaddr()
108 err = lmtst_map_table_ops(rvu, tbl_idx, &val, LMT_TBL_OP_READ); in rvu_update_lmtaddr()
112 tbl_idx, err); in rvu_update_lmtaddr()
124 err = lmtst_map_table_ops(rvu, tbl_idx, &lmt_addr, LMT_TBL_OP_WRITE); in rvu_update_lmtaddr()
128 tbl_idx, err); in rvu_update_lmtaddr()
139 u32 pri_tbl_idx, tbl_idx; in rvu_mbox_handler_lmtst_tbl_setup() local
195 tbl_idx = rvu_get_lmtst_tbl_index(rvu, req->hdr.pcifunc); in rvu_mbox_handler_lmtst_tbl_setup()
196 err = lmtst_map_table_ops(rvu, tbl_idx + LMT_MAP_TBL_W1_OFF, in rvu_mbox_handler_lmtst_tbl_setup()
201 tbl_idx + LMT_MAP_TBL_W1_OFF, err); in rvu_mbox_handler_lmtst_tbl_setup()
[all …]
/linux-6.12.1/drivers/gpu/ipu-v3/
Dipu-ic-csc.c358 int tbl_idx; in calc_csc_coeffs() local
360 tbl_idx = (QUANT_MAP(csc->in_cs.quant) << 1) | in calc_csc_coeffs()
365 *yuv2yuv[tbl_idx] : *rgb2rgb[tbl_idx]; in calc_csc_coeffs()
385 csc->params = *params_tbl[tbl_idx]; in calc_csc_coeffs()
/linux-6.12.1/drivers/net/ethernet/cisco/enic/
Denic_clsf.c177 u16 tbl_idx; in enic_rx_flow_steer() local
187 tbl_idx = skb_get_hash_raw(skb) & ENIC_RFS_FLW_MASK; in enic_rx_flow_steer()
189 n = htbl_key_search(&enic->rfs_h.ht_head[tbl_idx], &keys); in enic_rx_flow_steer()
237 head = &enic->rfs_h.ht_head[tbl_idx]; in enic_rx_flow_steer()
278 hlist_add_head(&n->node, &enic->rfs_h.ht_head[tbl_idx]); in enic_rx_flow_steer()
/linux-6.12.1/drivers/iommu/intel/
Ddebugfs.c188 u8 tbl_idx; in pasid_tbl_walk() local
190 for (tbl_idx = 0; tbl_idx < PASID_TBL_ENTRIES; tbl_idx++) { in pasid_tbl_walk()
193 tbl_wlk->pasid = (dir_idx << PASID_PDE_SHIFT) + tbl_idx; in pasid_tbl_walk()
398 u16 dir_idx, tbl_idx, pgtt; in domain_translation_struct_show() local
405 tbl_idx = pasid & PASID_PTE_MASK; in domain_translation_struct_show()
414 pasid_tbl_entry = &pasid_tbl[tbl_idx]; in domain_translation_struct_show()
Diommu.c2082 int tbl_idx, pos = 0, idx, devfn, ret = 0, did; in copy_context_table() local
2088 tbl_idx = ext ? bus * 2 : bus; in copy_context_table()
2098 tbl[tbl_idx] = new_ce; in copy_context_table()
2150 tbl[tbl_idx + pos] = new_ce; in copy_context_table()
/linux-6.12.1/drivers/net/wireless/intel/iwlwifi/mvm/
Ddebugfs.c320 int tbl_idx; in iwl_dbgfs_sar_geo_profile_read() local
326 tbl_idx = iwl_mvm_get_sar_geo_profile(mvm); in iwl_dbgfs_sar_geo_profile_read()
327 if (tbl_idx < 0) { in iwl_dbgfs_sar_geo_profile_read()
329 return tbl_idx; in iwl_dbgfs_sar_geo_profile_read()
332 if (!tbl_idx) { in iwl_dbgfs_sar_geo_profile_read()
337 "Use geographic profile %d\n", tbl_idx); in iwl_dbgfs_sar_geo_profile_read()
340 mvm->fwrt.geo_profiles[tbl_idx - 1].bands[0].chains[0], in iwl_dbgfs_sar_geo_profile_read()
341 mvm->fwrt.geo_profiles[tbl_idx - 1].bands[0].chains[1], in iwl_dbgfs_sar_geo_profile_read()
342 mvm->fwrt.geo_profiles[tbl_idx - 1].bands[0].max); in iwl_dbgfs_sar_geo_profile_read()
345 mvm->fwrt.geo_profiles[tbl_idx - 1].bands[1].chains[0], in iwl_dbgfs_sar_geo_profile_read()
[all …]
/linux-6.12.1/drivers/infiniband/hw/bnxt_re/
Dib_verbs.c362 u32 tbl_idx = 0; in bnxt_re_add_gid() local
374 vlan_id, true, &tbl_idx); in bnxt_re_add_gid()
377 ctx_tbl[tbl_idx]->refcnt++; in bnxt_re_add_gid()
378 *context = ctx_tbl[tbl_idx]; in bnxt_re_add_gid()
391 ctx->idx = tbl_idx; in bnxt_re_add_gid()
393 ctx_tbl[tbl_idx] = ctx; in bnxt_re_add_gid()
3458 u32 tbl_idx; in bnxt_re_process_raw_qp_pkt_rx() local
3462 tbl_idx = cqe->wr_id; in bnxt_re_process_raw_qp_pkt_rx()
3465 (tbl_idx * gsi_qp->qplib_qp.rq_hdr_buf_size); in bnxt_re_process_raw_qp_pkt_rx()
3467 tbl_idx); in bnxt_re_process_raw_qp_pkt_rx()
[all …]
/linux-6.12.1/drivers/net/ethernet/aquantia/atlantic/
Daq_macsec.c1489 int index = 0, tbl_idx; in aq_macsec_enable() local
1526 tbl_idx = NUMROWS_EGRESSCTLFRECORD - num_ctl_ether_types - 1; in aq_macsec_enable()
1527 aq_mss_set_egress_ctlf_record(hw, &tx_ctlf_rec, tbl_idx); in aq_macsec_enable()
1534 tbl_idx = in aq_macsec_enable()
1536 aq_mss_set_ingress_prectlf_record(hw, &rx_prectlf_rec, tbl_idx); in aq_macsec_enable()
/linux-6.12.1/drivers/net/wireless/mediatek/mt76/mt7925/
Dmt7925.h258 u8 tbl_idx, u16 rate_idx);
Dmac.c157 u8 tbl_idx, u16 rate_idx) in mt7925_mac_set_fixed_rate_table() argument
159 u32 ctrl = MT_WTBL_ITCR_WR | MT_WTBL_ITCR_EXEC | tbl_idx; in mt7925_mac_set_fixed_rate_table()
/linux-6.12.1/drivers/net/ethernet/qlogic/qede/
Dqede_filter.c439 u16 tbl_idx; in qede_rx_flow_steer() local
461 tbl_idx = skb_get_hash_raw(skb) & QEDE_RFS_FLW_MASK; in qede_rx_flow_steer()
465 n = qede_arfs_htbl_key_search(QEDE_ARFS_BUCKET_HEAD(edev, tbl_idx), in qede_rx_flow_steer()
519 rc = qede_enqueue_fltr_and_config_searcher(edev, n, tbl_idx); in qede_rx_flow_steer()
/linux-6.12.1/drivers/net/wireless/mediatek/mt76/mt7915/
Dmcu.c3846 u8 tbl_idx; in mt7915_mcu_twt_agrt_update() member
3862 .tbl_idx = flow->table_id, in mt7915_mcu_twt_agrt_update()
/linux-6.12.1/drivers/net/wireless/mediatek/mt76/mt7996/
Dmcu.c4179 u8 tbl_idx; in mt7996_mcu_twt_agrt_update() member
4197 .tbl_idx = flow->table_id, in mt7996_mcu_twt_agrt_update()