Home
last modified time | relevance | path

Searched defs:hr_cq (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.15/drivers/infiniband/hw/hns/
Dhns_roce_cq.c59 static int alloc_cqn(struct hns_roce_dev *hr_dev, struct hns_roce_cq *hr_cq) in alloc_cqn()
104 static int alloc_cqc(struct hns_roce_dev *hr_dev, struct hns_roce_cq *hr_cq) in alloc_cqc()
172 static void free_cqc(struct hns_roce_dev *hr_dev, struct hns_roce_cq *hr_cq) in free_cqc()
198 static int alloc_cq_buf(struct hns_roce_dev *hr_dev, struct hns_roce_cq *hr_cq, in alloc_cq_buf()
219 static void free_cq_buf(struct hns_roce_dev *hr_dev, struct hns_roce_cq *hr_cq) in free_cq_buf()
224 static int alloc_cq_db(struct hns_roce_dev *hr_dev, struct hns_roce_cq *hr_cq, in alloc_cq_db()
259 static void free_cq_db(struct hns_roce_dev *hr_dev, struct hns_roce_cq *hr_cq, in free_cq_db()
298 static int get_cq_ucmd(struct hns_roce_cq *hr_cq, struct ib_udata *udata, in get_cq_ucmd()
313 static void set_cq_param(struct hns_roce_cq *hr_cq, u32 cq_entries, int vector, in set_cq_param()
329 static int set_cqe_size(struct hns_roce_cq *hr_cq, struct ib_udata *udata, in set_cqe_size()
[all …]
Dhns_roce_restrack.c83 struct hns_roce_cq *hr_cq = to_hr_cq(ib_cq); in hns_roce_fill_res_cq_entry() local
Dhns_roce_hw_v1.c1981 static void *get_cqe(struct hns_roce_cq *hr_cq, int n) in get_cqe()
1986 static void *get_sw_cqe(struct hns_roce_cq *hr_cq, int n) in get_sw_cqe()
1995 static struct hns_roce_cqe *next_cqe_sw(struct hns_roce_cq *hr_cq) in next_cqe_sw()
2000 static void hns_roce_v1_cq_set_ci(struct hns_roce_cq *hr_cq, u32 cons_index) in hns_roce_v1_cq_set_ci()
2017 static void __hns_roce_v1_cq_clean(struct hns_roce_cq *hr_cq, u32 qpn, in __hns_roce_v1_cq_clean()
2059 static void hns_roce_v1_cq_clean(struct hns_roce_cq *hr_cq, u32 qpn, in hns_roce_v1_cq_clean()
2068 struct hns_roce_cq *hr_cq, void *mb_buf, in hns_roce_v1_write_cqc()
2146 struct hns_roce_cq *hr_cq = to_hr_cq(ibcq); in hns_roce_v1_req_notify_cq() local
2172 static int hns_roce_v1_poll_one(struct hns_roce_cq *hr_cq, in hns_roce_v1_poll_one()
2377 struct hns_roce_cq *hr_cq = to_hr_cq(ibcq); in hns_roce_v1_poll_cq() local
[all …]
Dhns_roce_main.c777 struct hns_roce_cq *hr_cq = to_hr_cq(cq); in check_and_get_armed_cq() local
793 struct hns_roce_cq *hr_cq; in hns_roce_handle_device_err() local
Dhns_roce_hw_v2.c3239 static void *get_cqe_v2(struct hns_roce_cq *hr_cq, int n) in get_cqe_v2()
3244 static void *get_sw_cqe_v2(struct hns_roce_cq *hr_cq, unsigned int n) in get_sw_cqe_v2()
3254 struct hns_roce_cq *hr_cq) in update_cq_db()
3270 static void __hns_roce_v2_cq_clean(struct hns_roce_cq *hr_cq, u32 qpn, in __hns_roce_v2_cq_clean()
3313 static void hns_roce_v2_cq_clean(struct hns_roce_cq *hr_cq, u32 qpn, in hns_roce_v2_cq_clean()
3322 struct hns_roce_cq *hr_cq, void *mb_buf, in hns_roce_v2_write_cqc()
3374 struct hns_roce_cq *hr_cq = to_hr_cq(ibcq); in hns_roce_v2_req_notify_cq() local
3454 static int hns_roce_v2_sw_poll_cq(struct hns_roce_cq *hr_cq, int num_entries, in hns_roce_v2_sw_poll_cq()
3534 static int get_cur_qp(struct hns_roce_cq *hr_cq, struct hns_roce_v2_cqe *cqe, in get_cur_qp()
3709 static int hns_roce_v2_poll_one(struct hns_roce_cq *hr_cq, in hns_roce_v2_poll_one()
[all …]
Dhns_roce_qp.c1417 struct hns_roce_cq *hr_cq; in hns_roce_wq_overflow() local