Home
last modified time | relevance | path

Searched refs:cam_table (Results 1 – 5 of 5) sorted by relevance

/linux-6.1.9/drivers/net/wireless/realtek/rtw88/
Dsec.c28 struct rtw_cam_entry *cam = &sec->cam_table[hw_key_idx]; in rtw_sec_write_cam()
86 struct rtw_cam_entry *cam = &sec->cam_table[hw_key_idx]; in rtw_sec_clear_cam()
Dmain.h708 struct rtw_cam_entry cam_table[RTW_MAX_SEC_CAM_NUM]; member
/linux-6.1.9/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_npc_hash.c522 idx = find_first_zero_bit(table->cam_table.bmap, table->cam_table.depth); in rvu_npc_exact_alloc_cam_table_entry()
523 if (idx == table->cam_table.depth) { in rvu_npc_exact_alloc_cam_table_entry()
526 bitmap_weight(table->cam_table.bmap, table->cam_table.depth)); in rvu_npc_exact_alloc_cam_table_entry()
531 set_bit(idx, table->cam_table.bmap); in rvu_npc_exact_alloc_cam_table_entry()
881 if (!test_bit(index, table->cam_table.bmap)) { in rvu_npc_exact_dealloc_table_entry()
889 clear_bit(index, table->cam_table.bmap); in rvu_npc_exact_dealloc_table_entry()
1884 table->cam_table.depth = FIELD_GET(GENMASK_ULL(15, 0), npc_const3); in rvu_npc_exact_init()
1887 __func__, table->mem_table.ways, table->cam_table.depth); in rvu_npc_exact_init()
1910 table->cam_table.bmap = devm_kcalloc(rvu->dev, 1, sizeof(long), GFP_KERNEL); in rvu_npc_exact_init()
1912 if (!table->cam_table.bmap) in rvu_npc_exact_init()
[all …]
Drvu_npc_hash.h183 } cam_table; member
Drvu_debugfs.c3069 seq_printf(s, "Depth : %d\n", table->cam_table.depth); in rvu_dbg_npc_exact_show_info()