Lines Matching refs:nent
110 unsigned long offset = (entry & (eq->nent - 1)) * eqe_size; in get_eqe()
124 return !!(eqe->owner & 0x80) ^ !!(eq->cons_index & eq->nent) ? NULL : eqe; in next_eqe_sw()
780 eq->cons_index, eqe->owner, eq->nent, in mlx4_eq_int()
783 !!(eq->cons_index & eq->nent) ? "HW" : "SW"); in mlx4_eq_int()
805 eq->cons_index, eqe->owner, eq->nent, in mlx4_eq_int()
807 !!(eq->cons_index & eq->nent) ? "HW" : "SW"); in mlx4_eq_int()
817 eq->cons_index, eqe->owner, eq->nent, in mlx4_eq_int()
820 !!(eq->cons_index & eq->nent) ? "HW" : "SW"); in mlx4_eq_int()
974 static int mlx4_create_eq(struct mlx4_dev *dev, int nent, in mlx4_create_eq() argument
988 eq->nent = roundup_pow_of_two(max(nent, 2)); in mlx4_create_eq()
992 npages = PAGE_ALIGN(eq->nent * dev->caps.eqe_size) / PAGE_SIZE; in mlx4_create_eq()
1045 eq_context->log_eq_size = ilog2(eq->nent); in mlx4_create_eq()
1104 int npages = PAGE_ALIGN(dev->caps.eqe_size * eq->nent) / PAGE_SIZE; in mlx4_free_eq()