Searched refs:get_cqe (Results 1 – 7 of 7) sorted by relevance
/linux-6.1.9/drivers/infiniband/hw/mthca/ |
D | mthca_cq.c | 169 static inline struct mthca_cqe *get_cqe(struct mthca_cq *cq, int entry) in get_cqe() function 181 return cqe_sw(get_cqe(cq, cq->cons_index & cq->ibcq.cqe)); in next_cqe_sw() 290 cqe_sw(get_cqe(cq, prod_index & cq->ibcq.cqe)); in mthca_cq_clean() 304 cqe = get_cqe(cq, prod_index & cq->ibcq.cqe); in mthca_cq_clean() 310 memcpy(get_cqe(cq, (prod_index + nfreed) & cq->ibcq.cqe), in mthca_cq_clean() 316 set_cqe_hw(get_cqe(cq, (cq->cons_index + i) & cq->ibcq.cqe)); in mthca_cq_clean() 338 if (cqe_sw(get_cqe(cq, cq->ibcq.cqe))) in mthca_cq_resize_copy_cqes() 342 for (i = cq->cons_index; cqe_sw(get_cqe(cq, i & cq->ibcq.cqe)); ++i) in mthca_cq_resize_copy_cqes() 345 get_cqe(cq, i & cq->ibcq.cqe), MTHCA_CQ_ENTRY_SIZE); in mthca_cq_resize_copy_cqes()
|
/linux-6.1.9/drivers/infiniband/hw/vmw_pvrdma/ |
D | pvrdma_cq.c | 270 static inline struct pvrdma_cqe *get_cqe(struct pvrdma_cq *cq, int i) in get_cqe() function 305 curr_cqe = get_cqe(cq, curr); in _pvrdma_flush_cqe() 308 cqe = get_cqe(cq, tail); in _pvrdma_flush_cqe() 347 cqe = get_cqe(cq, head); in pvrdma_poll_one()
|
/linux-6.1.9/drivers/infiniband/hw/mlx4/ |
D | cq.c | 74 static void *get_cqe(struct mlx4_ib_cq *cq, int n) in get_cqe() function 81 struct mlx4_cqe *cqe = get_cqe(cq, n & cq->ibcq.cqe); in get_sw_cqe() 362 cqe = get_cqe(cq, i & cq->ibcq.cqe); in mlx4_ib_cq_resize_copy_cqes() 368 memcpy(new_cqe, get_cqe(cq, i & cq->ibcq.cqe), cqe_size); in mlx4_ib_cq_resize_copy_cqes() 373 cqe = get_cqe(cq, ++i & cq->ibcq.cqe); in mlx4_ib_cq_resize_copy_cqes() 939 cqe = get_cqe(cq, prod_index & cq->ibcq.cqe); in __mlx4_ib_cq_clean() 947 dest = get_cqe(cq, (prod_index + nfreed) & cq->ibcq.cqe); in __mlx4_ib_cq_clean()
|
/linux-6.1.9/drivers/infiniband/hw/mlx5/ |
D | cq.c | 69 static void *get_cqe(struct mlx5_ib_cq *cq, int n) in get_cqe() function 81 void *cqe = get_cqe(cq, n & cq->ibcq.cqe); in get_sw_cqe() 1093 cqe = get_cqe(cq, prod_index & cq->ibcq.cqe); in __mlx5_ib_cq_clean() 1100 dest = get_cqe(cq, (prod_index + nfreed) & cq->ibcq.cqe); in __mlx5_ib_cq_clean()
|
/linux-6.1.9/drivers/vfio/pci/mlx5/ |
D | cmd.c | 1257 static void *get_cqe(struct mlx5_vhca_cq *cq, int n) in get_cqe() function 1264 void *cqe = get_cqe(cq, n & (cq->ncqe - 1)); in get_sw_cqe()
|
/linux-6.1.9/drivers/vdpa/mlx5/net/ |
D | mlx5_vnet.c | 361 static void *get_cqe(struct mlx5_vdpa_cq *vcq, int n) in get_cqe() function 373 cqe = get_cqe(vcq, i); in cq_frag_buf_init() 381 struct mlx5_cqe64 *cqe64 = get_cqe(cq, n & (cq->cqe - 1)); in get_sw_cqe()
|
/linux-6.1.9/drivers/infiniband/hw/qedr/ |
D | verbs.c | 4025 static union rdma_cqe *get_cqe(struct qedr_cq *cq) in get_cqe() function 4462 cqe = get_cqe(cq); in qedr_poll_cq()
|