Home
last modified time | relevance | path

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

/linux-6.12.1/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.h722 struct rtw_cam_entry cam_table[RTW_MAX_SEC_CAM_NUM]; member
/linux-6.12.1/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_npc_hash.c560 idx = find_first_zero_bit(table->cam_table.bmap, table->cam_table.depth); in rvu_npc_exact_alloc_cam_table_entry()
561 if (idx == table->cam_table.depth) { in rvu_npc_exact_alloc_cam_table_entry()
564 bitmap_weight(table->cam_table.bmap, table->cam_table.depth)); in rvu_npc_exact_alloc_cam_table_entry()
569 set_bit(idx, table->cam_table.bmap); in rvu_npc_exact_alloc_cam_table_entry()
919 if (!test_bit(index, table->cam_table.bmap)) { in rvu_npc_exact_dealloc_table_entry()
927 clear_bit(index, table->cam_table.bmap); in rvu_npc_exact_dealloc_table_entry()
1909 table->cam_table.depth = FIELD_GET(GENMASK_ULL(31, 24), npc_const3); in rvu_npc_exact_init()
1912 __func__, table->mem_table.ways, table->cam_table.depth); in rvu_npc_exact_init()
1935 table->cam_table.bmap = devm_bitmap_zalloc(rvu->dev, 32, GFP_KERNEL); in rvu_npc_exact_init()
1937 if (!table->cam_table.bmap) in rvu_npc_exact_init()
[all …]
Drvu_npc_hash.h189 } cam_table; member
Drvu_debugfs.c3545 seq_printf(s, "Depth : %d\n", table->cam_table.depth); in rvu_dbg_npc_exact_show_info()