Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_npc.c238 #define CAM_MASK(n) (BIT_ULL(n) - 1) in npc_get_keyword() macro
253 *cam1 = entry->kw[1] & CAM_MASK(48); in npc_get_keyword()
254 kw_mask = entry->kw_mask[1] & CAM_MASK(48); in npc_get_keyword()
260 *cam1 = (entry->kw[1] >> 48) & CAM_MASK(16); in npc_get_keyword()
261 *cam1 |= ((entry->kw[2] & CAM_MASK(48)) << 16); in npc_get_keyword()
262 kw_mask = (entry->kw_mask[1] >> 48) & CAM_MASK(16); in npc_get_keyword()
263 kw_mask |= ((entry->kw_mask[2] & CAM_MASK(48)) << 16); in npc_get_keyword()
269 *cam1 = (entry->kw[2] >> 48) & CAM_MASK(16); in npc_get_keyword()
270 *cam1 |= ((entry->kw[3] & CAM_MASK(32)) << 16); in npc_get_keyword()
271 kw_mask = (entry->kw_mask[2] >> 48) & CAM_MASK(16); in npc_get_keyword()
[all …]