Searched refs:cam_table (Results 1 – 3 of 3) sorted by relevance
| /linux/drivers/net/ethernet/marvell/octeontx2/af/ |
| H A D | rvu_npc_hash.c | 560 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 …]
|
| H A D | rvu_npc_hash.h | 187 } cam_table; member
|
| /linux/drivers/net/wireless/realtek/rtw88/ |
| H A D | sec.c | 28 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()
|