Searched refs:log_range (Results 1 – 1 of 1) sorted by relevance
36 hws_pool_create_one_resource(struct mlx5hws_pool *pool, u32 log_range, in hws_pool_create_one_resource() argument51 ste_attr.log_obj_range = log_range; in hws_pool_create_one_resource()56 stc_attr.log_obj_range = log_range; in hws_pool_create_one_resource()70 resource->range = 1 << log_range; in hws_pool_create_one_resource()81 hws_pool_resource_alloc(struct mlx5hws_pool *pool, u32 log_range, int idx) in hws_pool_resource_alloc() argument87 opt_log_range = pool->opt_type == MLX5HWS_POOL_OPTIMIZE_ORIG ? 0 : log_range; in hws_pool_resource_alloc()100 opt_log_range = pool->opt_type == MLX5HWS_POOL_OPTIMIZE_MIRROR ? 0 : log_range; in hws_pool_resource_alloc()114 static unsigned long *hws_pool_create_and_init_bitmap(u32 log_range) in hws_pool_create_and_init_bitmap() argument118 cur_bmp = bitmap_zalloc(1 << log_range, GFP_KERNEL); in hws_pool_create_and_init_bitmap()122 bitmap_fill(cur_bmp, 1 << log_range); in hws_pool_create_and_init_bitmap()[all …]