Searched refs:get_cqe (Results 1 - 7 of 7) sorted by relevance

/linux-master/drivers/infiniband/hw/mthca/
H A Dmthca_cq.c169 static inline struct mthca_cqe *get_cqe(struct mthca_cq *cq, int entry) function
181 return cqe_sw(get_cqe(cq, cq->cons_index & cq->ibcq.cqe));
290 cqe_sw(get_cqe(cq, prod_index & cq->ibcq.cqe));
304 cqe = get_cqe(cq, prod_index & cq->ibcq.cqe);
310 memcpy(get_cqe(cq, (prod_index + nfreed) & cq->ibcq.cqe),
316 set_cqe_hw(get_cqe(cq, (cq->cons_index + i) & cq->ibcq.cqe));
338 if (cqe_sw(get_cqe(cq, cq->ibcq.cqe)))
342 for (i = cq->cons_index; cqe_sw(get_cqe(cq, i & cq->ibcq.cqe)); ++i)
345 get_cqe(cq, i & cq->ibcq.cqe), MTHCA_CQ_ENTRY_SIZE);
/linux-master/drivers/infiniband/hw/vmw_pvrdma/
H A Dpvrdma_cq.c270 static inline struct pvrdma_cqe *get_cqe(struct pvrdma_cq *cq, int i) function
305 curr_cqe = get_cqe(cq, curr);
308 cqe = get_cqe(cq, tail);
347 cqe = get_cqe(cq, head);
/linux-master/drivers/infiniband/hw/mlx4/
H A Dcq.c74 static void *get_cqe(struct mlx4_ib_cq *cq, int n) function
81 struct mlx4_cqe *cqe = get_cqe(cq, n & cq->ibcq.cqe);
362 cqe = get_cqe(cq, i & cq->ibcq.cqe);
368 memcpy(new_cqe, get_cqe(cq, i & cq->ibcq.cqe), cqe_size);
373 cqe = get_cqe(cq, ++i & cq->ibcq.cqe);
939 cqe = get_cqe(cq, prod_index & cq->ibcq.cqe);
947 dest = get_cqe(cq, (prod_index + nfreed) & cq->ibcq.cqe);
/linux-master/drivers/infiniband/hw/mlx5/
H A Dcq.c69 static void *get_cqe(struct mlx5_ib_cq *cq, int n) function
81 void *cqe = get_cqe(cq, n & cq->ibcq.cqe);
1096 cqe = get_cqe(cq, prod_index & cq->ibcq.cqe);
1103 dest = get_cqe(cq, (prod_index + nfreed) & cq->ibcq.cqe);
/linux-master/drivers/vfio/pci/mlx5/
H A Dcmd.c1664 static void *get_cqe(struct mlx5_vhca_cq *cq, int n) function
1671 void *cqe = get_cqe(cq, n & (cq->ncqe - 1));
/linux-master/drivers/vdpa/mlx5/net/
H A Dmlx5_vnet.c325 static void *get_cqe(struct mlx5_vdpa_cq *vcq, int n) function
337 cqe = get_cqe(vcq, i);
345 struct mlx5_cqe64 *cqe64 = get_cqe(cq, n & (cq->cqe - 1));
/linux-master/drivers/infiniband/hw/qedr/
H A Dverbs.c4034 static union rdma_cqe *get_cqe(struct qedr_cq *cq) function
4471 cqe = get_cqe(cq);

Completed in 308 milliseconds