Lines Matching defs:hwdev
186 static bool check_func_id(struct hinic_hwdev *hwdev, u16 src_func_idx, in check_func_id()
210 bool hinic_mbox_check_func_id_8B(struct hinic_hwdev *hwdev, u16 func_idx, in hinic_mbox_check_func_id_8B()
224 int hinic_register_pf_mbox_cb(struct hinic_hwdev *hwdev, in hinic_register_pf_mbox_cb()
247 int hinic_register_vf_mbox_cb(struct hinic_hwdev *hwdev, in hinic_register_vf_mbox_cb()
268 void hinic_unregister_pf_mbox_cb(struct hinic_hwdev *hwdev, in hinic_unregister_pf_mbox_cb()
287 void hinic_unregister_vf_mbox_cb(struct hinic_hwdev *hwdev, in hinic_unregister_vf_mbox_cb()
514 static int set_vf_mbox_random_id(struct hinic_hwdev *hwdev, u16 func_id) in set_vf_mbox_random_id()
570 struct hinic_hwdev *hwdev = func_to_func->hwdev; in check_vf_mbox_random_id() local
666 static void mbox_copy_header(struct hinic_hwdev *hwdev, in mbox_copy_header()
676 static void mbox_copy_send_data(struct hinic_hwdev *hwdev, in mbox_copy_send_data()
731 static void dump_mox_reg(struct hinic_hwdev *hwdev) in dump_mox_reg()
760 struct hinic_hwdev *hwdev = func_to_func->hwdev; in wait_for_mbox_seg_completion() local
802 struct hinic_hwdev *hwdev = func_to_func->hwdev; in send_mbox_seg() local
846 struct hinic_hwdev *hwdev = func_to_func->hwdev; in send_mbox_to_func() local
1063 int hinic_mbox_to_pf(struct hinic_hwdev *hwdev, in hinic_mbox_to_pf()
1084 int hinic_mbox_to_vf(struct hinic_hwdev *hwdev, in hinic_mbox_to_vf()
1153 static int alloc_mbox_info(struct hinic_hwdev *hwdev, in alloc_mbox_info()
1195 struct hinic_hwdev *hwdev = func_to_func->hwdev; in alloc_mbox_wb_status() local
1221 struct hinic_hwdev *hwdev = func_to_func->hwdev; in free_mbox_wb_status() local
1233 bool hinic_mbox_check_cmd_valid(struct hinic_hwdev *hwdev, in hinic_mbox_check_cmd_valid()
1258 static bool hinic_cmdq_check_vf_ctxt(struct hinic_hwdev *hwdev, in hinic_cmdq_check_vf_ctxt()
1279 static bool check_cmdq_ctxt(struct hinic_hwdev *hwdev, u16 func_idx, in check_cmdq_ctxt()
1307 static bool check_hwctxt(struct hinic_hwdev *hwdev, u16 func_idx, in check_hwctxt()
1329 static bool check_set_wq_page_size(struct hinic_hwdev *hwdev, u16 func_idx, in check_set_wq_page_size()
1368 struct hinic_hwdev *hwdev = handle; in comm_pf_mbox_handler() local
1398 int hinic_func_to_func_init(struct hinic_hwdev *hwdev) in hinic_func_to_func_init()
1468 void hinic_func_to_func_free(struct hinic_hwdev *hwdev) in hinic_func_to_func_free()
1488 int hinic_vf_mbox_random_id_init(struct hinic_hwdev *hwdev) in hinic_vf_mbox_random_id_init()