Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_npc_fs.c61 u8 nr_bits, int start_kwi, int offset, u8 intf) in npc_set_kw_masks() argument
79 if (start_kwi > max_kwi) in npc_set_kw_masks()
81 field->kw_mask[start_kwi] |= GENMASK_ULL(nr_bits - 1, 0) in npc_set_kw_masks()
87 if (start_kwi + 1 > max_kwi) in npc_set_kw_masks()
91 field->kw_mask[start_kwi] |= GENMASK_ULL(bits_in_kw - 1, 0) in npc_set_kw_masks()
95 field->kw_mask[start_kwi + 1] |= GENMASK_ULL(bits_in_kw - 1, 0); in npc_set_kw_masks()
99 if (start_kwi + 2 > max_kwi) in npc_set_kw_masks()
103 field->kw_mask[start_kwi] |= GENMASK_ULL(bits_in_kw - 1, 0) in npc_set_kw_masks()
106 field->kw_mask[start_kwi + 1] = ~0ULL; in npc_set_kw_masks()
109 field->kw_mask[start_kwi + 2] |= GENMASK_ULL(bits_in_kw - 1, 0); in npc_set_kw_masks()
[all …]