Searched refs:hns_roce_cq (Results 1 – 8 of 8) sorted by relevance
/drivers/infiniband/hw/hns/ |
D | hns_roce_cq.c | 58 static int alloc_cqn(struct hns_roce_dev *hr_dev, struct hns_roce_cq *hr_cq) in alloc_cqn() 104 struct hns_roce_cq *hr_cq, in hns_roce_create_cqc() 131 static int alloc_cqc(struct hns_roce_dev *hr_dev, struct hns_roce_cq *hr_cq) in alloc_cqc() 174 static void free_cqc(struct hns_roce_dev *hr_dev, struct hns_roce_cq *hr_cq) in free_cqc() 199 static int alloc_cq_buf(struct hns_roce_dev *hr_dev, struct hns_roce_cq *hr_cq, in alloc_cq_buf() 220 static void free_cq_buf(struct hns_roce_dev *hr_dev, struct hns_roce_cq *hr_cq) in free_cq_buf() 225 static int alloc_cq_db(struct hns_roce_dev *hr_dev, struct hns_roce_cq *hr_cq, in alloc_cq_db() 260 static void free_cq_db(struct hns_roce_dev *hr_dev, struct hns_roce_cq *hr_cq, in free_cq_db() 299 static int get_cq_ucmd(struct hns_roce_cq *hr_cq, struct ib_udata *udata, in get_cq_ucmd() 314 static void set_cq_param(struct hns_roce_cq *hr_cq, u32 cq_entries, int vector, in set_cq_param() [all …]
|
D | hns_roce_device.h | 404 struct hns_roce_cq { struct 882 struct hns_roce_cq *hr_cq, void *mb_buf, u64 *mtts, 1009 static inline struct hns_roce_cq *to_hr_cq(struct ib_cq *ib_cq) in to_hr_cq() 1011 return container_of(ib_cq, struct hns_roce_cq, ib_cq); in to_hr_cq() 1198 void hns_roce_lock_cqs(struct hns_roce_cq *send_cq, 1199 struct hns_roce_cq *recv_cq); 1200 void hns_roce_unlock_cqs(struct hns_roce_cq *send_cq, 1201 struct hns_roce_cq *recv_cq);
|
D | Makefile | 10 hns_roce_cq.o hns_roce_alloc.o hns_roce_db.o hns_roce_srq.o hns_roce_restrack.o
|
D | hns_roce_restrack.c | 16 struct hns_roce_cq *hr_cq = to_hr_cq(ib_cq); in hns_roce_fill_res_cq_entry() 48 struct hns_roce_cq *hr_cq = to_hr_cq(ib_cq); in hns_roce_fill_res_cq_entry_raw()
|
D | hns_roce_qp.c | 263 struct hns_roce_cq *hr_send_cq, *hr_recv_cq; in add_qp_to_list() 1437 void hns_roce_lock_cqs(struct hns_roce_cq *send_cq, struct hns_roce_cq *recv_cq) in hns_roce_lock_cqs() 1461 void hns_roce_unlock_cqs(struct hns_roce_cq *send_cq, in hns_roce_unlock_cqs() 1462 struct hns_roce_cq *recv_cq) __releases(&send_cq->lock) in hns_roce_unlock_cqs() 1509 struct hns_roce_cq *hr_cq; in hns_roce_wq_overflow()
|
D | hns_roce_main.c | 550 INIT_RDMA_OBJ_SIZE(ib_cq, hns_roce_cq, ib_cq), 879 struct hns_roce_cq *hr_cq = to_hr_cq(cq); in check_and_get_armed_cq() 895 struct hns_roce_cq *hr_cq; in hns_roce_handle_device_err()
|
D | hns_roce_hw_v2.c | 2696 struct hns_roce_cq *hr_cq; in free_mr_init_cq() 3581 static void *get_cqe_v2(struct hns_roce_cq *hr_cq, int n) in get_cqe_v2() 3586 static void *get_sw_cqe_v2(struct hns_roce_cq *hr_cq, unsigned int n) in get_sw_cqe_v2() 3596 struct hns_roce_cq *hr_cq) in update_cq_db() 3612 static void __hns_roce_v2_cq_clean(struct hns_roce_cq *hr_cq, u32 qpn, in __hns_roce_v2_cq_clean() 3655 static void hns_roce_v2_cq_clean(struct hns_roce_cq *hr_cq, u32 qpn, in hns_roce_v2_cq_clean() 3664 struct hns_roce_cq *hr_cq, void *mb_buf, in hns_roce_v2_write_cqc() 3716 struct hns_roce_cq *hr_cq = to_hr_cq(ibcq); in hns_roce_v2_req_notify_cq() 3796 static int hns_roce_v2_sw_poll_cq(struct hns_roce_cq *hr_cq, int num_entries, in hns_roce_v2_sw_poll_cq() 3821 struct hns_roce_cq *cq, struct hns_roce_v2_cqe *cqe, in get_cqe_status() [all …]
|
D | hns_roce_hw_v2.h | 1338 struct hns_roce_cq *rsv_cq;
|