Searched refs:sz_m1 (Results 1 – 5 of 5) sorted by relevance
102 return (u32)wq->fbc.sz_m1 + 1; in mlx5_wq_cyc_get_size()144 return ctr & wq->fbc.sz_m1; in mlx5_wq_cyc_ctr2ix()182 return wq->fbc.sz_m1 + 1; in mlx5_cqwq_get_size()192 return ctr & wq->fbc.sz_m1; in mlx5_cqwq_ctr2ix()248 return (u32)wq->fbc.sz_m1 + 1; in mlx5_wq_ll_get_size()253 return wq->cur_sz == wq->fbc.sz_m1; in mlx5_wq_ll_is_full()263 return wq->fbc.sz_m1 - wq->cur_sz; in mlx5_wq_ll_missing()
202 for (i = 0; i < wq->fbc.sz_m1; i++) { in mlx5_wq_ll_init_list()
53 return eq->fbc.sz_m1 + 1; in eq_get_size()63 struct mlx5_eqe *eqe = get_eqe(eq, eq->cons_index & eq->fbc.sz_m1); in next_eqe_sw()
331 u32 sz_m1; member925 fbc->sz_m1 = (1 << fbc->log_sz) - 1; in mlx5_init_fbc_offset()954 return min_t(u32, last_frag_stride_idx - fbc->strides_offset, fbc->sz_m1); in mlx5_frag_buf_get_idx_last_contig_stride()
142 wqe_index = wqe_index & qp->sq.fbc.sz_m1; in mlx5_ib_read_kernel_wqe_sq()161 wqe_index = (wqe_index + 1) & qp->sq.fbc.sz_m1; in mlx5_ib_read_kernel_wqe_sq()