Searched refs:MLX5_LOG_SW_ICM_BLOCK_SIZE (Results 1 – 2 of 2) sorted by relevance
35 MLX5_LOG_SW_ICM_BLOCK_SIZE(dev)); in mlx5_dm_create()47 MLX5_LOG_SW_ICM_BLOCK_SIZE(dev)); in mlx5_dm_create()77 MLX5_LOG_SW_ICM_BLOCK_SIZE(dev)))); in mlx5_dm_cleanup()85 MLX5_LOG_SW_ICM_BLOCK_SIZE(dev)))); in mlx5_dm_cleanup()138 max_blocks = BIT(log_icm_size - MLX5_LOG_SW_ICM_BLOCK_SIZE(dev)); in mlx5_dm_sw_icm_alloc()155 icm_start_addr += block_idx << MLX5_LOG_SW_ICM_BLOCK_SIZE(dev); in mlx5_dm_sw_icm_alloc()215 start_idx = (addr - icm_start_addr) >> MLX5_LOG_SW_ICM_BLOCK_SIZE(dev); in mlx5_dm_sw_icm_dealloc()
121 #define MLX5_LOG_SW_ICM_BLOCK_SIZE(dev) \ macro123 #define MLX5_SW_ICM_BLOCK_SIZE(dev) (1 << MLX5_LOG_SW_ICM_BLOCK_SIZE(dev))