Home
last modified time | relevance | path

Searched defs:hr_dev (Results 1 – 17 of 17) sorted by relevance

/linux/drivers/infiniband/hw/hns/
A Dhns_roce_mr.c60 int hns_roce_hw_destroy_mpt(struct hns_roce_dev *hr_dev, in hns_roce_hw_destroy_mpt()
141 static void hns_roce_mr_free(struct hns_roce_dev *hr_dev, in hns_roce_mr_free()
200 void hns_roce_init_mr_table(struct hns_roce_dev *hr_dev) in hns_roce_init_mr_table()
211 struct hns_roce_dev *hr_dev = to_hr_dev(pd->device); in hns_roce_get_dma_mr() local
248 struct hns_roce_dev *hr_dev = to_hr_dev(pd->device); in hns_roce_reg_user_mr() local
293 struct hns_roce_dev *hr_dev = to_hr_dev(ibmr->device); in hns_roce_rereg_user_mr() local
362 struct hns_roce_dev *hr_dev = to_hr_dev(ibmr->device); in hns_roce_dereg_mr() local
379 struct hns_roce_dev *hr_dev = to_hr_dev(pd->device); in hns_roce_alloc_mr() local
443 struct hns_roce_dev *hr_dev = to_hr_dev(ibmr->device); in hns_roce_map_mr_sg() local
553 struct hns_roce_dev *hr_dev = to_hr_dev(ibmw->device); in hns_roce_alloc_mw() local
[all …]
A Dhns_roce_qp.c274 static void add_qp_to_list(struct hns_roce_dev *hr_dev, in add_qp_to_list()
297 static int hns_roce_qp_store(struct hns_roce_dev *hr_dev, in hns_roce_qp_store()
580 static int set_user_sq_size(struct hns_roce_dev *hr_dev, in set_user_sq_size()
607 static int set_wqe_buf_attr(struct hns_roce_dev *hr_dev, in set_wqe_buf_attr()
658 static int set_kernel_sq_size(struct hns_roce_dev *hr_dev, in set_kernel_sq_size()
825 static int alloc_user_qp_db(struct hns_roce_dev *hr_dev, in alloc_user_qp_db()
942 static int alloc_kernel_wrid(struct hns_roce_dev *hr_dev, in alloc_kernel_wrid()
1184 struct hns_roce_dev *hr_dev = to_hr_dev(ibdev); in hns_roce_create_qp() local
1250 struct hns_roce_dev *hr_dev = to_hr_dev(ibqp->device); in hns_roce_check_qp_attr() local
1296 struct hns_roce_dev *hr_dev = to_hr_dev(ibqp->device); in hns_roce_modify_qp() local
[all …]
A Dhns_roce_cq.c59 static int alloc_cqn(struct hns_roce_dev *hr_dev, struct hns_roce_cq *hr_cq) in alloc_cqn()
90 static void free_cqn(struct hns_roce_dev *hr_dev, unsigned long cqn) in free_cqn()
104 static int alloc_cqc(struct hns_roce_dev *hr_dev, struct hns_roce_cq *hr_cq) in alloc_cqc()
278 static int verify_cq_create_attr(struct hns_roce_dev *hr_dev, in verify_cq_create_attr()
316 struct hns_roce_dev *hr_dev = to_hr_dev(hr_cq->ib_cq.device); in set_cq_param() local
332 struct hns_roce_dev *hr_dev = to_hr_dev(hr_cq->ib_cq.device); in set_cqe_size() local
358 struct hns_roce_dev *hr_dev = to_hr_dev(ib_cq->device); in hns_roce_create_cq() local
441 struct hns_roce_dev *hr_dev = to_hr_dev(ib_cq->device); in hns_roce_destroy_cq() local
455 void hns_roce_cq_completion(struct hns_roce_dev *hr_dev, u32 cqn) in hns_roce_cq_completion()
510 void hns_roce_init_cq_table(struct hns_roce_dev *hr_dev) in hns_roce_init_cq_table()
[all …]
A Dhns_roce_hw_v2.c425 struct hns_roce_dev *hr_dev = to_hr_dev(ib_dev); in fill_ud_av() local
1196 static int init_csq(struct hns_roce_dev *hr_dev, in init_csq()
4615 struct hns_roce_dev *hr_dev = to_hr_dev(ibdev); in fill_cong_field() local
5348 struct hns_roce_dev *hr_dev = to_hr_dev(ibdev); in hns_roce_v2_write_srqc_index_queue() local
5390 struct hns_roce_dev *hr_dev = to_hr_dev(ibdev); in hns_roce_v2_write_srqc() local
5641 struct hns_roce_dev *hr_dev = eq->hr_dev; in update_eq_db() local
5795 struct hns_roce_dev *hr_dev = eq->hr_dev; in hns_roce_v2_msix_interrupt_eq() local
5810 struct hns_roce_dev *hr_dev = dev_id; in hns_roce_v2_msix_interrupt_abn() local
6327 struct hns_roce_dev *hr_dev; in __hns_roce_hw_v2_init_instance() local
6364 struct hns_roce_dev *hr_dev = handle->priv; in __hns_roce_hw_v2_uninit_instance() local
[all …]
A Dhns_roce_cmd.c42 static int hns_roce_cmd_mbox_post_hw(struct hns_roce_dev *hr_dev, u64 in_param, in hns_roce_cmd_mbox_post_hw()
52 static int __hns_roce_cmd_mbox_poll(struct hns_roce_dev *hr_dev, u64 in_param, in __hns_roce_cmd_mbox_poll()
72 static int hns_roce_cmd_mbox_poll(struct hns_roce_dev *hr_dev, u64 in_param, in hns_roce_cmd_mbox_poll()
86 void hns_roce_cmd_event(struct hns_roce_dev *hr_dev, u16 token, u8 status, in hns_roce_cmd_event()
156 static int hns_roce_cmd_mbox_wait(struct hns_roce_dev *hr_dev, u64 in_param, in hns_roce_cmd_mbox_wait()
190 int hns_roce_cmd_init(struct hns_roce_dev *hr_dev) in hns_roce_cmd_init()
204 void hns_roce_cmd_cleanup(struct hns_roce_dev *hr_dev) in hns_roce_cmd_cleanup()
209 int hns_roce_cmd_use_events(struct hns_roce_dev *hr_dev) in hns_roce_cmd_use_events()
237 void hns_roce_cmd_use_polling(struct hns_roce_dev *hr_dev) in hns_roce_cmd_use_polling()
246 hns_roce_alloc_cmd_mailbox(struct hns_roce_dev *hr_dev) in hns_roce_alloc_cmd_mailbox()
[all …]
A Dhns_roce_hw_v1.c81 struct hns_roce_dev *hr_dev = to_hr_dev(ibqp->device); in hns_roce_v1_post_send() local
363 struct hns_roce_dev *hr_dev = to_hr_dev(ibqp->device); in hns_roce_v1_post_recv() local
968 static int hns_roce_db_init(struct hns_roce_dev *hr_dev) in hns_roce_db_init()
1005 struct hns_roce_dev *hr_dev; in hns_roce_v1_recreate_lp_qp_work_fn() local
1354 static int hns_roce_bt_init(struct hns_roce_dev *hr_dev) in hns_roce_bt_init()
1593 static int hns_roce_v1_init(struct hns_roce_dev *hr_dev) in hns_roce_v1_init()
2577 struct hns_roce_dev *hr_dev = to_hr_dev(ibqp->device); in hns_roce_v1_m_sqp() local
2736 struct hns_roce_dev *hr_dev = to_hr_dev(ibqp->device); in hns_roce_v1_m_qp() local
3993 struct hns_roce_dev *hr_dev = eq->hr_dev; in hns_roce_v1_msix_interrupt_eq() local
4008 struct hns_roce_dev *hr_dev = dev_id; in hns_roce_v1_msix_interrupt_abn() local
[all …]
A Dhns_roce_srq.c12 void hns_roce_srq_event(struct hns_roce_dev *hr_dev, u32 srqn, int event_type) in hns_roce_srq_event()
37 struct hns_roce_dev *hr_dev = to_hr_dev(srq->ibsrq.device); in hns_roce_ib_srq_event() local
80 static int alloc_srqc(struct hns_roce_dev *hr_dev, struct hns_roce_srq *srq) in alloc_srqc()
144 static void free_srqc(struct hns_roce_dev *hr_dev, struct hns_roce_srq *srq) in free_srqc()
164 static int alloc_srq_idx(struct hns_roce_dev *hr_dev, struct hns_roce_srq *srq, in alloc_srq_idx()
217 static int alloc_srq_wqe_buf(struct hns_roce_dev *hr_dev, in alloc_srq_wqe_buf()
245 static void free_srq_wqe_buf(struct hns_roce_dev *hr_dev, in free_srq_wqe_buf()
292 struct hns_roce_dev *hr_dev = to_hr_dev(srq->ibsrq.device); in set_srq_basic_param() local
393 struct hns_roce_dev *hr_dev = to_hr_dev(ib_srq->device); in hns_roce_create_srq() local
439 struct hns_roce_dev *hr_dev = to_hr_dev(ibsrq->device); in hns_roce_destroy_srq() local
[all …]
A Dhns_roce_pd.c37 void hns_roce_init_pd_table(struct hns_roce_dev *hr_dev) in hns_roce_init_pd_table()
49 struct hns_roce_dev *hr_dev = to_hr_dev(ib_dev); in hns_roce_alloc_pd() local
79 struct hns_roce_dev *hr_dev = to_hr_dev(pd->device); in hns_roce_dealloc_pd() local
86 int hns_roce_uar_alloc(struct hns_roce_dev *hr_dev, struct hns_roce_uar *uar) in hns_roce_uar_alloc()
123 void hns_roce_init_uar_table(struct hns_roce_dev *hr_dev) in hns_roce_init_uar_table()
132 static int hns_roce_xrcd_alloc(struct hns_roce_dev *hr_dev, u32 *xrcdn) in hns_roce_xrcd_alloc()
148 void hns_roce_init_xrcd_table(struct hns_roce_dev *hr_dev) in hns_roce_init_xrcd_table()
159 struct hns_roce_dev *hr_dev = to_hr_dev(ib_xrcd->device); in hns_roce_alloc_xrcd() local
175 struct hns_roce_dev *hr_dev = to_hr_dev(ib_xrcd->device); in hns_roce_dealloc_xrcd() local
A Dhns_roce_main.c66 struct hns_roce_dev *hr_dev = to_hr_dev(attr->device); in hns_roce_add_gid() local
80 struct hns_roce_dev *hr_dev = to_hr_dev(attr->device); in hns_roce_del_gid() local
130 struct hns_roce_dev *hr_dev = NULL; in hns_roce_netdev_event() local
171 struct hns_roce_dev *hr_dev = to_hr_dev(ib_dev); in hns_roce_query_device() local
220 struct hns_roce_dev *hr_dev = to_hr_dev(ib_dev); in hns_roce_query_port() local
335 struct hns_roce_dev *hr_dev = to_hr_dev(uctx->device); in hns_roce_alloc_uar_entry() local
374 struct hns_roce_dev *hr_dev = to_hr_dev(uctx->device); in hns_roce_alloc_ucontext() local
655 static int hns_roce_init_hem(struct hns_roce_dev *hr_dev) in hns_roce_init_hem()
813 static int hns_roce_setup_hca(struct hns_roce_dev *hr_dev) in hns_roce_setup_hca()
905 int hns_roce_init(struct hns_roce_dev *hr_dev) in hns_roce_init()
[all …]
A Dhns_roce_hem.c203 int hns_roce_calc_hem_mhop(struct hns_roce_dev *hr_dev, in hns_roce_calc_hem_mhop()
336 static int calc_hem_config(struct hns_roce_dev *hr_dev, in calc_hem_config()
386 static void free_mhop_hem(struct hns_roce_dev *hr_dev, in free_mhop_hem()
412 static int alloc_mhop_hem(struct hns_roce_dev *hr_dev, in alloc_mhop_hem()
486 static int set_mhop_hem(struct hns_roce_dev *hr_dev, in set_mhop_hem()
570 int hns_roce_table_get(struct hns_roce_dev *hr_dev, in hns_roce_table_get()
614 static void clear_mhop_hem(struct hns_roce_dev *hr_dev, in clear_mhop_hem()
687 void hns_roce_table_put(struct hns_roce_dev *hr_dev, in hns_roce_table_put()
713 void *hns_roce_table_find(struct hns_roce_dev *hr_dev, in hns_roce_table_find()
785 int hns_roce_init_hem_table(struct hns_roce_dev *hr_dev, in hns_roce_init_hem_table()
[all …]
A Dhns_roce_alloc.c39 void hns_roce_buf_free(struct hns_roce_dev *hr_dev, struct hns_roce_buf *buf) in hns_roce_buf_free()
67 struct hns_roce_buf *hns_roce_buf_alloc(struct hns_roce_dev *hr_dev, u32 size, in hns_roce_buf_alloc()
133 int hns_roce_get_kmem_bufs(struct hns_roce_dev *hr_dev, dma_addr_t *bufs, in hns_roce_get_kmem_bufs()
157 int hns_roce_get_umem_bufs(struct hns_roce_dev *hr_dev, dma_addr_t *bufs, in hns_roce_get_umem_bufs()
175 void hns_roce_cleanup_bitmap(struct hns_roce_dev *hr_dev) in hns_roce_cleanup_bitmap()
A Dhns_roce_db.c125 int hns_roce_alloc_db(struct hns_roce_dev *hr_dev, struct hns_roce_db *db, in hns_roce_alloc_db()
154 void hns_roce_free_db(struct hns_roce_dev *hr_dev, struct hns_roce_db *db) in hns_roce_free_db()
A Dhns_roce_hw_v2_dfx.c9 int hns_roce_v2_query_cqc_info(struct hns_roce_dev *hr_dev, u32 cqn, in hns_roce_v2_query_cqc_info()
A Dhns_roce_restrack.c82 struct hns_roce_dev *hr_dev = to_hr_dev(ib_cq->device); in hns_roce_fill_res_cq_entry() local
A Dhns_roce_ah.c60 struct hns_roce_dev *hr_dev = to_hr_dev(ibah->device); in hns_roce_create_ah() local
A Dhns_roce_device.h623 struct hns_roce_dev *hr_dev; member
717 struct hns_roce_dev *hr_dev; member
1078 *__hns_roce_qp_lookup(struct hns_roce_dev *hr_dev, u32 qpn) in __hns_roce_qp_lookup()
A Dhns_roce_hw_v2.h1573 static inline void hns_roce_write64(struct hns_roce_dev *hr_dev, __le32 val[2], in hns_roce_write64()

Completed in 75 milliseconds