Searched refs:mkex_hash (Results 1 – 4 of 4) sorted by relevance
81 u32 npc_field_hash_calc(u64 *ldata, struct npc_mcam_kex_hash *mkex_hash, in npc_field_hash_calc() argument94 data_padded[0] = mkex_hash->hash_mask[intf][hash_idx][0] & ldata[0]; in npc_field_hash_calc()95 data_padded[1] = mkex_hash->hash_mask[intf][hash_idx][1] & ldata[1]; in npc_field_hash_calc()98 field_hash &= mkex_hash->hash_ctrl[intf][hash_idx] >> 32; in npc_field_hash_calc()99 field_hash |= mkex_hash->hash_ctrl[intf][hash_idx]; in npc_field_hash_calc()124 struct npc_mcam_kex_hash *mkex_hash = rvu->kpu.mkex_hash; in npc_program_mkex_hash_rx() local134 if (mkex_hash->lid_lt_ld_hash_en[intf][lid][lt][ld]) { in npc_program_mkex_hash_rx()145 mkex_hash->hash[intf][ld]); in npc_program_mkex_hash_rx()147 mkex_hash->hash_mask[intf][ld][0]); in npc_program_mkex_hash_rx()149 mkex_hash->hash_mask[intf][ld][1]); in npc_program_mkex_hash_rx()[all …]
59 u32 npc_field_hash_calc(u64 *ldata, struct npc_mcam_kex_hash *mkex_hash,
431 struct npc_mcam_kex_hash *mkex_hash; member
1496 profile->mkex_hash = &npc_mkex_hash_default; in npc_prepare_default_kpu()