Home
last modified time | relevance | path

Searched refs:tbl (Results 1 – 25 of 187) sorted by relevance

12345678

/drivers/net/ethernet/mellanox/mlx5/core/steering/sws/
A Ddr_table.c163 ret = dr_table_init_nic(tbl->dmn, &tbl->rx); in dr_table_init_fdb()
167 ret = dr_table_init_nic(tbl->dmn, &tbl->tx); in dr_table_init_fdb()
189 tbl->rx.nic_dmn = &tbl->dmn->info.rx; in dr_table_init()
190 ret = dr_table_init_nic(tbl->dmn, &tbl->rx); in dr_table_init()
194 tbl->tx.nic_dmn = &tbl->dmn->info.tx; in dr_table_init()
195 ret = dr_table_init_nic(tbl->dmn, &tbl->tx); in dr_table_init()
199 tbl->rx.nic_dmn = &tbl->dmn->info.rx; in dr_table_init()
200 tbl->tx.nic_dmn = &tbl->dmn->info.tx; in dr_table_init()
258 tbl = kzalloc(sizeof(*tbl), GFP_KERNEL); in mlx5dr_table_create()
259 if (!tbl) in mlx5dr_table_create()
[all …]
A Ddr_matcher.c394 mlx5dr_dbg(matcher->tbl->dmn, in mlx5dr_matcher_select_builders()
944 struct mlx5dr_table *tbl = matcher->tbl; in dr_matcher_init() local
997 refcount_inc(&tbl->refcount); in mlx5dr_matcher_create()
1003 matcher->tbl = tbl; in mlx5dr_matcher_create()
1010 mlx5dr_domain_lock(tbl->dmn); in mlx5dr_matcher_create()
1018 mlx5dr_domain_unlock(tbl->dmn); in mlx5dr_matcher_create()
1023 mlx5dr_domain_unlock(tbl->dmn); in mlx5dr_matcher_create()
1026 refcount_dec(&tbl->refcount); in mlx5dr_matcher_create()
1093 struct mlx5dr_table *tbl = matcher->tbl; in mlx5dr_matcher_destroy() local
1098 mlx5dr_domain_lock(tbl->dmn); in mlx5dr_matcher_destroy()
[all …]
A Ddr_rule.c62 struct mlx5dr_domain *dmn = matcher->tbl->dmn; in dr_rule_create_collision_htbl()
198 struct mlx5dr_domain *dmn = matcher->tbl->dmn; in dr_rule_rehash_handle_collision()
255 struct mlx5dr_domain *dmn = matcher->tbl->dmn; in dr_rule_rehash_copy_ste()
403 struct mlx5dr_domain *dmn = matcher->tbl->dmn; in dr_rule_rehash_htbl()
542 struct mlx5dr_domain *dmn = matcher->tbl->dmn; in dr_rule_handle_collision()
722 struct mlx5dr_domain *dmn = matcher->tbl->dmn; in dr_rule_handle_action_stes()
788 struct mlx5dr_domain *dmn = matcher->tbl->dmn; in dr_rule_handle_empty_entry()
841 struct mlx5dr_domain *dmn = matcher->tbl->dmn; in dr_rule_handle_ste_branch()
1004 mlx5dr_err(matcher->tbl->dmn, in dr_rule_verify()
1122 struct mlx5dr_domain *dmn = matcher->tbl->dmn; in dr_rule_create_rule_nic()
[all …]
A Ddr_dbg.c158 void mlx5dr_dbg_tbl_add(struct mlx5dr_table *tbl) in mlx5dr_dbg_tbl_add() argument
160 mutex_lock(&tbl->dmn->dump_info.dbg_mutex); in mlx5dr_dbg_tbl_add()
161 list_add_tail(&tbl->dbg_node, &tbl->dmn->dbg_tbl_list); in mlx5dr_dbg_tbl_add()
162 mutex_unlock(&tbl->dmn->dump_info.dbg_mutex); in mlx5dr_dbg_tbl_add()
165 void mlx5dr_dbg_tbl_del(struct mlx5dr_table *tbl) in mlx5dr_dbg_tbl_del() argument
167 mutex_lock(&tbl->dmn->dump_info.dbg_mutex); in mlx5dr_dbg_tbl_del()
168 list_del(&tbl->dbg_node); in mlx5dr_dbg_tbl_del()
169 mutex_unlock(&tbl->dmn->dump_info.dbg_mutex); in mlx5dr_dbg_tbl_del()
870 ret = dr_dump_table(file, tbl); in dr_dump_table_all()
1050 struct mlx5dr_table *tbl; in dr_dump_domain_all() local
[all …]
/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
A Dtable.c8 return tbl->ft_id; in mlx5hws_table_get_id()
192 ret = mlx5hws_table_create_default_ft(tbl->ctx->mdev, tbl, &tbl->ft_id); in hws_table_init()
211 mlx5hws_table_destroy_default_ft(tbl, tbl->ft_id); in hws_table_init()
219 mlx5hws_action_put_default_stc(tbl->ctx, tbl->type); in hws_table_uninit()
220 mlx5hws_table_destroy_default_ft(tbl, tbl->ft_id); in hws_table_uninit()
235 tbl = kzalloc(sizeof(*tbl), GFP_KERNEL); in mlx5hws_table_create()
236 if (!tbl) in mlx5hws_table_create()
239 tbl->ctx = ctx; in mlx5hws_table_create()
253 return tbl; in mlx5hws_table_create()
256 kfree(tbl); in mlx5hws_table_create()
[all …]
A Dmatcher.c52 struct mlx5hws_table *tbl = matcher->tbl; in hws_matcher_connect_end_ft_isolated() local
83 struct mlx5hws_table *tbl = matcher->tbl; in hws_matcher_create_end_ft_isolated() local
109 struct mlx5hws_table *tbl = matcher->tbl; in hws_matcher_create_end_ft() local
128 struct mlx5hws_table *tbl = matcher->tbl; in hws_matcher_connect_isolated_first() local
162 struct mlx5hws_table *tbl = matcher->tbl; in hws_matcher_connect_isolated_last() local
221 struct mlx5hws_table *tbl = matcher->tbl; in hws_matcher_connect() local
310 struct mlx5hws_table *tbl = matcher->tbl; in hws_matcher_disconnect_isolated() local
396 struct mlx5hws_table *tbl = matcher->tbl; in hws_matcher_disconnect() local
472 struct mlx5hws_table *tbl = matcher->tbl; in hws_matcher_create_rtc() local
916 col_matcher->tbl = matcher->tbl; in hws_matcher_create_col_matcher()
[all …]
A Ddebug.c132 HWS_PTR_TO_ID(matcher->tbl), in hws_debug_dump_matcher()
147 ft_attr.type = matcher->tbl->fw_ft_type; in hws_debug_dump_matcher()
187 HWS_PTR_TO_ID(tbl), in hws_debug_dump_table()
188 HWS_PTR_TO_ID(tbl->ctx), in hws_debug_dump_table()
189 tbl->ft_id, in hws_debug_dump_table()
191 tbl->fw_ft_type, in hws_debug_dump_table()
192 tbl->level, in hws_debug_dump_table()
195 ft_attr.type = tbl->fw_ft_type; in hws_debug_dump_table()
197 tbl->ft_id, in hws_debug_dump_table()
421 struct mlx5hws_table *tbl; in hws_debug_dump_context() local
[all …]
/drivers/infiniband/hw/vmw_pvrdma/
A Dpvrdma_doorbell.c56 struct pvrdma_id_table *tbl = &dev->uar_table.tbl; in pvrdma_uar_table_init() local
61 tbl->last = 0; in pvrdma_uar_table_init()
62 tbl->top = 0; in pvrdma_uar_table_init()
78 struct pvrdma_id_table *tbl = &dev->uar_table.tbl; in pvrdma_uar_table_cleanup() local
89 tbl = &dev->uar_table.tbl; in pvrdma_uar_alloc()
92 obj = find_next_zero_bit(tbl->table, tbl->max, tbl->last); in pvrdma_uar_alloc()
94 tbl->top = (tbl->top + tbl->max) & tbl->mask; in pvrdma_uar_alloc()
95 obj = find_first_zero_bit(tbl->table, tbl->max); in pvrdma_uar_alloc()
117 struct pvrdma_id_table *tbl = &dev->uar_table.tbl; in pvrdma_uar_free() local
124 tbl->last = min(tbl->last, obj); in pvrdma_uar_free()
[all …]
/drivers/net/wireless/intel/iwlwifi/dvm/
A Drs.c549 if (is_siso(tbl->lq_type) && tbl->is_SGI) { in rate_n_flags_from_tbl()
580 tbl->is_dup = 0; in rs_get_tbl_info_from_mcs()
633 if (!tbl->ant_type || tbl->ant_type > ANT_ABC) in rs_toggle_antenna()
1523 tbl->action++; in rs_move_legacy_other()
1536 tbl->action++; in rs_move_legacy_other()
1706 tbl->action++; in rs_move_siso_to_other()
1873 tbl->action++; in rs_move_mimo2_to_other()
2047 tbl->action++; in rs_move_mimo3_to_other()
2452 (is_mimo2(tbl->lq_type) || is_mimo3(tbl->lq_type))) in rs_rate_scale_perform()
2456 (is_mimo2(tbl->lq_type) || is_mimo3(tbl->lq_type))) { in rs_rate_scale_perform()
[all …]
A Drs.h256 #define is_legacy(tbl) (((tbl) == LQ_G) || ((tbl) == LQ_A)) argument
257 #define is_siso(tbl) ((tbl) == LQ_SISO) argument
258 #define is_mimo2(tbl) ((tbl) == LQ_MIMO2) argument
259 #define is_mimo3(tbl) ((tbl) == LQ_MIMO3) argument
260 #define is_mimo(tbl) (is_mimo2(tbl) || is_mimo3(tbl)) argument
261 #define is_Ht(tbl) (is_siso(tbl) || is_mimo(tbl)) argument
262 #define is_a_band(tbl) ((tbl) == LQ_A) argument
263 #define is_g_and(tbl) ((tbl) == LQ_G) argument
/drivers/net/wireless/intel/iwlegacy/
A D4965-rs.c511 if (tbl->is_SGI) in il4965_rate_n_flags_from_tbl()
516 if (is_siso(tbl->lq_type) && tbl->is_SGI) { in il4965_rate_n_flags_from_tbl()
548 tbl->is_dup = 0; in il4965_rs_get_tbl_info_from_mcs()
596 if (!tbl->ant_type || tbl->ant_type > ANT_ABC) in il4965_rs_toggle_antenna()
1026 if (is_siso(tbl->lq_type) && (!tbl->is_ht40 || lq_sta->is_dup)) in il4965_rs_set_expected_tpt_table()
1346 tbl->action++; in il4965_rs_move_legacy_other()
1359 tbl->action++; in il4965_rs_move_legacy_other()
1470 tbl->action++; in il4965_rs_move_siso_to_other()
1482 tbl->action++; in il4965_rs_move_siso_to_other()
1595 tbl->action++; in il4965_rs_move_mimo2_to_other()
[all …]
/drivers/net/wireless/marvell/mwifiex/
A D11n_rxreorder.c109 min((start_win - tbl->start_win), tbl->win_size) : in mwifiex_11n_dispatch_pkt_until_start_win()
170 tbl->rx_reorder_ptr[j] = tbl->rx_reorder_ptr[i + j]; in mwifiex_11n_scan_and_dispatch()
174 tbl->start_win = (tbl->start_win + i) & (MAX_TID_VALUE - 1); in mwifiex_11n_scan_and_dispatch()
194 if (!tbl) in mwifiex_del_rx_reorder_entry()
217 kfree(tbl); in mwifiex_del_rx_reorder_entry()
236 if (!memcmp(tbl->ta, ta, ETH_ALEN) && tbl->tid == tid) { in mwifiex_11n_get_rx_reorder_tbl()
238 return tbl; in mwifiex_11n_get_rx_reorder_tbl()
342 if (tbl) { in mwifiex_11n_create_rx_reorder_tbl()
558 if (!tbl) { in mwifiex_11n_rx_reorder_pkt()
734 if (tbl) in mwifiex_ret_11n_addba_resp()
[all …]
/drivers/firmware/efi/
A Dmemattr.c30 tbl = early_memremap(efi_mem_attr_table, sizeof(*tbl)); in efi_memattr_init()
31 if (!tbl) { in efi_memattr_init()
37 if (tbl->version > 2) { in efi_memattr_init()
39 tbl->version); in efi_memattr_init()
51 size = tbl->num_entries * tbl->desc_size; in efi_memattr_init()
54 tbl->version, tbl->desc_size, tbl->num_entries); in efi_memattr_init()
63 early_memunmap(tbl, sizeof(*tbl)); in efi_memattr_init()
164 if (!tbl) { in efi_memattr_apply_permissions()
170 if (tbl->version > 1 && in efi_memattr_apply_permissions()
183 valid = entry_is_valid(efi_memdesc_ptr(tbl->entry, tbl->desc_size, i), in efi_memattr_apply_permissions()
[all …]
/drivers/vfio/
A Dvfio_iommu_spapr_tce.c211 if (tbl) { in tce_iommu_find_table()
217 *ptbl = tbl; in tce_iommu_find_table()
339 struct iommu_table *tbl,
364 if (!tbl) in tce_iommu_release()
441 if (tbl->it_indirect_levels && tbl->it_userspace) { in tce_iommu_clear()
694 *start_addr = tbl->it_offset << tbl->it_page_shift; in tce_iommu_create_window()
720 BUG_ON(!tbl->it_size); in tce_iommu_remove_window()
722 tce_iommu_clear(container, tbl, tbl->it_offset, tbl->it_size); in tce_iommu_remove_window()
968 iommu_flush_tce(tbl); in tce_iommu_ioctl()
1012 iommu_flush_tce(tbl); in tce_iommu_ioctl()
[all …]
/drivers/net/ethernet/mellanox/mlx5/core/en/
A Dmod_hdr.c44 mutex_init(&tbl->lock); in mlx5e_mod_hdr_tbl_init()
45 hash_init(tbl->hlist); in mlx5e_mod_hdr_tbl_init()
50 WARN_ON(!hash_empty(tbl->hlist)); in mlx5e_mod_hdr_tbl_destroy()
51 mutex_destroy(&tbl->lock); in mlx5e_mod_hdr_tbl_destroy()
73 struct mod_hdr_tbl *tbl, in mlx5e_mod_hdr_attach() argument
90 mutex_lock(&tbl->lock); in mlx5e_mod_hdr_attach()
93 mutex_unlock(&tbl->lock); in mlx5e_mod_hdr_attach()
105 mutex_unlock(&tbl->lock); in mlx5e_mod_hdr_attach()
116 mutex_unlock(&tbl->lock); in mlx5e_mod_hdr_attach()
140 struct mod_hdr_tbl *tbl, in mlx5e_mod_hdr_detach() argument
[all …]
/drivers/clk/
A Dclk-apple-nco.c69 struct applnco_tables *tbl; member
116 tbl->fwd[i] = state; in applnco_compute_tables()
117 tbl->inv[state] = i; in applnco_compute_tables()
121 tbl->fwd[0] = 0; in applnco_compute_tables()
122 tbl->inv[0] = 0; in applnco_compute_tables()
195 div = applnco_div_translate_inv(chan->tbl, in applnco_recalc_rate()
263 struct applnco_tables *tbl; in applnco_probe() local
282 tbl = devm_kzalloc(&pdev->dev, sizeof(*tbl), GFP_KERNEL); in applnco_probe()
283 if (!tbl) in applnco_probe()
285 applnco_compute_tables(tbl); in applnco_probe()
[all …]
/drivers/char/tpm/eventlog/
A Dacpi.c79 struct acpi_table_tpm2 *tbl; in tpm_read_log_acpi() local
94 (struct acpi_table_header **)&tbl); in tpm_read_log_acpi()
98 if (tbl->header.length < in tpm_read_log_acpi()
99 sizeof(*tbl) + sizeof(struct acpi_tpm2_phy)) { in tpm_read_log_acpi()
100 acpi_put_table((struct acpi_table_header *)tbl); in tpm_read_log_acpi()
104 tpm2_phy = (void *)tbl + sizeof(*tbl); in tpm_read_log_acpi()
109 acpi_put_table((struct acpi_table_header *)tbl); in tpm_read_log_acpi()
113 acpi_put_table((struct acpi_table_header *)tbl); in tpm_read_log_acpi()
/drivers/infiniband/hw/bnxt_re/
A Dqplib_res.c422 tbl = &ctx->qtbl[i]; in bnxt_qplib_map_tqm_pgtbl()
559 kfree(sgid_tbl->tbl); in bnxt_qplib_free_sgid_tbl()
575 sgid_tbl->tbl = kcalloc(max, sizeof(*sgid_tbl->tbl), GFP_KERNEL); in bnxt_qplib_alloc_sgid_tbl()
576 if (!sgid_tbl->tbl) in bnxt_qplib_alloc_sgid_tbl()
616 memset(sgid_tbl->tbl, 0, sizeof(*sgid_tbl->tbl) * sgid_tbl->max); in bnxt_qplib_cleanup_sgid_tbl()
676 kfree(pdt->tbl); in bnxt_qplib_free_pd_tbl()
677 pdt->tbl = NULL; in bnxt_qplib_free_pd_tbl()
691 if (!pdt->tbl) in bnxt_qplib_alloc_pd_tbl()
778 kfree(dpit->tbl); in bnxt_qplib_free_dpi_tbl()
780 dpit->tbl = NULL; in bnxt_qplib_free_dpi_tbl()
[all …]
/drivers/media/platform/verisilicon/
A Dhantro_h264.c211 u32 *dst = (u32 *)tbl->scaling_list; in assemble_scaling_list()
244 tbl->poc[i * 2] = dpb[i].top_field_order_cnt; in prepare_table()
245 tbl->poc[i * 2 + 1] = dpb[i].bottom_field_order_cnt; in prepare_table()
280 tbl->poc[32] = ctx->h264_dec.cur_poc; in prepare_table()
281 tbl->poc[33] = 0; in prepare_table()
283 tbl->poc[32] = dec_param->top_field_order_cnt; in prepare_table()
284 tbl->poc[33] = dec_param->bottom_field_order_cnt; in prepare_table()
509 struct hantro_h264_dec_priv_tbl *tbl; in hantro_h264_dec_init() local
516 priv->size = sizeof(*tbl); in hantro_h264_dec_init()
517 tbl = priv->cpu; in hantro_h264_dec_init()
[all …]
/drivers/net/wireless/intel/iwlwifi/mvm/
A Drs.c624 if (tbl->expected_tpt) in get_expected_tpt()
1359 tbl->rate.type); in rs_get_best_rate()
1504 if ((!is_vht(&tbl->rate) && !is_ht(&tbl->rate)) || in rs_set_amsdu_len()
2005 window = tbl->tpc_win; in rs_tpc_perform()
2090 rate = &tbl->rate; in rs_rate_scale_perform()
2119 if (!tbl->expected_tpt) { in rs_rate_scale_perform()
2185 index = tbl->rate.index; in rs_rate_scale_perform()
2268 tbl->rate.index = index; in rs_rate_scale_perform()
2657 rate = &tbl->rate; in rs_initialize_lq()
3877 rate = &tbl->rate; in rs_sta_dbgfs_stats_table_read()
[all …]
/drivers/net/wireless/realtek/rtw88/
A Dphy.c1175 const union phy_table_tile *p = tbl->data; in rtw_parse_tbl_phy_cond()
1213 (*tbl->do_cfg)(rtwdev, tbl, p->cfg.addr, p->cfg.data); in rtw_parse_tbl_phy_cond()
1741 const struct rtw_table *tbl) in rtw_parse_tbl_txpwr_lmt() argument
1864 const struct rtw_table *tbl; in rtw_phy_load_tables() local
1866 tbl = chip->rf_tbl[rf_path]; in rtw_phy_load_tables()
1867 rtw_load_table(rtwdev, tbl); in rtw_phy_load_tables()
2503 swing_table->p[RF_PATH_A] = tbl->pwrtrk_2ga_p; in rtw_phy_config_swing_table()
2504 swing_table->n[RF_PATH_A] = tbl->pwrtrk_2ga_n; in rtw_phy_config_swing_table()
2505 swing_table->p[RF_PATH_B] = tbl->pwrtrk_2gb_p; in rtw_phy_config_swing_table()
2506 swing_table->n[RF_PATH_B] = tbl->pwrtrk_2gb_n; in rtw_phy_config_swing_table()
[all …]
/drivers/media/usb/gspca/gl860/
A Dgl860.c585 if (tbl[n].idx != 0xffff) in fetch_validx()
586 ctrl_out(gspca_dev, 0x40, 1, tbl[n].val, in fetch_validx()
587 tbl[n].idx, 0, NULL); in fetch_validx()
588 else if (tbl[n].val == 0xffff) in fetch_validx()
591 msleep(tbl[n].val); in fetch_validx()
600 if (tbl[n].idx != 0xffff) in keep_on_fetching_validx()
601 ctrl_out(gspca_dev, 0x40, 1, tbl[n].val, tbl[n].idx, in keep_on_fetching_validx()
603 else if (tbl[n].val == 0xffff) in keep_on_fetching_validx()
606 msleep(tbl[n].val); in keep_on_fetching_validx()
618 3, tbl[n].data); in fetch_idxdata()
[all …]
/drivers/clk/tegra/
A Dclk.c269 void tegra_init_from_table(struct tegra_clk_init_table *tbl, in tegra_init_from_table() argument
274 for (; tbl->clk_id < clk_max; tbl++) { in tegra_init_from_table()
275 clk = clks[tbl->clk_id]; in tegra_init_from_table()
278 __func__, PTR_ERR(clk), tbl->clk_id); in tegra_init_from_table()
284 if (tbl->parent_id < clk_max) { in tegra_init_from_table()
285 struct clk *parent = clks[tbl->parent_id]; in tegra_init_from_table()
294 if (tbl->rate) in tegra_init_from_table()
295 if (clk_set_rate(clk, tbl->rate)) { in tegra_init_from_table()
297 __func__, tbl->rate, in tegra_init_from_table()
302 if (tbl->state) in tegra_init_from_table()
/drivers/gpu/drm/amd/display/dc/bios/
A Dbios_parser.c172 if (!tbl) { in bios_parser_get_connector_id()
177 if (tbl->ucNumberOfObjects <= i) { in bios_parser_get_connector_id()
179 i, tbl->ucNumberOfObjects); in bios_parser_get_connector_id()
654 ATOM_ASIC_SS_ASSIGNMENT_V3 *tbl; in get_ss_info_v3_1() local
1099 ATOM_SPREAD_SPECTRUM_INFO *tbl; in get_ss_info_from_ss_info_table() local
1115 if (!tbl) in get_ss_info_from_ss_info_table()
1165 tbl->asSS_Info[i].ucSS_Delay; in get_ss_info_from_ss_info_table()
1644 if (!tbl) in get_ss_entry_number_from_ss_info_tbl()
1976 ATOM_OBJECT_TABLE *tbl; in get_bios_object() local
2006 if (!tbl) in get_bios_object()
[all …]
/drivers/net/wireless/mediatek/mt76/
A Dmt792x_acpi_sar.c62 if (!*tbl) { in mt792x_acpi_read()
65 if (!*tbl) { in mt792x_acpi_read()
80 *(*tbl + i) = (u8)sar_unit->integer.value; in mt792x_acpi_read()
258 band_pwr = &asar->geo->tbl[idx].band[0]; in mt792x_asar_get_geo_pwr()
259 max = ARRAY_SIZE(asar->geo->tbl[idx].band); in mt792x_asar_get_geo_pwr()
261 band_pwr = &asar->geo_v2->tbl[idx].band[0]; in mt792x_asar_get_geo_pwr()
262 max = ARRAY_SIZE(asar->geo_v2->tbl[idx].band); in mt792x_asar_get_geo_pwr()
301 limit = &asar->dyn->tbl[0].frp[0]; in mt792x_asar_range_pwr()
302 max = ARRAY_SIZE(asar->dyn->tbl[0].frp); in mt792x_asar_range_pwr()
304 limit = &asar->dyn_v2->tbl[0].frp[0]; in mt792x_asar_range_pwr()
[all …]

Completed in 85 milliseconds

12345678