Lines Matching refs:mdata

556 	u64 mdata = FIELD_PREP(GENMASK_ULL(63, 63), enable ? 1 : 0);  in rvu_exact_prepare_table_entry()  local
559 mdata |= FIELD_PREP(GENMASK_ULL(61, 60), ctype); in rvu_exact_prepare_table_entry()
562 mdata |= FIELD_PREP(GENMASK_ULL(59, 48), chan); in rvu_exact_prepare_table_entry()
565 mdata |= FIELD_PREP(GENMASK_ULL(47, 0), ldata); in rvu_exact_prepare_table_entry()
567 return mdata; in rvu_exact_prepare_table_entry()
835 u32 index, u64 mdata) in rvu_npc_exact_mem_table_write() argument
837 rvu_write64(rvu, blkaddr, NPC_AF_EXACT_MEM_ENTRY(ways, index), mdata); in rvu_npc_exact_mem_table_write()
848 u32 index, u64 mdata) in rvu_npc_exact_cam_table_write() argument
850 rvu_write64(rvu, blkaddr, NPC_AF_EXACT_CAM_ENTRY(index), mdata); in rvu_npc_exact_cam_table_write()
1285 u64 mdata; in rvu_npc_exact_add_table_entry() local
1299 mdata = rvu_exact_prepare_table_entry(rvu, true, ctype, chan, mac); in rvu_npc_exact_add_table_entry()
1302 rvu_npc_exact_cam_table_write(rvu, blkaddr, index, mdata); in rvu_npc_exact_add_table_entry()
1304 rvu_npc_exact_mem_table_write(rvu, blkaddr, ways, index, mdata); in rvu_npc_exact_add_table_entry()
1361 u64 mdata; in rvu_npc_exact_update_table_entry() local
1393 mdata = rvu_exact_prepare_table_entry(rvu, true, entry->ctype, entry->chan, new_mac); in rvu_npc_exact_update_table_entry()
1396 rvu_npc_exact_mem_table_write(rvu, blkaddr, entry->ways, entry->index, mdata); in rvu_npc_exact_update_table_entry()
1398 rvu_npc_exact_cam_table_write(rvu, blkaddr, entry->index, mdata); in rvu_npc_exact_update_table_entry()