Lines Matching refs:kw

75 	pf_func = (entry_data->kw[0] >> 32) & NPC_KEX_PF_FUNC_MASK;  in npc_mcam_verify_pf_func()
270 *cam1 = entry->kw[0]; in npc_get_keyword()
275 *cam1 = entry->kw[1] & CAM_MASK(48); in npc_get_keyword()
282 *cam1 = (entry->kw[1] >> 48) & CAM_MASK(16); in npc_get_keyword()
283 *cam1 |= ((entry->kw[2] & CAM_MASK(48)) << 16); in npc_get_keyword()
291 *cam1 = (entry->kw[2] >> 48) & CAM_MASK(16); in npc_get_keyword()
292 *cam1 |= ((entry->kw[3] & CAM_MASK(32)) << 16); in npc_get_keyword()
300 *cam1 = (entry->kw[3] >> 32) & CAM_MASK(32); in npc_get_keyword()
301 *cam1 |= ((entry->kw[4] & CAM_MASK(32)) << 32); in npc_get_keyword()
309 *cam1 = (entry->kw[4] >> 32) & CAM_MASK(32); in npc_get_keyword()
310 *cam1 |= ((entry->kw[5] & CAM_MASK(16)) << 32); in npc_get_keyword()
318 *cam1 = (entry->kw[5] >> 16) & CAM_MASK(48); in npc_get_keyword()
319 *cam1 |= ((entry->kw[6] & CAM_MASK(16)) << 48); in npc_get_keyword()
325 *cam1 = (entry->kw[6] >> 16) & CAM_MASK(48); in npc_get_keyword()
342 entry->kw[0] = cam1; in npc_fill_entryword()
346 entry->kw[1] = cam1; in npc_fill_entryword()
350 entry->kw[1] |= (cam1 & CAM_MASK(16)) << 48; in npc_fill_entryword()
351 entry->kw[2] = (cam1 >> 16) & CAM_MASK(48); in npc_fill_entryword()
356 entry->kw[2] |= (cam1 & CAM_MASK(16)) << 48; in npc_fill_entryword()
357 entry->kw[3] = (cam1 >> 16) & CAM_MASK(32); in npc_fill_entryword()
362 entry->kw[3] |= (cam1 & CAM_MASK(32)) << 32; in npc_fill_entryword()
363 entry->kw[4] = (cam1 >> 32) & CAM_MASK(32); in npc_fill_entryword()
368 entry->kw[4] |= (cam1 & CAM_MASK(32)) << 32; in npc_fill_entryword()
369 entry->kw[5] = (cam1 >> 32) & CAM_MASK(16); in npc_fill_entryword()
374 entry->kw[5] |= (cam1 & CAM_MASK(48)) << 16; in npc_fill_entryword()
375 entry->kw[6] = (cam1 >> 48) & CAM_MASK(16); in npc_fill_entryword()
380 entry->kw[6] |= (cam1 & CAM_MASK(48)) << 16; in npc_fill_entryword()
456 int kw = 0, actbank, actindex; in npc_config_mcam_entry() local
477 for (; bank < (actbank + mcam->banks_per_entry); bank++, kw = kw + 2) { in npc_config_mcam_entry()
496 npc_get_keyword(entry, kw, &cam0, &cam1); in npc_config_mcam_entry()
502 npc_get_keyword(entry, kw + 1, &cam0, &cam1); in npc_config_mcam_entry()
531 int bank, kw = 0; in npc_read_mcam_entry() local
537 for (; bank < (sbank + mcam->banks_per_entry); bank++, kw = kw + 2) { in npc_read_mcam_entry()
542 npc_fill_entryword(entry, kw, cam0, cam1); in npc_read_mcam_entry()
548 npc_fill_entryword(entry, kw + 1, cam0, cam1); in npc_read_mcam_entry()
3400 rsp->entry.kw[0] = pfvf->rx_chan_base; in rvu_mbox_handler_npc_read_base_steer_rule()