Lines Matching defs:hr_dev

65 	struct hns_roce_dev *hr_dev = to_hr_dev(ibqp->device);  in hns_roce_v1_post_send()  local
349 struct hns_roce_dev *hr_dev = to_hr_dev(ibqp->device); in hns_roce_v1_post_recv() local
439 static void hns_roce_set_db_event_mode(struct hns_roce_dev *hr_dev, in hns_roce_set_db_event_mode()
453 static void hns_roce_set_db_ext_mode(struct hns_roce_dev *hr_dev, u32 sdb_mode, in hns_roce_set_db_ext_mode()
468 static void hns_roce_set_sdb(struct hns_roce_dev *hr_dev, u32 sdb_alept, in hns_roce_set_sdb()
485 static void hns_roce_set_odb(struct hns_roce_dev *hr_dev, u32 odb_alept, in hns_roce_set_odb()
502 static void hns_roce_set_sdb_ext(struct hns_roce_dev *hr_dev, u32 ext_sdb_alept, in hns_roce_set_sdb_ext()
541 static void hns_roce_set_odb_ext(struct hns_roce_dev *hr_dev, u32 ext_odb_alept, in hns_roce_set_odb_ext()
576 static int hns_roce_db_ext_init(struct hns_roce_dev *hr_dev, u32 sdb_ext_mod, in hns_roce_db_ext_init()
661 static struct hns_roce_qp *hns_roce_v1_create_lp_qp(struct hns_roce_dev *hr_dev, in hns_roce_v1_create_lp_qp()
683 static int hns_roce_v1_rsv_lp_qp(struct hns_roce_dev *hr_dev) in hns_roce_v1_rsv_lp_qp()
855 static void hns_roce_v1_release_lp_qp(struct hns_roce_dev *hr_dev) in hns_roce_v1_release_lp_qp()
881 static int hns_roce_db_init(struct hns_roce_dev *hr_dev) in hns_roce_db_init()
918 struct hns_roce_dev *hr_dev; in hns_roce_v1_recreate_lp_qp_work_fn() local
935 static int hns_roce_v1_recreate_lp_qp(struct hns_roce_dev *hr_dev) in hns_roce_v1_recreate_lp_qp()
976 struct hns_roce_dev *hr_dev = to_hr_dev(hr_qp->ibqp.device); in hns_roce_v1_send_lp_wqe() local
1005 struct hns_roce_dev *hr_dev = to_hr_dev(mr_work->ib_dev); in hns_roce_v1_mr_free_work_fn() local
1061 static int hns_roce_v1_dereg_mr(struct hns_roce_dev *hr_dev, in hns_roce_v1_dereg_mr()
1122 static void hns_roce_db_free(struct hns_roce_dev *hr_dev) in hns_roce_db_free()
1145 static int hns_roce_raq_init(struct hns_roce_dev *hr_dev) in hns_roce_raq_init()
1232 static void hns_roce_raq_free(struct hns_roce_dev *hr_dev) in hns_roce_raq_free()
1243 static void hns_roce_port_enable(struct hns_roce_dev *hr_dev, int enable_flag) in hns_roce_port_enable()
1268 static int hns_roce_bt_init(struct hns_roce_dev *hr_dev) in hns_roce_bt_init()
1309 static void hns_roce_bt_free(struct hns_roce_dev *hr_dev) in hns_roce_bt_free()
1324 static int hns_roce_tptr_init(struct hns_roce_dev *hr_dev) in hns_roce_tptr_init()
1347 static void hns_roce_tptr_free(struct hns_roce_dev *hr_dev) in hns_roce_tptr_free()
1357 static int hns_roce_free_mr_init(struct hns_roce_dev *hr_dev) in hns_roce_free_mr_init()
1380 static void hns_roce_free_mr_free(struct hns_roce_dev *hr_dev) in hns_roce_free_mr_free()
1397 static int hns_roce_v1_reset(struct hns_roce_dev *hr_dev, bool dereset) in hns_roce_v1_reset()
1440 static int hns_roce_v1_profile(struct hns_roce_dev *hr_dev) in hns_roce_v1_profile()
1509 static int hns_roce_v1_init(struct hns_roce_dev *hr_dev) in hns_roce_v1_init()
1583 static void hns_roce_v1_exit(struct hns_roce_dev *hr_dev) in hns_roce_v1_exit()
1593 static int hns_roce_v1_cmd_pending(struct hns_roce_dev *hr_dev) in hns_roce_v1_cmd_pending()
1600 static int hns_roce_v1_post_mbox(struct hns_roce_dev *hr_dev, u64 in_param, in hns_roce_v1_post_mbox()
1641 static int hns_roce_v1_chk_mbox(struct hns_roce_dev *hr_dev, in hns_roce_v1_chk_mbox()
1667 static int hns_roce_v1_set_gid(struct hns_roce_dev *hr_dev, u8 port, in hns_roce_v1_set_gid()
1700 static int hns_roce_v1_set_mac(struct hns_roce_dev *hr_dev, u8 phy_port, in hns_roce_v1_set_mac()
1742 static void hns_roce_v1_set_mtu(struct hns_roce_dev *hr_dev, u8 phy_port, in hns_roce_v1_set_mtu()
1758 static int hns_roce_v1_write_mtpt(struct hns_roce_dev *hr_dev, void *mb_buf, in hns_roce_v1_write_mtpt()
1989 static void hns_roce_v1_write_cqc(struct hns_roce_dev *hr_dev, in hns_roce_v1_write_cqc()
2111 struct hns_roce_dev *hr_dev = to_hr_dev(hr_cq->ib_cq.device); in hns_roce_v1_poll_one() local
2335 static int hns_roce_v1_clear_hem(struct hns_roce_dev *hr_dev, in hns_roce_v1_clear_hem()
2399 static int hns_roce_v1_qp_modify(struct hns_roce_dev *hr_dev, in hns_roce_v1_qp_modify()
2480 static int find_wqe_mtt(struct hns_roce_dev *hr_dev, struct hns_roce_qp *hr_qp, in find_wqe_mtt()
2506 struct hns_roce_dev *hr_dev = to_hr_dev(ibqp->device); in hns_roce_v1_m_sqp() local
2665 struct hns_roce_dev *hr_dev = to_hr_dev(ibqp->device); in hns_roce_v1_m_qp() local
3293 static int hns_roce_v1_query_qpc(struct hns_roce_dev *hr_dev, in hns_roce_v1_query_qpc()
3321 struct hns_roce_dev *hr_dev = to_hr_dev(ibqp->device); in hns_roce_v1_q_sqp() local
3391 struct hns_roce_dev *hr_dev = to_hr_dev(ibqp->device); in hns_roce_v1_q_qp() local
3542 struct hns_roce_dev *hr_dev = to_hr_dev(ibqp->device); in hns_roce_v1_destroy_qp() local
3575 struct hns_roce_dev *hr_dev = to_hr_dev(ibcq->device); in hns_roce_v1_destroy_cq() local
3613 static void hns_roce_v1_wq_catas_err_handle(struct hns_roce_dev *hr_dev, in hns_roce_v1_wq_catas_err_handle()
3647 static void hns_roce_v1_local_wq_access_err_handle(struct hns_roce_dev *hr_dev, in hns_roce_v1_local_wq_access_err_handle()
3682 static void hns_roce_v1_qp_err_handle(struct hns_roce_dev *hr_dev, in hns_roce_v1_qp_err_handle()
3717 static void hns_roce_v1_cq_err_handle(struct hns_roce_dev *hr_dev, in hns_roce_v1_cq_err_handle()
3745 static void hns_roce_v1_db_overflow_handle(struct hns_roce_dev *hr_dev, in hns_roce_v1_db_overflow_handle()
3792 static int hns_roce_v1_aeq_int(struct hns_roce_dev *hr_dev, in hns_roce_v1_aeq_int()
3898 static int hns_roce_v1_ceq_int(struct hns_roce_dev *hr_dev, in hns_roce_v1_ceq_int()
3933 struct hns_roce_dev *hr_dev = eq->hr_dev; in hns_roce_v1_msix_interrupt_eq() local
3948 struct hns_roce_dev *hr_dev = dev_id; in hns_roce_v1_msix_interrupt_abn() local
4060 static void hns_roce_v1_int_mask_enable(struct hns_roce_dev *hr_dev) in hns_roce_v1_int_mask_enable()
4084 static void hns_roce_v1_free_eq(struct hns_roce_dev *hr_dev, in hns_roce_v1_free_eq()
4101 static void hns_roce_v1_enable_eq(struct hns_roce_dev *hr_dev, int eq_num, in hns_roce_v1_enable_eq()
4126 static int hns_roce_v1_create_eq(struct hns_roce_dev *hr_dev, in hns_roce_v1_create_eq()
4211 static int hns_roce_v1_init_eq_table(struct hns_roce_dev *hr_dev) in hns_roce_v1_init_eq_table()
4324 static void hns_roce_v1_cleanup_eq_table(struct hns_roce_dev *hr_dev) in hns_roce_v1_cleanup_eq_table()
4409 static int hns_roce_get_cfg(struct hns_roce_dev *hr_dev) in hns_roce_get_cfg()
4544 struct hns_roce_dev *hr_dev; in hns_roce_probe() local
4597 struct hns_roce_dev *hr_dev = platform_get_drvdata(pdev); in hns_roce_remove() local