Lines Matching refs:hns_roce_dev
41 static int hns_roce_cmd_mbox_post_hw(struct hns_roce_dev *hr_dev, in hns_roce_cmd_mbox_post_hw()
56 static int __hns_roce_cmd_mbox_poll(struct hns_roce_dev *hr_dev, in __hns_roce_cmd_mbox_poll()
78 static int hns_roce_cmd_mbox_poll(struct hns_roce_dev *hr_dev, in hns_roce_cmd_mbox_poll()
90 void hns_roce_cmd_event(struct hns_roce_dev *hr_dev, u16 token, u8 status, in hns_roce_cmd_event()
109 static int __hns_roce_cmd_mbox_wait(struct hns_roce_dev *hr_dev, in __hns_roce_cmd_mbox_wait()
158 static int hns_roce_cmd_mbox_wait(struct hns_roce_dev *hr_dev, in hns_roce_cmd_mbox_wait()
170 int hns_roce_cmd_mbox(struct hns_roce_dev *hr_dev, u64 in_param, u64 out_param, in hns_roce_cmd_mbox()
197 int hns_roce_cmd_init(struct hns_roce_dev *hr_dev) in hns_roce_cmd_init()
211 void hns_roce_cmd_cleanup(struct hns_roce_dev *hr_dev) in hns_roce_cmd_cleanup()
216 int hns_roce_cmd_use_events(struct hns_roce_dev *hr_dev) in hns_roce_cmd_use_events()
244 void hns_roce_cmd_use_polling(struct hns_roce_dev *hr_dev) in hns_roce_cmd_use_polling()
253 hns_roce_alloc_cmd_mailbox(struct hns_roce_dev *hr_dev) in hns_roce_alloc_cmd_mailbox()
271 void hns_roce_free_cmd_mailbox(struct hns_roce_dev *hr_dev, in hns_roce_free_cmd_mailbox()
281 int hns_roce_create_hw_ctx(struct hns_roce_dev *dev, in hns_roce_create_hw_ctx()
288 int hns_roce_destroy_hw_ctx(struct hns_roce_dev *dev, u8 cmd, unsigned long idx) in hns_roce_destroy_hw_ctx()