Lines Matching refs:msg
70 struct mbox_msghdr *msg) in process_pfvf_mbox_mbox_msg() argument
79 if (msg->id >= MBOX_MSG_MAX) { in process_pfvf_mbox_mbox_msg()
81 "MBOX msg with unknown ID %d\n", msg->id); in process_pfvf_mbox_mbox_msg()
84 if (msg->sig != OTX2_MBOX_RSP_SIG) { in process_pfvf_mbox_mbox_msg()
87 msg->sig, msg->id); in process_pfvf_mbox_mbox_msg()
90 switch (msg->id) { in process_pfvf_mbox_mbox_msg()
92 cptvf->vf_id = ((msg->pcifunc >> RVU_PFVF_FUNC_SHIFT) in process_pfvf_mbox_mbox_msg()
97 if (!msg->rc) in process_pfvf_mbox_mbox_msg()
102 if (!msg->rc) in process_pfvf_mbox_mbox_msg()
106 rsp_msix = (struct msix_offset_rsp *) msg; in process_pfvf_mbox_mbox_msg()
111 rsp_reg = (struct cpt_rd_wr_reg_msg *) msg; in process_pfvf_mbox_mbox_msg()
112 if (msg->rc) { in process_pfvf_mbox_mbox_msg()
116 msg->rc); in process_pfvf_mbox_mbox_msg()
123 rsp_grp = (struct otx2_cpt_egrp_num_rsp *) msg; in process_pfvf_mbox_mbox_msg()
127 rsp_limits = (struct otx2_cpt_kvf_limits_rsp *) msg; in process_pfvf_mbox_mbox_msg()
132 msg->id); in process_pfvf_mbox_mbox_msg()
143 struct mbox_msghdr *msg; in otx2_cptvf_pfvf_mbox_handler() local
159 msg = (struct mbox_msghdr *)(mdev->mbase + pfvf_mbox->rx_start + in otx2_cptvf_pfvf_mbox_handler()
161 process_pfvf_mbox_mbox_msg(cptvf, msg); in otx2_cptvf_pfvf_mbox_handler()
162 offset = msg->next_msgoff; in otx2_cptvf_pfvf_mbox_handler()