Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_npc_fs.c74 u8 nr_bits, int start_kwi, int offset, u8 intf) in npc_set_kw_masks() argument
92 if (start_kwi > max_kwi) in npc_set_kw_masks()
94 field->kw_mask[start_kwi] |= GENMASK_ULL(nr_bits - 1, 0) in npc_set_kw_masks()
100 if (start_kwi + 1 > max_kwi) in npc_set_kw_masks()
104 field->kw_mask[start_kwi] |= GENMASK_ULL(bits_in_kw - 1, 0) in npc_set_kw_masks()
108 field->kw_mask[start_kwi + 1] |= GENMASK_ULL(bits_in_kw - 1, 0); in npc_set_kw_masks()
112 if (start_kwi + 2 > max_kwi) in npc_set_kw_masks()
116 field->kw_mask[start_kwi] |= GENMASK_ULL(bits_in_kw - 1, 0) in npc_set_kw_masks()
119 field->kw_mask[start_kwi + 1] = ~0ULL; in npc_set_kw_masks()
122 field->kw_mask[start_kwi + 2] |= GENMASK_ULL(bits_in_kw - 1, 0); in npc_set_kw_masks()
[all …]