Searched refs:MLXSW_AFK_ELEMENT_MAX (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/drivers/net/ethernet/mellanox/mlxsw/ |
D | core_acl_flex_keys.c | 113 int element_to_block[MLXSW_AFK_ELEMENT_MAX]; /* index is element, value 141 DECLARE_BITMAP(element, MLXSW_AFK_ELEMENT_MAX); 142 DECLARE_BITMAP(chosen_element, MLXSW_AFK_ELEMENT_MAX); 172 DECLARE_BITMAP(hits_element, MLXSW_AFK_ELEMENT_MAX); in mlxsw_afk_picker_subtract_hits() 180 for_each_set_bit(j, hits_element, MLXSW_AFK_ELEMENT_MAX) { in mlxsw_afk_picker_subtract_hits() 214 MLXSW_AFK_ELEMENT_MAX) { in mlxsw_afk_picker_key_info_add() 259 DECLARE_BITMAP(elusage_chosen, MLXSW_AFK_ELEMENT_MAX) = {0}; in mlxsw_afk_picker() 303 picker[block_index].element, MLXSW_AFK_ELEMENT_MAX); in mlxsw_afk_picker() 307 MLXSW_AFK_ELEMENT_MAX); in mlxsw_afk_picker() 312 MLXSW_AFK_ELEMENT_MAX)); in mlxsw_afk_picker()
|
D | core_acl_flex_keys.h | 42 MLXSW_AFK_ELEMENT_MAX, enumerator 141 DECLARE_BITMAP(usage, MLXSW_AFK_ELEMENT_MAX); 145 for_each_set_bit(element, (elusage)->usage, MLXSW_AFK_ELEMENT_MAX) 157 bitmap_zero(elusage->usage, MLXSW_AFK_ELEMENT_MAX); in mlxsw_afk_element_usage_zero() 178 for (i = 0; i < MLXSW_AFK_ELEMENT_MAX; i++) in mlxsw_afk_element_usage_subset()
|