Searched refs:blocks_count (Results 1 – 4 of 4) sorted by relevance
17 unsigned int blocks_count; member25 for (i = 0; i < mlxsw_afk->blocks_count; i++) { in mlxsw_afk_blocks_check()54 mlxsw_afk->blocks_count = ops->blocks_count; in mlxsw_afk_create()70 unsigned int blocks_count; member112 for (i = 0; i < mlxsw_afk->blocks_count; i++) { in mlxsw_afk_picker_count_hits()138 for (i = 0; i < mlxsw_afk->blocks_count; i++) { in mlxsw_afk_picker_subtract_hits()153 for (i = 0; i < mlxsw_afk->blocks_count; i++) { in mlxsw_afk_picker_most_hits_get()169 if (key_info->blocks_count == mlxsw_afk->max_blocks) in mlxsw_afk_picker_key_info_add()174 key_info->element_to_block[element] = key_info->blocks_count; in mlxsw_afk_picker_key_info_add()178 key_info->blocks[key_info->blocks_count] = in mlxsw_afk_picker_key_info_add()[all …]
297 unsigned int blocks_count; in mlxsw_sp_acl_atcam_region_type_init() local302 blocks_count = mlxsw_afk_key_info_blocks_count_get(region->key_info); in mlxsw_sp_acl_atcam_region_type_init()303 if (blocks_count <= 2) in mlxsw_sp_acl_atcam_region_type_init()305 else if (blocks_count <= 4) in mlxsw_sp_acl_atcam_region_type_init()307 else if (blocks_count <= 8) in mlxsw_sp_acl_atcam_region_type_init()
120 .blocks_count = ARRAY_SIZE(mlxsw_sp1_afk_blocks),310 .blocks_count = ARRAY_SIZE(mlxsw_sp2_afk_blocks),
208 unsigned int blocks_count; member