Searched refs:CAM_MASK (Results 1 – 1 of 1) sorted by relevance
238 #define CAM_MASK(n) (BIT_ULL(n) - 1) in npc_get_keyword() macro253 *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 …]