Lines Matching refs:cam0

256 			    u64 *cam0, u64 *cam1)  in npc_get_keyword()  argument
331 *cam0 = ~*cam1 & kw_mask; in npc_get_keyword()
335 u64 cam0, u64 cam1) in npc_fill_entryword() argument
343 entry->kw_mask[0] = cam1 ^ cam0; in npc_fill_entryword()
347 entry->kw_mask[1] = cam1 ^ cam0; in npc_fill_entryword()
352 entry->kw_mask[1] |= ((cam1 ^ cam0) & CAM_MASK(16)) << 48; in npc_fill_entryword()
353 entry->kw_mask[2] = ((cam1 ^ cam0) >> 16) & CAM_MASK(48); in npc_fill_entryword()
358 entry->kw_mask[2] |= ((cam1 ^ cam0) & CAM_MASK(16)) << 48; in npc_fill_entryword()
359 entry->kw_mask[3] = ((cam1 ^ cam0) >> 16) & CAM_MASK(32); in npc_fill_entryword()
364 entry->kw_mask[3] |= ((cam1 ^ cam0) & CAM_MASK(32)) << 32; in npc_fill_entryword()
365 entry->kw_mask[4] = ((cam1 ^ cam0) >> 32) & CAM_MASK(32); in npc_fill_entryword()
370 entry->kw_mask[4] |= ((cam1 ^ cam0) & CAM_MASK(32)) << 32; in npc_fill_entryword()
371 entry->kw_mask[5] = ((cam1 ^ cam0) >> 32) & CAM_MASK(16); in npc_fill_entryword()
376 entry->kw_mask[5] |= ((cam1 ^ cam0) & CAM_MASK(48)) << 16; in npc_fill_entryword()
377 entry->kw_mask[6] = ((cam1 ^ cam0) >> 48) & CAM_MASK(16); in npc_fill_entryword()
381 entry->kw_mask[6] |= ((cam1 ^ cam0) & CAM_MASK(48)) << 16; in npc_fill_entryword()
449 u64 cam0, cam1; in npc_config_mcam_entry() local
486 npc_get_keyword(entry, kw, &cam0, &cam1); in npc_config_mcam_entry()
490 NPC_AF_MCAMEX_BANKX_CAMX_W0(index, bank, 0), cam0); in npc_config_mcam_entry()
492 npc_get_keyword(entry, kw + 1, &cam0, &cam1); in npc_config_mcam_entry()
496 NPC_AF_MCAMEX_BANKX_CAMX_W1(index, bank, 0), cam0); in npc_config_mcam_entry()
522 u64 cam0, cam1; in npc_read_mcam_entry() local
530 cam0 = rvu_read64(rvu, blkaddr, in npc_read_mcam_entry()
532 npc_fill_entryword(entry, kw, cam0, cam1); in npc_read_mcam_entry()
536 cam0 = rvu_read64(rvu, blkaddr, in npc_read_mcam_entry()
538 npc_fill_entryword(entry, kw + 1, cam0, cam1); in npc_read_mcam_entry()
1439 struct npc_kpu_cam cam0 = {0}; in npc_config_kpucam() local
1447 cam0.state = ~kpucam->state & kpucam->state_mask; in npc_config_kpucam()
1448 cam0.dp0_data = ~kpucam->dp0 & kpucam->dp0_mask; in npc_config_kpucam()
1449 cam0.dp1_data = ~kpucam->dp1 & kpucam->dp1_mask; in npc_config_kpucam()
1450 cam0.dp2_data = ~kpucam->dp2 & kpucam->dp2_mask; in npc_config_kpucam()
1453 NPC_AF_KPUX_ENTRYX_CAMX(kpu, entry, 0), *(u64 *)&cam0); in npc_config_kpucam()