Lines Matching refs:msg

38 					 struct mbox_msghdr *msg)  in otx2vf_process_vfaf_mbox_msg()  argument
40 if (msg->id >= MBOX_MSG_MAX) { in otx2vf_process_vfaf_mbox_msg()
42 "Mbox msg with unknown ID %d\n", msg->id); in otx2vf_process_vfaf_mbox_msg()
46 if (msg->sig != OTX2_MBOX_RSP_SIG) { in otx2vf_process_vfaf_mbox_msg()
49 msg->sig, msg->id); in otx2vf_process_vfaf_mbox_msg()
53 if (msg->rc == MBOX_MSG_INVALID) { in otx2vf_process_vfaf_mbox_msg()
56 msg->id); in otx2vf_process_vfaf_mbox_msg()
60 switch (msg->id) { in otx2vf_process_vfaf_mbox_msg()
62 vf->pcifunc = msg->pcifunc; in otx2vf_process_vfaf_mbox_msg()
65 mbox_handler_msix_offset(vf, (struct msix_offset_rsp *)msg); in otx2vf_process_vfaf_mbox_msg()
68 mbox_handler_npa_lf_alloc(vf, (struct npa_lf_alloc_rsp *)msg); in otx2vf_process_vfaf_mbox_msg()
71 mbox_handler_nix_lf_alloc(vf, (struct nix_lf_alloc_rsp *)msg); in otx2vf_process_vfaf_mbox_msg()
74 mbox_handler_nix_bp_enable(vf, (struct nix_bp_cfg_rsp *)msg); in otx2vf_process_vfaf_mbox_msg()
77 if (msg->rc) in otx2vf_process_vfaf_mbox_msg()
80 msg->rc, msg->id); in otx2vf_process_vfaf_mbox_msg()
88 struct mbox_msghdr *msg; in otx2vf_vfaf_mbox_handler() local
106 msg = (struct mbox_msghdr *)(mdev->mbase + offset); in otx2vf_vfaf_mbox_handler()
107 otx2vf_process_vfaf_mbox_msg(af_mbox->pfvf, msg); in otx2vf_vfaf_mbox_handler()
108 offset = mbox->rx_start + msg->next_msgoff; in otx2vf_vfaf_mbox_handler()
153 struct mbox_msghdr *msg; in otx2vf_vfaf_mbox_up_handler() local
174 msg = (struct mbox_msghdr *)(mdev->mbase + offset); in otx2vf_vfaf_mbox_up_handler()
175 otx2vf_process_mbox_msg_up(vf, msg); in otx2vf_vfaf_mbox_up_handler()
176 offset = mbox->rx_start + msg->next_msgoff; in otx2vf_vfaf_mbox_up_handler()