Home
last modified time | relevance | path

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

/Linux-v6.6/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-v6.6/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-v6.6/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-v6.6/drivers/iommu/intel/
Ddebugfs.c189 u8 tbl_idx; in pasid_tbl_walk() local
191 for (tbl_idx = 0; tbl_idx < PASID_TBL_ENTRIES; tbl_idx++) { in pasid_tbl_walk()
194 tbl_wlk->pasid = (dir_idx << PASID_PDE_SHIFT) + tbl_idx; in pasid_tbl_walk()
Diommu.c2590 int tbl_idx, pos = 0, idx, devfn, ret = 0, did; in copy_context_table() local
2596 tbl_idx = ext ? bus * 2 : bus; in copy_context_table()
2606 tbl[tbl_idx] = new_ce; in copy_context_table()
2658 tbl[tbl_idx + pos] = new_ce; in copy_context_table()
/Linux-v6.6/drivers/net/wireless/intel/iwlwifi/mvm/
Ddebugfs.c311 int tbl_idx; in iwl_dbgfs_sar_geo_profile_read() local
317 tbl_idx = iwl_mvm_get_sar_geo_profile(mvm); in iwl_dbgfs_sar_geo_profile_read()
318 if (tbl_idx < 0) { in iwl_dbgfs_sar_geo_profile_read()
320 return tbl_idx; in iwl_dbgfs_sar_geo_profile_read()
323 if (!tbl_idx) { in iwl_dbgfs_sar_geo_profile_read()
328 "Use geographic profile %d\n", tbl_idx); in iwl_dbgfs_sar_geo_profile_read()
331 mvm->fwrt.geo_profiles[tbl_idx - 1].bands[0].chains[0], in iwl_dbgfs_sar_geo_profile_read()
332 mvm->fwrt.geo_profiles[tbl_idx - 1].bands[0].chains[1], in iwl_dbgfs_sar_geo_profile_read()
333 mvm->fwrt.geo_profiles[tbl_idx - 1].bands[0].max); in iwl_dbgfs_sar_geo_profile_read()
336 mvm->fwrt.geo_profiles[tbl_idx - 1].bands[1].chains[0], in iwl_dbgfs_sar_geo_profile_read()
[all …]
/Linux-v6.6/drivers/infiniband/hw/bnxt_re/
Dib_verbs.c353 u32 tbl_idx = 0; in bnxt_re_add_gid() local
365 vlan_id, true, &tbl_idx); in bnxt_re_add_gid()
368 ctx_tbl[tbl_idx]->refcnt++; in bnxt_re_add_gid()
369 *context = ctx_tbl[tbl_idx]; in bnxt_re_add_gid()
382 ctx->idx = tbl_idx; in bnxt_re_add_gid()
384 ctx_tbl[tbl_idx] = ctx; in bnxt_re_add_gid()
3363 u32 tbl_idx; in bnxt_re_process_raw_qp_pkt_rx() local
3367 tbl_idx = cqe->wr_id; in bnxt_re_process_raw_qp_pkt_rx()
3370 (tbl_idx * gsi_qp->qplib_qp.rq_hdr_buf_size); in bnxt_re_process_raw_qp_pkt_rx()
3372 tbl_idx); in bnxt_re_process_raw_qp_pkt_rx()
[all …]
/Linux-v6.6/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-v6.6/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-v6.6/drivers/net/wireless/mediatek/mt76/mt7996/
Dmt7996.h449 u8 tbl_idx, u16 rate_idx);
Dmac.c252 u8 tbl_idx, u16 rate_idx) in mt7996_mac_set_fixed_rate_table() argument
254 u32 ctrl = MT_WTBL_ITCR_WR | MT_WTBL_ITCR_EXEC | tbl_idx; in mt7996_mac_set_fixed_rate_table()
Dmcu.c3555 u8 tbl_idx; in mt7996_mcu_twt_agrt_update() member
3573 .tbl_idx = flow->table_id, in mt7996_mcu_twt_agrt_update()
/Linux-v6.6/drivers/net/wireless/mediatek/mt76/mt7915/
Dmcu.c3741 u8 tbl_idx; in mt7915_mcu_twt_agrt_update() member
3757 .tbl_idx = flow->table_id, in mt7915_mcu_twt_agrt_update()