Home
last modified time | relevance | path

Searched refs:CAM_MASK (Results 1 – 1 of 1) sorted by relevance

/Linux-v6.6/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_npc.c260 #define CAM_MASK(n) (BIT_ULL(n) - 1) in npc_get_keyword() macro
275 *cam1 = entry->kw[1] & CAM_MASK(48); in npc_get_keyword()
276 kw_mask = entry->kw_mask[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()
284 kw_mask = (entry->kw_mask[1] >> 48) & CAM_MASK(16); in npc_get_keyword()
285 kw_mask |= ((entry->kw_mask[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()
293 kw_mask = (entry->kw_mask[2] >> 48) & CAM_MASK(16); in npc_get_keyword()
[all …]