Searched refs:MLX5_NON_FP_BFREGS_PER_UAR (Results 1 – 4 of 4) sorted by relevance
117 if ((i % MLX5_BFREGS_PER_UAR) < MLX5_NON_FP_BFREGS_PER_UAR) in alloc_uars_page()124 up->reg_avail = bfregs * MLX5_NON_FP_BFREGS_PER_UAR / MLX5_BFREGS_PER_UAR; in alloc_uars_page()307 fp = (dbi % MLX5_BFREGS_PER_UAR) >= MLX5_NON_FP_BFREGS_PER_UAR; in mlx5_free_bfreg()
255 MLX5_NON_FP_BFREGS_PER_UAR = 2, enumerator257 MLX5_NON_FP_BFREGS_PER_UAR,259 MLX5_NON_FP_BFREGS_PER_UAR,261 MLX5_NON_FP_BFREGS_IN_PAGE = MLX5_NON_FP_BFREGS_PER_UAR * MLX5_UARS_IN_PAGE,
483 return get_num_static_uars(dev, bfregi) * MLX5_NON_FP_BFREGS_PER_UAR; in max_bfregs()629 MLX5_NON_FP_BFREGS_PER_UAR; in bfregn_to_uar_index()645 offset = bfregn % bfregs_per_sys_page / MLX5_NON_FP_BFREGS_PER_UAR; in bfregn_to_uar_index()756 return bfregn / MLX5_NON_FP_BFREGS_PER_UAR * MLX5_BFREGS_PER_UAR + in adjust_bfregn()757 bfregn % MLX5_NON_FP_BFREGS_PER_UAR; in adjust_bfregn()
1147 bfregs_per_sys_page = uars_per_sys_page * MLX5_NON_FP_BFREGS_PER_UAR; in calc_total_bfregs() 1297 MLX5_NON_FP_BFREGS_PER_UAR); in mlx5_ib_alloc_ucontext() 1591 bfreg_dyn_idx = idx * (uars_per_page * MLX5_NON_FP_BFREGS_PER_UAR); in uar_mmap()