Lines Matching refs:lid
148 u64 cfg, u8 lid, u8 lt, u8 intf) in npc_set_layer_mdata() argument
159 input->layer_mdata.lid = lid; in npc_set_layer_mdata()
170 if (input1->layer_mdata.lid == input2->layer_mdata.lid && in npc_check_overlap_fields()
193 u8 nr_bits, lid, lt, ld; in npc_check_overlap() local
204 for (lid = start_lid; lid < NPC_MAX_LID; lid++) { in npc_check_overlap()
209 (intf, lid, lt, ld)); in npc_check_overlap()
214 lid, lt, intf); in npc_check_overlap()
402 start_lid = key_fields[NPC_ETYPE].layer_mdata.lid + 1; in npc_handle_multi_layer_fields()
432 start_lid = key_fields[NPC_OUTER_VID].layer_mdata.lid + 1; in npc_handle_multi_layer_fields()
448 static void npc_scan_ldata(struct rvu *rvu, int blkaddr, u8 lid, in npc_scan_ldata() argument
477 if (lid == (hlid) && lt == (hlt)) { \ in npc_scan_ldata()
481 npc_set_layer_mdata(mcam, (name), cfg, lid, lt, intf); \ in npc_scan_ldata()
501 if (mkex_hash->lid_lt_ld_hash_en[intf][lid][lt][0]) in npc_scan_ldata()
506 if (mkex_hash->lid_lt_ld_hash_en[intf][lid][lt][1]) in npc_scan_ldata()
605 u8 lid, lt, ld, bitnr; in npc_scan_kex() local
633 for (lid = 0; lid < NPC_MAX_LID; lid++) { in npc_scan_kex()
638 (intf, lid, lt, ld)); in npc_scan_kex()
641 npc_scan_ldata(rvu, blkaddr, lid, lt, cfg, in npc_scan_kex()