Home
last modified time | relevance | path

Searched refs:hns_roce_cq (Results 1 – 7 of 7) sorted by relevance

/Linux-v4.19/drivers/infiniband/hw/hns/
Dhns_roce_cq.c41 static void hns_roce_ib_cq_comp(struct hns_roce_cq *hr_cq) in hns_roce_ib_cq_comp()
48 static void hns_roce_ib_cq_event(struct hns_roce_cq *hr_cq, in hns_roce_ib_cq_event()
86 struct hns_roce_cq *hr_cq, int vector) in hns_roce_cq_alloc()
189 void hns_roce_free_cq(struct hns_roce_dev *hr_dev, struct hns_roce_cq *hr_cq) in hns_roce_free_cq()
319 struct hns_roce_cq *hr_cq = NULL; in hns_roce_ib_create_cq()
457 struct hns_roce_cq *hr_cq = to_hr_cq(ib_cq); in hns_roce_ib_destroy_cq()
491 struct hns_roce_cq *cq; in hns_roce_cq_completion()
509 struct hns_roce_cq *cq; in hns_roce_cq_event()
Dhns_roce_device.h400 struct hns_roce_cq { struct
407 void (*comp)(struct hns_roce_cq *cq); argument
408 void (*event)(struct hns_roce_cq *cq, enum hns_roce_event event_type); argument
768 struct hns_roce_cq *hr_cq, void *mb_buf, u64 *mtts,
871 static inline struct hns_roce_cq *to_hr_cq(struct ib_cq *ib_cq) in to_hr_cq()
873 return container_of(ib_cq, struct hns_roce_cq, ib_cq); in to_hr_cq()
996 void hns_roce_lock_cqs(struct hns_roce_cq *send_cq,
997 struct hns_roce_cq *recv_cq);
998 void hns_roce_unlock_cqs(struct hns_roce_cq *send_cq,
999 struct hns_roce_cq *recv_cq);
[all …]
DMakefile10 hns_roce_cq.o hns_roce_alloc.o hns_roce_db.o
Dhns_roce_qp.c1028 void hns_roce_lock_cqs(struct hns_roce_cq *send_cq, struct hns_roce_cq *recv_cq) in hns_roce_lock_cqs()
1044 void hns_roce_unlock_cqs(struct hns_roce_cq *send_cq, in hns_roce_unlock_cqs()
1045 struct hns_roce_cq *recv_cq) __releases(&send_cq->lock) in hns_roce_unlock_cqs()
1089 struct hns_roce_cq *hr_cq; in hns_roce_wq_overflow()
Dhns_roce_hw_v1.c1028 struct hns_roce_cq *mr_free_cq; in hns_roce_v1_mr_free_work_fn()
2013 static void *get_cqe(struct hns_roce_cq *hr_cq, int n) in get_cqe()
2019 static void *get_sw_cqe(struct hns_roce_cq *hr_cq, int n) in get_sw_cqe()
2028 static struct hns_roce_cqe *next_cqe_sw(struct hns_roce_cq *hr_cq) in next_cqe_sw()
2033 static void hns_roce_v1_cq_set_ci(struct hns_roce_cq *hr_cq, u32 cons_index) in hns_roce_v1_cq_set_ci()
2050 static void __hns_roce_v1_cq_clean(struct hns_roce_cq *hr_cq, u32 qpn, in __hns_roce_v1_cq_clean()
2098 static void hns_roce_v1_cq_clean(struct hns_roce_cq *hr_cq, u32 qpn, in hns_roce_v1_cq_clean()
2107 struct hns_roce_cq *hr_cq, void *mb_buf, in hns_roce_v1_write_cqc()
2195 struct hns_roce_cq *hr_cq = to_hr_cq(ibcq); in hns_roce_v1_req_notify_cq()
2221 static int hns_roce_v1_poll_one(struct hns_roce_cq *hr_cq, in hns_roce_v1_poll_one()
[all …]
Dhns_roce_hw_v2.c1820 static void *get_cqe_v2(struct hns_roce_cq *hr_cq, int n) in get_cqe_v2()
1826 static void *get_sw_cqe_v2(struct hns_roce_cq *hr_cq, int n) in get_sw_cqe_v2()
1835 static struct hns_roce_v2_cqe *next_cqe_sw_v2(struct hns_roce_cq *hr_cq) in next_cqe_sw_v2()
1840 static void hns_roce_v2_cq_set_ci(struct hns_roce_cq *hr_cq, u32 cons_index) in hns_roce_v2_cq_set_ci()
1845 static void __hns_roce_v2_cq_clean(struct hns_roce_cq *hr_cq, u32 qpn, in __hns_roce_v2_cq_clean()
1892 static void hns_roce_v2_cq_clean(struct hns_roce_cq *hr_cq, u32 qpn, in hns_roce_v2_cq_clean()
1901 struct hns_roce_cq *hr_cq, void *mb_buf, in hns_roce_v2_write_cqc()
1978 struct hns_roce_cq *hr_cq = to_hr_cq(ibcq); in hns_roce_v2_req_notify_cq()
2042 static int hns_roce_v2_poll_one(struct hns_roce_cq *hr_cq, in hns_roce_v2_poll_one()
2303 struct hns_roce_cq *hr_cq = to_hr_cq(ibcq); in hns_roce_v2_poll_cq()
[all …]
Dhns_roce_hw_v1.h1094 struct hns_roce_cq *mr_free_cq;